Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 886237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:02:07+00:00 2026-05-15T13:02:07+00:00

I have a multiline text box on a form. I dropped in the js

  • 0

I have a multiline text box on a form. I dropped in the js file for openWYSIWYG and attached it to the textbox. When I submit the form, the text box has no value. I’m having problems finding documentation on this library. Has anyone else used this who would be able to direct me as to where I can troubleshoot this issue.

The HTML is here:

<table>
 <tr><td>Comment</td>
     <td><asp:TextBox ID="txtComment" 
                       Height="150px" 
                       TextMode="MultiLine" 
                       runat="server" />
     </td>
 </tr>
 <tr><td colspan="2"><asp:Button ID="btnSubmit" 
                                 runat="server" 
                                 OnClick="btnSumbit_Click"
                                 Text="Submit" />
</table>
<script type="text/javascript" language="javascript">
    WYSIWYG.attach('<%= txtComment.ClientID %>', full);
</script>

The codebehind for the method is:

   public void btnSumbit_Click(object sender, EventArgs e)
    {
       //txtComment.Text is ""  The text is not available
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:02:08+00:00Added an answer on May 15, 2026 at 1:02 pm

    The area that you type in for the WYSIWYG editor isn’t the actual textarea. When you attach the editor it hides the textarea and then displays an editable iframe. You can save the data from the iframe to the textarea one of two ways.

    The openWYSIWYG editor has a button called ‘save’ (it’s an icon of a floppy disk). You need to click that to save the entered text to the textbox that it attaches to. When you click it, it copies the text to the textarea and then submits the form.

    Alternatively you can call the openWYSIWYG function to save the text to the textarea when the user clicks your submit button. If you call “WYSIWYG.updateTextArea(‘textarea name’);” it will save the text into the textarea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a TreeView and a Multiline Textbox together on the same form in
In my windows form I have a text box and a button, the text
I've got a multiline textBox that I would like to have a label on
I have a multiline text string (e.g. Stuff\nMore Stuff\nYet More Stuff), and I want
I have a MultiLine asp:Textbox (a standard html textarea for those non-asp people) that
I have a few asp:textbox controls in a form on a webpage, below is
Is it possible (by using the stock c# TreeView) to have Multiline TreeNodes? Also,
I'm trying to validate a multiline textbox control as follows: My content page (I'm
I have a CSV output on one of my applications. This produces a file
I have a form field in Drupal which I need some help with. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.