----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: MysticAspen Message 3 in Discussion Hi Pradeep Thanks for the Input. But im not able to validate my Dropdpownlist. Could you tell me why ? Thanks in Advance. Srivats =================== <HTML> <HEAD> <title>WebForm2</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="C#" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <script language="javascript"> function CustomValidator_ClientValidate( s, e ) { var strValue; strValue = e.Value; alert(strValue) ; alert(document.Form1["DropDownList1"].length); } </script> </HEAD> <body text="#0e000" MS_POSITIONING="GridLayout"> <form id="Form1" method="post" runat="server"> <asp:dropdownlist id="DropDownList1" runat="server"> </asp:dropdownlist><br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <asp:textbox id="TextBox2" runat="server"></asp:textbox><br> <asp:customvalidator id="CustomValidator1" runat="server" ErrorMessage="Please fill in this Text Box" ControlToValidate="DropDownList1" ClientValidationFunction="CustomValidator_ClientValidate" Display="Dynamic"></asp:customvalidator><br> <br> <br> <br> <br> <br> <asp:linkbutton id="LinkButton1" runat="server">Submit</asp:linkbutton><BR> <BR> <BR> <BR> <BR> </form> </body> </HTML> ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
