<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Component Discussions</title><link>http://forums.asp.net/69.aspx</link><description>Discuss your favorite ASP.NET components here. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=70&amp;c=16" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: CustomValidator Needed</title><link>http://forums.asp.net/thread/3267649.aspx</link><pubDate>Wed, 01 Jul 2009 00:03:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267649</guid><dc:creator>MetalAsp.Net</dc:creator><author>MetalAsp.Net</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267649.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=69&amp;PostID=3267649</wfw:commentRss><description>&lt;p&gt;Use a RequiredFieldValidator for the date control, and set it Enabled=&amp;quot;False&amp;quot;.&amp;nbsp; Now handle the SelectedIndexChanged event of the DDL, and if the selectedvalue is 2, enable the validator, otherwise disable it.&lt;/p&gt;</description></item><item><title>CustomValidator Needed</title><link>http://forums.asp.net/thread/3267416.aspx</link><pubDate>Tue, 30 Jun 2009 20:19:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267416</guid><dc:creator>commadercody</dc:creator><author>commadercody</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267416.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=69&amp;PostID=3267416</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;If a user selects &amp;quot;Evening&amp;quot; then the RadDate1 is required.  What is the best way to go about this?  &lt;/pre&gt;&lt;pre class="c-sharp" name="code"&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;lt;asp:DropDownList ID=&amp;quot;DropDownListTime&amp;quot; AutoPostBack=&amp;quot;true&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
           &amp;lt;asp:ListItem Text=&amp;quot;Not Set&amp;quot; Value=&amp;quot;0&amp;quot; /&amp;gt;
           &amp;lt;asp:ListItem Text=&amp;quot;Morning&amp;quot; Value=&amp;quot;1&amp;quot; /&amp;gt;
           &amp;lt;asp:ListItem Text=&amp;quot;Evening&amp;quot; Value=&amp;quot;2&amp;quot; /&amp;gt;
&amp;lt;/asp:DropDownList&amp;gt;  &lt;/pre&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;lt;telerik:RadDatePicker ID=&amp;quot;RadDate1&amp;quot; runat=&amp;quot;server&amp;quot; &amp;gt;
          &amp;lt;DateInput ID=&amp;quot;DateInput1&amp;quot; Font-Size=&amp;quot;8pt&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt; 
&amp;lt;/telerik:RadDatePicker&amp;gt; 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/pre&gt;</description></item></channel></rss>