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

Displaying content in window

3 Answers 118 Views
Window
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 15 Jul 2011, 12:41 AM

Hi

How can I get the content of an html file along with an ‘I Accept’ button in the RadWindow?

Many Thanks

Regards

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 Jul 2011, 04:52 AM
Hello John,

You can pass parameters between a parent and child window. The following help article and demo explains more on this.

Using RadWindow as a Dialog.
Window / Returning Values from a Dialog

Thanks,
Shinu.
0
John
Top achievements
Rank 1
answered on 15 Jul 2011, 02:43 PM

Hi Shinu

Many thanks. What control is best to display html content within radwindow? Is one of the telerik controls better or should I use asp.net control?

Thanks

Regards

0
Marin Bratanov
Telerik team
answered on 19 Jul 2011, 12:55 PM
Hi John,

You can place server controls directly in the RadWIndow's ContentTemplate (both telerik controls and standard asp controls, or pure HTML) or you could point it to an external page containing the desired markup via its NavigateUrl property. Please examine the following online demos to see the differences in the two approaches:
http://demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/window/examples/contenttemplatevsnavigateurl/defaultcs.aspx



Greetings,
Marin
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

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