Hi Andy,
I've not used master/detail on the same page before but controls are only processed if their
respective action link is clicked. In the URL you will notice the parameter
"actionLink=masterTable&page=3". The actionLink will indicate which table Click should process. Are
you manually processing the table at some stage?
regards
Bob
On 2011/11/07 01:00 AM, Andrew Schoener wrote:
Hi,
I have been experimenting with a page that has a table, including a "details"
ActionLink column. I
want the user to click the"details" link, then below the main table, show a
child table of detail
data that is related to the row clicked above. In other words, displaying
classic master/detail
database information in a single html page.
Since I have a lot of data, I am going to have pagination. And for nicer
usability, have created
the page to be stateful on the master table.
So far, I have it all working. When I click my "details" link, I get my detail
click table underneath.
Except... I have notice that if I am on page 2 of the master table, and let's
say I click a details
link and get a detail click table, and let's also say that the detail table has
enough data to
itself have pagination. It appears that the page number clicked is saved in
the query string as a
generic "page=X" value, and it confuses both my master and my detail table.
Getting back to my
example, I am on page 2 of the master table. But I want to click page 3 of the
detail table. Upon
refresh, I go to page 3 on the master.
Any way to assign pagination values when playing with multiple click tables
within the same logical
page?
Andy