Auto Update RadGrid when close RadFormDecorator ?

2 posts, 0 answers
  1. DucAnh
    DucAnh avatar
    24 posts
    Member since:
    Aug 2011

    Posted 08 Aug 2011 Link to this post

    Hi, everybody!
    I have a web page and a RadFormDecorator. I saw example http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid but I want select data in web page and update data in RadFromDecorater by use dataset in webpage.aspx and use C#, not use UpdateCommand in HTML code. Thank you very much!

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4570 posts

    Posted 09 Aug 2011 Link to this post

    Hello Ducanh,

    I believe that you mean a RadWIndow, not a RadFormDecorator. In the example you have examined there is the refreshGrid() JavaScript function that initiates an AJAX request that will update part of the page. You can store more information into hidden fields and use for the server-side processing. This is about the easiest solution to bring data between different pages, as otherwise you would need to create a series of public properties that you will need to access from one page and the other, then you would again need some sort of AJAX request or postback to call a server-side processing. If you insist on using the code-behind only you would figure out for yourself and according to your needs and requirements the exact way to access different pages from one another, as this is not related to the RadWindow or RadFormDecorator controls.


    Regards,
    Marin
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top