Web Forms :: How To Disable Resize In TinyMCE

May 7, 2015

I used tinymce in my page...

I want users don't allow to resize it so I used below css:

.elm
{ direction:rtl;
resize:none;
text-align:right;
height:180px;
font:bold 18px tahoma;
}

but it doesn't work..

is there other code for this?

View 1 Replies


Similar Messages:

Web Forms :: TinyMCE Editor Is Empty?

Jun 22, 2010

I have tinymce .net control on my .net webform and the basic setup works a treat. My code behind can see the html generated my tinymce via the TextArea1.Value property. However as soon as I set the mode to textareas the value is suddenly always empty! The problem is that if the mode is not set to textareas the tinymce editor is only in simple mode and does not offer all the features.

How do I get this to work?

View 10 Replies

Web Forms :: Using TinyMCE Html Editor In Web Application With .net 3.5 And C#?

Aug 30, 2010

I am using TinyMCE html editor in my web application with Asp.net 3.5 and C#. If I enter a path like http://video.test.com/test.flv in url attribute to add video in my page content, the leading slash gets stripped, and becomes "http:/video.test.com/test.flv".So that the move could not get loaded. On button click event the slash gets removed. Button click is necessary for me to save the page content into the database.

View 3 Replies

Web Forms :: Adding Templates To TinyMCE Editor

Mar 28, 2012

i have integrated the template into the tiny using the following code

template_templates: [               
{  title: "red", src: "Template/redyellow/Website/about.html"  },
{  title: "Law", src: "Template/Law/index.html" }, 
{  title: "Business", src: "Template/Blue_Business/index.html"   }, 
{  title: "asubtleorange", src: "Template/asubtleorange/index.html" }, 
{  title:" 110100013",  src: "Template/110100013/index.html"  } ]

But I need it with file upload control...  like the image is added with tiny editor using the following code

 if (FileUpload1.HasFile)  {  
string FileName = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName); 
FilePath = "editor_image/" + FileName;   
FileUpload1.SaveAs(Server.MapPath(FilePath)); 
editor.Text += string.Format("<img src = '{0}' alt = '{1}'/>", FilePath, FileName); 
}

like the above code i need to add the html/style sheet template.

View 1 Replies

Web Forms :: Can't Save Text From TinyMCE TextBox To .txt File

Jul 2, 2010

I have set up a tinyMCE textBox on an emtpy form. I will now save some written text to a .txt file. When I press the button, I receive an error page and the .txt file is not created. However if I dont write anything in the textBox and press the button, then the .txt file is created and the messageBox is shown.

[Code]....

View 2 Replies

Forms Data Controls :: TinyMCE Richtext Editor?

Jun 25, 2010

if i can get the script of color picker as like shown in this link?ttp://tinymce.moxiecode.com/examples/example_25.php

View 2 Replies

Web Forms :: Remove All Buttons Except Spell Checker In TinyMCE Editor?

Dec 3, 2012

I've used TinyMCE Editor for textareas in my webpage, it works fine but the problem is, I want the show only the Toggle Spell Checker button to user. I don't want to show any other buttons like bold, underline, etc.

View 1 Replies

Web Forms :: How To Embed Flash In TinyMCE Rich Text Editor

Jan 4, 2013

How can I embed flash in tinymce by entering url

for example [URL].....

in a textbox and pressing a button?

I found embed.js (jscripts/tiny_mce/plugins/media/js/embed.js) and this code is there (last version of tinymce (3.5.8))

function writeEmbed(cls, cb, mt, p) {
var h = '', n;
h += '
'; for (n in p) h += ''; h += '' ;
document.write(h);
}

what must I write inestead of those Question marks to embed flash?

protected void Button1_Click(object sender, EventArgs e) {
string url = TextBox1.Text;
string[] Arry = url.Split('/');
string filename = Arry[Arry.Length - 1];
txttiny.Text += ?????????????????????????????????
Label1.Text = txttiny.Text;
}

View 1 Replies

Web Forms :: Use Multiple TinyMCE Editor Instances On A Single Webpage

Oct 12, 2013

How we can use multiple tiny mce on a single webpage i.e..aspx page?

View 1 Replies

Web Forms :: TinyMCE Editor Not Working In Update Panel After PostBack?

Oct 11, 2013

richtext not wroking in update panel.

View 1 Replies

Web Forms :: Apply Maximum Character Limit Validation To TinyMCE TextBox

May 7, 2015

I used tinymce in my page I want use character limite for this control I want if users enter morethan 600character it show error..

View 1 Replies

Web Forms :: Make All Buttons Visible In TinyMCE Rich Text Editor

Jul 16, 2013

How can I ensure there are proper icons available, like Bold, Italic, Underline, and etc, to the Edit area on the page?

<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="App13._Default" ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>TinyMCE_Test1</title>
<style type="text/css">

[Code]...

View 1 Replies

