Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Textbox on Ribbon Group - Validating Event doesn't fire Collapse All
Subject Author Date
Michael Dausmann Jun 5, 2009 - 6:39 PM

Hi Guys


I’m having trouble getting a textbox to fire its Validating event when it is painted onto the Ribbon group.  Event works fine when the Textbox is on the main form.


 


 


 


TextBox1 - child of the Ribbon Group - Validating event doesn’t fire

this.textBox1 = new Elegant.Ui.TextBox();

...

this.rgTestValues.Controls.Add(this.textBox1);

...

this.textBox1.Id = "12bd7dea-0de1-4090-be45-94e77364bd6c";

this.textBox1.LabelText = "";

this.textBox1.Location = new System.Drawing.Point(4, 2);

this.textBox1.Name = "textBox1";

this.textBox1.Size = new System.Drawing.Size(106, 24);

this.textBox1.TabIndex = 0;

this.textBox1.Text = "textBox1";

...

this.textBox1.Validating += new System.ComponentModel.CancelEventHandler(this.textBox1_Validating_1);





Textbox2 - child of the form - Validating event does fire



this.textBox2 = new Elegant.Ui.TextBox();

...

this.Controls.Add(this.textBox2);

...

this.textBox2.Id = "04e75eb0-a77c-49ef-9352-6312373652e8";

this.textBox2.LabelText = "";

this.textBox2.Location = new System.Drawing.Point(567, 241);

this.textBox2.Name = "textBox2";

this.textBox2.Size = new System.Drawing.Size(75, 21);

this.textBox2.TabIndex = 8;

this.textBox2.Text = "textBox2";

this.textBox2.Validating += new System.ComponentModel.CancelEventHandler(this.textBox2_Validating);


Any Ideas?


Michael

Technical Support Nov 24, 2009 - 2:15 PM

We are sorry, but it haven’t done yet. This will be done in the upcoming release.

Technical Support Jun 11, 2009 - 2:40 AM

Yes, we confirm that this event is not supported at the moment. We plan to implement it soon.

Kip Ping Nov 24, 2009 - 2:03 PM

I just purchased yesterday, so I assume I have the latest version.  I am having this same problem.  Is this still not fixed, or is there some work around?  Seems like the validated event is not working as well.  Is there a work around?