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

can I create a RadListBox in client side ?

2 Answers 80 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Winson qiu
Top achievements
Rank 1
Winson qiu asked on 10 Sep 2009, 05:31 AM
I want to dynamic to create a RadListbox with javascript , just like follows:

//for example: 
var oListBox = CreateListBox(); 
body.append(oListBox); 


Or how can I dynamic to get the RadListBox id in client side ?

for example , I have 10 RadListBox controls in the page, and their id is "listbox1, listbox2,listbox3...." , I want to loop these RadListbox,   I cannot use $find() , because my RadListBox are in the masterpage(or usercontrol page) , how can I do that ?

thanks!

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 10 Sep 2009, 12:44 PM
Hi Winson,

RadListBox is a server control and cannot be created on the client. Please check this kb article regarding the second question.


Best regards,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Winson qiu
Top achievements
Rank 1
answered on 10 Sep 2009, 01:56 PM
ok , thanks for your help !
Tags
ListBox
Asked by
Winson qiu
Top achievements
Rank 1
Answers by
Yana
Telerik team
Winson qiu
Top achievements
Rank 1
Share this question
or