iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
and we are using SQL database to fetch data to be bound to the treeView.
We have a button on the page, which checks for selected elements on the tree.
After some postbacks of page, due to botton click, we get a error message "Root Elemnt not found." A screenshot is attached for details.
When the error occurs, the page creashed before reaching the Click event handler of the button.
I was unable to repro your issue in my end.
Could you please provide us with a simple sample that replicates the issue? You may use Northwind database as the datasource of the treeview.
Hi Yudi,
Another crash very often thrown is:
'<', hexadecimal value 0x3C, is an invalid attribute character. Line 1, position 108.
It is very easy to reproduce - don't use SQLDataSource; fetch the data from DB and bind to the TreeView within PagePostback section on Page_Load.
Making a post-back should fire the event but it returns error.
The error is so prominent that we're planning to convert all TreeViews and TreeView inside WebCombos to Telerik Controls entirely.
Can you provide a quick fix on this please?
Regards,
Veenu Munjal
Added the Stack Trace:
[XmlException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 1, position 108.] System.Xml.XmlTextReaderImpl.Throw(Exception e) +76 System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +88 System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args) +18 System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) +3931930 System.Xml.XmlTextReaderImpl.ParseAttributes() +903 System.Xml.XmlTextReaderImpl.ParseElement() +343 System.Xml.XmlTextReaderImpl.ParseElementContent() +121 System.Xml.XmlTextReaderImpl.Read() +45 System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +58 System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +20 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +129 System.Xml.XmlDocument.Load(XmlReader reader) +108 System.Xml.XmlDocument.LoadXml(String xml) +113 ISNet.WebUI.XmlCompressor.XmlCompressor.Compress(XmlDocument xml) +250 ISNet.WebUI.ISNetControl.GetXMLData() +66 ISNet.WebUI.WebTreeView.WebTreeView.GetXMLData() +107 ISNet.WebUI.ISNetControl(Object, EventArgs ) +438 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Control.OnPreRender(EventArgs e) +8682870 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
The error only happens when “XmlCompressionEnabled” property is set to true. A work item, #497, has been submitted to WebTreeView development team regarding this issue.
I’ll keep you updated with any news I heard from the team regarding this issue.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname