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
We have a couple of grids that allow our users to put in special characters (&,*,#) and also (<,>,>=,<>).
One our our grids use a dropdownlist and in the layoutsettings to populate the valuelist we set a hashtable with the following data.
htOperator.Add("1", clsCommon.EncodeXml("= Equal to"));
It will display the correct data, but when we save using <> or <, we get the error below.
"Exception of type 'System.Web.HttpUnhandledException' was thrown.Name cannot begin with the '>' character, hexadecimal value 0x3E."
I have tried EncodeXML around the text and still I get the same error.
You may try to enable TreatMarkupAsLiteralText property of WebGridColumn. This property gets or sets whether markups such as HTML or XML should be treated as literal text.
I tried to reproduce the reported problem by creating a simple page of WebGrid and then input special characters into WebGrid. However, my efforts were not successful.
I’m willing to advice you further but in order to do so I would need you to elaborate on your specific scenario and possibly give us a running simple sample which replicates the problem that we can use to observer the problematic behavior.
Yudi,
I tried adding the TreatMarkupAsLiteralText and didn't work. I used one of your online examples and I was able to reproduce the issue. Here is the URL I used: Using your SmartBathUpdate example. I have included screenshots to show you what I get using the above example.
I found that the reported problem only happen on batch update scenario. I will have this forwarded to the development team to be investigated further.
The problem is filed under ASPNET-24 in the developer team’s bug tracker system. I haven’t heard any news regarding the availability of hotfix for this problem recently.
Should I hear any news from the team regarding ASPNET-24, I will let you know by updating the information in this thread.
What is the status of this bug?
I have similar problem. If you type "<" in a textbox column and try to save the grid , you will get an unhandled exception, "Unable to communicate with server".
The exception, "Unable to communicate with server", is different from the initial problem. Could you please provide more information about how to reproduce the problem?
"Unable to communicate with server" was the original error that Tenika found. The error log shows "Exception of type 'System.Web.HttpUnhandledException' was thrown.Name cannot begin with the '<' character, hexadecimal value 0x3C. ". What is the ETA of this bug?
Thank you for the explanation.The hotfix of this reported problem is expected to be available in October hotfix.
Hope this help.
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