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

Would it be possible for Telerik controls to be created via Javascript instead of the server?

1 Answer 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 27 Aug 2008, 11:29 PM
Hi

I am using Telerik controls 2008 Q2 (will get SP1 in a few days).

We are creating a rather large website and we are minimising the use of UpdatePanels to increase the user experience. This does mean a lot of Javascript and the use of PageMethods / WebServices but it's worth it.

The RadControls client side functionality with the new client-side grid databinding are making our pages extremely fast.

Some of our pages are huge so we only render a portion of the screen and then use a load-on-demand approach to minimise the initial load time.

However in some our instances load-on-demand can request a lot of HTML (sometimes over 100Kb!).

So I have 2 questions:

1. I realise that Telerik controls can't be created client-side, but are there plans for this to be implemented? (I don't know what I'm asking here as I'm not a control developer). Creating such controls in Javascript would certainly reduce the need for UpdatePanels.

Or...

2. I understand that being web controls I just can't use a PageMethod approach to get HTML as Javascript, etc. is also required. But can such an approach work? Or is the UpdatePanel the only way to go?

I suppose it never hurts to ask.


Kind regards

Mark Eaton

1 Answer, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 01 Sep 2008, 02:27 PM
Hello Mark,

Some of the controls which have load on demand features support client-side databinding without the need of Update Panels. For instance: RadGrid or RadTreeView

We do not yet support the creation of controls entirely client-side, however this will not improve so much on performance in the case you are describing.

Greetings,
Ivo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Share this question
or