or
<ClientSettings><Scrolling UseStaticHeaders="true" AllowScroll="true" ScrollHeight="394px" SaveScrollPosition="true" /></ClientSettings><telerik:RadComboBox ID="SearchCountry" MarkFirstMatch="True" TabIndex="5" style="z-index: 9000;" Width="200px" EnableEmbeddedSkins="true" Skin="Sitefinity" runat="server" Height="150px" OnClientSelectedIndexChanging="aLoadSearchStateProv">Dim reader As SqlDataReader = cmd.ExecuteReader()Do While reader.Read() RCBI = New RadComboBoxItem() RCBI.Text = Convert.ToString(reader(sFieldToPopulate)) RCBI.Value = reader("CodeList") If oValueToMatch = RCBI.Value Then RCBI.Selected = True End If RadComboBox1.Items.Add(RCBI)Loopreader.Close()reader = Nothingset_enabled: function (c) { if (this._element) { return; } if (c) { b(this._element).attr("disabled", "disabled"); } else { b(this._element).removeAttr("disabled"); } }
if this._element is set, return is called. I think it should be opossite. Or am I doing something wrong?
I was able to disable the button with hard-code hacks in js. But disabled image is not used.
Another problem is that when I disable button even from server-side, button text looks like disabled and
button frame is not shown. But I am still able to click the button and I am redirected to '#'.
BTW:
How can I easily find reference to button item in js?
Thank you very much.
Kind regards
Andrej