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

Making visible/Invisible other controls with TreeView in ComboBox.

4 Answers 75 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Atiq Ur Rehman
Top achievements
Rank 1
Atiq Ur Rehman asked on 10 Jun 2008, 01:13 PM
Hi, I am using this http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Functionality/TreeViewComboBox/DefaultVB.aspx example as Treeview in ComboBox.
Can someone tell me how can I make visible/invisible an asp textbox depending on any selected value from treeview in combobox?

Thanks
Atiq

4 Answers, 1 is accepted

Sort by
0
Atiq Ur Rehman
Top achievements
Rank 1
answered on 11 Jun 2008, 02:31 PM
anyone?
0
Veselin Vasilev
Telerik team
answered on 12 Jun 2008, 11:41 AM
Hello Atiq Ur Rehman,

You can subscribe to the NodeClick server-side event of the treeview and in its event handler set the Visible property of the Textbox to True or False.

Best wishes,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Atiq Ur Rehman
Top achievements
Rank 1
answered on 10 Jul 2008, 08:10 AM
hi a little help with code would be useful as I am not very good in javascript?
0
Veselin Vasilev
Telerik team
answered on 14 Jul 2008, 08:56 AM
Hi Atiq,

I have created a sample page for you. It shows how to hide/show a textbox control either client-side or server-side.

I hope this helps.

All the best,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
Atiq Ur Rehman
Top achievements
Rank 1
Answers by
Atiq Ur Rehman
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or