Hi,
I have a requirement to show confirmation after a server side check when a button in grid is clicked. I cannot attach any control to radconfirm. ie I cannot do something like this below.
btn.attributes.add("onclick","radconfirm('sure?',event,300,200,'','confirm')");
because server side check needs to be done first.
I am invoking like
string
scriptstr = "radconfirm('Sure to buy this?', event,330, 210,'','');";
ScriptManager.RegisterStartupScript(radGrid,Page.GetType(), "TEST", scriptstr.ToString(),true)
When I debug the script, the event argument is null.
Please help how to set the valid value for event.
Please I cannot use the Callbackfunction instead of event argument, since the page is using new radconfirm feature for many other buttons in the radgrid.
Since no proper event argument is set, the new confirm script block fails and hence no radconfirm is popped up.
Thanks