skip navigation
Telerik UI for ASP.NET AJAX
Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
NEW
: Design Kits for Figma
Online Training
Document Processing Library
Embedded Reporting for web and desktop
Web
Kendo UI
UI for jQuery
UI for Angular
UI for React
UI for Vue
UI for ASP.NET AJAX
UI for ASP.NET MVC
UI for ASP.NET Core
UI for Blazor
UI for Silverlight
UI for PHP
UI for JSP
Mobile
UI for .NET MAUI
UI for Xamarin
Document Management
Telerik Document Processing
Desktop
UI for .NET MAUI
UI for WinUI
UI for WinForms
UI for WPF
UI for UWP
Reporting & Mocking
Telerik Reporting
Telerik Report Server
Telerik JustMock
Automated Testing
Test Studio
Test Studio Dev Edition
CMS
Sitefinity
UI/UX Tools
ThemeBuilder
Debugging
Fiddler
Fiddler Everywhere
Fiddler Classic
Fiddler Jam
FiddlerCap
FiddlerCore
Extended Reality
UI for Unity XR
Free Tools
JustAssembly
JustDecompile
VB.NET to C# Converter
Testing Framework
View all products
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX
This is a migrated thread and some comments may be shown as answers.
window with html-content
1 Answer
46 Views
Window
This is a migrated thread and some comments may be shown as answers.
k
Top achievements
Rank 1
k
asked on
22 Dec 2008,
05:08 PM
how can i put html content into window without using property NavigateUrl? simply put some text or table without using one more page?
Add a comment
Submit comment
Cancel
1 Answer
, 1 is accepted
Sort by
Score
Date
0
Georgi Tunev
Telerik team
answered on
23 Dec 2008,
06:53 AM
Hi conrad,
There is a set_contentElement() method, but note that it supports pure HTML only. Here is how to use it:
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
>
</
asp:ScriptManager
>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
>
</
telerik:RadWindowManager
>
<
script
type
=
"text/javascript"
>
function openAndSet()
{
var
content
= $get("hiddenContent");
var
oWnd
=
radopen
(null,"RadWindow1");
oWnd.set_contentElement(content);
}
</
script
>
<
button
onclick
=
"openAndSet(); return false;"
>open and set
</
button
>
<
div
style
=
"display: none"
>
<
div
id
=
"hiddenContent"
>
<
table
>
<
tbody
>
<
tr
>
<
td
>
1
</
td
>
<
td
>
2
</
td
>
<
td
>
3
</
td
>
</
tr
>
<
tr
>
<
td
>
4
</
td
>
<
td
>
5
</
td
>
<
td
>
6
</
td
>
</
tr
>
<
tr
>
<
td
>
7
</
td
>
<
td
>
8
</
td
>
<
td
>
9
</
td
>
</
tr
>
</
tbody
>
</
table
>
</
div
>
</
div
>
</
form
>
Best wishes,
Georgi Tunev
the Telerik team
Check out
Telerik Trainer
, the state of the art learning tool for Telerik products.
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
Window
Asked by
k
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or
Copy link