Microsoft Content Management Server - CMS 2002 and .NET 2.0 - javascript error

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > April 2006 > CMS 2002 and .NET 2.0 - javascript error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CMS 2002 and .NET 2.0 - javascript error
mikee

2006-04-24, 1:39 am

I have a small problem with CMS and .NET 2.0. I have a web application in CMS. This web application contains a textbox, a validator and a button. Button has a CausesValidation to validate content of textbox. Everything worked fine until I switch .NET 2.0 where validation has changed. .NET 2.0 now inserts directly javascript to onClick method of button.
My problem is that when I run it in CMS, this javascript slightly changes - to be exact, it translates " to " which causes a javascript error.
This only occurs in CMS. If i ran this application directly from VS 2005 it works fine and this javascript stays the same(no translation occurs).
Everything else works just fine.

Any idea? Be very appreciated.
Thanks

This code is from source code of web page in CMS:

javascript:WebForm_DoPostBackWithOptions
(new WebForm_PostBackOptions(& amp;quot;Controller_afp_applications_ver
sion200_unicorn_portalcs_slovnik_control
lers_uc001searchform_ascx:btnSearch", "", true, "", "", false, false))"
mikee

2006-04-24, 1:44 am

well, it didn't show up in post as I expected, so i try it again.
It translates *quot; to *amp;quot; where * is & (i could not figure out how to make it work :-) )
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com