Toggle GridView inside Gridview

  • Thread starter Thread starter David C
  • Start date Start date
D

David C

I have a GridView that displays a list of contact names, email address, etc.
Inside of it, I have another GridView that shows the 1 or more phone numbers
for that contact and I set it to Visible=False. When I select the line
(using a LinkButton) I am making the embedded GridView (phone numbers)
Visible on that SelectedIndex. However, when I select a different contact
in the GridView the previous contact line/row still shows their phones
GridView. Where is the best place to hide this non-selected embedded
GridView? Thanks.

David
 
http://itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html
I have a GridView that displays a list of contact names, email address, etc.
Inside of it, I have another GridView that shows the 1 or more phone numbers
for that contact and I set it to Visible=False. When I select the line
(using a LinkButton) I am making the embedded GridView (phone numbers)
Visible on that SelectedIndex. However, when I select a different contact
in the GridView the previous contact line/row still shows their phones
GridView. Where is the best place to hide this non-selected embedded
GridView? Thanks.

David
//itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html[/url]
Submitted via EggHeadCafe
Merging SharePoint List Data into Word Documents
http://www.eggheadcafe.com/tutorial...sharepoint-list-data-into-word-documents.aspx
 
http://itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html
I have a GridView that displays a list of contact names, email address, etc.
Inside of it, I have another GridView that shows the 1 or more phone numbers
for that contact and I set it to Visible=False. When I select the line
(using a LinkButton) I am making the embedded GridView (phone numbers)
Visible on that SelectedIndex. However, when I select a different contact
in the GridView the previous contact line/row still shows their phones
GridView. Where is the best place to hide this non-selected embedded
GridView? Thanks.

David
//itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html[/url]
//itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html[/url]
 
Back
Top