or
hi there,
I am currently get this unhandled exception in first time of a page load (onetime for application start) and after reloading the same page, I dont get this exception and everythings is OK . I'm not use datetime conversion in my login.aspx page. this problem while cause when i use telerik control. it's attractive this exception in every page that use Telerik Rad Script Manager and stop rendering page.
i will gratefull everyone that help me for solve this problem.
|
|
<asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <table> <tr> <td> <b><asp:Label ID="lblID" Text='<%# DataBinder.Eval(Container.DataItem, "ID")%>' runat="server" Visible="false"></asp:Label></b> <telerik:RadEditor ID="RadEditor1" Content='<%# Bind("Description") %>' runat="server" OnClientLoad="OnClientLoad"> <Languages> <telerik:SpellCheckerLanguage Code="en-US" Title="English" /> </Languages> </telerik:RadEditor> </td> </tr> </table> </ItemTemplate>var timer = null;var radE = null;function OnClientLoad(editor, args) { radE = editor; editor.add_spellCheckLoaded(function () { var spell = editor.get_ajaxSpellCheck(); spell.add_spellCheckStart(function (editor, args) { stopTimer(); }); spell.add_spellCheckEnd(function (editor, args) { startTimer(); }); } ); editor.attachEventHandler("onkeyup", function (e) { stopTimer(); startTimer(); }); }function stopTimer() { if (timer != undefined || timer != null) clearTimeout(timer); } function startTimer() { timer = setTimeout("autoSave()", 6000); }function autoSave() { var content = radE.get_html(true); var ajaxManager = $find("<%= RadAjaxManager.ClientID %>"); ajaxManager.ajaxRequest(content); }