The following lines of code calling TerminateManage r.aspx page when I click on button(please see the code), instead of calling .aspx page I want to call function Check(), how can I do that?
This following code is written in aspx.cs page and the function Check() I like to call is also in the same page.
Please help! Thanks!
this.PlaceHolde rTerminateManag erButton.Contro ls.Add(new LiteralControl( "<input type='Button' value='Terminat e Manager' onclick='javasc ript:location.h ref=\"Terminate Manager.aspx?or gID="+ orgID + "\";'"));
This following code is written in aspx.cs page and the function Check() I like to call is also in the same page.
Please help! Thanks!
this.PlaceHolde rTerminateManag erButton.Contro ls.Add(new LiteralControl( "<input type='Button' value='Terminat e Manager' onclick='javasc ript:location.h ref=\"Terminate Manager.aspx?or gID="+ orgID + "\";'"));
Comment