Hi everybody,
I have a GridView on the form with the Select button
<asp:CommandField SelectText="Edit" ShowSelectButton="True" />
Now, I want to hide the grid when I press it and show the information from the table.
I had it working correctly using server side code. But I decided to change my approach and do it from the client side.
I added two DIV tags GridInfo and ProfileInfo around my grid and table correspondignly.
My problem now is to inject the JavaScript into the Select button. Since it doesn't have ID I'm at lost as how to do it.
Any ideas, please?
Thanks a lot in advance.
If it's not broken, fix it until it is.
My Blog