Posting Data to Text box.
I am using VB.net and ASP.NET
I am trying to post data to the param="value" area and cannot seem to get it to work?
basically I am coming from a list of news headings, add the clicked one to a session object, then take the id out of the object and fill out the edit news item page, the one with xStandard on it.
Here is my js...
Then in my body tag I have onload="fill();"
But when I add this to my param tag I get an error....
<%=Server.HTMLEncode(strXHTML)%>
about xHTML not being defined...how do I get my values from code behind page to the param attribute?
I am trying to post data to the param="value" area and cannot seem to get it to work?
basically I am coming from a list of news headings, add the clicked one to a session object, then take the id out of the object and fill out the edit news item page, the one with xStandard on it.
Here is my js...
| Code: |
| <script language="JavaScript">
function fill() { try { if(typeof(document.getElementById('editor1').EscapeUnicode) == 'undefined') { throw "Error" } else { document.getElementById('editor1').EscapeUnicode = true; document.getElementById('xhtml1').value = document.getElementById('editor1').value; } } catch(er) { document.getElementById('xhtml1').value = document.getElementById('alternate1').value; } } </script> |
Then in my body tag I have onload="fill();"
But when I add this to my param tag I get an error....
<%=Server.HTMLEncode(strXHTML)%>
about xHTML not being defined...how do I get my values from code behind page to the param attribute?
Hi wreed,
If I am not mistaken, you are talking about using the editor as a Web Form control in Visual Studio .NET? This feature is in the works and should be available shortly.
FYI, this forum is setup to discuss ways to make the editor generate more accessible markup. Feel free to contact Support for integration issues.
If I am not mistaken, you are talking about using the editor as a Web Form control in Visual Studio .NET? This feature is in the works and should be available shortly.
FYI, this forum is setup to discuss ways to make the editor generate more accessible markup. Feel free to contact Support for integration issues.


