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

MVC Loading Panel with Razor

3 Answers 184 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 12 Aug 2012, 05:25 AM
Hi,

I want to display a Loading gif just like this example, but I am using MVC3/Razor so how can I do the same thing in cshtml?
http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/loadingimages/defaultcs.aspx

I know that you can't use asp controls with razor so how can I render the Panel and reference with the following html.
<telerik:RadAjaxManager id="RadAjaxManager1">     
<AjaxSettings>         
<telerik:AjaxSetting AjaxControlID="Panel1">             
<UpdatedControls>                 
<telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />             
</UpdatedControls>         
</telerik:AjaxSetting>     
</AjaxSettings>
</telerik:RadAjaxManager>


Thanks
Dave

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 15 Aug 2012, 10:50 AM
Hello Dave,

You can consider using the client API and the Explicit Show/Hide demo. I hope this helps.

Greetings,
Peter
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Dave
Top achievements
Rank 1
answered on 15 Aug 2012, 02:23 PM
Hi Peter, That example is aspx. I am looking for cshtml examples. Since cshtml is all client side processing I would need to make heavy use of jQuery. Is there a cshtml example on the Telerik site? Thanks Dave
0
Peter
Telerik team
answered on 17 Aug 2012, 04:42 PM
Hello,

We don't have such an example. I suggest you post your query in the MVC forums.

Kind regards,
Peter
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Dave
Top achievements
Rank 1
Answers by
Peter
Telerik team
Dave
Top achievements
Rank 1
Share this question
or