I have a web-site. We are using TinyMCE as our text editor. I just upgraded to the newest version and added the media plugin so our users can add videos to their enteries.The upgrade works great on Chrome, FireFox, IE7. However, it does not work with IE8. The frame around the editor disappears along with the toolbar.
I have written an asp.net usercontrol with TinyMCE as a text editor for my web application.
This control is being used on webforms. When other control(s) perform a partial page refresh, the control no more remains a texteditor, is converted back to the same old textarea control. When updatepanel is not used, there is no problem.
Is this some kind of conflict between Microsoft Ajax and TinyMCE JavaScript or am I missing something ?
I'm working on an ASP.NET web application. There's a bill page which has two links to different pdfs of the same bill. When you click on one of the links it takes you to a ViewPDF.aspx page that shows the pdf. There's also an option to view both in a split screen so that you can compare them. When you click on this link it takes you to BillSplit.aspx which has a frameset and two frames that both point to ViewPDF.aspx. This all works perfectly.
The problem is that if an error occurs while pulling up the pdf. The application has an error page that has a few links back into the application. If you use one of these you can go back into the app and continue but now inside the frame. The URL still says BillSplit.aspx but the application is completely unaware of this since frames are HTML elements not asp.net controls.
What I would like to do at this point is detect that you've returned to the application and close the frame you aren't using. Essentially I'd like to redirect you away from BillSplit.aspx and to the page you're actually requesting. I'm pretty sure this would need to be done in Javascript either on the BillSplit page or on the pages that you go to later. So I guess what I'm asking is, is there a way to ensure that the BillSplit.aspx page and it's two frames point only at ViewPDF.aspx?
i want a pop up to be displayed when user tries to close the browser and if user click on "no" [i.e. he don't want browser to be closed] then it prevent browser to get closed.
First I am new to the asp.net world and am trying to figure out a weird issue that I am having. I have a page that has a form and on submit I launch another aspx file that exists in the same directory. The problem is the aspx file is shown and the file closes immediately! However, the weird part is if I make any modifications to the aspx file and save it and then run my application it works fine only the first time? Any subsequent submit actions launch the aspx page but then the aspx file immediately closes. But after I make some modifications to the aspx file..(simple ones) it launches correctly the first time. We are targeting .net version 4.0 and using IIS7. I am thinking that the asp worker process is doing something weird like checking for timestamps and closing it?!
I have a linkbutton 'Forgot Password?' in my login page. On click of the link button a modal popup will open . In that user has to give his username.
If the username doesnot exists i want to show an alert 'Usename doesnot ' exists.
Since the checking for the existenance of the username is on click of the button submit which is inside the modal popup, i can show the alert using the code
Page.ClientScript.RegisterStartupScript(...) . But I want something different
I want to call the javascript function after the maodal popup extender is closed
I have one control as below . I am using popup control extender which shows 4 images for colors. I want to close the popupexnternder once I click a color.Once I added $find('mpePopup').hide(); in javascript but its causing postback somehow .
I am using the jQuery Dialog in ASP.NET. I have it working fine with the exception of when I click the OK button in the dialog and if an error occurred I want to show the error in the label. By the time the dialog closing event is fired it is too late. How do I still show the dialog if an error has occurred. I don't want to close the dialog when there is an error.
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.
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.
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.
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 :
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 ?
i am using TinyMCE AND AsyncFileUpload AND an Update Panel After Uploading , i cannot delete the Images while Adding them to tinymce content because it is being used by another process.
lock (this) { if (File.Exists(_FILE_HANDLER_)) { File.Delete(_FILE_HANDLER_); } }
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.
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.
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.
i have a ASP.NET 4.0 based CMS, where i use the TinyMCE (3.4) via jQuery to edit one Textbox.In addition to this i have several other textboxes. There is also another DropDown List on the Page, which controls the Contenttype.This Control has AutoPostback enabled and sets the visibility on the textboxes regarding the selectes item.As i want to keep the Postback Validation on i have configured the TinyXML to use xml for the content serialisation (encoding: "xml").Now i have the problem, when a postback from e.g. the DropDown List occures, the re-encodes the content.
i have enabled the original textarea via css and this seems to be a problem of the TinyMCS's Save method. Does anybody have a solution, how to fix this issue maybe with a custom save_callback on the TinyMCE?
<script src="../tinymce/tinymce.min.js" type = "text/javascript"></script> <script type = "text/javascript"> tinymce.init({ language : 'fa', directionality : 'rtl', selector: "textarea#elm1",
[code]...
here I used validation for textbox that if users don't enter text it show error..now here problem is that when I enter text for firsttime it show validation error I should enter text again that it doesn't show error and insert data into database.what should I do that it doesn't show validation error when I enter text for first time it doesn't show error?