Posts Tagged ‘ajax’
JQuery, Cufon, and Dynamic Content
Yesterday I mentioned a new tool called Cufon that allows you to easily embed fonts in your web site.
One quirk about this tool is that your HTML has to be rendered prior to applying, or refreshing, the font. If you are using any kind of AJAXy stuff in your site, you’ll need to re-apply the font change. The trick is knowing when to do this.
Republished by Blog Post Promoter
Cool Free ASP.NET AJAX Rich Text Editor
Nice start on a WYSIWYG browser based editor.
It’s released under the MS-PL license. You can get the full information at:
http://blogs.msdn.com/kirti/archive/2007/11/10/rich-text-editor-is-here.aspx
Brad Abrams : Cool Free ASP.NET AJAX Rich Text Editor
Technorati Tags: html editor,ajax,wysiwyg
del.icio.us Tags: html editor,ajax,wysiwyg
Republished by Blog Post Promoter
jQuery and ASP.NET UpdatePanel
I’ve been busy over the last couple of weeks working on an administrative application that uses a ton of AJAXy stuff.
The application is interactive in the sense that every time a field is updated in the administrative screen, another part of the screen updates to show the user what the final result will look like when it is published.
Where things get tricky is that the screens use a considerable amount of jQuery to do things like binding to events so that updates will occur when the events fire.
But the main content that is being updated for one of my screens is actually in an UpdatePanel. This is a problem, because in order for that screen to render correctly I have to run some jQuery code. But the jQuery “ready” event doesn’t fire when the UpdatePanel gets updated.
So how do we fix that?
jQuery, Each() and Async Gets
One of the things to keep in mind when using jQuery is that nothing is a blocking call. Sure, there is a certain sequence to when things operate. But, to be safe, you should always assume that step two will happen during step one.
Nowhere is this more evident than when retrieving content from a URL and inserting that content in your page.
jQuery – Accordion
If you’ve been using the MS-AJAX Accordion control, stop it right now!
Seriously. Once I show you how easy the jQuery version is, you’ll want to drop it. Shoot! You may even want to go to the trouble of replacing the MS-AJAX Accordion control in the code you’ve already written.