How to convert HTML control to asp.net controls?
2 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 attend5days leftRegister
Pankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted Mar 5, 2015, 2:25 AM EST
Now you can access that control in aspx.cs page using id
Exa:
I want to convert a textbox to html server control
for this i will add a runat,id attribute to textbox runat ="server" ,id="textId"
now you can use this cotrol at aspx.cs page using this id="textid"
Nanhe SiddiqueRank #1,103 · 1.7K reputationPosted Mar 5, 2015, 2:00 AM EST