Static Method
How can I access a textbox control of a Page (say Home.aspx) in the static method of that codebehind.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Dec 13, 2013, 12:57 AM EST
The best way is pass your textbox or textbox's text as argument of your static method.
can u please share us what is your exact requirement?
Sujit SahooRank #3,035 · 475 reputationPosted Dec 13, 2013, 1:03 AM EST
Sandeep Singh ShekhawatRank #147 · 15.6K reputationPosted Dec 13, 2013, 1:45 AM EST