This is a migrated thread and some comments may be shown as answers.

RadTree in ComboBox

5 Answers 89 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
khalid
Top achievements
Rank 1
khalid asked on 15 Feb 2009, 11:34 AM
Hello,
Im using RadTree in Combobox, but i have one problem, when i first click on combo box list item it is displaying all the list items in the display are, but when i click for the second time it is workin fine.

 Here is the code for this:

<

 

telerik:RadComboBox ID="RadComboBox1" Font-Names="Verdana" runat="server" Height="251px" Width="400px" ShowToggleImage="True" Skin="WebBlue"

 

 

style="vertical-align:middle;" HighlightTemplatedItems="true" Sort="Descending">

 

 

<ItemTemplate>

 

 

<telerik:RadTreeView ID="RadTreeView1" runat="server" Width="300px" Font-Names="verdana" Skin="WebBlue" Font-Size="X-Small" OnClientNodeClicking="nodeClicking" >

 

 

<WebServiceSettings Path="ProductCategories.asmx" Method="GetTreeViewCategories" />

 

 

<Nodes>

 

 

<telerik:RadTreeNode Text="Al Bahah" Value="1" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Al Jawf" Value="2" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Madinah" Value="3" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Al Qassim" Value="4" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Riyadh" Value="5" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Asir" Value="6" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Eastern Province" Value="7" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Hail" Value="8" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Jazan" Value="9" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Makkah" Value="10" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Najran" Value="11" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Northern Frontier" Value="12" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

<telerik:RadTreeNode Text="Tabuk" Value="13" ExpandMode="WebService"></telerik:RadTreeNode>

 

 

</Nodes>

 

 

</telerik:RadTreeView>

 

 

</ItemTemplate>

 

 

<Items>

 

 

<telerik:RadComboBoxItem />

 

 

</Items>

 

 

</telerik:RadComboBox>

 



Can any one suggest something.

Regards and thnx..

Khalid

5 Answers, 1 is accepted

Sort by
0
khalid
Top achievements
Rank 1
answered on 16 Feb 2009, 05:40 AM
Hello there,

Hey can any on ehelp from Telerik as Im stuck ,

regards
0
Atanas Korchev
Telerik team
answered on 16 Feb 2009, 04:55 PM
Hi khalid,

I couldn't understand what the problem is based on your code and explanation. Could you please elaborate? Thanks.

Sincerely yours,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
khalid
Top achievements
Rank 1
answered on 17 Feb 2009, 12:35 PM
Hi Albert,

Im using RadTree in RadComboBox, but there is a problem. When I click on it list item ie when I click on tree item for the first time it is showing me multiple selected value in combo's display area.

Regards
Khalid
0
khalid
Top achievements
Rank 1
answered on 19 Feb 2009, 11:40 AM
Hi Albert,

Here is the link wr im experiencing the problem.

http://hak.sss-sxr.com/INDUsersModule/page1.aspx

Here Im using  a combo, when I click on combo, it shows multiple selected item,
0
Veselin Vasilev
Telerik team
answered on 20 Feb 2009, 09:25 AM
Hi khalid,

Please examine our online demo and note the StopPropagation javascript method.

All the best,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox
Asked by
khalid
Top achievements
Rank 1
Answers by
khalid
Top achievements
Rank 1
Atanas Korchev
Telerik team
Veselin Vasilev
Telerik team
Share this question
or