E
EMW
Hi,
In my datagrid I have the first column set as a buttoncolumn with
linkbuttons.
In my code I have some line to color the row the cursor is hovering over and
what to do when the user clicks on a rowitem in the first column.
It will then respond to the OnClick event and do a postback so that the
program knows which row was clicked.
After that it will retrieve some data what I want to show in a popup
modaldialog window.
basicly:
1) user clicks on the linkbutton in a row
2) code-behind checks which line and looksup some data in the database
3) A window should popup showing that data.
But there I have a problem: there is already a OnClick attribute set on each
row.
So I cannot call my ShowModalDialog function with the OnClick attribute.
Is there any other way?
rg,
Eric
In my datagrid I have the first column set as a buttoncolumn with
linkbuttons.
In my code I have some line to color the row the cursor is hovering over and
what to do when the user clicks on a rowitem in the first column.
It will then respond to the OnClick event and do a postback so that the
program knows which row was clicked.
After that it will retrieve some data what I want to show in a popup
modaldialog window.
basicly:
1) user clicks on the linkbutton in a row
2) code-behind checks which line and looksup some data in the database
3) A window should popup showing that data.
But there I have a problem: there is already a OnClick attribute set on each
row.
So I cannot call my ShowModalDialog function with the OnClick attribute.
Is there any other way?
rg,
Eric