G
Guest
I want to set the page title and/or a form hidden field programatically
through ASP.Net.
I do not want to use something like...
<% sTitle ="My Title" %>
<html><title><%=sTitle%></title>.....
I want to completely seperate the code from presentation.
I would like to do the same thing for a value of a hidden form field but
like the title, I do not want to do something like below:
<input type="hidden" id="HiddenField" value="<%=sHiddenFieldValue%>">
Can I set these values programaically or though some Server Controls?
TIA
through ASP.Net.
I do not want to use something like...
<% sTitle ="My Title" %>
<html><title><%=sTitle%></title>.....
I want to completely seperate the code from presentation.
I would like to do the same thing for a value of a hidden form field but
like the title, I do not want to do something like below:
<input type="hidden" id="HiddenField" value="<%=sHiddenFieldValue%>">
Can I set these values programaically or though some Server Controls?
TIA