Hi,
I have a gridview and inside that "select" button in Template column to which i have added command and that handling it in RowCommand Event of grid..
I have added attribute to that button runtime to execute javascript function on RowDataBound Event of Grid.
selectbutton.At tributes.add("o nclick","javasc ript:return Checkit();")
which tracks the modification done on the page and prompt user to save the data. for which I am calling
click event of save button in javascript function.
Savebuttonid.cl ick();
and return from that to contineu with control's event.
Gridview_RowCom mand()
Problem -
It is working perfectly fine in IE but in FF and Chrome it prompts to save data (Inside javascript function) and calls the savebutton event but does not proceed to controls event.
If I debug the javascript code it fires that as well. but if i remove that it does not call rowcommand event.
Any Help is appriciated.
Thanks in advance.
Regards,
Mahesh Khandalkar.
I have a gridview and inside that "select" button in Template column to which i have added command and that handling it in RowCommand Event of grid..
I have added attribute to that button runtime to execute javascript function on RowDataBound Event of Grid.
selectbutton.At tributes.add("o nclick","javasc ript:return Checkit();")
which tracks the modification done on the page and prompt user to save the data. for which I am calling
click event of save button in javascript function.
Savebuttonid.cl ick();
and return from that to contineu with control's event.
Gridview_RowCom mand()
Problem -
It is working perfectly fine in IE but in FF and Chrome it prompts to save data (Inside javascript function) and calls the savebutton event but does not proceed to controls event.
If I debug the javascript code it fires that as well. but if i remove that it does not call rowcommand event.
Any Help is appriciated.
Thanks in advance.
Regards,
Mahesh Khandalkar.
Comment