Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 08, 2009 06:55 AM by alaa9jo
All-Star
182690 Points
23458 Posts
ASPInsiders
Moderator
MVP
Oct 18, 2009 06:47 AM|LINK
xhtml template:
this.value = this.title;
56351 Points
9692 Posts
Oct 29, 2009 01:30 PM|LINK
height: expression
( document.getElementById('container').offsetHeight - 12);
(document.getElementById('container').offsetHeight - 12);
Star
11375 Points
2036 Posts
Dec 08, 2009 06:55 AM|LINK
Test C# code in XHTML Template (it's just a test) :
targetMessage = targetMessage.Replace("'", ""); targetMessage = targetMessage.Replace("\"", "");
Using C# Template:
mmm...targetMessage is a reserved word or something in XHTML template,lets use it as a JavaScript variable:
<script type="text/Javascript"> var targetMessage = "test"; targetMessage = targetMessage; </script>
It's definitely a bug,that's totally great!!!
EDIT: no,it wasn't a reserved word,I think that duplication may lead to this bug,like x = x ***
so if variable = variable then this error appears like this:
alaa9jo = alaa9jo me = me targetMessage = targetMessage location.href = location.href
XIII
All-Star
182690 Points
23458 Posts
ASPInsiders
Moderator
MVP
template testing...
Oct 18, 2009 06:47 AM|LINK
xhtml template:
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
tmorton
All-Star
56351 Points
9692 Posts
ASPInsiders
Moderator
Re: template testing...
Oct 29, 2009 01:30 PM|LINK
height: expression
( document.getElementById('container').offsetHeight - 12);
ASP.NET/IIS.NET Website Manager, Neudesic
tmorton
All-Star
56351 Points
9692 Posts
ASPInsiders
Moderator
Re: template testing...
Oct 29, 2009 01:30 PM|LINK
height: expression
(document.getElementById('container').offsetHeight - 12);
ASP.NET/IIS.NET Website Manager, Neudesic
alaa9jo
Star
11375 Points
2036 Posts
Re: template testing...
Dec 08, 2009 06:55 AM|LINK
Test C# code in XHTML Template (it's just a test) :
targetMessage = targetMessage.Replace("'", ""); targetMessage = targetMessage.Replace("\"", "");Using C# Template:
targetMessage = targetMessage.Replace("'", ""); targetMessage = targetMessage.Replace("\"", "");mmm...targetMessage is a reserved word or something in XHTML template,lets use it as a JavaScript variable:
It's definitely a bug,that's totally great!!!
EDIT: no,it wasn't a reserved word,I think that duplication may lead to this bug,like x = x ***
so if variable = variable then this error appears like this:
Now that's a bug!! When this editor is going to get updated?
Ala'a Alnajjar
----------------------------------------------------
My Webblog