Advanced Forum Search Results
-
HI Anye,
[quote user="anyeone"]Wrap your data object in a helper class[/quote]
Can you elaborate a bit on this helper class?
I created this helper class as you mentioned, but I don't know where to hook it up..
My data comes from a LINQ query (in a WCF service) in the form of a List<myDataType> (which is autogenerated with a ...
-
Thank you, I am going to try this later on today!
Thanks again
vitya
-
HI,
I have a databound control that displays, among many other things, a calculated value, calculated from 2 properties of the dataobject. Is there a way to accomplish this?
Say, in a pricelist you have a Price field and a Discount field, and you also want to display the DiscountedPrice, which is Price * Discount / 100
I haven't found a way ...
-
Hi Justin,
I am trying to use your suggestion to expand the root items in a treeview:
[quote user="JustinAngel"]Public Sub CollapseTree()
If sideTreeView.Items.Count > 0 Then
For Each tItem In ...
-
I see, thank you. I just tried your suggested way, and it works very easily and straightforward.
Thank you!
vitya
-
Hi,
I am trying to use a treecontrol using data binding. Once I get the first level of items, I retrieve the next level of items for each node, and so on, recurively.
Since the call to the WCF service is asynchronous, when I get the data back I have no way of knowing which node was requesting the subnodes. No problem! I created a function to ...
-
Hi,
I am trying to follow your lead, but I ran into another problem:
My ItemsControl is bound to a List<something>, and when the code gets to
if (item.GetType() == typeof(MyButton))
...
-
Hi,
If you remove the TargetType property from the style definition, it will display correctly in Blend. This way you can continue editing the style in blend, but when you are done, put it back, so that the style will be available for other controls (since styles without type won't be offered in Blend in the Apply style ...
-
Maybe someone from the Microsoft Silverlight team could shed some light on this?
Is there some bits in the project file that triggers the update on VS open? How can we force the update?
vitya
-
Hi,
Same thing happened here, with a bit of a difference.
I had a number of SL2 beta 2 projects working just fine. Then I installed the release version of the silverlight tools and one by one I loaded the solutions to VS2008Pro. Most of the SL projects updated just fine (after a confirmation question), but in one solution, both SL projects were ...