Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
Is it possible to hide the standard filter menu in a filtered rad grid column and instead, handle the client-side keyprss event in the filter textbox and filter the grid after each character is entered?
Shinu
Top achievements
Rank 2
 answered on 13 May 2011
4 answers
101 views
Hi. I've upgraded to version 2011_1_315_Dev and noticed that any grid that I have with the attirbute UseStaticHeaders set to true, it doesn't display anything. Set it to false and the data shows okay. This only happens in IE9 and viewing the site in compatibility mode doesn't fix the problem. Thanks.

Daniel

<ClientSettings><Scrolling UseStaticHeaders="true" AllowScroll="true" ScrollHeight="394px" SaveScrollPosition="true" /></ClientSettings>


Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 13 May 2011
0 answers
115 views
To Telerik..................

This item may be closed and deleted, please and thank you.  I kept working on this and discovered an erroneous .select earlier in the page load event that was setting the selected item to an incorrect item.

Sorry to kluge up the works with a useless forum entry.

I have a combo box (current version) that I am populating at Page Load.  The combo box definition is:

<telerik:RadComboBox
    ID="SearchCountry"
    MarkFirstMatch="True"
    TabIndex="5"
    style="z-index: 9000;"
    Width="200px"
    EnableEmbeddedSkins="true"
    Skin="Sitefinity"
    runat="server"
    Height="150px"
    OnClientSelectedIndexChanging="aLoadSearchStateProv"
>

The code used to populate the combo box is:
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)
Loop
reader.Close()
reader = Nothing

Here are the pertinent facts:
(1) The combo box is being populated correctly as far as the total entries are concerned.  See attached graphic.
(2) I have stepped through the code and the "RCBI.Selected = True" line of code is being executed ONCE during page load and it is being executed for the correct RCBI.Value (key value of 128).  But the first item in the list is showing (the one saying "Select from this list").  Refer to the second uploaded graphic.

Why isn't the item selected (actually the record for key value 128, United States) being displayed in the combo box display area after page load?

Thanks in advance for your assistance?  Let me know if you need additional information and I will happily comply!

Lynn
Lynn
Top achievements
Rank 2
 asked on 12 May 2011
2 answers
79 views
Hello everybody,

When I am using radtooltip 100% width on the left and right appear smaller spaces, which can not occupy the entire width of the page. How do I remove these spaces?

Thanks
Klayton Fratoni
Top achievements
Rank 1
 answered on 12 May 2011
2 answers
118 views
Hey guys,

By default, when I enable check boxes on the RadTreeView, I'd like the cursor to show up as a hand ( 'pointer' ). I'd like to just make that the default style, but can't seem to find the right thing to target the check boxes. Any help would be appreciated.
Developer Developer
Top achievements
Rank 1
 answered on 12 May 2011
4 answers
157 views
Hi,

I'm using rotator to slideshow and my images get visible slowly  , its okey but i want to do it when images are changing.

I mean images have to disappear slowly ,  fading out.

Thank you 
Niko
Telerik team
 answered on 12 May 2011
4 answers
220 views
Hello there

I am trying to disable button in ribbon bar in client-side script. After building pretty complex script to get reference to button item I called set_enabled(false) and nothing happened. I think problem is in set_enabled function in:
set_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

Andrej
Top achievements
Rank 1
 answered on 12 May 2011
3 answers
58 views
This is the C# code I tried to convert:

var usaOrders = from od in OrderDetails
where 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 )
};


and this is what I got:
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
'=======================================================

I expected to have something like:
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 )

Todd Anglin
Top achievements
Rank 2
 answered on 12 May 2011
2 answers
42 views
I've seen one or two posts on this, but I'm not quite there yet.  I looked at this post:

http://www.telerik.com/help/aspnet-ajax/ajax-show-loadingpanel-on-initial-pageload.html

I think the main difference with my project is that I'm using a Masterpage/content page scenario and I'm not sure how to call the Ajax Manager on the Masterpage using the Proxy on the content page.  Basically, I have about 10 drop down lists to load and as soon as the page starts loading, I would like to show the Ajax Panel while it finishes.

Help?

thanks

mark
Maria Ilieva
Telerik team
 answered on 12 May 2011
2 answers
73 views
Hey, it seems like once I'm opening a RadWindow and then moving it around a bit, the focus is now only in the RadWindow, and no more on the background page. How can I give the focus back to my background page ? So that when I click on an image something happen immediatly ?

Thanks in advance,
Francis.
Francis
Top achievements
Rank 1
 answered on 12 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?