HTML Editor Extender displays HTML on navigate backwards - asp.net

I have an Ajax Control Toolkit HtmlEditorExtender control on my ASP.NET forms page.
First I add some formatted text (including <br />'s by pressing cariage return) and then navigate away from the page by following some link. Then I use the browser to navigate backwards. I would expect that the message should then be either empty or display correctly, but it displays the unencoded html.
I can't find any reports of known bugs about this, does anyone know about a workaround?
Thanks

This HtmlEditorExtender is not a product of OBOUT. It does not work properly.
OBOUT INC. has made the HTMLEditor control for this toolkit, it's already obsolete there.
Use the real OBOUT AJAX HTML Editor. You can test it here: Full screen enabled Editor
Another good example of customization (online translation): Google AJAX Language API implementation

Related

DotNetNuke 7 - Edit page menu not working when adding ajax control to module

I am creating a simple DotNetNuke module and every time I add a control that contains ajax it somehow interferes with the edit page menu. The control in question is one from Syncfusion and it is the numeric textbox.
The page and the menu functionality works well as long as I use the standard Microsoft user controls. For example if I change the ajax numeric textbox for the asp.net or the html one then it works well. As soon as I add the ajax textbox then the edit page menu does not work.
Has anyone else experienced this issue?
Additional information: The Syncfusion control does not require any specific jQuery version.
There is no error logged on the DNN event viewer. I have been trying with FireBug to follow the tracks but it reveals nothing.
I have attached the screenshot to help visualize the issue.
This happens because of jQuery conflicts. The syncfusion controls load their own jQuery library. To avoid issues within your module add a key to the appSettings section of the DNN web config file:
"SFjQueryLoad" value="false"
This will cause the control to use only the jQuery library provided by your DNN website.

ASP.NET MVC - Google Maps Places AutoComplete not working inside Ajax returned form

I have added an google maps places library autocomplete plugin to an input control inside an ASP.NET MVC editor template. It is working fine when the template gets rendered normally. But it stops working inside forms that are returned via AJAX. The autocomplete initialization is being executed properly and I can even see the placeholder text on the input box but the autocomplete feature doesn't seem to run. Thanks in advance for any tips/suggestions in this regard.
This issue has been resolved. The issue was a higher value of z-index being used for a modal dialog that was hiding the autocomplete popup content. The z-index for the autocomplete popup is 1000.

Example of ASP.NET master/detail page where detail is in a lightbox?

Looking for an example or sample app of an ASP.NET page with a DataGridView with records. Each record has a hyperlink and clicking on a link, instead of showing the details of the record in the same page, opens a lightbox on top with a form showing the details.
This is a pretty specific example request which I am not sure someone can provide. However if you deconstruct it you are looking at something like:
create a grid that shows records
create a detail page for 1 specific record
link detail page to lightbox
I would advice you to develop it in this way since then you don't have to focus on very different things at once and secondly it will be much easier to find examples.
This article explains how to create the grid. Then you can add a link column with code like
<asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="detail.aspx?id={0}"
DataTextField="Name" />
implementing the detail page is as simple as getting the id from the querystring and using it to query the detail info and dispaying it. Once this is all working you can foccus on the lightbox. If you use thickbox to diplay the lightbox it is as simple as adding a css class to the link to make it open in a lightbox.
Do use the iframe mode of thickbox since the ajax mode can give some problems in conjunction with asp.net webforms.

open source custom tooltip (callout) control/code for asp.net

Looking for a custom tooltip (typical yellow baloon callout) on click of an anchor tag. The tooltip should appear and remain in view until the cross button on the tooltip is clicked.
Just looking for a tried and tested open source solution. Tried googling this but most of the tooltip [...missing info?...]
Ajax control toolkit has the calloutvalidator which seems like a good choice but is tied up to be used for validation tooltips.
I'm not aware of many good open source server side controls. But you should take a look at these:
http://www.obout.com/flyout/example_Googlemap_tooltip.aspx - Free for commercial and personal use
http://aspalliance.com/1686 - Creating a Custom Tooltip Ajax Extender Control
http://craigsworks.com/projects/qtip/demos/ - qTip for jQuery. It's not an asp.net control, but could work well for you.

AJAX Dropdown Extender Question

Ok, so I got my extender working on a default.aspx page on my website and it looks good. I basically copied and pasted the code for it into a user control control.ascx page. When I do this I completely loose the functionality (just shows the target control label and no dropdown, even upon hover). Is there any reason why it doesn't work in a custom user control inside a masterpage setup?
Edit:
Didn't quite do the trick. Any other suggestions?
Its in a master page setup, using eo web tabs (I tried it inside the tabs and outside the tabs but on the same page as the tabs, to no avail), and its in a custom user control. Think there are dependency issues?
Apparently EO has compatibility issues with MS Ajax Control Toolkit. http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=1319
I guess I'll leave this question open to see if anyone figures out some sort of workaround.
After a few days of looking I found a call to a modal popup extender .show() in the code behind. After commenting it out everything worked fine.
I don't know if this helps, but I had the same problem with the autocomplete extender and determined that the server-side function could not be in the user control, but needed to be on the page (or in a webservice, I guess). Once I moved the function, it worked fine.
Check the DocType. Here is what I have found useful
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
Place this in your user control (or the page that uses it) and all should be well. I had a similar problem with a collapsible extender and this worked for me.
Edit: Here is a link to my question for further details.
Hmm all that functionality on the loose! careful you don't lose it (sorry!)
Are you using something like Firebug (firefox plug-in) so you can see what ajax calls the page is trying to make? If it is making the call but the server is behaving oddly then you will see the error there too. IE users maybe able to use dev toolbar.

Resources