Questions tagged [runat]

26 questions
2
votes
1 answer

IE duplicating a server side Break

I have a issue with two breaks < Br /> appearing in IE, If I have a normal break placed like so
Steve
  • 2,971
  • 7
  • 38
  • 63
2
votes
2 answers

X is missing a required attribute 'runat', but runat has one option only

I wonder, why do I have to include runat="server" to server elements in ASP.NET when runat only has one option and it is required for server elements. If not added it keeps telling me "missing a required attribute 'runat'". Am I missing something…
user915331
1
vote
3 answers

ascx runat server script

I have default.aspx with a "Submit" Button and a code behind function called as "btn_Submit" which will perform submit action. Once I deploy the application and if there is any logical problem in btn_Submit code, then I can use runat=server script…
Gopi
  • 5,656
  • 22
  • 80
  • 146
1
vote
1 answer

What the meaning of runat="client" (If it exist)

I'm writing an ASPx page in my MVC project with my VisualStudio 2017 with ReSharper installed when, writing a runat server part, ReSharper gave me two options in the runat attribute: server and client. What is the meaning of runat="client"? Is that…
1
vote
0 answers

opening code behind for input element?

everytime I try to open code behind for my I get this
Uğur Gümüşhan
  • 2,455
  • 4
  • 34
  • 62
0
votes
1 answer

How to add runat server to cls file

foreach (DataRow dr in dt.Rows) { html += ""; html += "
Unknown
  • 145
  • 2
  • 11
0
votes
2 answers

implementing runat in HtmlTextWriterAttribute

Hi dear friends, i have web custom control this render function of Window class protected override void RenderContents(HtmlTextWriter wr) { wr.AddAttribute("runat", "server",true); wr.AddAttribute("id", this.UniqueID,…
user525116
  • 34
  • 4
1
2