StrataFrame Forum

Utilizing UltramaskEdit

http://forum.strataframe.net/Topic5831.aspx

By Michael Reese - 1/15/2007

Anyone utilizing the Ultramaskedit. I am using it to enter phone numbers in phone column in a business object, however, when I enter data, it does not display while typing? This is only happining with the sfultramaskedit?

Thanks

Michael

By StrataFrame Team - 1/15/2007

If there's already a value in the business object, then does it display properly?  Does the data get copied back to the business object properly, and it's just not displaying properly?

You can test it by changing the object type within the .designer.* file to Infragistic's UltraMaskEdit and remove the properties that are in error (like BusinessObject, BindingField, etc.) and see if it still acts the same way.

By Michael Reese - 1/15/2007

When data is in table, it will disaplay. When I remove the bo properties, I can enter data that displays. When attached, entry does not work? I am using the maskedit type of "(###) ###-#### Ext. 99999" in a "varchar type column.

Thanks

By StrataFrame Team - 1/16/2007

Try changing the DataSourceUpdateMode property on the control to OnValidation (it's one of the StrataFrame properties) and see if that helps.
By Larry Caylor - 1/16/2007

I've run into this one. Under the StrataFrame Framework Setting for the control set the BindingProperty to "Text" and leave the BindindUpdateMode set to "InPropertyChanged". That should fix your problem. By default the BindingProperty is set to "Value".

-Larry

By Larry Caylor - 1/16/2007

That should be "OnPropertyChanged". My fingers aren't working thiis morningWink It's not often that the monring starts out at 26F at the beach in Santa Cruz, CA.
By StrataFrame Team - 1/16/2007

Hrm... good point.  The InfragisticsControls have a .Value property that is of type Object... they use it to circumvent DBNull.Value problems (because you can actually pass a DBNull.Value to that property without it throwing up) and it's the field that they recommend that you bind to.  However, switching to Text should help also.

It's not often that the monring starts out at 26F at the beach in Santa Cruz, CA.
 

Nope... and I think that's what our high today is supposed to be.  Been below freezing for several days now.  Didn't see the sun until yesterday, and then only for a few minutes Ermm

By Larry Caylor - 1/16/2007

At least the sun it out here Smile
By Michael Reese - 1/16/2007

Hey Thanx Guys

I set the BindingProperty and it worked!!! By the way, the NYC Metro area will finally hit 26 this week. It has been very warm out here thusfar??

By Ivan George Borges - 1/16/2007

Have I heard anybody talking about the weather over there?

Smooooth

By StrataFrame Team - 1/17/2007

Hehe, the morning shows (like GMA and such) were talking about how almost the entire nation was below freezing last night... all the way down to New Orleans and Boloxi on the gulf... only Florida and Georgia were spared last night. 

Don't mention the nice tropical weather down in Brazil, Ivan... we don't want to hear it Smile