How to: Display Details in Master-Detail DataGrid/DataList without Postback

D

dh

I'm wondering how implement a Master/Detail scenario in which a user
clicks on a parent record in DataGrid or DataList and expands that row
to display the child details for that record. I can do this, but it
requires Postbacks. I would like to accomplish this without an
annoying Postback page flicker.

Any thoughts appreciated. Thanks.
 
J

Jinsong Liu

You can accomplish this by using JavaScript or HTC. But in most case
you want to using postback.

In order to avoid postback, you can use client side tech to hide the
data you don't want to show. but all of the data in your dataset need
to be send to the client, no matter they are currently displayed or
not. This means you may need to send thousands of records to the
client while only 10 or 20 are displayed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top