docs.typps.com
Documentation: Saving content
http://docs.typps.com/2011/03/saving-content.html
Saturday, March 26, 2011. The Html Editor has a builtin save button that will trigger a serverside event when the save button is clicked. This is an AJAX callback and will not refresh your page. If you'd rather a full postback, you can very well use a custom button on your page and add code in it's event handler. And then the handler the declarative markup maps to :. Sender, Typps.TextSavingEventArgs e) {. Save it somewhere for persistence. And your event handler the above declarative code maps to:.
docs.typps.com
Documentation: Configuring Web.config
http://docs.typps.com/2011/03/configuring-webconfig.html
Saturday, March 26, 2011. In order to facilitate the first time experience, Typps adds the HTTP Handler registrations for you automatically in your web.config file. This is triggered by dragging and dropping the control on the designer surface, or simply opening a page where the control sits in designview (Inside visual studio). Will be flagged as an error. IIS6 safely ignores the settings provided in system.webServer section. Section under system.web - httpHandlers. If you are sure that you are running ...
docs.typps.com
Documentation: Styling the HTML Editor
http://docs.typps.com/2011/03/styling-html-editor.html
Saturday, March 26, 2011. Styling the HTML Editor. All controls in Typps support a custom skinning framework, allowing you access to the templates that render the dialogs displayed by all controls in Typps. In addition skinning gives you access to the css file and images used by each control. In this manner you can directly modify it to something that suits your site design more. Clicking the link will launch the dialog you can use to request the css output. Simply copy it and paste this output into a ne...
docs.typps.com
Documentation: Limiting the content in the Editor (MaxLength) Clientside
http://docs.typps.com/2011/03/limiting-content-in-editor-maxlength.html
Saturday, March 26, 2011. Limiting the content in the Editor (MaxLength) Clientside. The MaxLength property on the HTML editor sets the maximum number of characters allowed. The default value is 0, which means no value is set. The HTML elements are not accounted for when the editor internally tries to enforce this but rather only the textual content, which is simply the innerText value of each HTML element. Now the clientside function definition for Editor1 maxlengthReached:. Sender.get maxLength();.
docs.typps.com
Documentation: MS-Word cleanup
http://docs.typps.com/2011/03/ms-word-cleanup.html
Saturday, March 26, 2011. Typps HTML Editor is equipped with a server-side ms-word cleanup utility. By default, this utility is enabled and you can disable it through it's apposite property : AutoCleanupMSWordMarkup="false". Disabling ms-word cleanup means that, now your users will have to use the ms-word cleanup command in the toolbar and you trust them not to paste ms-word markup directly in the editor. This is quite a big responsibility but it's your decision. While removing redundancy, the ms-word cl...
docs.typps.com
Documentation: First time setup and RequestValidation
http://docs.typps.com/2011/03/first-time-setup-and-requestvalidation.html
Saturday, March 26, 2011. First time setup and RequestValidation. The component, you'll have to either add the component to your toolbox by right clicking on your toolbox - Choose Item - .Net Framework Components Tab and the clicking the browse button and navigating to the location of Typps.dll on disk. Now that all the Web controls are added to the toolbox, read the following section carefully as it deals with the registration of an important HttpHandler in your web.config file. Turning RequestValidatio...
docs.typps.com
Documentation: OnBrowseServerRequest Event Handler (Image browser)
http://docs.typps.com/2011/03/onbrowseserverrequest-event-handler.html
Saturday, March 26, 2011. OnBrowseServerRequest Event Handler (Image browser). It's important to not to have to go fetch data when it's not required. Accordingly, the ImagePicker control exposes an event handler that you can subscribe to OnBrowseServerRequest. This event fires when the browse button is clicked. So to sum it up, the OnBrowseServerRequest handler will fire, when :. A) You click the Browse Server button on the Image designer dialog for the first time. Subscribing to the OnBrowseServerReques...
docs.typps.com
Documentation: Image editing via the image picker
http://docs.typps.com/2011/03/image-editing-via-image-picker.html
Saturday, March 26, 2011. Image editing via the image picker. The Image Picker has also image editing capabilities, allowing you to set various attributes associated to an Image element in general, like modifying the src, setting the alt, width, height, alignment, uploading an image etc. To retrieve the same settings serverside, we need to subscribe to the apposite event handler serverside : OnImagePropertiesChanged. Sender, ImageEventArgs e) { Image1.ImageUrl. ESrc; Image1.AlternateText. Declaratively w...
docs.typps.com
Documentation: Setting a target element/control image picker (stand alone)
http://docs.typps.com/2011/03/setting-target-elementcontrol-image.html
Saturday, March 26, 2011. Setting a target element/control image picker (stand alone). By default, if no target is set, the Image Picker will render a little clickable icon that will launch it when clicked. If you desire to have more control on who should launch the Image Picker and the event, you must set the TargetControl property to the id of a Control or an HTML element in your pages. For example you might want to launch the Image Picker when a textbox is clicked or when you mouse over an image etc.
docs.typps.com
Documentation: Creating a custom ToolBarItem
http://docs.typps.com/2011/03/creating-custom-toolbaritem.html
Saturday, March 26, 2011. Creating a custom ToolBarItem. A custom ToolBarItem as an Icon. Adding a custom ToolBarItem to an existing ToolBarSet can be done in the Page LoadComplete event handler of the page. This handler fires exactly after the editor has internally built the default ToolBars. First create an Icon to represent your ToolBarItem. We chose to add a custom horizontal rule and here is a photoshopped gif [. Sender, EventArgs e) {. Retrieve the 4th ToolBarSet,. By default there are 5. Finally, ...