Launching an Ajax ModalPopupExtender from JavaScript
Paul Hayman (61174 views)
Launching an Ajax ModalPopupExtender from JavaScript
This is an updated version of the earlier (and very popular) {Atlas article}http://www.geekzilla.co.uk/ViewDAAE6AAB-0369-45C2-BE78-B8E6F876B4F4.htm
It is by far the simplest way to launch an Ajax ModalPopupExtender from javascript.
The
|
ASP.NET Framework 1.1 Validation not working in IE7?
Paul Hayman (5576 views)
ASP.NET Framework 1.1 Validation not working in IE7?
I recently had a problem with an old '''Framework 1.1''' website where the form would not post back if the page contained validators (CustomValidators to be exact). It caused me to do a lot of googling and in the end some javascript debugging
|
LoginStatus not logging users out?
Paul Hayman (5772 views)
LoginStatus not logging users out?
Have you noticed your '''LoginStatus''' control doesn't log the user out when you click '''Logout'''? Well, to fix this all you need to do is add an '''id''' attribute.
This works
#h#<asp:LoginStatus runat="server" id="loginstatus1" />
This doesn
|
XMLHTTPRequest in Stored Procedure
Dave Howard (11344 views)
XMLHTTPRequest in Stored Procedure
I recently had a requirement to call a webservice from a stored procedure. I looked into doing this by writing a CLR assembly in SQL 2005.
There were a few articles online describing this but working in a large organisation I knew that getting the thing wor
|
Json converters lacking in Microsoft AJAX RTM
Dave Howard (4230 views)
Json converters lacking in Microsoft AJAX RTM
Having spent some time developing a project using a CTP version of Microsoft Ajax ("ATLAS" back in the day) I finally came to migrate the project to the RTM version.
After uninstalling the CTP release, and installing the RTM release I wasn't sur
|
Handy fake latin generator
Paul Hayman (4125 views)
Handy fake latin generator
4guysfromrolla have a handy "fake latin" generator. It allows you to specify the number of paragraphs to generate. Source available too, although old asp.
http://www.4guysfromrolla.com/demos/latin.asp?paras=2
|
CAPTCHA Server Control
Barrington Haynes (2032 views)
CAPTCHA Server Control
I have been searching Google for a way to quickly implement CAPTCHA on one of my web sites and came across this article at The Code Project.
http://www.codeproject.com/aspnet/CaptchaControl.asp
http://www.codeproject.com/aspnet/CaptchaControl/captcha-control.png
|
Google Applicance - googleoff / googleon Tags
Paul Hayman (36688 views)
Google Applicance - googleoff / googleon Tags
'''I came across these recently... thought I'd share''' ;)
The googleoff/googleon tags disable the indexing of a part of a web page. The result is that those pages do not appear in search results when users search for the tagged word or phrase. F
|
Typed Masterpage reference
Dave Howard (9107 views)
Typed Masterpage reference
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/View674ECBC1-7CC3-486E-A580-E4B048E1E3D5.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla.co.uk/View674ECBC1-7CC3-486E-A580-E4B048E1E3
|
Web service calls from javascript using ATLAS (part 3) - Complex properties
Dave Howard (4947 views)
Web service calls from javascript using ATLAS (part 3) - Complex properties
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/View7DA902AA-513E-48D2-AD02-0F1A1946A999.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.gee
|
Web service calls from javascript using ATLAS (part 1)
Dave Howard (5367 views)
Web service calls from javascript using ATLAS (part 1)
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/View91E6FCCB-DB0A-499C-A2CC-9854452D2086.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla.co.uk/View91E6FC
|
Extending Strongly Typed Datasets
Dave Howard (5583 views)
Extending Strongly Typed Datasets
Strongly Typed Datasets are a rather nice addition to VS2005 (they don't lend themselves well to acronyms however)
You still need to create a database and tables and realationships but using STDs saves a writing huge amount of code.
If this code were gene
|
Serializing abstract classes to XML
Dave Howard (15470 views)
Serializing abstract classes to XML
Digg it: http://digg.com/programming/Serializing_abstract_classes_to_XML_in_c
It is often useful to have abstract classes with several derived types to allow use of strongly typed lists and the such.
For example you might have a DocumentFragment class w
|
Parser Error Message: Ambiguous match found.
Greg Duffield (13668 views)
Parser Error Message: Ambiguous match found.
VS 2005 Only.
This can be an annoying error, but it is usually caused by one thing.
If you add an object to your html source such as
#h#<igtxt:WebDateTimeEdit id="dteStartdate" runat="server" ToolTip="The end Date to use for the report." Edit
|
Strongly Typed DataSets and GridViews
Dave Howard (8687 views)
Strongly Typed DataSets and GridViews
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/ViewF9581DAE-CCF8-49FF-844C-7498603E0005.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla.co.uk/ViewF9581DAE-CCF8-49FF-84
|
Intellisence not working in web.config?
Paul Hayman (3323 views)
Intellisence not working in web.config?
Visual Studio 2005 has an interesting "feature" where Intellisence will not pop up when you're editing a web.config file. Annoying eh? Well, I found that removing the '''namespace''' from the '''configuration''' tag kicks it all back into life.
Change
|
Changing the password rules for Forms Authentication
Paul Hayman (4125 views)
Changing the password rules for Forms Authentication
An annoying feature of the forms authentication controls shipped with VS2005 is that it forces users to enter non-alphanumberic characters in their passwords by default.. e.g. password would have to be password
Fortunately, this option ca
|
Enabling HttpGet and HttpPost for web services
Barrington Haynes (6093 views)
Enabling HttpGet and HttpPost for web services
If your web application needs to accept incoming webservice method requests based on the '''GET''' and '''POST''' protocols then add the following lines to your ''web.config'' file.
#h#<configuration>
#h# <system.web>
#h# <webServices>
#h
|
Missing VS2005 Templates
Barrington Haynes (3973 views)
Missing VS2005 Templates
If you are having problems with missing VS2005 templates, then the following command run from the VS2005 command prompt may resolve your problems.
devenv /installvstemplates
|
Error in Line 3?
Paul Hayman (3335 views)
Error in line 3
Some websites report an error in line 3 when using the asp.net controls such as login. We recently tracked this error down on one of our sites to the use of custom HttpHandlers.
All requests to anything other than *.aspx were routing through our own handler..
Adding the fo
|