Asignar valores a inputs en C#
Hola a todos!
Llevo varios dÃas intentando asignar a unos imputs unos valores que paso por la url. El código que estoy usando es:
<input runat="server" size="35" class="WBC_styclsTextColor1" style="BACKGROUND-COLOR:transparent" id="NC_intxtChannelName" readonly value="<%= Request.QueryString(["chan_name"]); %>" type="text">
<input runat="server" type="hidden" value="<%= Request.QueryString(["chan_guid"]); %>" id="NC_intxtChannelGuid">
y utiliza C#.
Me da como error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Server tags cannot contain <% ... %> constructs.
Asà que no consigo lo que quiero. ¿Cómo lo podrÃa hacer?
Muchas gracias!
Llevo varios dÃas intentando asignar a unos imputs unos valores que paso por la url. El código que estoy usando es:
<input runat="server" size="35" class="WBC_styclsTextColor1" style="BACKGROUND-COLOR:transparent" id="NC_intxtChannelName" readonly value="<%= Request.QueryString(["chan_name"]); %>" type="text">
<input runat="server" type="hidden" value="<%= Request.QueryString(["chan_guid"]); %>" id="NC_intxtChannelGuid">
y utiliza C#.
Me da como error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Server tags cannot contain <% ... %> constructs.
Asà que no consigo lo que quiero. ¿Cómo lo podrÃa hacer?
Muchas gracias!
