I have set up my CKEditor in a simple .Net Webpage following the Installations for Beginners guide.
In my PageLoad code behind page I have placed an IF statement
If (Page.IsPostBack)
{
MessageBox.Show("this is a PostBack");
}
I then started to play with the .Net CKEditor Control. I pressed all the buttons to see what would generate a PostBack. I was pretty happy that the only button that generated a PostBack was the SAVE button until I hit the ABOUT button. I then went to another webpage and when i came back I generated the Postback.
So something could generate the PostBack without the user purposefully hitting the Save Button.
Is there a way to tell within my PostBack if statement that the SAVE button was clicked.
I have read a lot of questions regarding how to test or cpature the SAVE button. However, I have not seen any answers to how it could be done....specifically for someone who is using the .Net Control version of the CKEditor.
Basically, I have two questions:
1. Can the SaveButton be tested in my if statement above to see that I got there because it was clicked
or
2. Is there another way to test/capture within .Net ASP webpage that the Save Button was clicked
Hope someone has the answer to this.
Thanks, John Feeney
In my PageLoad code behind page I have placed an IF statement
If (Page.IsPostBack)
{
MessageBox.Show("this is a PostBack");
}
I then started to play with the .Net CKEditor Control. I pressed all the buttons to see what would generate a PostBack. I was pretty happy that the only button that generated a PostBack was the SAVE button until I hit the ABOUT button. I then went to another webpage and when i came back I generated the Postback.
So something could generate the PostBack without the user purposefully hitting the Save Button.
Is there a way to tell within my PostBack if statement that the SAVE button was clicked.
I have read a lot of questions regarding how to test or cpature the SAVE button. However, I have not seen any answers to how it could be done....specifically for someone who is using the .Net Control version of the CKEditor.
Basically, I have two questions:
1. Can the SaveButton be tested in my if statement above to see that I got there because it was clicked
or
2. Is there another way to test/capture within .Net ASP webpage that the Save Button was clicked
Hope someone has the answer to this.
Thanks, John Feeney