The mysteries of software development and networking... RSS 2.0



 Friday, November 23, 2007

When building a webapplication, have you ever wanted to display an alert asking a user whether he really, really wanted to delete some data?

In ASP.NET 2.0 this is made easy by the OnClientClick property on the button control.

Just enter the following JavaScript in the property and the user will have to confirm the action. If the user cancels, then the button will not perform a postback and the serverside event never even fires.

if (!confirm('Are you sure you want to delete this customer?')) return;

[11/27/2007] Update:

The code above will work if the button you're adding the OnClientClick to has UseSubmitBehavior="false" if not, then you should use:

if (!confirm('Are you sure you want to delete this customer?')) return false;

 

 



Being techno-savvy is good. For once, keeping up with innovations like wireless camera and making use of facilities like wireless routers is good and does pay off. However, that should not result in missing out on important practical issues like having a proper computer backup solution. While looking for a web hosting service, the feature that matters the most is the facility of online backup. People usually concentrate on other things like ip phones etc. However, unless the domain name registration is done with, this ignorance can be made up for.

Friday, November 23, 2007 12:55:31 PM (Eastern Standard Time, UTC-05:00)  #    Comments [2] -
ASP.NET
 Wednesday, October 31, 2007

The majority of the time when we look at AJAX we look at making websites more responsive, prettier, faster. Rarely do we (or at least I) think about accessibility features for people that are visually impaired, or deaf or otherwise less able to read my, usually, small print on a website.

Chris Blouch has released a JavaScript library which focusses on making the web 2.0 generation of website more accessible. He has posted a slidedeck from his session at the Ajax Experience Boston (October 26, 2007) online, and the library, including documentation, can be found here.

I particularly found his statistics slide an eye-opener...

Among adult computer users in the US:
  • 1 in 4 has a vision difficulty
  • 1 in 4 has a dexterity difficulty
  • 1 in 5 has a hearing difficulty
  • Projected to be 70M users by 2010
Wednesday, October 31, 2007 11:11:55 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET
 Thursday, September 20, 2007

I've completed a comprehensive sample application integrating Windows Communication Foundation, ASP.NET and TRUVEO search into a custom search engine. Check it out here.

Thursday, September 20, 2007 1:01:55 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
AOL | ASP.NET | WCF
 Friday, July 27, 2007

Having been in immersed in C# and .NET Framework stuff lately I've been missing out on some of the developments that have been going on in the webbrowser. I remember programming an application for a customer in 2002 which was allowed to target Internet Explorer 4.0 and use JavaScript in combination with something called XmlDataIslands and XmlHttpRequests. Last year this technology has been given new life and is now commonly refered to as Ajax.

Tied in with the evolution of JavaScript is JSON: JavaScript Object Notation.

I like to think of JSON as object serialization for JavaScript objects, much like XmlSerialization is one of the corner pieces of .NET.

Scott Mitchell and Atif Aziz do a good job of explaining JSON in a little more detail :-).

 

Friday, July 27, 2007 2:36:49 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET
 Wednesday, May 09, 2007

I recently got asked what the AutoEventWireup flag does that can be placed in the @Page directive of an ASP.NET page.

A quick Google pointed me to the blog of K. Scott Allen, who does an excellent job of describing it.

Go to: http://odetocode.com/Blogs/scott/archive/2006/02/16/2914.aspx.

Wednesday, May 09, 2007 8:24:41 AM (Eastern Standard Time, UTC-05:00)  #    Comments [1] -
ASP.NET
 Wednesday, January 31, 2007

I finally updated my website some. I now use the RssToolkit from Dmitry Robsman to display my latest blog posts on the front page of my business website (www.develop-one.com).

The RssToolkit allows you to define an RssDataSource using drag-and-drop, just enter the url of the feed and create a gridview which binds against the RssDataSource. It's great!

The code has been updated since last year, but it runs like a charm!

Go to: http://blogs.msdn.com/dmitryr/archive/2006/03/26/561200.aspx

Update:
The project has been moved from Dmitry's blog to CodePlex. Go to: http://www.codeplex.com/ASPNETRSSToolkit.

Wednesday, January 31, 2007 11:32:38 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET | General

My hosting provider send me an email today informing me that ASP.NET AJAX 1.0 is now available to all DiscountASP.NET customers. I guess I'll have to put some AJAX in my site, just because I can :-)

The message did contain an interesting warning though:

Microsoft officially released ASP.NET AJAX 1.0 and we have installed AJAX 1.0 in the webserver GAC.
(
More Info | KB Q10460)

Note: Microsoft has yanked out some features from the AJAX RTM and used the same version number for both v1.0 and the RTM. If you built apps with the RTM, they may not be backward compatible.

Wednesday, January 31, 2007 11:27:31 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET | General
 Wednesday, January 24, 2007

ASP.NET AJAX v1.0 is available for download!

Go to: http://ajax.asp.net/default.aspx?tabid=47

About ASP.NET AJAX:

"ASP.NET AJAX is a free framework for quickly creating a new generation of more efficient, more interactive and highly-personalized Web experiences that work across all the most popular browsers.

With ASP.NET AJAX, you can:

  • Create next-generation interfaces with reusable AJAX components.
  • Enhance existing Web pages using powerful AJAX controls with support for all modern browsers.
  • Continue using Visual Studio 2005 to take your ASP.NET 2.0 sites to the next level.
  • Access remote services and data directly from the browser without writing a ton of complicated script.
  • Enjoy the benefits of a free framework with 24x7 technical support provided by Microsoft."
Wednesday, January 24, 2007 2:59:38 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET | General
 Thursday, January 19, 2006

Just came across a deadlink on www.theserverside.net refering to a post by Kevin Jones about Embedded Resources in ASP.NET. Couldn't find the item on Kevin's blog, but a Google search brought me to http://haacked.com/archive/2005/04/29/2879.aspx which explains it pretty well.

Embedding Javascript in your assembly resource seems a great way to avoid deployment issues.

Thursday, January 19, 2006 1:58:47 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET
 Saturday, January 14, 2006

Just a couple of links to stuff that's in beta right now:

WinFX, XAML and SDK
ASP.NET ATLAS
C# and LINQ
VB.NET and LINQ

Saturday, January 14, 2006 10:37:48 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET | C# | LINQ | WPF
 Monday, January 09, 2006

I always wondered how some sites managed to get their little logo in my list of Favourites. Turns out it is really quite easy, just add a favicon.ico file to the root of your website. Internet Explorer will pick it up automagically.

If you happen to have a different browser you can try:

<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">

Found it on Matthias Benkmann's website: http://www.winterdrache.de/freeware/png2ico/favicon.html

Monday, January 09, 2006 1:50:39 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET
About
This blog is run by Mark Blomsma.
© Copyright 2008
Develop-One
Sign In
Statistics
Total Posts: 305
This Year: 49
This Month: 2
This Week: 1
Comments: 36
All Content © 2008, Develop-One
DasBlog theme 'Business' created by Christoph De Baene (delarou)