Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best pattern for Parent/Children UI design?
Message
From
26/03/2009 11:36:11
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01391176
Message ID:
01391633
Views:
46
>> I'll populate the child list as they click on parent items.

When you say "click on", what kind of HTML element are they clicking on, and what event/trigger on that element fires off the "get child records for this selected item" sequence?

Please see this screenshot of what I have created so far: http://www.twitpic.com/2gnmr

You can see my HTML code here: http://stackoverflow.com/questions/686351/master-detail-help-needed-for-asp-net-newbie-screenshot-too

I don't want to see an actual "Select" item beside each Customer Name (that looks goofy). I want the Customer Name to be the link to click on.

I have the ListView to present a list of CustomersWithOpenOrders. But, it's just a static list, so how do I make the Company Name label clickable, and what else will I need to make it fire back to some code-behind to fetch the child records. I already have a code-behind method to get child records for a passed-in CustomerNumber into a DataTable, and I think I would know how to bind that to a grid or listview, but I do not know how to pass the CustomerNumber from the ListView to the method from the UI form.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform