required field ddl

I have a question about the ddl.. I need to be required .. and since the database is set as int.
I have to add values to all the item even the header first item "select option".. how can I make it required so the user has to change one of the options?
asp:DropDownList ID="ddlSchoolName" ValidationGroup="page1" CssClass="form_input"  runat="server">
                       <asp:ListItem Selected="true" Value="99">Select School</asp:ListItem>
                       <asp:ListItem Value="1">Santee Educational Complex</asp:ListItem>
                       <asp:ListItem Value="2">Jefferson</asp:ListItem>
                       <asp:ListItem Value="3">Dorsey</asp:ListItem>
                       <asp:ListItem Value="4">Fremont</asp:ListItem>
                       <asp:ListItem Value="5">West Adams</asp:ListItem></asp:DropDownList>

Open in new window

RomacaliAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ITHelper80Commented:
Try this.
<asp:RequiredValidator runat="server" id="val1" controltovalidate="ddSchoolName" InitialValue="select option"></asp:RequiredValidator>

Open in new window

0
ITHelper80Commented:
Oh dont forget to add an error message like this

ErrorMessage="Blah Blah"
0
RomacaliAuthor Commented:
humm I got this error:
 Unknown server tag 'asp:RequiredValidator'.

Source Error:

Line 83:                        <asp:ListItem Value="4">Fremont</asp:ListItem>
Line 84:                        <asp:ListItem Value="5">West Adams</asp:ListItem></asp:DropDownList>
Line 85:                        <asp:RequiredValidator runat="server" id="val1" controltovalidate="ddSchoolName" InitialValue="Select School"></asp:RequiredValidator></td>
0
ITHelper80Commented:
Crap Sorry.

Change <asp:RequiredValidator  to <asp:RequiredFieldValidator and </asp:RequiredFieldValidator>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.