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
591 B
16 lines
591 B
<%@ Page Language="VB" 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">
|
|
Public Sub Page_Load(sender As Object, e As EventArgs)
|
|
If Not Page.IsPostBack Then
|
|
editor.Content="<style> .custom {background-color: #FFFF00;}</style><mycustomtag class='custom'>Text in custom tag, click here</mycustomtag> ...<br />another text"
|
|
End If
|
|
End Sub
|
|
|
|
' our custom tag
|
|
Dim customTag As String = "mycustomtag"
|
|
</script>
|