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
var usaOrders = from od in OrderDetailswhere od.Order.Customer.Country == "USA"select new { Company = od.Order.Customer.CompanyName, OrderDate = od.Order.OrderDate, OrderID = od.OrderID, Product = od.Product.ProductName, UnitPrice = od.UnitPrice, Quantity = od.Quantity, Discount = od.Discount, Extended = od.UnitPrice * od.Quantity * ( 1M - (decimal)od.Discount )};Dim usaOrders = _ Where od.Order.Customer.Country = "USA"'======================================================='Service provided by Telerik (www.telerik.com)'Conversion powered by NRefactory.'Twitter: @telerik, @toddanglin'Facebook: facebook.com/telerik'=======================================================Dim usaOrders = from od in OrderDetails _ Where od.Order.Customer.Country = "USA" _ select _ Company = od.Order.Customer.CompanyName, _ OrderDate = od.Order.OrderDate, _ OrderID = od.OrderID, _ Product = od.Product.ProductName, _ UnitPrice = od.UnitPrice, _ Quantity = od.Quantity, _ Discount = od.Discount, _ Extended = od.UnitPrice * od.Quantity * ( 1 - od.Discount )