tinyMCE and asp.net gridview

I have a gridview in an asp.net file that ables you to add and update a page. I used the tinymce on one of the textboxes in the add function and it works fine. When I go into gridview to update the fields I found that all the textboxes had the tinymce on them if it included TextMode="MultiLine". Is there any way I can turn off the editor on certain textboxes without taking off the multiline function?
<%@ Page Language="VB" AutoEventWireup="true" ValidateRequest="False" EnableEventValidation="False" CodeFile="eventsEdit.aspx.vb" Inherits="access_db_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Store & Display Images From Database</title>
<script type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
		// General options
		mode : "elm1",
		theme : "advanced",
		plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
		// Theme options
		theme_advanced_buttons1 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,styleselect,formatselect,fontselect,fontsizeselect",
		theme_advanced_buttons2 : "cut,copy,paste,|,bullist,numlist,|,undo,redo,|,link,|,forecolor",
		theme_advanced_buttons3 : "",
		theme_advanced_buttons4 : "",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : false,
		// Example content CSS (should be your site CSS)
		content_css : "css/content.css",
		// Drop lists for link/image/media/template dialogs
		template_external_list_url : "lists/template_list.js",
		external_link_list_url : "lists/link_list.js",
		external_image_list_url : "lists/image_list.js",
		media_external_list_url : "lists/media_list.js",
		// Replace values for the template plugin
		template_replace_values : {
			username : "Some User",
			staffid : "991234"
            <asp:TextBox ID="elm1" runat="server" Style="z-index: 111; left:6px; position: absolute;
                top: 135px" Height="93px" Width="450px" TextMode="MultiLine" BackColor="White" MaxLength="6000"></asp:TextBox>

Open in new window

Who is Participating?
designaireConnect With a Mentor Author Commented:
designaireAuthor Commented:
I realized that it was just adding the tinymce panel to all the textfields that have a multiline option on it. If I get rid it, the tinymce must not have enough space to show. Is there any way I can have a multiline textbox without a tinymce edit panel showing?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.