logo       

Re: Textbox on non-active tabcontrol page: msg#00343

windows.devel.dotnet.winforms

Subject: Re: Textbox on non-active tabcontrol page

Thanks to your ideas, I think I have a decent workaround to my problem:
instead of
if (tb.Text=="")
I use:
Binding binding = tb.DataBindings["Text"];
string member = binding.BindingMemberInfo.BindingMember;
if (dataRow[member] == DBNull.Value)

This way I can still access the control (set an errorprovider etc., even
though for some reason I'm not able to accurately access its properties.

I'll take a look at Genghis as well...

Thanks again!
Bar



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise