Skip to main content

AspNetPanel

To use the AspNetPanel control, simply set the PageSource property to the location of an existing .aspx document in the project.

info

For a full list of properties, methods and events see the API documentation.

Features

Page Source

Any ASP.NET or MVC page source can be shown in the AspNetPanel control.

Here's a sample page that converts text from lowercase to uppercase.

ASP.NET sample page showing text conversion interface

The corresponding code in the PageSource:

<!-- directives -->
<% @Page Language="C#" %>

<!-- code section -->
<script runat="server">

private void convertoupper(object sender, EventArgs e)
{
string str = mytext.Value;
changed_text.InnerHtml = str.ToUpper();
}
</script>

<!-- Layout -->
<html>
<head>
<title> Change to Upper Case </title>
</head>

<body>
<h3> Conversion to Upper Case </h3>

<form runat="server">
<input runat="server" id="mytext" type="text" />
<input runat="server" id="button1" type="submit" value="Enter..." OnServerClick="convertoupper"/>

<hr />
<h3> Results: </h3>
<span runat="server" id="changed_text" />
</form>

</body>

</html>

Advanced

JavaScript Widget

ItemDescription
Class name"wisej.web.IFrame"
Theme appearance"iframe", see Themes.
Child components"frame" is the iframe element. See JavaScript.
Source Codehttps://github.com/iceteagroup/wisej-js