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
function disable_input(controlId) {
oCtrl = ISGetObject(controlId);
switch (oCtrl.ClassName) {
case 'WebCombo':
oCtrl.LayoutSettings.TextboxMode.ReadOnly = 1;
break;
case 'WebInput':
oCtrl.HowDoISetReadOnlyMode = ?
}
does not work. I've also tried "oCtrl.Readonly = 1;" and it also does not do anything. What is the correct way for WebCombo, and also for WebInput?
Thanks in advance...
Hi Charles,
Actually, you can just use "Disable()" method to make them as Read-Only. Here are the sample code.
function Disable_Webcombo() { var combo = ISGetObject("Webcombo1"); combo.Disable(); } function Disable_WebInput() { var input = ISGetObject("WebInput1"); input.Disable(); }
I hope it helps and please, let me know if you have any other questions, thank you.
Best Regards,Andi Santoso
Let me rephrase...
Is it possible to set the WebCombo and also the WebInput controls to readonly mode from client-side script? Is there an API for this action?
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