﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebCombo - Hoe do I set ReadOnly on WebCombo and WebInput controls?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Hoe-do-I-set-ReadOnly-on-WebCombo-and-WebInput-controls/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Hoe do I set ReadOnly on WebCombo and WebInput controls?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Hoe-do-I-set-ReadOnly-on-WebCombo-and-WebInput-controls/</link><pubDate>Wed, 06 Jan 2010 22:34:20 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebCombo Clientside Events</category><category>WebInput 4</category><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi Charles,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually, you can just use "Disable()" method to make them as Read-Only. Here are the sample code.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;	function Disable_Webcombo() {

            var combo = ISGetObject("Webcombo1");

            combo.Disable();

         }

         function Disable_WebInput() {

            var input = ISGetObject("WebInput1");

            input.Disable();
         }
&lt;/pre&gt;

&lt;p&gt;     &lt;span style="font-size: 9pt"&gt;&amp;nbsp;I hope it helps and please, let me know if you have any other questions, thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Best Regards,&lt;br /&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Hoe do I set ReadOnly on WebCombo and WebInput controls?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Hoe-do-I-set-ReadOnly-on-WebCombo-and-WebInput-controls/</link><pubDate>Wed, 06 Jan 2010 22:29:51 GMT</pubDate><dc:creator>cyoung311</dc:creator><category>WebCombo Clientside Events</category><category>WebInput 4</category><description>&lt;p&gt;Let me rephrase...&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;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?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Hoe do I set ReadOnly on WebCombo and WebInput controls?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Hoe-do-I-set-ReadOnly-on-WebCombo-and-WebInput-controls/</link><pubDate>Wed, 06 Jan 2010 15:42:33 GMT</pubDate><dc:creator>cyoung311</dc:creator><category>WebCombo Clientside Events</category><category>WebInput 4</category><description>&lt;p&gt;function disable_input(controlId) {&lt;/p&gt;
&lt;p&gt;    oCtrl = ISGetObject(controlId);&lt;/p&gt;
&lt;p&gt;    switch (oCtrl.ClassName) {&lt;/p&gt;
&lt;p&gt;        case 'WebCombo':&lt;/p&gt;
&lt;p&gt;            oCtrl.LayoutSettings.TextboxMode.ReadOnly = 1;&lt;/p&gt;
&lt;p&gt;            break;&lt;/p&gt;
&lt;p&gt;        case 'WebInput':&lt;/p&gt;
&lt;p&gt;            oCtrl.HowDoISetReadOnlyMode = ?&lt;/p&gt;
&lt;p&gt;            break;&lt;/p&gt;
&lt;p&gt;    }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt;Thanks in advance...&lt;/p&gt;</description></item></channel></rss>