PC Review


Reply
Thread Tools Rate Thread

Add child records in a collapsable DIV under every gridview or dat

 
 
Savvoulidis Iordanis
Guest
Posts: n/a
 
      22nd Feb 2008
Hi.
I have a table that is a master table from which the user views ~300 rows at
a time (rarely changing rows in a day). What I want to do is, when the user
clicks on a row, to show related records from two tables, as 2 HTML tables
side by
side, (I believe inside a DIV panel) under this row clicked. If the user
clicks
the row again, the DIV with the related data should hide.

Can anyony give me a proper way to do this?

TIA


 
Reply With Quote
 
 
 
 
Michael Nemtsev [MVP]
Guest
Posts: n/a
 
      23rd Feb 2008
Hello Savvoulidis,

just create the separate div where u are going to show your data (I'd use
collapsible panels from AJAX Toolkit)
then, when u click on the row u get the id of the records (in the grid row
handler) and then u make the async call to the server side (ICallbackEventHandler,
or PageMethods, or WebService call) to get the necessary data to show in
your div

That's all

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


SS> Hi.
SS> I have a table that is a master table from which the user views ~300
SS> rows at
SS> a time (rarely changing rows in a day). What I want to do is, when
SS> the user
SS> clicks on a row, to show related records from two tables, as 2 HTML
SS> tables
SS> side by
SS> side, (I believe inside a DIV panel) under this row clicked. If the
SS> user
SS> clicks
SS> the row again, the DIV with the related data should hide.
SS> Can anyony give me a proper way to do this?
SS>
SS> TIA
SS>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to copy parent-child-child records (re: Allen Browne's metho Dr Steevil Microsoft Access 5 20th Feb 2009 03:46 AM
Child/Master link set up but child records not showing Tmarkos Microsoft Access Forms 3 9th Oct 2008 05:33 PM
Parent/Child CC In GridView Andrew Hayes Microsoft ASP .NET 1 1st Dec 2006 05:55 AM
Navigating parent-child relation to update the child records --- How??? Hexman Microsoft VB .NET 1 5th Oct 2006 09:21 AM
Parent Child GridView Issue =?Utf-8?B?SW5ub3Zh?= Microsoft Dot NET 0 9th Jun 2006 11:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:33 PM.