MVC Loading Panel with Razor

Thread is closed for posting
4 posts, 0 answers
  1. Dave
    Dave avatar
    7 posts
    Member since:
    Oct 2010

    Posted 12 Aug 2012 Link to this post

    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
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 15 Aug 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dave
    Dave avatar
    7 posts
    Member since:
    Oct 2010

    Posted 15 Aug 2012 Link to this post

    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
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Aug 2012 Link to this post

    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.
Back to Top