Browse by Tags
All Tags »
Tips & Tricks »
Miscellaneous (
RSS)
Discover which Control Raised a PostBack Yesterday I needed a solution for an annoying problem. I have some buttons on a ASP.NET web form and I need to know which button raised the postback not in the event itself but in the page load event. This post will show a way to solve this conundrum. Discover which Control Raised a PostBack When we use ASP.NET and we have ASP buttons on the page if we want to do something before their postback event happen we need to discover whether they raised a postback...
Back to Basics – How to Invoke Web Methods from a Remote Machine I’ve been asked today how to enable invocation of WebMethods of an asmx web service from a remote machine for testing. The post holds the answer. How to Invoke Web Methods from a Remote Machine? Sometimes we want to test our asmx web service not from localhost but from a remote machine . Trying to open the test form of the web service from a remote machine will show the following message: “ The test form is only available for requests...
Quick Tip – Adding Business Validation Messages to ValidationSummary Two days ago I was asked how to insert business validation messages into a ValidationSummary control. The post is the answer I gave to the person who asked me. The Problem We have a web form that is doing input validation and output the errors inside a ValidationSummary control. Since ValidationSummary shows a summary of all validation errors from ASP.NET validators how can we add business validations which are part of the business...