Hello,
I thought the Modified property is exactly what I need to find out if a User changed the contents of a Control. I created now a very easy example in WiseJ 3.0.8 with two controls:
public partial class Page3 : Page { public Page3() { InitializeComponent(); textBox1.ModifiedChanged += TextBox1_ModifiedChanged; dateTimePicker1.ModifiedChanged += DateTimePicker1_ModifiedChanged; } private void DateTimePicker1_ModifiedChanged(object sender, EventArgs e) { //Breakpoint1 here: look at dateTimePicker1.Modified } private void TextBox1_ModifiedChanged(object sender, EventArgs e) { // Breakpoint2 here: look at textBox1.Modified } }
All the properties are the default except this.dateTimePicker1.Format = Wisej.Web.DateTimePickerFormat.Short;
Using this example shows following behavior:
1. I would prefer if these controls work kinda similar
2. I wish to find out if a user changes the date with the keyboard as well.
3. Am I supposed to change the Modified property manually to false again for Textboxes, to find out the next time the user changes it’s content?
Best Regards
Hi Sascha,
Thanks for reporting this error, it will be solved in the next version.
Happy coding,
Kevin(ITG)
Hi Sascha,
this issue is fixed in the latest Wisej release (3.0.9).
Best regards
Frank
Please login first to submit.