Forum  Commercial Foru...  Commercial Foru...  Removing DataSource reference deletes BindingSource
Previous Previous
 
Next Next
New Post 11/3/2009 7:30 AM
  msawczyn
190 posts
5th Level Poster


Removing DataSource reference deletes BindingSource 

If a BindingSource control exists in the designer and one (and only one) control uses it as its DataSource, setting the DataSource for that control to (None) deletes the BindingSource (removes it from the designer, along with all generated code). If more than one control references it as its DataSource, this behavior does not occur.

The BindingSource should not be deleted, but rather remain in place.

 

 
New Post 11/3/2009 2:12 PM
  palli
14304 posts
1st Level Poster




Re: Removing DataSource reference deletes BindingSource 

Hi,

Thank you for reporting this. I opened a new issue on the subject which you can track here.

I did however not experience the behaviour you describe when the same BindingSource is assigned to two controls and one of the control's DataSource is set to none, then my tests show that the BindingSource is removed anyway.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 11/3/2009 4:05 PM
  msawczyn
190 posts
5th Level Poster


Re: Removing DataSource reference deletes BindingSource 

Thanks for opening the issue.

Interesting, though, that you experienced something different. I'm using 6.3.11; possibly a version difference?

 

 
New Post 11/3/2009 4:23 PM
  palli
14304 posts
1st Level Poster




Re: Removing DataSource reference deletes BindingSource 

Hi Michael,

Possibly, I didn't test 6.3.11, only 6.3.12 and then 6.4.0Beta1.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  Removing DataSource reference deletes BindingSource
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS