Skip to main content

Microsoft Silverlight

Mike TaultyPresented by:
Mike Taulty

DataForm Control

0 0

Leave a Comment Comments (33) RSS Feed


shaggygi

Member

Member

59 Points

#1 March 19, 2009 1:32 AM

Very, very nice demo.  How could you use your own images for the top navigation?  Is there a template for that in addition to Display and Edit?  Thanks.


Steve...

Member

Member

18 Points

#2 March 19, 2009 3:48 AM

Super Mike - that is awesome - thanks for the video.

Is there any sort of 'currency' textbox available for the form?  Working with money fields, 'masked money textbox' for example?

Thanks again


tkd99

Member

Member

1 Points

#3 March 19, 2009 5:44 AM

Looks very good. One thing I noticed was with the error handling. When you throw an exception in the setter, it put a border around the edit box and showed in the data error at the bottom of the screen. Very nice. However, the rules you declared with the attributes did not appear in the error until you pressed Save and then it didn't put a border aroudn the edit box to show which one was wrong anyway. Can it be made to work the same as the exception method?


Luke ...

Member

Member

465 Points

#4 March 19, 2009 5:59 AM

@shaggygi:

There isn't a template available as a property on the DataForm for that purpose, as we decided that swapping out the content of those buttons with custom content, without having also re-templated the whole thing, was probably not a mainline enough scenario to warrant such a property.  However, the DataForm is (as all Silverlight controls are) entirely re-templatable - as Mike said, you can open it in Expression Blend and make it look however you want by re-templating the whole thing.  That's what you'd want to do if you wanted to change the button icons.

@SteveReconG:

If what you mean was that you want a box in which you type a number and it takes currency to that position, there is no built-in way to do that.  However, the DataForm does expose a CurrentIndex property, so if you wanted one, you could re-template the DataForm by inserting a TextBox hooked up with a two-way template binding to CurrentIndex, and I believe that would work.

Not sure what you mean by "money fields" and "masked money textbox" - can you elaborate?


cuper...

Member

Member

22 Points

#5 March 19, 2009 11:20 AM

Great feature for those of us developing LOB apps :-) Any chance of a demo of the validation controls in more detail?


jboggs

Member

Member

12 Points

#6 March 19, 2009 11:40 PM

I think SteveReconG was asking if there is a field type (like the others such as Checkbox etc.) for entering currency values.  So, it may display a dollar sign and a placeholder for the cent and dollar values.  Pretty standard control.


DZaK

Member

Member

192 Points

#7 March 22, 2009 5:43 PM

Thx, very good demo! You speak very fast but not to fast so it's very good! Thanks Mike!


codeb...

Member

Participant

806 Points

#8 March 23, 2009 4:55 AM

PERFECT!

Up to the point !


Bigsby

Member

Member

262 Points

#9 March 23, 2009 2:15 PM

Wonderful work!

I was implementing this stuff in a SL2 framework but I see there's no need for it anymore.

There's no refference about list or grid integration although you can do that by yourself. If those were our developing issues....


trey....

Member

Member

5 Points

#10 March 23, 2009 10:47 PM

Is there any reason the [Bindable] options would not be showing up? They are not in intellisense, nor can I compile when I use them. I have referenced the same 3 libraries as in the demonstration, but see no options to make my class bindable or not.

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities