Customer Service in C#
Just delivered a new Customer Service application with a load of couplings to different systems all coded in c#
By making extensive use of the tabcontrol from Microsoft you are able to really build nice and nifty management systems.
On thing to be aware of is the validators if you have all kinds of pages on the tabs that require validation.
You need to put them of if the tab hasn't got the focus.
I do make use of panels so this is how I placed it
public void disableReqValidators()
{
foreach(object mCont in pnlinformmeEdit.Controls)
{
if(mCont.GetType()==typeof(RequiredFieldValidator))
{
((RequiredFieldValidator)mCont).Enabled=false;
}
}
foreach(object mCont in pnlTestdriveEdit.Controls)
{
if(mCont.GetType()==typeof(RequiredFieldValidator))
{
((RequiredFieldValidator)mCont).Enabled=false;
}
}
foreach(object mCont in pnlbrochureEdit.Controls)
{
if(mCont.GetType()==typeof(RequiredFieldValidator))
{
((RequiredFieldValidator)mCont).Enabled=false;
}
}
}