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

Change content of window after load complete

1 Answer 96 Views
Window
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 02 Jul 2009, 11:15 AM
Hi

I am using the excellent RadWindow to display an image selected from a list of press clippings (list view).
In some case there are additional images  associated with the article and I would like to be able to
have 'Next' and 'Back' buttons in the title bar, and then swap the image in the window when they are clicked.

The urls of the images are in a database and the ID is passed as a parameter to the window, so all the info
is available to code behind.

Can you give some ideas on the best way to tackle this, making most use of the funcionality that is already
included?

Thanks a lot!

Clive

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 03 Jul 2009, 04:58 PM
Hello Clive,

In your scenario we recommend that you hide the title bar of the RadWindow control (VisibleTitlebar="false") and then implement a horizontal area on the top of the content page (which is opened inside the RadWindow) that contains the "Next" and "Back" buttons. In this case you can customize them in order to look and feel such as the RadWindow's title bar. Also, you can easily implement any customization in its functionality such as attaching server event handlers.

I hope this helps.

Greetings,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or