Call Java Script from Data Grid
-
I tried to view a pop-up window message when a user wants to delete a record from a data grid. This is my code for the aspx page: What I want to do is, if somebody hit "Delete", there should be a small pop up window giving a confirmation before does any record deletion. Here is my code from my class: protected void DoItemDelete(object sender, DataGridCommandEventArgs oArgs) { /// we should call a confirmation window here by using JavaScript? /// How do we call a Javascript Y2MTimeSheet.Setup.UserRegistrationClass objUser = new Y2MTimeSheet.Setup.UserRegistrationClass(); Int32 iUser_ID = Convert.ToInt32(((Label)oArgs.Item.FindControl
-
I tried to view a pop-up window message when a user wants to delete a record from a data grid. This is my code for the aspx page: What I want to do is, if somebody hit "Delete", there should be a small pop up window giving a confirmation before does any record deletion. Here is my code from my class: protected void DoItemDelete(object sender, DataGridCommandEventArgs oArgs) { /// we should call a confirmation window here by using JavaScript? /// How do we call a Javascript Y2MTimeSheet.Setup.UserRegistrationClass objUser = new Y2MTimeSheet.Setup.UserRegistrationClass(); Int32 iUser_ID = Convert.ToInt32(((Label)oArgs.Item.FindControl
-
You gonna have to turn off the HTML option if you want us to answer you :) "There are no stupid question's, just stupid people."
-
I tried to view a pop-up window message when a user wants to delete a record from a data grid. This is my code for the aspx page: What I want to do is, if somebody hit "Delete", there should be a small pop up window giving a confirmation before does any record deletion. Here is my code from my class: protected void DoItemDelete(object sender, DataGridCommandEventArgs oArgs) { /// we should call a confirmation window here by using JavaScript? /// How do we call a Javascript Y2MTimeSheet.Setup.UserRegistrationClass objUser = new Y2MTimeSheet.Setup.UserRegistrationClass(); Int32 iUser_ID = Convert.ToInt32(((Label)oArgs.Item.FindControl
-