Log in   Register a New Account

Accessify Forum - Discuss Website Accessibility

New to the forum?

Only an email address is required.

Register Here

Already registered? Log In

Currently Online

No registered users are online.

Posting Data to Text box.

Reply with quote 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...

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?
Reply with quote 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.

Vlad Alexander
XStandard Development Team
http://xstandard.com

Display posts from previous:   

All times are GMT

  • Reply to topic
  • Post new topic