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
index u can pass through query string
u are correct, we can pass tat value as query string but how to call the greybox window from ButtonClick event?????