Stories recently tagged with 'mattberseth' Subscribe to this feed

Animating the ModalPopupExtender (mattberseth.com)

published 2 years, 4 months ago, submitted by gavinjoycegavinjoyce(25.7k) 2 years, 4 months ago

Matt Berseth shows how to animate the ModalPopupExtender. read more...

1 comment | category: | Views: 91

tags: another

Virtual Earth Map Control within a ModalPopup (mattberseth.com)

submitted by mbersethmberseth(1375) 2 years, 5 months ago

How to display the Virtual Earth Map Control using the ModapPopupExtender control read more...

add a comment | category: | Views: 27

tags: another

ModalPopupExtender for Editing Rows in a GridView (Master/Deta (mattberseth.com)

published 2 years, 5 months ago, submitted by mbersethmberseth(1375) 2 years, 6 months ago

Example showing how to implement the classic Master/Details scenario using ASP.NET AJAX and the ModalPopupExtender control in the ASP.NET AJAX Control Toolkit. read more...

add a comment | category: | Views: 502

tags: another

DisableControlExtender (mattberseth.com)

published 2 years, 6 months ago, submitted by mbersethmberseth(1375) 2 years, 6 months ago

An AjaxControlToolkit extender control that is useful for disabling controls during partial postbacks ... read more...

add a comment | category: | Views: 13

tags: another

Delay Load an UpdatePanel (mattberseth.com)

published 2 years, 7 months ago, submitted by k000derk000der(4745) 2 years, 7 months ago

Better user experience by delay loading UpdatePanels read more...

add a comment | category: | Views: 337

tags: another

In-Depth: The UpdatePanel ASP.NET AJAX Server Control: Triggers and Up (mattberseth.com)

published 2 years, 7 months ago, submitted by k000derk000der(4745) 2 years, 7 months ago

In depth article of UpdatePanel: Using Triggers and UpdateMode read more...

add a comment | category: | Views: 106

tags: another

Rendering a Gmail 'Loading' Indicator over a Specific ASP.NET Control (mattberseth.com)

published 2 years, 7 months ago, submitted by mbersethmberseth(1375) 2 years, 7 months ago

A recent 'kicks' article showed how to use an UpdateProgress to display a page level gmail-like status indicator. This article shows a technique for rendering the indicator over the control contained within an updatepanel. On pages where there are a lot of controls, this lets the user know exactly which one was updated. read more...

add a comment | category: | Views: 525

tags: another

EventHandlerList - Declaring .Net Events that Conserve Memory (mattberseth.com)

published 2 years, 7 months ago, submitted by mbersethmberseth(1375) 2 years, 7 months ago

Ever heard of the EventHandlerList object that lives in the System.ComponentModel namespace of the .Net framework? I hadn't until I disassembled the System.Windows.Forms.Control class while debugging the other day. I did a few google searches and ended up on an MSDN page titled 'How to: Declare Events That Conserve Memory Use'. I found the content rather interesting. Typically, a class declares an event as follows ... read more...

1 comment | category: | Views: 33

tags: another

ASP.NET AJAX: Invoke a static method from script (mattberseth.com)

submitted by mbersethmberseth(1375) 2 years, 7 months ago

Did you know that with ASP.NET AJAX you can easily invoke static methods declared on your ASP.NET page from script on the client? To enable this you will need to do the following ... read more...

add a comment | category: | Views: 51

tags: another

Quick Tip: Use System.IO.Path.Combine instead of string concatenation (mattberseth.com)

published 2 years, 7 months ago, submitted by mbersethmberseth(1375) 2 years, 8 months ago

System.IO.Path has a number of utility methods that are useful when you have to progamatically build a file path ... read more...

2 comments | category: | Views: 88

tags: another

Quick Ajax Tip: Provide a better asp:Wizard user experience (mattberseth.com)

submitted by mbersethmberseth(1375) 2 years, 8 months ago

Wrapping an asp:Wizard in an asp:UpdatePanel is a nice way to improve the user experience of your web pages. Throw in a couple of animation cues using the UpdatePanelAnimationExtender and your application will really ... read more...

add a comment | category: | Views: 55

tags: another

Quick Tip: Order By 1 Desc (mattberseth.com)

published 2 years, 8 months ago, submitted by mbersethmberseth(1375) 2 years, 8 months ago

Did you know that instead of specifying the name or column alias in a SQL Server Order By expression you can optionally use an integer representing the position of the column name or alias within the select list you want to sort by ... read more...

add a comment | category: | Views: 17

tags: another

7 simple steps to ajax-enable your ASP GridView (mattberseth.com)

published 2 years, 8 months ago, submitted by mbersethmberseth(1375) 2 years, 8 months ago

I recently used the AJAX.NET framework in a project and I was impressed with how easy it was to implement and how much it improved the usability of our pages. Our project had quite a few advanced search pages where users can enter in a number of different filters and then hit the search button (usually iteratively - filter/search; filter/search; etc...). Before the Ajax framework and Ajax Control Toolkit were applied to the pages, each time the user would tweak a filter or request a different column sort, the complete page would refresh. After adding Ajax to the pages, just the GridView is re-rendered giving the user the much nicer web 2.0 user experience. Anyway, here are the steps I followed for adding these features to our project ... read more...

add a comment | category: | Views: 258

tags: another

Deploying config files to multiple environments - dev, stage, prod (mattberseth.com)

submitted by mbersethmberseth(1375) 2 years, 8 months ago

A common problem most application developers face at one time or another is managing the deployment of the environment specific configuration elements their application depends on. Most often these elements include items like connection strings, file paths or other settings the application requires access to during runtime. I recently tackled this problem and came up with a solution that seems to work pretty well (we have been using it for the past 4 months without any issues) and fits in great with our automated build enviornment. read more...

add a comment | category: | Views: 34

tags: another

Ajax.Net Example: Using an UpdatePanelAnimationExtender to animate ... (mattberseth.com)

submitted by mbersethmberseth(1375) 2 years, 8 months ago

I recently was working on an Asp.Net project that contained quite a few search pages. These pages all followed a similar structured pattern where the user had a set of fields they could filter on by typing in values and pressing the search button. The results were displayed in a GridView where the user could sort by clicking on column headers, export the results to excel, etc... To help improve user experience, we placed each of the GridViews in an asp UpdatePanel so while the user refined the search (sorting, adding or removing additional filters), only the GridView would be refreshed and not the entire page. Additionally, we wanted to add a few standard UI cues (disabling the Search button, fading out the GridView, and placing a progress indicator over the GridView) letting the user know an operation was currently in progress. read more...

add a comment | category: | Views: 1975

tags: another

Part II: Simple example of shading zip-code boundaries using Virtual E (mattberseth.com)

submitted by mbersethmberseth(1375) 2 years, 8 months ago

In the original article, I showed an example of plotting zip-code boundaries using Microsoft Virtual Earth and Ajax.Net. I received some feedback from John (SoulSolutions) suggesting that the transmission of latitude and longitude points could be optimized by using googles compression algorithm (described here) which exploits that fact that lat/lons can benefit from compression when there is little difference between adjacent lat/longs within a given sequence. I thought this was an interesting suggestion so I updated the example to include this compression algorithm. read more...

add a comment | category: | Views: 35

tags: another