AspNetPanel

Represents a control that can host ASP.NET or MVC pages within a Wisej application.

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

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.

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"

Source Code

Last updated