Refer RadGrid in parent page from Radwindow

8 posts, 0 answers
  1. Giovanni
    Giovanni  avatar
    29 posts
    Member since:
    Jul 2005

    Posted 30 Mar 2009 Link to this post

    Dear,
    i have radajaxmanger in masterpage and radajaxManagerProxy in content page.
    Is possible to do the same like your sample :
    http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

    Thanks.
    Giovanni
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 31 Mar 2009 Link to this post

    Hi Giovanni ,

    Yes, this is possible - you just need to get a reference to the "master" RadAjaxManager. More information on the subject is available here:
    http://www.telerik.com/help/aspnet-ajax/ajax-manager-proxy.html

    All the best,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Giovanni
    Giovanni  avatar
    29 posts
    Member since:
    Jul 2005

    Posted 31 Mar 2009 Link to this post

    Thanks,
    i try but i have some error:

    Microsoft JScript runtime error: 'OnRequestStart' is undefined
    Microsoft JScript runtime error: 'onResponseEnd' is undefined

    Microsoft JScript runtime error: 'BrowserWindow' is null or not an object

    Thanks for your help.
  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 01 Apr 2009 Link to this post

    Hi Giovanni ,

    The information that you provided is not enough for us to identify the reason for the problem that you experience. Could you please open a new support ticket and send us simple demo that reproduce the problem? Once we have a better view over your exact setup we will do our best to help.

    Sincerely,
    Fiko
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  6. Kishor
    Kishor avatar
    82 posts
    Member since:
    Oct 2012

    Posted 30 Oct 2012 Link to this post

    hello sir

       I have Radgrid on parent page ,when i click Edit a radwindow is opened which has five textbox,I want to bind the values of textbox to Radgrid temporary so
       How can i access the Radgrid of parent page on Radwindow


    Thanks
    Kishor Dange
  7. Kishor
    Kishor avatar
    82 posts
    Member since:
    Oct 2012

    Posted 31 Oct 2012 Link to this post

    Hello Sir
     I have RadGrid on parent page ,when i click Edit link of radgrid a radwindow is open which has textbox.
     Radwindow contain the save button, when i click Save button i want to bind the data only in Grid and not to save in database

     how can i solve this problem

    Thanks
    Kishor Dange
  8. Kishor
    Kishor avatar
    82 posts
    Member since:
    Oct 2012

    Posted 07 Feb 2013 Link to this post

    Hello,

    I have a grid in which there is radio button.When user clicks on radio button ,radwindow is opened, now i wanted to close the window using top red cross button but after closing my radio button looses check/ uncheck value.For this
    I wrote onClientClose() for radwindow
    In my parent page, code is like this

     function OnClientClose(sender,args)
                {
                    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
                }

    In my radwindow there is one save button and one cancel button.In both the buttons i am calling closeandrebind()
    But after clicking those buttons , my parent page is loading again which i don't want to happen.
    When i debug it, i found it was happening because of OnClientClose

    Please help me with this problem.
  9. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 07 Feb 2013 Link to this post

    Hello Kishor,

    Are all of your questions valid or is only the last one? I also suggest we keep the communication in your other thread with your third question: http://www.telerik.com/community/forums/aspnet-ajax/window/656999-radwindow-onclientclose.aspx.

    On your first questions - you can create a function on the main page that will do the necessary work with the grid and call it, as shown here: http://www.telerik.com/help/aspnet-ajax/window-programming-calling-functions.html. The grid is generally a databound control, so you would usually need to modify its datasource. If you only want to modify something on the client the client-side functionality of the grid can be helpful: http://demos.telerik.com/aspnet-ajax/grid/examples/client/clientitemtemplate/defaultcs.aspx.
    and
    http://demos.telerik.com/aspnet-ajax/grid/examples/client/insertupdatedelete/defaultcs.aspx

    Greetings,
    Marin Bratanov
    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
UI for ASP.NET Ajax is Ready for VS 2017