There are a couple of options here that you might consider:
+ You are still able to use the ASP.NET validators, but depending on which button is clicked you need to disable the validator accordingly (set the enabled property to false. The validators in the web page are basically stored in the Page_Validators array at the client side.
+ You provide your own client side functions like you did in the classic ASP.
+ You can implement your own custom validator that basically only runs when a specific button is clicked. You can do a simple checking in the client side validation function.
+ You can use the ASP.NET validators and store them in the seperate arrays, depending on which button is clicked you can get the validators from an array to run.
The only way there might be a difference depending on the server, is if the security settings in the browser is different for the servers. Still, this is a setting in the browser, and has nothing to do with the server itself.
I am having a typical problem ,I am using management classes to get the path for shared folders and files of the system.The code is working fine for console and winforms,but it is not working for web applications.I have tried giving admin rights to aspnet account,but the problem remains there.Please help
searcher1=new ManagementObjectSearcher("SELECT * FROM Win32_Share");
foreach(ManagementObject share in searcher1.Get())
s=share["Path"].ToString();//for asp.net pages giving null obj ref exception