You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
522 B
16 lines
522 B
<%@ Page Language="C#" Trace="false"%>
|
|
<%@ Register TagPrefix="ed" Namespace="OboutInc.Editor" Assembly="obout_Editor" %>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>obout ASP.NET HTML Editor example</title>
|
|
<script runat="server">
|
|
void Page_Load(object o, EventArgs e)
|
|
{
|
|
if(!Page.IsPostBack)
|
|
{
|
|
editor.Content="<style> .custom {background-color: #FFFF00;}</style><mycustomtag class='custom'>Text in custom tag, click here</mycustomtag> ...<br />another text";
|
|
}
|
|
}
|
|
|
|
// our custom tag
|