Dynamic image button passing argument from datagrid (vb.net)
Posted on 2007-03-27
VB.Net Web Form application question.
I am trying to create an image that acts as a link and when clicked calls another page as a popup, passing along one parameter. I assume that imagebutton is what I need to use to accomplish this.
I'm stumped though.
I will have to put this into place in two different areas (and two different mechanisms):
First, what I assume is the easiest area:
- a simple page that accepts new entries or updates of one record -- no datagrid involved -- and if you are in 'update' mode (not insert mode), the button should appear. The button will need to pass the key from the calling screen to the popup page.
Second is more complicated:
a datagrid that's fully editable -- and i need to pass the contents of one of the DATABOUND columns on the selected row to call the popup page.
Offering 500 points for a quick complete solution. Thanks.