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

Auto Update RadGrid when close RadFormDecorator ?

1 Answer 25 Views
Window
This is a migrated thread and some comments may be shown as answers.
Pham
Top achievements
Rank 1
Pham asked on 08 Aug 2011, 09:04 AM
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!

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 09 Aug 2011, 01:29 PM
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.

Tags
Window
Asked by
Pham
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or