Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
How to set which security profile to load?
How to set which security profile to load?
Last post 06-22-2009, 12:21 AM by
CIC Web
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
06-21-2009, 10:14 PM
53331
CIC Web
Joined on 02-19-2009
Posts 48
How to set which security profile to load?
Reply
Quote
How do I set which security profile (default, admin, guest) to load programmatically?
appreciate the help.
06-21-2009, 11:58 PM
53335
in reply to
53331
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
06-22-2009, 12:21 AM
53338
in reply to
53335
CIC Web
Joined on 02-19-2009
Posts 48
Re: How to set which security profile to load?
Reply
Quote
That worked. Thanks!