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

RadWindow basics

3 Answers 58 Views
Window
This is a migrated thread and some comments may be shown as answers.
cmaj
Top achievements
Rank 1
cmaj asked on 25 May 2011, 02:54 PM
Hello I am new to telerik radwindows so I may not be asking the question the right way...pls forgive.
But I have requirements to update our application to allow toggling of clients/people. The current application (I'm told uses "scope" to designate when a user selects a client then maps clientid, name, etc to session memory for updates to db. I need to update application to allow for a main page where listing all clients and allow for user to select a client in a radwindow with the scope/memory data, do db updates, then be able to minimize that radwindow and select another clientid and updates......more same

I think I would just call radwindow and give it the clientid as the name. ? Right? Also how do I load the "scope" and memory to toggle and make sure my radwindow has the right client info when I do db updates?

Any help is appreciated

Main Window/User home page
Left side                            Right side content display
Navigator Panel            Client ID, Name of Client, etc

  • Client 1
  • Client 2
  • Client 3
  • Cielnt 4

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 27 May 2011, 04:00 PM
Hello cmaj,

 I am not completely sure I understand your question and here are some notes and suggestions I prepared for you:

1) You could use a RadWindow with a ContentTemplate - in this case everything will at the same page and you can consider the RadWindow as a simple panel - a sample demo is available below:

http://demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx

2) You could use a separate page and the NavigateUrl property as below - in this case you can consider it as an IFRAME:

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

http://demos.telerik.com/aspnet-ajax/window/examples/usingurlforserverarguments/defaultcs.aspx

In case you have additional questions, please explain in more details the experience difficulties with and I will do my best to help.

Regards,
Svetlina
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.

0
cmaj
Top achievements
Rank 1
answered on 27 May 2011, 05:16 PM
Thanks, the demos are close to what I need. The only requirement missing is to be able to select a record, which opens a radwindow, minimize that radwindow and select another record and open a second radwindow..Each open radwndow would could keep the original selected record for that radwindow. The demos are great but illustrate using one radwindow that is updated depending on your selected record. I enclosed a screen shot to help illustrate.

Thanks for your assistance
0
Marin Bratanov
Telerik team
answered on 30 May 2011, 09:50 AM

Hello cmaj,

In that case I would recommend examining the following Online demo: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window.

In this scenario the radopen() function is used to open a RadWindow with the required information and a query string is used to pass the ID of the selected record. You can adjust the content page of the RadWindow to match  your needs - whether there should be editable fields, what information is displayed, etc.

The differences from your requirement are as follows

  • you must not make the RadWindow modal (the Modal property of the RadWindowManager should be set to false or it should be reset for every RadWindow via the client-side API)
  • the second parameter you pass to the radopen() function should be null so as to open a new RadWindow every time. For more information on the matter see the following help article: http://www.telerik.com/help/aspnet-ajax/window-programming-opening.html.
  • in case you need some other settings on the RadWindowManager you will need to set each window's properties via JavaScript methods (such as size, left and top position, behaviors etc). For more information on the available client-side API see the following help article: http://www.telerik.com/help/aspnet-ajax/window-programming-radwindow-methods.html.


All the best,
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
cmaj
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
cmaj
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or