First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)

updatepanel

There are 4 entries for the tag updatepanel

How to debug XmlHttpRequest with Firebug

I've been using Firebug since a few months and I really love it: it allows you to inspect the HTML, to look at the CSS applied to an element and where each single attribute has been set, to visualize the box around each element, to debug JS, to view the JS stack trace, to change the CSS directly on the page. If you never used it, I really suggest having a look. A must in the web developer toolbox. But today I found another interesting feature, that is not well advertised on the Firebug website: XmlHttpRequest debugging. To enable it just open the...

How to refresh an UpdatePanel from javascript

I thought that updating an UpdatePanel from javascript was one of the most frequently asked question about ASP.NET Ajax, but even looking around a lot I didn't find a clean and polished solution for what should be a common task. I didn't want to create an ASP.NET Ajax extender for such a simple task, but after a few hours of Google-ing, I found a few nice articles on Ben Rush's blog, which is a very valuable source of knowledge on the internals of ASP.NET Ajax, ScriptManager and other ASP.NET Ajax goodies. Programmatically or Manually refreshing an UpdatePanel...

Remember to set UpdatePanel's UpdateMode to Conditional

Since the cool thing about the ASP.NET Ajax UpdatePanel is that its contents are updated asynchronously when an event that would normally generate a postback is raised inside, one would think that this is its default behavior. But it's not: the UpdateMode property of the UpdatePanel has 2 possible values: Always Conditional and the default value is Always. When set to Always, the UpdatePanel is updated on every postback raised from anywhere in the page, so from controls inside the panel, inside other panels or just on the page. When set to Conditional, the UpdatePanel will be updated only on...

How to make a Gmail-like loading indicator with ASP.NET Ajax

At the moment I'm working on making a web application we just developed more user friendly and more appealing to the end users. The application uses a few ASP.NET Ajax controls so I was pretty surprised when the customer sent me an email saying that he liked all the dynamic loading and the fact that he could reorder "things" using drag&drop and saving them without waiting the page to reload, but it took him a while to understand was going on. The first time he clicked the button, and since nothing happened, he thought that something was going wrong, so he kept...