ASP.NET Ajax Control Toolkit: Custom toolbar button - asp.net

There is HtmlEditorExtender Control in Ajax Control Toolkit and there is some problem with it :)
What if I want to add my own button in Toolbar? How it can be done?
For example, I want to add the button which will insert a code snippet (and hightlight it) or add the button which will call a dialog window in browser then make async image upload and then insert this image?

you don't have much option I guess in HtmlEditorExtender.
Alternatively, try using these:
FreetextBox
obout ASP.NET HTML Editor

Related

how to show popup with user control when clicking a button in webform?

i want to create a popup window when clicking on a button in webform and after that i want to show a user control in that popup.how to do in asp.net?
i tried with some jquery methods but nothing happens when clicking button?
i want to create a popup window when clicking on a button in webform and after that i want to show a user control in that popup.how to do in asp.net?
i tried with some jquery methods but nothing happens when clicking button?
Think about using an IFrame to achieve this, from the sounds of what you are talking an IFrame would suffice and provided the needed functionality.
<iframe src="YOUR PAGE HERE"></iframe>
There's a lot more you can do with it, these are just the tags to get you going.

Can multiple button use same ModalPopupExtender window?

I have a list of addresses on my page, each has a edit button. When click edit, I want to use the same ModalPopupExtender. Is this possible?
Thanks. I am using asp .net 4.0.
Are you fetching the list from database? If yes, use a data control like gridview & use a template field for edit button. Add Edit Gridview using modal popup

Custom Popup Dialog Asp.Net

I'd like to create email dialog that has several inputs including message textbox plus some other custom info. I'd like it to display center screen over top of main page setting the opacity to like 50%.
do i create the pop up as anohter aspx page or panel?
Not sure what to use here, z-index, modalPopupExtender, Javascript, jquery. looking for easy and something stable.
I would look into the ModalPopupExtender in the AJAX Toolkit.
You can also try creating the dialog with jQuery. If you decide to go that route, check out the jQuery UI dialog:
http://jqueryui.com/demos/dialog/

How to Change the Confirm box buttons and Display the error logo using asp.net 2.0?

i am developing one asp.net application,i am using one gridview and bind the data and one delete button also displayed, so click the delete button first display the confirm message box.(Do u want Delete?) ,confirm box display the ok and cancel buttons but my problem is i want to display the Yes and No buttons and display the error image . How to write the code in RowDeleting Event or Any javaScript, pls tel me it is very urgent
Thank u
hemanth
You can use the the Ajax Control Toolkit's confirm button extender have a look here Confirm Button Extender also math berseths post also will you help you with the code. Look here Including Yes/No in gridview

JQuery not working with Multiview

I am using the MultiView server control in one web page using Update Panel. In its second view, I have a GridView; whose first column is checkboc controls including the header.
I want to toggle the data items checkbox based on the header checkbox.
For this, I wrote a Jquery function. But the main issue is, When I try to view the page source, I was not able to find out the HTML for the second view.
How could I toggle the checkbox using Jquery or Javascript?
The reason you can't see the HTML source is that the MultiView is a ASP.NET server control and it only renders the currently selected view to the browser.
Use FireBug. After you toggle the view and the HTML is updated, you'll see the current source so you can debug the jQuery.

Resources