Web Forms :: How To Resize Image

Mar 25, 2010

how to resize image in asp.net.

View 7 Replies

Web Forms :: How To Resize Images

Mar 13, 2013

I have images of Dimension 3008 x 1960 and 1960 x 3008. I want to resize these images. I want that if width is more than height then width=600 and height should resize in proportion of width. If height is more than width then height=600 and width should resize in proportion of height. How i will do it using ASP.Net, C#.

View 1 Replies

Web Forms :: How To Resize A Textbox During Runtime

Nov 10, 2010

I want to resize the height of my textbox during runtime. If I have a list that is one line fine, but if it is two lines I want the textbox expand to two line or three line. How would I do that???

View 3 Replies

Web Forms :: Image Rotate And Resize?

May 17, 2010

how to make a toolbar to let user rotate or zoom in /out image

View 2 Replies

Web Forms :: How To Resize Master Page Div

Nov 10, 2010

How would I go about resizing a div from a page to it's masterpage.

Making the div a server side control doesn't seem to be an option as all applied css breaks from the name change and I cannot modify the css file.

View 4 Replies

TinyMCE .NET Dll Could Not Be Found?

Nov 17, 2010

I am trying to include the .Net TinyMCE dll in my project. The code I am using is:

<%@ Register Assembly="Moxiecode.TinyMCE" Namespace="Moxiecode.TinyMCE.Web" tagprefix="tinymce" %>

I have already added the dll to the references in the project and I checked the code in my csproj to make sure it is correct. I modified it to make sure it had a path hint.

<Reference Include="Moxiecode.TinyMCE, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>binMoxiecode.TinyMCE.dll</HintPath>

[code]...

View 1 Replies

Web Forms :: How To Resize Iframe When Content Loads

Aug 29, 2010

I have an iframe on website A which receives the controls from website B once the form is processed on website B. Here is the page on website A with the iframe. I have hard coded the height at 100px:

[Code]....

Once the Save button is clicked, website B processes the data in this form, and sends messages and a dropdown box back to the iframe. When it does this, the iframe needs to have the height adjusted. How do I increase the height when this happens?

This is the vb.net page the goes to the iframe:

[Code]....

View 2 Replies

Web Forms :: Image Resize According To User Options?

Sep 14, 2010

i want to provide user to select images to upload, maximum images is 4.

the overall size is 1024px width and 500px height.

within this 4 or 3 or 2 images will have to fit.

if the user upload 4 images it has to calculate the overall width and height and resize the 4 images as equal width and height for each.

if the user upload 2 images it has to calculate the overall width & height and fits.

i want to do through code. iam using c# asp.net

View 1 Replies

Web Forms :: How To Resize Font Before Export GridView To PDF

Mar 27, 2012

I saw a tutorial from here [URL] .... which solved my problem, but i still got one problem, how to resize the font before export to pdf? 

View 1 Replies

C# - How To Keep TinyMCE After Postback In An UpdatePanel

Aug 17, 2010

When I click a button that causes a postback on the UpdatePanel it calls the tinyMCE.triggerSave().

It reloads the panel and the editor show up again, but when I try to call tinyMCE.triggerSave() the second time I get the following error:

g.win.document is null

I though it was getting the old instance, but I'm also removing the control (tinyMCE.execCommand('mceRemoveControl',false,'Editor');) after I call the save. Even so it still crashes the second time.

View 1 Replies

C# - Get TinyMCE Instance By Class?

Jan 24, 2011

I have a form with multiple TinyMCE instance. I created the TextArea controls dynamically using a Repeater control - They all have the same ID,but I gave each one a different class. I assigned each of the TextArea controls a TinyMCE instance using the editor_selector : option in the TinyMCE Init function.

tinyMCE.init({ mode : 'textareas',theme : 'simple',editor_selector : 'upperBlock',directionality : 'rtl'}); tinyMCE.init({ mode : 'textareas',theme : 'simple',editor_selector : 'middleBlock',directionality : 'rtl'});

I want to refer to a specific TinyMCE instance in a JS function and get its content. In the case when each TextArea control has a different id that could by done by using :

tinyMCE.get('IdOfYourTextBoxWithTheTinyMCEContent').getContent()


Is there a way to get ref to a specific TinyMCE instance content by the class assigned to it in the editor_selector option of the TinyMCE Init function ?

View 2 Replies

Javascript - Allow A Self Closing Tag In TinyMCE?

Nov 2, 2010

The source tags inside my video element need to be self closing so the iPad doesn't start whinging.

I type in <source src="myVideo.m4v" />

TinyMCE keeps changing it to <source src="myVideo.m4v" ></source> though.

How can I tell it to stop?

View 1 Replies

Web Forms :: Resize Image In Page To 700 Maximum Width

Jan 20, 2011

how to resize image, convert type it and I want to know resolution image upload if page content images how resize all image in this page to 700 max width asp.net 3.5 vb

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved