asP .NET

Dear All
i have a user control in a  web page i need from the webuser control to find a control that exist in the form

below is my code in the usercontrol
dim txt_id as new textbox
txt_id = me.parent.age.findControl("txt_test")

but it is not working please HELPPP
pamela rizkDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pamela rizkDeveloperAuthor Commented:
dear All
form1 is in masterpage 1
weuser control 1 is in form1

on a button click that exist in webusercontrol1
i am finding a textbox that exist in form1 so i can enable it
Naitik GamitSoftware DeveloperCommented:
Use control ID naming to find control when using master page in
Look at below solutions to find control in master page.hope this will help you to solve your problem:
pamela rizkDeveloperAuthor Commented:
Dear Naitik

it is the same code that i am using but it is not helping
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

pamela rizkDeveloperAuthor Commented:
dear Mr Naitik

Form1 is in masterpage 1
weusercontrol 1 is in form1

on a button click that exist in webusercontrol1
i need to finda textbox that exist in form1 so i can enable it
how to do that?
pamela rizkDeveloperAuthor Commented:
dear mr naitik


i found the  solution by using  :
Dim controlName As String = page.Request.Params("__EVENTTARGET")
in order to check from where the postbasck is coming so i can do whateveri want
thank you anyway

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big MontySenior Web Developer / CEO of Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.