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
I understand that if the user turns of JavaScript the various WebUI web controls will not function. I'm good with that, but was wondering if on the simple controls like webInput controls could possibly be made to work when JavaScript is turned off.
The WeBCombo is basically a text box with a popup, when JavaScript is turned off of course the drop down doesn't work. But the text box is active and a user can enter some text, but when a PostBack occurs the value in the text box is removed. Is there a way to keep this value on PostBack instead of having it deleted?
John
Currently I do check for JavaScript and if it is off I create a text box and use that, but am looking for an easier solution?
Unfortunately, it could not be done for now. In component system, there's something called 'auto downgrade' feature and we don't handle this now. If you want, you can submit a feature request for this feature.
Regards,Handy
It seems impossible to do that if javascript is turned off.
May i know why do you need that?
Our control uses some scripts. Disable them is not an option.
If you only don't want it shows the dropdown and wanted to persist the text or value by entering it then postback, then I have an idea.
You don;t need to turn off the javascript. Return false OnShowDropDown event and SetText in OnLostFocus event. You will need hidden input to get the text in server (need to add runat="server" property).After that, in Button click event (server side), assign WebCombo.Value with hidden1.Value.(You could not fill the text in server because it is read only)I attached sample for you. Hope this helps.
HI Handy,
It's not that I want to disable the scripts, it's how to handle the control if the user turned javascript off in their browser.
The sites that I am writing are for the Government and many of their users have javascript turned off. The sites must also allow any one to be able to access these sites no matter what. They may have limited functionality if the user turns off javascript but they still must be able to access the sites and be allowed to enter data.
Using the webUI controls, specifically webInput controls, if the user turns off javascript in their browser and I include the webCombo control, the user can not manually enter any data in the textbox. Of course the list wouldn't popup, that's ok, but they should be able to manually enter the data in the textbox. Now what happens the user enters the data and then clicks a button to submit the data the data is ignored.
All I am asking is to consider allowing the simple webUI controls, used for data entry, convert to a simple html control if the user has turned javascript off. For example, the webInput controls would convert to a text box and the webCombo would convert to a simple html select list.
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