Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
121 views
I'm trying to add a label control to a TreeNode at run time.

My logic is basically as follows:

RadTreeNode childNode = new RadTreeNode("text"); 
Label lbl1 = new Label(); 
lbl1.Text = "text <br/> and additional information"
childNode.controls.Add(lbl1); 
 
parentNodes.nodes.add(childnode); 
 

My problem is that when this renders, the first line of text no longer appears NEXT to the line indicating its position in the tree.  Instead, the entire node appears several spaces BELOW the tree view line.

so instead of looking like

+ -- Text
       and additional information

it looks like
+--
   
    Text
    and additional information

Is there any way to use a line break and still have the node appear next to the tree line?


kollam2003
Top achievements
Rank 1
 answered on 28 Jan 2010
1 answer
101 views
I want to add a css class to a checkbox thats beeing styled by a FormDecorator. How do I do this?
Georgi Tunev
Telerik team
 answered on 28 Jan 2010
2 answers
177 views
Is there a specification document available for the sprite png file for the Rad Combo Box Custom Skin?

Thanks
Thomas
Kamen Bundev
Telerik team
 answered on 28 Jan 2010
1 answer
102 views
Hi,

I am using RadGrid. I have a masterpage. In it, I have a left menu and the RadGrid in the contentPaceholder. I have wrapped the contentPlaceholder around a div tag. Therefore whenever the Radgrid has to stretch it shows the horziontal scrollbar. When it does this, the Right hand border of the RadGrid cuts the stretched Grid, as shown in the attached picture. I tried using various "Border" properties of the grid, but it either doesn't work or clears away the entire border. Can you suggest me an option whereby The doted border on the right hand is not displayed keeping the other borders intact?

Thanks
Dimo
Telerik team
 answered on 28 Jan 2010
1 answer
117 views

I have used RadAjaxLoadingPanel in master page to show the progressbar in content pages while application is busy for this every thing is working fine except button,If i click on button nothing is happening can i know what is the reason if problem is there is there any solution?

Suggest me.

 

Code:

</

 

asp:ScriptManager>

 

 

 

 

 

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">

 

 

 

 

 

<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

 

 

 

 

 

 

</asp:ContentPlaceHolder>

 

 

 

 

 

</telerik:RadAjaxPanel>

 

 

 

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

 

 

 

 

 

Width="75px" Skin="Sunset">

 

 

 

 

 

</telerik:RadAjaxLoadingPanel>

 

Princy
Top achievements
Rank 2
 answered on 28 Jan 2010
3 answers
138 views
I have an "OnRowSelected" event that I use to process the state of a bunch of controls on my grid.  The event fires when a user clicks on a row or [ctrl]-clicks on a row.  I noticed that when the user drags to select multiple rows or [shift]-clicks to select multiple rows the "OnRowSelected" event doesn't fire. 

Does anyone know how I can force the OnRowSelected event to fire when the user selects multiple rows as by dragging to select or by holding [shift} and selecting?

Thanks!
Pavel
Telerik team
 answered on 28 Jan 2010
1 answer
169 views
Hi

I am using Telerik tree view control with checkboxs.
What i need is when i select the parent node it should select all the child's nodes like wise unselect also.
I am using this javascript code

function UpdateAllChildren(nodes, checked)
{
   var i;

       for (i=0; i<nodes.get_count(); i++)
       {
           if (checked)
           {
               nodes.getNode(i).check();
           }
           else
           {
               nodes.getNode(i).set_checked(false);
           }
           
           if (nodes.getNode(i).get_nodes().get_count()> 0)
           {
               UpdateAllChildren(nodes.getNode(i).get_nodes(), checked);
           }
       }
       if ((nodes.get_count()==0) && (nodes._parent._parent._parent!=null) && (!checked))
       {
        nodes._parent._parent.set_checked(false);
       }
}
if the selected node has more than 200 child Nodes (nodes.get_count() > 200) then i am always getting this error

Stop running  this script a script on this page is causing Internet explore to run slowly.If it continue to run your computer may be unresponsive. How can i avoid this error

Regards
Vairamuthu



Schlurk
Top achievements
Rank 2
 answered on 28 Jan 2010
1 answer
82 views
Hi
i m selecting a tree node in combo box,initially its not showing a node text as combobox but second time if i select a node it will show as a combo box text .only firstime its not showing node text as combo text,any help

thanks

usman
Schlurk
Top achievements
Rank 2
 answered on 28 Jan 2010
4 answers
125 views
Hi,

I am trying to modify some of the css classes for radgrid. Can someone tell me which selector I should be using to modify

Radgrid_Vista .rgExpand,
RadGrid_Vista .rgCollapse,
.DetailTable_Vista

Is it documented anywhere so that I can refer to it in future.

Many thanks,

Anu
Anu
Top achievements
Rank 1
 answered on 28 Jan 2010
1 answer
62 views
Hi,
   Is there anyway of making visible columns that have been previously been made invisible programmatically.

We have a show all button that we would like to make all columns visible, however once they have been made visible = false, this can't be changed.

Regards

Robert Smith
Shinu
Top achievements
Rank 2
 answered on 28 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?