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

communicate via Rad Window

4 Answers 56 Views
Window
This is a migrated thread and some comments may be shown as answers.
usman
Top achievements
Rank 1
usman asked on 23 Dec 2011, 10:35 AM
In my asp.net page I fired a Rad window and selected some items from grid view present in the Rad Window 
I stored that items in some string variables .
I know want that Rad window must return the value to original page ,the original page must not reload
any hint(conceptual) or code help please?
 

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Dec 2011, 01:57 PM
Hello Usman,

Check the following demo.
Window / Returning Values from a Dialog

Thanks,
Princy.
0
Svetlina Anati
Telerik team
answered on 23 Dec 2011, 03:28 PM
Hello usman,

I believe that this demo is more similar to your case:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

In the linked demo the RadWindow is used to edit the grid and the grid is then updated through AJAX to prevent the postback. Please, examine the demo and use it as a start point for your implementation and in case you face any issues or you have additional questions, do not hesitate to contact us again!

Happy holidays and all the best! 

Regards,
Svetlina Anati
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
0
usman
Top achievements
Rank 1
answered on 23 Dec 2011, 06:05 PM
thanks for the reply , its nice example but what am I asking is alternate to that , let me explain in steps 
1)when I click a button at parent page it open Rad Window .
2) Rad window has Grid view with one column has button or hyper link .
3)when button/link is clicked it takes a value from corresponding row in the grid and send back to the parent page .
0
Svetlina Anati
Telerik team
answered on 27 Dec 2011, 10:44 AM
Hello usman,

What you explain is very much the same as the linked demo. In the demo I linked, a RadWindow is opened. After that a value is taken from textboxes (which is basically the same as a concept as taking a grid value) and then when the Update button is clicked, the value is sent to the main page.

When you install RadControls, our online examples projects are automatically installed on your computer and you can not only examine their full source code, but also extend them further in order to meet your requirements.

You can open the demos from here:

Start\Programs\Telerik\RadControls for ASPNET AJAX\Open Sample WebSite In VisualStudio

The actual location on your hard disk is the following one:

C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos

Please, examine the logic of the demo in more details and replicate the concept for your case. In case you continue experiencing issues with that, make a fully runnable demo with what you have done so far along with detailed explanation of the exact issue, open a new support ticket and send it to us. Once we receive that we will do our best to help.

 

Kind regards,
Svetlina Anati
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
Tags
Window
Asked by
usman
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Svetlina Anati
Telerik team
usman
Top achievements
Rank 1
Share this question
or