Tuesday, December 07, 2010

Captain, ASP Expression Interpreted as HTML!

In a GridView with embedded buttons I'm creating for NORAD, I was trying to call a Javascript with a bound column value as the parameter:



This wasn't working so I checked the HTML source of the rendered page and saw:



Mr. Google offered this page as guidance. Specifically,



Which led me to implement the following solution:



You'r welcome, Internet.

1 comment:

Anonymous said...

was there a errar?

About Me, Not You

I was christened Wannahockaloogy by our tribal leader. He was a bitter old man with throat cancer who believed that, to truly hock a loogie, one must not retrieve the phlegm from the throat, but from the soul. His weakened, delirious state made it easy for me to overthrow him and seize control. Now, I am the chief and I have internet access. Beware, delirious smoking populace. Beware.