When i bind an interval property of a radial gauge to my viewmodel the application stops responding and then I get an outofmemory exception. If i remove the binding then it works fine. Any ideas?
This fails.
<igGauge:RadialGaugeScale.LabelGroups>
<igGauge:RadialGaugeLabelGroup Interval="{Binding LabelInterval}" />
</igGauge:RadialGaugeScale.LabelGroups>
This works fine.
<igGauge:RadialGaugeLabelGroup Interval="25" />
Thanks
Kevin
Kevin,
I tried to build your project, but it is throwing errors.
From the code that I saw I suppose that the problem is anywhere in the constructing of your service.
Please note the attached sample. It shows how this way of binding works.
Best Regards,
Anatoli
You will need the RIA services CTP installed in order for it to build.
Your project does exactly the same as mine except that mine sets the MyData.Data property from data obtained via a RIA service. Why don't you quickly add a RIA domain service class to your web app and in the MyData constructor call the service to return an object containing a value to set the Data property. You will then reproduce the problem.
I have updated my sample project to demonstrate you that everything works fine with RIA services, too. Please note the attached sample.
Anatoli Iliev