"YOU AND THE ART OF ONLINE DATING" is the only product on the market that will take you step-by-step through the process of online dating, provide you with the resources to help ensure success. Get it now!
Yes, you can use any of the following TabControl 's methods.
Up vote 0 down vote favorite share g+ share fb share tw.
I have a TabControl with several TabPages and controls in every TabPage. I'm using some data binding and validation bult on entity framework. The problem is that when error occures on the tab, other than the visible one it cant be seen.
Is there a way to make TabPage selected when the error occures on some control, hosted in it?(i don't know the index of the TabPage) c# .net tabpage errorprovider link|improve this question asked Oct 9 '09 at 7:190x49D11,479725 94% accept rate.
Pls give us more information about the error. – AB Kolan Oct 9 '09 at 7:22 It doesn't depend on error. I want just to select tab on any error occured in it.
I can do that with OnValidating event of all controls im validating, but i'm searching for amy other solution here, because validation is done automatically with EF, so there is no need in OnValidating then...If there is no way to focus tab on error-i'll use the choice with OnValidation. Thank you. – 0x49D1 Oct 9 '09 at 7:29 you need it for WPF or WinForms?
– ArsenMkrt Oct 9 '09 at 7:33 I need it for WinForms – 0x49D1 Oct 9 '09 at 7:37.
Yes, you can use any of the following TabControl's methods: public void SelectTab(TabPage tabPage) public void SelectTab(string tabPageName) public void SelectTab(int index).
Thank you. And how can I guess on which control did the error occure?(if its possible without using Validating event) – 0x49D1 Oct 9 '09 at 7:32.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.