Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: Preview Option
Re: Preview Option
03-05-2008, 12:11 PM
Vasuu
Joined on 02-28-2008
Posts 12
Re: Preview Option
Reply
Quote
function
SetActiveTab()
{
var
editor1 = document.getElementById(
'<%=Editor1.ClientID%>'
);
editor1.SetActiveTab('Preview');
}
function
ExecCommand()
{
var
editor1 = document.getElementById(
'<%=Editor1.ClientID%>'
);
var
cmd =
"preview"
;
var
val =
"preview"
;
editor1.SetActiveTab(
"preview"
);
editor1.ExecCommand(cmd,
false
,val);
}
1st fn SetActiveTab is not working. But 2ndfunction i sworking it is opening a new window in preview mode.
Is there anyway to SEtActiveTab to Preview. or I am giving any wrong work to set active tab
View Complete Thread