locked
dissapear a detailsview RRS feed

  • Question

  • User-788967271 posted

    Hi all:

    I have a gridview and detailsview as a master-detail figure

    When I click a row from the gridview i shows me the details

    I want when the same row is clicked again, the details to get dissappeared.

    How to do that? I suppose it maybe telling the index of the detilsview to 0. Where and how?

    Thanks in advance

    Tuesday, April 16, 2013 10:07 AM

Answers

  • User-788967271 posted

    Hi again

    I solved it with detailsviews.visible=false

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, April 16, 2013 10:23 AM

All replies

  • User-1716253493 posted
    maybe you can use rowcommand. Save the index in viewstate["idx"]. use this to compare current index
    Tuesday, April 16, 2013 10:21 AM
  • User-788967271 posted

    Hi again

    I solved it with detailsviews.visible=false

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, April 16, 2013 10:23 AM