Click here to Skip to main content
15,898,373 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.. friends..

I want to use this field
ASP.NET
<asp:HiddenField ID="hidEventName" runat="server" />

but when i use in code file it's not come in.. so.. what is solution for that..


Thanks..
Posted
Updated 14-Sep-11 21:39pm
v2
Comments
OriginalGriff 15-Sep-11 3:23am    
Where are you trying to use it?

hi friend..

directly you can access that with the name ..




first of all tell me

where you create that hiddernfield.?
means in gridview or outside.

where you are accessing that field.

reply me then i will try to give the solution
 
Share this answer
 
v2
if u r trying to put some value in teh hidedn field like teh ID or so rather use the a text box to carry that information


XML
<div style="display:none;visibility:hidden;">
 <asp:TextBox ID = "txthidden" runat = "server" />

 </div>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900