|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How can I show a * on required fieldsHi;
My product manager wants the end of required controls to have a black * after them. Unless they tried to go to the next screen (we're in a wizard) and then they want a red * after and the validation messages up at the top. The red only if they fail validation is a piece of cake. But how do I get the black * to go away in that case? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://www.windwardreports.com/film.htm You'd have to write your own validation instead of using the canned
controls. Show quoteHide quote "David Thielen" <thielen@nospam.nospam> wrote in message news:91F7AD8B-B8D9-4495-BFFF-56285794C3D0@microsoft.com... > Hi; > > My product manager wants the end of required controls to have a black * > after them. Unless they tried to go to the next screen (we're in a wizard) > and then they want a red * after and the validation messages up at the > top. > The red only if they fail validation is a piece of cake. But how do I get > the > black * to go away in that case? > > -- > thanks - dave > david_at_windward_dot_net > http://www.windwardreports.com > > Cubicle Wars - http://www.windwardreports.com/film.htm > > Hi Dave,
For this case, I think Scott's suggestion on using custom validation logic would be reasonable since the built-in validator control's client-side object model is not exposed. it would be quite difficult to customize it. Sincerely, Steven Cheng Microsoft MSDN Online Support Lead This posting is provided "AS IS" with no warranties, and confers no rights.
Other interesting topics
Getting google autofill to work
Image button and tabstop=false set dropdownlist selectedindex in datagrid Defauly focus in a WizardStep System.Windows.Forms.WebBrowser and Java and Blank Pages GridView Dynamically Inserted Template with RadioButton ASP.NET book AJAX Animation CreateUserWizard Stepping Problem WizardControl |
|||||||||||||||||||||||