Old

Using ASP.NET AJAX Library

Posted March 9th, 2010 at 09:47 AM by richyrich
Tags ajax, library

ASP.NET AJAX library is currently Version 0911 Beta. The toolkit can be downloaded from ASP.NET Ajax Library

I have previously used the AJAX Toolkit extensions in my ASP.NET projects and thought on my current project I'd see if there was an update.

Finding the ASP.NET AJAX library beta, I thought I'd give this a go. However, I did come across a couple of trip-ups that I thought I'd post here as I couldn't find much info when I googled it.

So, to get the AJAX...
richyrich's Avatar
Administrator
Views 27 Comments 0 richyrich is offline
Old

Convert .asmx file to WCF .svc file to create simple API web service

Posted October 19th, 2009 at 10:12 PM by richyrich

3) Converting a .asmx file to WCF .svc file

This is part of a series of blogs. The others are:-
1) Introduction
2) A simple .asmx file and calling a function

The next section to cover is converting our .asmx file to a WCF web service. This is placed in a .svc file and uses Contracts to define what can be consumed in the web service and endpoints in the web.config of your application define how the service will be exposed.

I guess the...
richyrich's Avatar
Administrator
Views 387 Comments 0 richyrich is offline
Old

Convert .asmx file to WCF .svc file to create simple API web service

Posted October 19th, 2009 at 10:01 PM by richyrich

2) A simple .asmx file and calling a function

This is part of a series of blogs. The others are:-
1) Introduction
3) Converting a .asmx file to WCF .svc file

The .asmx file I started with probably isn’t a great example of something you’d want as a web service, but it was just something I was working on at the time and I think it’s complicated enough to enable you to develop a variety of different applicable WCF services. What I have is an asmx file that...
richyrich's Avatar
Administrator
Views 136 Comments 0 richyrich is offline
Old

Convert .asmx file to WCF .svc file to create simple API web service

Posted October 19th, 2009 at 09:50 PM by richyrich

1) Introduction

This is part of a series of blogs. The others are:-
2) A simple .asmx file and calling a function
3) Converting a .asmx file to WCF .svc file


I had some time on my hands recently and for one reason or another starting looking into web services and WCF. It was about a week ago and I can’t remember the exact reason why I started, but I thought I’d detail the pitfalls, hair pulling, shouting and swearing moments into a blog to help...
richyrich's Avatar
Administrator
Views 155 Comments 0 richyrich is offline
Old

Preventing Form Submit with button element in Firefox

Posted March 11th, 2009 at 09:17 AM by richyrich
Updated March 11th, 2009 at 09:19 AM by richyrich

I had an issue in Firefox where I wanted a <button> element to fire a Javascript function onclick.

However, I found in Firefox that the button also performed a submit on the form, which I didn't want.

After a little investigation I discovered that the default type for a button element is submit. Apparently a bug in IE prevents it from firing.

So, how to fix?

Add a type="button" property to your <button> element
...
richyrich's Avatar
Administrator
Views 617 Comments 0 richyrich is offline

All times are GMT -4. The time now is 04:17 PM.


Copyright ©2008-2010, DeveloperBarn

Content Relevant URLs by vBSEO 3.3.2