Adding ASP.Net Controls to Pages

grbiniek's Avatar


31 Aug, 2010 08:51 PM

I'm trying to add ASP.Net controls to pages. I try to create a new template called CodeTest_Template and I add the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head runat="server">
<form id="form1" runat="server">
<h2>Dynamic Data Loader</h2>
<asp:DropDownList ID="ddlTest" runat="server">
'here I will dynamically populate the above dropdown list when the page loads
<system-region name="DEFAULT"/>

However once I click 'submit' the asp:DropDownList element is removed. I am extremely new to Cascade Server so any pointers would be greatly appreciated.


  1. 1 Posted by david.klanac on 02 Sep, 2010 02:09 PM

    david.klanac's Avatar

    Hi Greg,

    You just need to specify an XML namespace so that the XML parser will allow your "asp" prefix to be used.

    If you modify the <html> element like this, your .net control will be preserved:

    <html xmlns="">

    Modified with asp namespace:
    <html xmlns="" xmlns:asp="">

  2. Tim closed this discussion on 24 Sep, 2010 03:23 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac