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

Create Radcontrols in Client side

4 Answers 135 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Johnny
Top achievements
Rank 2
Johnny asked on 09 Aug 2011, 10:14 AM
can i cretae the following controls in client side

1. RadComboBox
2. RadDatePicker
3.RadTextBox
4.RadNumericTextBox

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Aug 2011, 10:23 AM
Hello Johnny,

As far as I know these controls cannot be created from Clientside. Check the following forum thread which discusses the similar scenario.
Create RadCombo Client side? .

Thanks,
Shinu.
0
Johnny
Top achievements
Rank 2
answered on 09 Aug 2011, 10:50 AM
i already checked that reply before post my question here

u guys replied at Posted on Jul 22, 2008 (permalink)

i thought may be the new Versions got this features
0
Ehab
Top achievements
Rank 1
answered on 11 May 2017, 12:46 PM

Is there any thing new on that issue?

------------------------------------------------------

can i cretae the following controls in client side

1. RadComboBox
2. RadDatePicker
3.RadTextBox
4.RadNumericTextBox

------------------------------------------------------

0
Marin Bratanov
Telerik team
answered on 11 May 2017, 01:00 PM

Hi all,

Controls like the Telerik UI for ASP.NET AJAX controls cannot be created purely on the client. They are based on the IScriptControl interface that is part of the MS AJAX framework and require:

  • the server to render their markup
  • the server to register the scripts and styles they need
  • the MS AJAX server-side code to generate their $create() statement that creates their client-side object

Theoretically it is possible to construct your own $create() statement when all other resources are already loaded on the page, but this will still not take care of the markup creation or the control state and availability in the server code.

So, if you want to create pages/controls dynamically, I can suggest you look into:

  • invoking partial postbacks to add them on the server
  • OR, using a toolset like Kendo UI for jQuery which is a set of widgets that operated entirely with JavaScript


Regards,

Marin Bratanov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Johnny
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Johnny
Top achievements
Rank 2
Ehab
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or