CKEDITOR ASP.NET Custom Properties - asp.net

I am using CKEDITOR in ASP.NET and I would like to create custom configurations on the buttons. This means that when the user presses the image button , and the image dialog pops on, automatically some fields like 'Stylesheet classes' are ready written. This means that the client does not have to input such details every time he/she inserts an image but such content will be already predefined in the editor.
How can be this done?

Related

C# ASP.NET 6.0 getting button text from shared page to index page as variable

I have 4 buttons in my layout page (shared page) and I want to use these buttons' text value upon click event. The text value needs to be used inside the index page, in order to execute C# code.
I have been looking everywhere for a solution to that. I would appreciate any ideas.
I want to create a single page web application, that changes data in index page, based on the clicked button in layout.

How to detect a click inside an iframe and make the original page react to that click

So basically i want to embed a form from one page(daughter) inside a different page(parent) and when people click the submit button in that form 2 things happen:1. the details are saved to the owner of the page(daughter) 2. the parent page gets redirect to another page.
is that possible?

how to create a link to an outside webpage with an automatic input in a field

I would like to create a hyperlink to the web page below and have the user see an automatic value in the text field. Is there anyway to do this?
https://secure.tuitionrewards.com/sp/index.cfm?p=e0&bpid=103&j=6974C&ref=&pro=&sr=

Update value of Sitecore Fieldrender Control

I have a Sitecore FieldRender control on a web page that is only displayed when the user is in Page Editor mode. This FieldRender control displays the "raw valus" of a CheckList content item. (It is showing the pipe-delimited list of the ID's that are checked in the CheckList.)
Can I programatically update (add/remove URI values) that are displayed in the FieldRender when the user is in the Page Editor's Edit mode? I don't want to automatically write to the database because the user could always choose to click on the Close button and not save their changes.
Sounds to me like a perfect place to use an Edit Frame:
http://briancaos.wordpress.com/2011/11/28/using-sitecore-editframe-in-pageedit/

How to implement parent-child windows and pass values from child to parent?

I am working on an ASP.NET MVC 2 application.
In one of my data entry forms, I have an "employer" field which has a "search" link next to it. When a user clicks on this link, another window is opened with a search form. The user uses the search form to search for the correct employer. A list of employers is shown to the user. Currently, the user has to then copy and paste the correct employer from the child window into the original window.
I want to implement it so that each employer search result in the child window is a hyperlink. The user would then click on the correct employer and then the correct employer value would be populated in the original parent window employer field.
How would I go about implementing this in ASP.NET MVC 2?
Personally I would not use a new window but a modal dialog. jQuery UI has a nice modal dialog that you could load using AJAX

Resources