I’d like to know how to insert a span with an asp:Control (not in the cs, but build it in the aspx) instead of a div.
Anyone know?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably I’m misunderstanding the question; if you want a
<span>then why not simply use a<span>tag?If you want to control it in your code behind, you can add the
runat="server"attribute just like for any other control.E.g.:
And in your code behind: