Hi,
I'm using the postback property for the button "FullPage", it's seems to work.
my behind code is this, to understand what i'm doing.
- Public Sub Editor1_PostBackCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs) Handles Editor1.PostBackCommand
- If e.CommandName.ToLower = "fullpage" And Editor1.FullPage = False Then
- Editor1.ConfigurationPath = "~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/CECertoolFull.config"
- Editor1.FullPage = True
- ElseIf e.CommandName.ToLower = "fullpage" And Editor1.FullPage = True Then
- Editor1.ConfigurationPath = "~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/CECertoolNormal.config"
- 'Editor1.Width = New System.Web.UI.WebControls.Unit(300)
- 'Editor1.Height = New System.Web.UI.WebControls.Unit(300)
- Editor1.FullPage = False
- End If
- End Sub
As you can see in the following code, I'm trying to change the toolbar when the user click on the FullPage button.
The behavior is this:
the first time the user click the button, everything works perfectly, from the second time and on, we have to click the button two times and finally the postback event will be captured.
Can you help me, please?
Thanks
OaicStef