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

[Solved] Using a grid which is loaded via AJAX and registering scripts

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bob
Top achievements
Rank 1
Bob asked on 26 Mar 2012, 08:32 PM
We are creating a jQuery plugin to display pick lists in our system. The pick list content itself will be a Telerik Grid. However, it will be loaded via AJAX into a div that is dynamically created.

We are able to include the CSS in the layout which is fine. However, it sees the ScriptRegistrar only includeds scripts based on controls that were loaded into the view. In our case however, no grids are loaded into the view... 

What are our options? Do we just manually load the scripts? Is there a way to specify to the registrar what scripts we want it to load?

BOb

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 28 Mar 2012, 08:46 AM
Hello Bob,

Basically the scripts needed to initialize the Grid will be included into the partial response (Since the Q2 2011 release of Telerik Extensions for ASP.NET MVC). You can find more information about loading the MVC components through Ajax here.

Regards,
Petur Subev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or