Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: How to set which security profile to load?
Re: How to set which security profile to load?
06-21-2009, 11:58 PM
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: How to set which security profile to load?
Reply
Quote
Hi CIC,
Try this way
<%@ Page Language=
"C#"
%>
<%@ Register TagPrefix=
"CE"
Namespace=
"CuteEditor"
Assembly=
"CuteEditor"
%>
<html>
<head>
<title>SecurityPolicyFile</title>
</head>
<script runat=server>
protected
override
void
OnLoad(EventArgs e)
{
Editor1.SecurityPolicyFile =
"Admin.config"
;
base
.OnLoad(e);
}
</script>
<body>
<form id=
"Form1"
runat=
"server"
>
<CE:Editor ID=
"Editor1"
runat=
"server"
>
</CE:Editor>
</form>
</body>
</html>
Regards,
ken
View Complete Thread