GreyBox in ASP.NET(how to call greybox window from ButtonClick)Hi Friends,
I am using javasript Greybox in my asp.net project.
Its working fine if we use some hyperlink.
<a href="Page1.aspx" title="CAPTION" rel="gb_image">Click here to open Window</a>
But now i need to invoke this from Button Click, how can i call this greybox window from button click.
Also i have some code in the buttonClick event, like
index= Find some index through server side code
here i need to call the greybox window and pass index