How to show hide the panel/DIV in the Gridview without postback

Last post 01-19-2009 7:03 PM by dangerouschotu. 2 replies.

Sort Posts:

  • Confused [8-)] How to show hide the panel/DIV in the Gridview without postback

    01-16-2009, 5:53 PM
    • Participant
      878 point Participant
    • dangerouschotu
    • Member since 10-11-2008, 12:10 PM
    • Jaipur
    • Posts 318

     I want to implement some javascript in the GridView

    Tell me how to do this

    • Bind Data on the grid Yes
    • Create a div that is not visible default and in the DIV here some Textbox and Buttons 
    • Place a link Button and I want to apply java script onClick to show the div.
    • But if i click on the next row of the link the previous div is visible.
    • So how to solve to display DIV at one by row wise.

    Or is there any way to solve this problem

    I'm also usingajax UpdatePanel

    Thanks & Regards,
    Please 'mark as answer' my post if they are helpful.
  • Re: How to show hide the panel/DIV in the Gridview without postback

    01-17-2009, 10:22 PM
    • Member
      586 point Member
    • ScottR27
    • Member since 02-14-2008, 3:27 PM
    • Maryland
    • Posts 104

     Hi dangerousschotu,

    Have you considered using the Accordian control via the Ajax control toolkit? Sound like this might be useful to you.  A Sample/Demo is located here http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Accordion/Accordion.aspx

     Hope this helps,

    Scott

    Filed under: ,
  • Re: How to show hide the panel/DIV in the Gridview without postback

    01-19-2009, 7:03 PM
    Answer
    • Participant
      878 point Participant
    • dangerouschotu
    • Member since 10-11-2008, 12:10 PM
    • Jaipur
    • Posts 318

    No Its different problem, i solve it.

    but thanx for ur reply.

    Thanks & Regards,
    Please 'mark as answer' my post if they are helpful.
Page 1 of 1 (3 items)