hi 

just u can use 
dim obj = requist("ControlName")
then u will get the value in the pageload event in the
main page where you add ascx.

i wish that help...

--- Arindam <[EMAIL PROTECTED]> wrote:

> 
> hi Champs,
> 
> please help me in following issue,
> 
> I have written a usercontrol with a textbox and a
> label,
> which validate my business date,(some certain
> conditions are there ), 
> 
> after validation if results false , i display some
> error msg on the label. 
> 
> 
> Now i am using that usercontrol from my .aspx page,
> where user putting value, 
> if they put any wrong value, error msg is displayed
> on the label.
> 
> 
> after that if user click on submit button page is
> getting submitted,
> Which i want to STOP.
> 
> Alternatively if validation returns true i want to
> receive the value in my .aspx page,
> but in user control the modifier of the textbox i
> dont want to make public, let that be protected
> only.
> 
> Please help me to carry out the problem.
> 
> Regards, 
> Arindam
> 
> 
> 
> Arindam Chakraborty
> Software Developer,
> Mumbai,
>  India
> 
> 
> 
> 
>               
> ---------------------------------
>  Yahoo! India Matrimony: Find your partner online.
> Go to http://yahoo.shaadi.com
> 
> [Non-text portions of this message have been
> removed]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to