or
Hello Telerik,
I have a problem when dealing with RadComboBox.
if the comboBox is disabled, and I want to select an item it doesn't work
the following not working:
ComboBoxTitle.disable(); ComboBoxTitle.findItemByValue("2").select();if (!ComboBoxTitle.get_enabled()) { ComboBoxTitle.enable(); ComboBoxTitle.findItemByValue(ContactData.TitleId).select(); ComboBoxTitle.disable(); } else { ComboBoxTitle.findItemByValue(ContactData.TitleId).select(); }Hi Team
I've desing in my web application as....
<tr> <td> <asp:Panel runat="server" ID="uxJumpPanel"> <telerik:RadListView ID="feeldChoices" runat="server"> <ItemTemplate> <table cellpadding="0" cellspacing="0"> <tr> <td> <telerik:RadTextBox runat="server" Text='<%# Eval("Text") %>' onkeyup="SyncListToCheckbox(this)" ID="uxItemText" Width="260"> </telerik:RadTextBox> <telerik:RadComboBox runat="server" ID="uxSelectPage1" ></telerik:RadComboBox> </td> <td> <img id="imageAdd" style="cursor: pointer" runat="server" onclick="InitiateAjaxRequest('1,3,add|' + this.id + ',' + selectedDockId); SetUnsaved();" alt="Add field choice" border="0" src="Images/Add.png" /> </td> <td> <img id="imageDelete" style="cursor: pointer" runat="server" onclick="InitiateAjaxRequest('1,3,remove|' + this.id + ',' + selectedDockId); SetUnsaved();" alt="Delete field choice" border="0" src="Images/Delete.png" /> </td> </tr> </table> </ItemTemplate> </telerik:RadListView> </asp:Panel> </td> </tr>
actually am not able to bind the data to "uxSelectPage1" radcombobox. It always shows empty.
Where am doing wrong?
<script type="text/javascript"> var prototype = Telerik.Web.UI.RadComboBox.prototype; var set_text = prototype.set_text; var propertyChange = prototype._onInputPropertyChange; prototype.set_text = function (value) { this._skipEvent = 0; set_text.call(this, value); }; prototype._onInputPropertyChange = function () { if (!event.propertyName) event = event.rawEvent; if (event.propertyName == "value") { this._skipEvent++; if (this._skipEvent == 2) return; propertyChange.call(this); } };</script><script type="text/javascript"> var prototype = RadComboBox.prototype; var set_text = prototype.SetText; var propertyChange = prototype.OnInputPropertyChange; prototype.SetText = function (value) { this._skipEvent = 0; set_text.call(this, value); }; prototype.OnInputPropertyChange = function () { if (!event.propertyName) event = event.rawEvent; if (event.propertyName == "value") { this._skipEvent++; if (this._skipEvent == 2) return; propertyChange.call(this); } };</script><telerik:RadComboBox runat="server" ID="cboState" Width="300px" AllowCustomText="false" MarkFirstMatch="true" />