Just some friendly advice; I have noticed that messages prefixed with things
such as "PLS DO REPLY :: " and "HELP NOW", etc usually don't get answered
any faster. Now for your issue in your function you are submitting to check
out using if(Page.isValid){YOUR CODE HERE} If should do the trick.
Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
[EMAIL PROTECTED]
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] Behalf Of Arindam
Sent: Wednesday, September 07, 2005 8:33 AM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] PLS DO REPLY :: How to Access the value
of Usercontrol textBox in .Aspx page, also stop submitting if results
false
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]
Yahoo! Groups Links
*************************************************************************
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
------------------------ 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/