J
jacquesvdz
Hi
Hope someone can help me with this.Working with C#.net 2003
With my html I wanna display the string _controlMessage that was set in
my code behind
#region Class Variables
public string _controlMessage = "testing message";
#endregion Class Variables
#region Properties
public string Message
{
get
{
return _controlMessage;
}
set
{
_controlMessage = value;
}
}
#endregion Properties
<BODY>
<script type="text/javascript">
var globalHTML;
Function popup(str)
{
globalHTML="<html><body><form><textarea>"+str
+"</textarea><br><input type='button' value='Close'"
+"onclick='self.close()'></form></body></html>";
window.open("javascriptpener.globalHTML",
"myPopup",
"width=400,height=300").focus();
}
</script>
<a href="#"></TEXTAREA><IMG border="none"
onclick="popup(_controlMessage)" style="WIDTH: 24px; HEIGHT: 24px"
height="24"
src="../../Images/knowledgebase.gif" width="24"></a>
</BODY>
Hope someone can help me with this.Working with C#.net 2003
With my html I wanna display the string _controlMessage that was set in
my code behind
#region Class Variables
public string _controlMessage = "testing message";
#endregion Class Variables
#region Properties
public string Message
{
get
{
return _controlMessage;
}
set
{
_controlMessage = value;
}
}
#endregion Properties
<BODY>
<script type="text/javascript">
var globalHTML;
Function popup(str)
{
globalHTML="<html><body><form><textarea>"+str
+"</textarea><br><input type='button' value='Close'"
+"onclick='self.close()'></form></body></html>";
window.open("javascriptpener.globalHTML",
"myPopup",
"width=400,height=300").focus();
}
</script>
<a href="#"></TEXTAREA><IMG border="none"
onclick="popup(_controlMessage)" style="WIDTH: 24px; HEIGHT: 24px"
height="24"
src="../../Images/knowledgebase.gif" width="24"></a>
</BODY>