Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views

Hi

I have a RadGrid, I have now been tasked with putting a Right Click Context menu in place. What I need to figure out is:


1)     How can I get a value from the either the DataItem or the DataKeyValues from client side for the row that has fired off the
        context menu?   

    
Any thoughts / pointers most appreciated

Shinu
Top achievements
Rank 2
 answered on 30 Mar 2010
1 answer
121 views
Hi,

I have a scheduler that I am using to display quite a lot of information and frequently find that the "more..." text is shown in a day cell.  Is there a way to allow more rows of data before "more..." appears?  If there isn't a way to increase the number of rows please can I request that it be added as a feature request for a release asap?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 30 Mar 2010
2 answers
109 views
I have a GridHyperLinkColumn in my RadGrid and I need to save the filter state across server requests (in a session) so that when the user returns to the page the grid is in the same state as it was left.  I have studied the code at

http://www.telerik.com/help/aspnet-ajax/grdsavingsettingsonperuserbasis.html 

and I see the comment to "call SaveSettings at Render."  I believe I want to call SaveSettings went the client request is fired by clicking on a hyperlink - how do I capture that event in the code-behind?

tia,
Mark
Yavor
Telerik team
 answered on 30 Mar 2010
1 answer
94 views
I was trying to include the javascript for client events for RadNumericTextBox, however eveytime I use the custom control i get error saying undefined function name.

 

public class CustomRadNumericTextBoxControl : RadNumericTextBox, IPostBackEventHandler, INamingContainer

 

{

 

private string OnKeyPressFunctionName = "OnKeyPress";

 

 

protected override void OnPreRender(EventArgs e)

 

{

RegisterJavascripts();

 

this.Type = NumericType.Currency;

 

 

this.Culture = CultureInfo.CurrentCulture;

 

 

this.DataType = System.Type.GetType("System.Decimal");

 

 

this.NumberFormat.AllowRounding = true;

 

 

this.ClientEvents.OnKeyPress = OnKeyPressFunctionName;

 

 

base.OnPreRender(e);

 

EnsureChildControls();

}

 

public void RegisterJavascripts()

 

{

Page.ClientScript.RegisterClientScriptInclude(

Guid.NewGuid().ToString(),

 

Page.ClientScript.GetWebResourceUrl(GetType(),

"<<Embedded javascript resource file name>>"));

 

 

}

}

}

Dhinesh Muthuvel
Top achievements
Rank 1
 answered on 30 Mar 2010
5 answers
143 views
I have added a custom skin to the RadGrid. I have made all the modifications to the Grid.CustomSkin.css file and my grid looks good. I am working on changing the combobox in the Pager. I am modifying ComboBox.CustomSkin.css but not all of my changes are working. I used the IE Developer toolbar and noticed that it is still pulling the css from Telerik.Web.UI.WebResource.axd. How do I prevent it from doing that?
Dimo
Telerik team
 answered on 30 Mar 2010
10 answers
327 views
Trying to do the Navigation demo.of the card catalog style interface. Found the other 6 .png files, but not this one ?
am I looking in the right place ?
thanks
Veselin Vasilev
Telerik team
 answered on 30 Mar 2010
1 answer
190 views
hi all,
Is it any way to reduce the length of the filter textbox. when i try to set the header width as small value my filtering icon disappears. i dont want it so. instead i am ok with a small text box. please help...

Regards,
Saravanan K
Dimo
Telerik team
 answered on 30 Mar 2010
4 answers
141 views
void RadGrid1_ItemCommand2(object source, GridCommandEventArgs e)  
        {  
            if (e.CommandName == RadGrid.FilterCommandName && ((Pair)e.CommandArgument).Second.ToString() == "orderdatetime")  
            {  
                e.Canceled = true;  
                GridFilteringItem filterItem = (GridFilteringItem)e.Item;  
                string filterPattern = "3/1/2010";  
                string filterPatternAssist = "4/1/2010";  
                filterPattern = "" + filterPattern + " <= [orderdatetime] AND [orderdatetime] <= " + filterPatternAssist + "";  
                GridBoundColumn dateColumn = (GridBoundColumn)e.Item.OwnerTableView.GetColumnSafe("orderdatetime");  
                dateColumn.CurrentFilterFunction = GridKnownFunction.Between;  
                RadGrid1.MasterTableView.FilterExpression = filterPattern; // Expression expected  
                RadGrid1.Rebind();  
            }  
        } 

Filtering a datetime column using a dropdown triggers the above function. The Rebind shows the error "Expression expected". How do I fix this ? This code is the same as all the examples I've found so far. The only difference is that I'm using a LINQ datasource.

Please advise.

Foenix
Top achievements
Rank 1
 answered on 30 Mar 2010
1 answer
80 views
Hi,

I have a menu on my MasterPage with icons...
And each time I change page, the website is loading the 30 icones...

Is it possible pour put thoses icones in WebResource ? our in cache ?

Thank you

Jean-Yves
Dimitar Milushev
Telerik team
 answered on 30 Mar 2010
1 answer
96 views
Using the latest version of Firefox, v3.6, the RadListBox buttons show up in a vertical stack rather than displaying horizontally. It wasn't doing this with older versions of the browser though.  Example:

To recreate it, go to here:
http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/buttons/defaultcs.aspx

Then set the button position to Bottom.

It presets the horizontal alignment to left, which is fine, and the button position is technically on bottom, but the buttons overlap the listbox itself.

Any fixes for it?




Genady Sergeev
Telerik team
 answered on 30 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?