-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: PKSPMR
Message 1 in Discussion

 
Hi, 
I have created a user control for date (with 3 dropdown lists - Month, day, 
Year). I use this in my asp.net 2.0 c# application. I drag this control on to a 
web page. 
Eg: I need on a web page to show dates like 
Period From: User Control with 3 DDL     To: same User control with 3 DDL. 
So, on my web page I have 2 user controls of same type say DateDDL1 and 
DateDDL2.  Validation Rules of business requirement is that To date always 
should be greater that From date. How can I use compare validator on 2 user 
controls in a web page. I have seen examples of having validators within 
usercontrol (ascx) file. But, I can't do that since I have only ddl in one 
control. You might say that create user control with From and To being part of 
it and use compare validator then. It is not possible because date is not 
coming from one control, it is made up of 3 ddl. So, can't say compare against. 
Can't use calendar control as popup or textbox because of accessability issues 
and rest of the team is against using text boxes. Minimise input of user as 
much as possible. Further, if from and To are in same user control, designer 
may not have flexibility to move the control around in the page. 
Is there a solution. I appreciate your response. People must have come across 
this kind of situation.  
  
Thanks, 
Katta 
  
 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_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]

Reply via email to