Forum closed. New forum available at http://community.wymeditor.org/

Need help implementing WYMeditor in asp.net

Support forum for WYMeditor.

Need help implementing WYMeditor in asp.net

Postby Trumbun on Fri Jul 24, 2009 2:19 pm

I wish to use the editor with my asp.net page. C#. Till now I had no luck I tried everything I can think off. From my HTML page it works when I transfer everything to the asp.net page nothing works.

site code
Code: Select all
%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="Site.Test" %>

<!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>Untitled Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="/wymeditor/jquery.wymeditor.min.js" type="text/javascript"></script>
    <script type="/text/javascript" src="jquery/jquery.js"></script>

    <script type="text/javascript">
    jQuery(document).ready(function()
    {   
        jQuery('#<%= myTextarea.ClientID %>').wymeditor();
    });
    </script>


</head>
<body>
    <form id="form1" runat="server">
    <div>
        <textarea runat="server" id="myTextarea" name="myTextarea" class="wymeditor"></textarea>
        <asp:Button runat="server" ID="myButton" CssClass="wymupdate" OnClick="myButton_Click" Text="Save" />
        <asp:Label runat="server" ID="Result" />
       
    </div>
    </form>
</body>
</html>
Trumbun
 
Posts: 2
Joined: Thu Jul 23, 2009 2:59 pm

Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests