Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / April 2005

Tip: Looking for answers? Try searching our database.

Databinding and Validation with UserControls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Christof Nordiek - 04 Apr 2005 11:31 GMT
Hi folks,

I've got a Form with several Controls. One of it is a UserControl.
Then I have put some DataBinding to the Controls with
control.DataBindings.Add(...);
Know there is some strange Behaviour:
Fist: When I change to the UserControl (by clicking in the control), it
doesn't cause validation on the other control. Only if I change to another
Control the validation is occurs. The UserControl has a Property
CausesValidation wich in the Designer is set to true.
Second: I've got some problem to put the Changed value back to the
DataSource. How can I get sure that the changed value of the DataBound
Property is put back to the Control?

Thanks
Christof Nordiek - 05 Apr 2005 12:36 GMT
The problem seames to arise when i'm using a Webbrowser-Control inside the
UserControl to build a HtmlEditor (much like in
http://windowsforms.net/articles/htmleditor.aspx)
I tried to rebuild the problem with a simplier control. The problem is there
when ther is a document in the control.

> Hi folks,
>
[quoted text clipped - 11 lines]
>
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.