Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
I am traversing a treenode and wish to skip over a parent node (which I know the forecolor is blue). Here is my code. The below code simply traverses the nodes from one to the next regardless of being a parent or not.

RadTreeNode

 

currentNode = RadTreeView1.SelectedNode;

 

 

if (currentNode.Next != null)

 

currentNode.Next.Selected =

true;

 

 

else if (currentNode.ParentNode != null)

 

{

 

if (currentNode.ParentNode.Next != null)

 

currentNode.ParentNode.Next.Selected =

true;

 

}


How can I accomplish this?
Princy
Top achievements
Rank 2
 answered on 30 Aug 2010
2 answers
117 views
Hi,

Is it possible to have the following scenario on radgrid filters :

- AutoPostBackOnFilter="true" whith default action is 'equal to'

and

- ShowFilterIcon="true"

My users would like to be able to perform a postback most of the time by pressing the 'Enter' key (not having to select the 'equal to option' from the filter list). But sometimes, they would like to be able to chose another action whith the filter list.

When I add both AutoPostBackOnFilter="true" and ShowFilterIcon="true", the postback occurs when the user clik on the filter icon (before he can chose something inside the menu).

Thank You
Arnaud
arnaud
Top achievements
Rank 1
 answered on 30 Aug 2010
1 answer
172 views
What procedure should I will follow? Any step-by-step instructions would be very helpful.
Rumen
Telerik team
 answered on 30 Aug 2010
1 answer
82 views
What procedure should I will follow? Any step-by-step instructions would be very helpful.
Rumen
Telerik team
 answered on 30 Aug 2010
5 answers
329 views
Hi,

I have a sample grid

col1     col2     col3
1     name1     company1
2     name2     company2
3     name3     company3
4     name4     company4
5     name5     company5
6     name6     company6

I have checkboxes
 Hide even rows
 Hide odd rows
 Hide prime number rows

For hiding the rows, I looped through the grid rows(radgrid.MasterTableView.Items) and if col1 is same as selected checkbox then used item.display to false, but it does not work. Is it right way to do it?

Thanks
Teldev

Shinu
Top achievements
Rank 2
 answered on 30 Aug 2010
5 answers
154 views
I have a grid in which two sets of data are compared side-by-side.
The grid is skinned (Sunset by default).  What I would like is to set the background image of some columns headers to be different to that of the selected skin, so that the two data sets are visually more distinct.  I would prefer the background to also be gradient image , not a flat colour.

I was using different forecolours on the text, but this appears to be insufficient for my users.

Can anyone provide an example of how this could be done?
Iana Tsolova
Telerik team
 answered on 30 Aug 2010
1 answer
54 views
What procedure should I will follow? Any step-by-step instructions would be very helpful.
Rumen
Telerik team
 answered on 30 Aug 2010
3 answers
119 views
Hi,

we have a table with editform that is connected to a usercontrol. in the usercontrol there is a details from the selected row. now i need that when i pressed the pdf export button also show the details in the pdf. but it doesn´t work.
in the usercontrol there are only textboxes and checkboxes.

is this supported, print radgrid details in pdf export!!

thanks for help
christian
Princy
Top achievements
Rank 2
 answered on 30 Aug 2010
4 answers
151 views

Hi,

I'm creating a web part (with a RadGrid) which implies that there is no designer to assist with development. So all coding is done programatically.

I am displaying records from a SharePoint list and there are too many fields to show all of them in the grid. So I have a RadGrid and a few text fields below it, where I would like to display fields that are not shown in the grid control. My question is simply whether there are any good examples or documentation on how to implement Ajax and/or UpdatePanel programatically. All examples I've found through a fairly extensive search all utilize xml coding.

A related question regarding web parts is where would the xml code need to be added if this is created using xml instead of programatically with C#? An aspx page is not associated with a web part (at least until the web part is added to a page) and I am not aware of an associated ascx file. There is a feature.xml and the xml based .webpart file, but neither of these appear to be the location to add xml code for a web part. I can add this second question as a separate thread if required.

Any assistance would be greatly appreciated.

Regards,

Michael

Iana Tsolova
Telerik team
 answered on 30 Aug 2010
2 answers
85 views
Hello
I populate a RadGrid control using a JSON object. Values actually appear properly except numbers valued to 0 which are not displaied (html rendering is "<td>&nbsp;</td>"). If I manually set a 0 value to 1 for instance before the client-side set_dataSource(...), the new value does appear in the RadGrid.
Of course, if I change manually the 0 value to a string "0", then it is okay, but this is not suitable for my needs since I'd like to sort later on on the client-side.
I tried several things but none of them works.
Can you please help?
Kind regards

Olivier.
ariane
Top achievements
Rank 1
 answered on 30 Aug 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?