I'm trying to update my web site with the HTMLEditor control for Blog posting. I really need to know what my web.config changes need to be too. I get this error:Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
I am using IFrame in my ASP.NET pages. For the page that I am referencing in my IFrame, I have a gridview (I also have CommandField that referencing another asp.net page) and paging enabled.
I wanted to display a new page (outside of Iframe) when a user clicks on the commandfield in the gridview. In order to do that I set form's target to "_parent". This works fine (it open a new page outside of Iframe). Now, my problem is that when i click on the paging to go to next page in the gridview, it also opens the gridview outside of IFrame (which I dont want to happen). I want it to open within the Iframe.
I am using VB.NET and implementing AJAX HTMLEditor, I want to remove some of the unused button from the HTMLEditor. I did use the Lite HTMLEditor by adding HTMLEditor.Samples.VB in App_Code folder.And add the following at the top of the page
I use the HTML editor to capture a users post. It saves to an Access database and is displayed on our intranet. In english it works fine but we have users who post in spanish. Any special Spanish characture with accents (Such as ├ü ) do not get stored and redisplayed properly. Once saved to the db it appears as a black diamond with a question mark in it. When it's displayed on the web page it shows just a square box. I use server.htmlencode and decode if that helps. I can switch to HTML text view and put in the escape codes, but it's not an efficient way of expecting my users to work.
to customize HTML editor. I've seen that it is possible to change the buttons, etc., but is it possible to remove the parts of the menu in it? To be precise I would like to remove font selector and color selector, but I don't know how.
I am trying to write a customized Ajax HTML editor control and since noone knows how to resolve the problems I am having with including my source file SimpleEditor.cs inside my asp.net web application (refer to thread: [URL] I would like to know if I can compile the custom control into a .dll file and then somehow try using that inside my project. To start with I am creating a very simple editor with very little changes. Once I get it to work then I can move forward with putting in the rest of the customization. By the way in case anyone is interested I am trying to accomplish two things with my custom editor.
1 I want to reduce the buttons to just a few basic buttons.
2. I want to add a custom button to allow the user to insert a picture.
Below is the code I have in my SimpleEditor.cs file: