AJAX - Raj Kaimal

Browse by Tags

All Tags » AJAX (RSS)

Check Modal Popup Extender visibility from code behind

AFAIK, the Modal Popup Extender   has no direct way to determine its visibility state from code behind. This post describes a workaround for that. The idea here is to wire up handlers that the MPE fires just before it’s about to show the popup (showing...
Posted by rajbk | 4 comment(s)

The GridView Row Drag Overlay Extender

I finally got a chance to play with the Ajax futures release over the weekend. The controls look very impressive! Just for fun, I wrote a simple drag overlay extender that allows you to drag and drop rows in/across GridViews. Anytime a Gridview row is...
Posted by rajbk | 72 comment(s)

Refresh UpdatePanel via JavaScript

I have seen this asked a couple of times in the newsgroups hence this post. A simple way of refreshing an UpdatePanel using JavaScript is to add a HiddenField to the page, change its value using JS and then have the HiddenField raise a postback event...
Posted by rajbk | 18 comment(s)
Filed under: ,

UpdatePanel and CSS

The ASP.net AJAX UpdatePanel control in RTM unfortunately does not have a CssClass property. A CSS property may be nice to pretty up the UpdatePanel but in my case, I was hoping to use it to set the CSS "visibility" property of an UpdatePanel...
Posted by rajbk | 3 comment(s)
Filed under: ,

Using the UpdateProgress control as a modal overlay

After reading up on the Extender Control tutorial , I decided to write my first Extender control as a learning exercise. UpdateProgressOverlayExtender is an ASP.Net AJAX extender that can be attached to any UpdateProgress control in order to position...
Posted by rajbk | 63 comment(s)
Filed under: ,

Which control raised the async postback event?

The PageRequestManager in the ASP.net AJAX 1.0 Beta 2 framework exposes a pageLoaded event which is raised when the page is refreshed. AFAIK, the pageLoaded event does not contain any property that tells you which element on the page raised an async postback...
Posted by rajbk | 3 comment(s)
Filed under: ,

IE 6/7 - "Unspecified Error" when accessing offsetParent (Javascript)

I have noticed that IE 6/7 throws an "Unspecified Error" exception when it attempts to get the offsetParent property of a DOM object after the DOM tree has been modified. Here is a repro. Remove the space in java script before viewing the page...

Mashups : Trusting the man in the middle

Mashups are very popular words these days. Take an example of a very popular mashup – Meebo 1 . Meebo allows you, through a web browser, to logon to all of your IM accounts and chat with people. Browsers, in general, do not allow a script to make...
Posted by rajbk | with no comments
Filed under:
More Posts