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
LVL 1
pamela rizkDeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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 asp.net.
Look at below solutions to find control in master page.hope this will help you to solve your problem:

http://www.aspnettutorials.com/tutorials/controls/findcontrol-csharp/
pamela rizkDeveloperAuthor Commented:
Dear Naitik

it is the same code that i am using but it is not helping
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

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

ok

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 MontyWeb Ninja at largeCommented:
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
ASP.NET

From novice to tech pro — start learning today.