Toggle GridView inside Gridview

Discussion in 'ASP .Net' started by David C, Oct 17, 2007.

  1. David C

    David C Guest

    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
    David C, Oct 17, 2007
    #1
    1. Advertising

  2. http://itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html

    > On Wednesday, October 17, 2007 9:57 AM David C wrote:


    > 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



    > Submitted via EggHeadCafe
    > Sterling Database for Silverlight and Windows Phone 7
    > http://www.eggheadcafe.com/tutorial...base-for-silverlight-and-windows-phone-7.aspx
    Sandeep Mittal, Nov 27, 2010
    #2
    1. Advertising

  3. http://itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html

    > On Wednesday, October 17, 2007 9:57 AM David C wrote:


    > 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



    >> On Saturday, November 27, 2010 12:32 AM Sandeep Mittal wrote:


    >> http://itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html



    >> Submitted via EggHeadCafe
    >> Merging SharePoint List Data into Word Documents
    >> http://www.eggheadcafe.com/tutorial...sharepoint-list-data-into-word-documents.aspx
    Sandeep Mittal, Nov 27, 2010
    #3
  4. http://itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html

    > On Wednesday, October 17, 2007 9:57 AM David C wrote:


    > 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



    >> On Saturday, November 27, 2010 12:32 AM Sandeep Mittal wrote:


    >> http://itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html



    >>> On Saturday, November 27, 2010 12:33 AM Sandeep Mittal wrote:


    >>> http://itdeveloperzone.blogspot.com/2010/11/gridview-inside-gridview-in-aspnet.html



    >>> Submitted via EggHeadCafe
    >>> Fill out blank PDF form online and stream to browser with iTextSharp
    >>> http://www.eggheadcafe.com/tutorial...ne-and-stream-to-browser-with-itextsharp.aspx
    Sandeep Mittal, Nov 27, 2010
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?a2Q=?=

    How to toggle between window splits?

    =?Utf-8?B?a2Q=?=, May 2, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    456
    =?Utf-8?B?a2Q=?=
    May 2, 2005
  2. =?Utf-8?B?S2VpdGggSGFycmlz?=

    How to toggle visibilty of button inside repeater control

    =?Utf-8?B?S2VpdGggSGFycmlz?=, Nov 5, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    3,917
    Karl Seguin
    Nov 5, 2004
  3. Dica
    Replies:
    3
    Views:
    845
  4. =?Utf-8?B?c2lhag==?=

    Image Toggle

    =?Utf-8?B?c2lhag==?=, May 4, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    483
    Steve C. Orr [MVP, MCSD]
    May 4, 2005
  5. Chetan Garude

    Toggle GridView row

    Chetan Garude, Mar 28, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    245
    Chetan Garude
    Mar 28, 2006
Loading...

Share This Page