Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
WebDataTree: OnNodePopulate event not working
posted

I am facing an issue that is OnNodePopulate event of WebDataTree.

If I add some nodes using javascript add method, after adding nodes "OnNodePopulate" event does not fire. It does not postback to server and gives this error:

"Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format."

Please suggest asap.

thanks

Parents
No Data
Reply
  • 185
    posted

    Further more investigated at Event Viewer of Win XP and found this error:

    Exception information:
        Exception type: FormatException
        Exception message: Input string was not in a correct format.
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
       at System.Int32.Parse(String s)
       at Infragistics.Web.UI.NavigationControls.NavControl.ResolveItem(String fullAddress)
       at Infragistics.Web.UI.NavigationControls.NavBot.ResolveItem(String fullAddress)
       at Infragistics.Web.UI.Framework.DataTreeBot.LoadClientCollections(Object[] data)
       at Infragistics.Web.UI.Framework.RunBot.LoadClientData()
       at Infragistics.Web.UI.Framework.RunBot.HandleLoadPostData(String postDataKey, NameValueCollection postCollection)
       at Infragistics.Web.UI.Framework.DataTreeBot.HandleLoadPostData(String postDataKey, NameValueCollection postCollection)
       at Infragistics.Web.UI.Framework.Data.HierarchicalDataBoundControlMain.LoadPostData(String postDataKey, NameValueCollection postCollection)
       at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Children