Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
<#% eval %> - possible?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Juan Romero, post: 3082984"] I am not sure if this is possible but I recommend you avoid this style of coding. Put all code in your code behind page so you have a clean separation of layers. Is it possible to do this in the HTML of the aspx page? <#% if Eval("Name") != null %> write something here <#% else %> show message for missing name <#% end if %> when I try this I get errors for missing (, or IF is not recognized, etc. how can I get this to work without adding it to the code behind? I need to do this in a GridView that is using template fields with links in the fields [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
<#% eval %> - possible?
Top