Hi
I'm using the code described here - http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx to ask the user if they want to postback (Reset a form) but I cant get it to work with the RadAjaxManager.
This is the start of the javascript I'm using -
All that happens is the postback occurs - but the form data isn't updated.
Andy
I'm using the code described here - http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx to ask the user if they want to postback (Reset a form) but I cant get it to work with the RadAjaxManager.
This is the start of the javascript I'm using -
| <script type="text/javascript"> |
| window.blockConfirm = function(text, mozEvent, oWidth, oHeight, callerObj, oTitle) |
| { |
| var ev = mozEvent ? mozEvent : window.event; |
| ev.cancelBubble = true; |
| ev.returnValue = false; |
| if (ev.stopPropagation) ev.stopPropagation(); |
| if (ev.preventDefault) ev.preventDefault(); |
| var callerObj = ev.srcElement ? ev.srcElement : ev.target; |
| if (callerObj) |
| { |
| var callBackFn = function (arg) |
| { |
| if (arg) |
All that happens is the postback occurs - but the form data isn't updated.
Andy