run c# code then close rad window then redirect to other page whithout radwindow

2 posts, 0 answers
  1. Mohamad Javad
    Mohamad Javad avatar
    39 posts
    Member since:
    Jul 2014

    Posted 28 Jul 2014 Link to this post

    how to :
    when i clicked the button in radwindow,i want to execute the c#  code in button_click event then close radwindow and returen or redirect to parent page or other page.
    but,when i clicked the button in radwindow,(execute the c# code and never close radwindow) or (not execute c# code and close radwindow)i need:
    execute the c# code and then close radwindow then redirect to other page whithout radwindowin other word,i need when i redirect from radwindow to parent Page,never shown the parent page in radwindow.What should I do?
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 28 Jul 2014 Link to this post

    Hi Mohamad,

    You can execute the JavaScript function that will do the needed work from the server: http://www.telerik.com/help/aspnet-ajax/window-troubleshooting-javascript-from-server-side.html.

    A similar approach is used in this demo to refresh the parent page: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window.


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top