- Welcome, Guest. Please Login or Register
  We are soon releasing MindFusion.JavaScript pack. Initial version includes chart, diagram, calendar, map, virtual keyboard, gauge and UI components. Here are the beta version and live demo for anyone interested.  
Page Index Toggle Pages: 1 Send Topic Print  
Binding Errors when {Binding XXX} used
Read 2143 times

Tim99   Offline
YaBB Newbies
Posts: 3
I love YaBB 1G - SP1!

Binding Errors when {Binding XXX} used
Oct 14th, 2011 at 11:15am
When you use a {Binding XXX} to specify a content or as a DataSource a BindingExpression path error is reported in the projects Output window.

This can be avoided by using [FieldName] rather than the {Binding FieldName} but you cannot do this for a DataSource.

When producing loger reports you get multiple binding errors for each row which take a lot of time to produce before the report is visible.

Is there a way of specifying the DataSource without getting these Binding Errors?

Thanks again for your help.
IP Logged    

Meppy   Offline
YaBB Moderator
Posts: 1783
Gender: male
MindFusion support

Re: Binding Errors when {Binding XXX} used
Reply #1 - Oct 17th, 2011 at 3:27pm
The current problem we are facing is that bindings established when the DataContext is still not set do not work later, when the DataContext is set. Assigning a special object as a DataContext seems to resolve this issue, but causes all bindings to give the error in question because they refer to properties which do not exist. A temporary solution for turning these errors off is the following: go to the Options dialog in Visual Studio (Tools -> Options menu). In the dialog select Debugging -> Output Window and set Data Binding to Off.

IP Logged    
Page Index Toggle Pages: 1 Send Topic Print