Questions tagged [runat]

26 questions
0
votes
0 answers

Flexbox and runat="server" influences and disable flexbox

Aside is used for a complete section left in a webside. * { padding: 0px; margin: 0px; } html, body { width: 100%; height: 100%; color: #00374b; font-family: Verdana, sans-serif; font-size: 0.9em; …
Marco
  • 1
0
votes
0 answers

Full-screen Background in asp.net's form not works?

I have a problem for displaying a background in the ASP.NET form. This is my CSS code: .intro { background: url(./img/bg.jpg) no-repeat center; background-size: 100% 100%; background-attachment: fixed; } when I use a div tag with…
Mahan
  • 1
0
votes
1 answer

Can it call the js file from another server in JavaScript option runat="server"?

Is it possible to use next exsample? In A.asp of [A server], to use runat="server" src="[B server]/js/script.js" I would like to use javascript imported from other server in asp code
Suby Lee
  • 415
  • 1
  • 4
  • 6
0
votes
2 answers

ASP.NET Website: page with multiple forms

I'm having a problem while creating dynamically a web page in ASP.NET (C#). I need to insert multiple form tags in that page, I know that I can't put more than one with runat="server" attribute and I don't need it. I want to place them from C# (one…
0
votes
3 answers

adding textbox to a masterpage content page in asp.net

i am trying to put a textbox inside content page : <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
shmulik hazan
  • 173
  • 2
  • 17
0
votes
3 answers

FormView not passing a value contained within "runat=server" row

I have the following code in the EditItemTemplate of my FormView: Primary Group:
Mike Taber
  • 833
  • 6
  • 21
0
votes
4 answers

How can you tell if form runat=server has been set?

When coding an Asp.Net page, you generally add a runat attribute in the aspx:
Is it possible to tell in the code behind if the user hasn't done this i.e. they only did this: Here the form has the…
Petras
  • 4,686
  • 14
  • 57
  • 89
0
votes
1 answer

Having runat=server running at client

First question: Im creating a website, and everytime I have a method activated, my page reload. All my methods runs at the server (They are all ASP.NET codebehind functions). But I would like to have them running at the client, without the client…
Michael Tot Korsgaard
  • 3,892
  • 11
  • 53
  • 89
0
votes
3 answers

ASP.NET MVC: Working with ASPX view engine w/o using helpers?

I hate those razor helpers. (LabelFor, TextboxFor...) they try to help me but they teach me nothing. I want to try with ASPX engine. when I open it there is even toolbox on the left with all old good html commands. why can't i use it ? how come that…
Jalle
  • 1,566
  • 5
  • 22
  • 42
0
votes
1 answer

asp.net Creating/Cloning a control with runat = server property using javascript

Is it possible to create/clone with javascript/jQuery a control with the property runat=server dynamically?
Marky68
  • 95
  • 1
  • 8
-2
votes
1 answer

Runat error in aspx file 4

Runat error in aspx file: this is my code:
First Name:
Last Name:
Amit Hadad
  • 35
  • 5
1
2