This is a migrated thread and some comments may be shown as answers.
Dynamically Create Button on Client
1 Answer 22 Views
This is a migrated thread and some comments may be shown as answers.
LeBear
Top achievements
Rank 1
LeBear asked on 18 Mar 2013, 03:23 AM
Is it possible to dynamically create a RadButton on the client? 

I tried

var MyBtn = new Telerik.Web.UI.RadButton();

When I do this, I get an error:

Sys.ArgumentException: Value must be a DOM element.
Parameter name: element

Is it possible to do this?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 18 Mar 2013, 06:02 AM
Hi,

As far as I know, it is not possible to create a RadButton from client-side code. The main RadControls like RadButton, RadComboBox etc cannot be created from client-side code. To add items such as adding items to RadComboBox using JavaScript is possible.

Thanks,
Princy.
Asked by
LeBear
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or