Displaying details in a penel from gridview
-
hai all, I am having a gridview.. if i click select button in a row.. the details shuold display in a seperate panel below.i tried writing visiblity in selectedpage index event.. but its not working...can anyone help me with this......
with Regards, Imthiyas Ahamed.A
-
hai all, I am having a gridview.. if i click select button in a row.. the details shuold display in a seperate panel below.i tried writing visiblity in selectedpage index event.. but its not working...can anyone help me with this......
with Regards, Imthiyas Ahamed.A
If your select button is not doing a post back, there won't be anything to show since the panel didn't get rendered. So make sure the select button is doing a postback. Then on the gridview rowcommand you can see the command is Select so that that point you can make your panel visible. I would actually get rid of the panel and use a PlaceHolder. Those work much better to show and hide controls on an asp.net page. Hope that helps. Ben