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

Hi,

I faced a problem while collapsing node on client side. Consider following example: There are 3 root nodes in the tree when I click on collapse button the below function executes but it only collapses the first expanded node. The below function is taken from the Rad examples only...
Secnario:
R1
    C1R1
    C2R2
R2
    C1R2
    C2R2
R3
    C1R3

When I click on collapse button only first node collapses and tree looks like:
R1
R2
    C1R2
    C2R2
R3
    C1R3

When I again click on collapse button second node collapses and tree looks like:
R1
R2
R3
    C1R3

 

function Collapse()

{

//get the explorer tree

var explorerTree = $find("<%= rtvExplorer.ClientID %>");

//get the root node count

var nodeCount = explorerTree.get_nodes().get_count();

//loop through root node and collapse them

for (var loopCount=0; loopCount<nodeCount; loopCount++)

{

var node = explorerTree.get_nodes().getNode(loopCount);

alert("node text : " + node.get_text() + ", loopCount : " + loopCount + ", nodeCount : " + nodeCount);

node.set_expanded(false);

}//for

}//function [Collapse]

Has anyone came across with this situation and found the solution???

Thanks and Regards,
Jaimin

 

Yana
Telerik team
 answered on 01 Aug 2008
3 answers
138 views
I have a multiple comboboxes with Load on Demand. I'm pretty much using the example found in the demo's found here: http://www.telerik.com/demos/aspnet/prometheus/ComboBox/Examples/Functionality/MultipleComboBoxes/DefaultCS.aspx

I'm wondering is there a way to get the SelectedValue of the second combobox even though it's client-side?

I'd be happy if I can have it do the same exact thing server-side too (which I'd prefer more).

Thanks,

Brett
Rosi
Telerik team
 answered on 01 Aug 2008
1 answer
116 views
In Page_Load I have ComboBox is has a SQLdatasource to load it's items, get the itemID and set the .SelectedValue to what's in the Database.
I would like to get the RadCombobox1.Text and put it into a label, as in label.text = RadComboBox1.Text;

The ComboBox loads fine, sets the correct value, but I can't seem to get the .Text to show up in the label.

Any pointers in the right direction would be much appreciated.

Thanks,

Brett
Rosi
Telerik team
 answered on 01 Aug 2008
1 answer
120 views
Hi,
My web page loading a lot of stuff from database so loading process little bit longer. If I click Combobox down arrow while loading page, List appearing on page some other palaces instead of proper location.  Just FF is showing correct. Safari, IE7 and Opera have same issue.

please advice?
Bug Explaination Picture 
Rosi
Telerik team
 answered on 01 Aug 2008
1 answer
76 views
I can't seem to be able to get the ComboBox to (when type-as-you-go LoadOnDemand is enabled) to update my DataList control I have no my page. The Items_Requested event is getting fired, and all my code is being run through, but my DataList is not getting updated. I've input an AjaxManager and have made sure the ComboBox was set to be able to update the DataList. The Text_Changed event, however -- works.
Rosi
Telerik team
 answered on 01 Aug 2008
0 answers
294 views

We found we've introduced a glitch in the new skinning model of RadUpload in the RadControls Q2 2008 (Telerik.Web.UI v 2008.2.723) package.

The symptoms:

The browse dialog box does not open when you click the Select button. This happens when one of the parent elements of RadUpload is absolutely/relatively positioned.

Cause:

The file input is not positioned properly when a parent element of RadUpload is absolutely/relatively positioned.

Fix:

If the application design allows that, remove the relative/absolute positioning of the RadUpload parent element. If not, attached is the trial fix. Please, open a formal support ticket and ask for the fix to obtain a dev version.

*EDIT*: Attached is the latest build which contains additional fixes of the problem with FieldSet, ModulPopupExtender and RadProgressArea not showing in custom monitoring scenario.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 01 Aug 2008
1 answer
88 views
Could you show me how to collapse all parent rows showing child grid for each parent row by default please?

- Parent 1 row
    child 1
    child 2

- Parent 2 row
    child 2

- Parent 3 row
    child 3
    child 4

etc

Thanks
Konstantin Petkov
Telerik team
 answered on 01 Aug 2008
1 answer
132 views
I have enabled checkboxes in the RadTreeView. I am using NodeCheck event handler but it posts back my page each time I check a node. Is there anyway I can disable auto post back and still perform some action when a node / nodes are selected?
If not, is there any other event handler that I can use to perform some action based on checking / unchecking of a node?
A quick response will be appreciated. Thanks in advance.

Jinal.
Veselin Vasilev
Telerik team
 answered on 01 Aug 2008
3 answers
167 views
Hello,

Can anybody tell me where can I find the 'Quick Start Framework'?  I need to get the full source code to implement multiple resources.

Thanks.
Atanas Korchev
Telerik team
 answered on 01 Aug 2008
1 answer
205 views
I havea simple grid with AutoGenerated Edit and Delete columns. And default CommandItem "Add New" command with EditMode set to "In Place".

When in Edit mode, the "Insert" (or "Update") and "Cancel" come as LinkButtons occupying only the "Edit" column. As this column is not big enough to hold the two LinkButtons, I tried to do

1. replace these with ImageButtons.
or
2. make these two buttons occupy both "Delete" and "Edit" columns.

The only problem I try to solve is to fit the Insert( or Update) and Cancel into the grid without doubling the "Edit" column width. I am wondering if there is a way to achieve this.

Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 01 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?