Server-Side/Client-Side Problem
-
I have two ASP.NET Server Side buttons that perform action on both the Server and Client side. Here is the break down of code placement: 1. Server-Side Load: Contains an Add Attribute for a JavaScript event to be fired for onClick(). 2. Server-Side Click for buttons: Navigates the user to a different form state by resetting visibility of panels on the form. 3. JavaScript to perform validation before allowing the Server-Side click to be performed. The problem is that while using the designer I have no problems. All functions work and navigation is perfect. Once installed on the client's IIS Server the Server-Side code is seemingly only triggered when the JavaScript validation is not performed. Once the JavaScript validation displays an error message resulting from an invalid entry the Server-Side code for the form no longer works and the browser must be closed. Any ideas????
-
I have two ASP.NET Server Side buttons that perform action on both the Server and Client side. Here is the break down of code placement: 1. Server-Side Load: Contains an Add Attribute for a JavaScript event to be fired for onClick(). 2. Server-Side Click for buttons: Navigates the user to a different form state by resetting visibility of panels on the form. 3. JavaScript to perform validation before allowing the Server-Side click to be performed. The problem is that while using the designer I have no problems. All functions work and navigation is perfect. Once installed on the client's IIS Server the Server-Side code is seemingly only triggered when the JavaScript validation is not performed. Once the JavaScript validation displays an error message resulting from an invalid entry the Server-Side code for the form no longer works and the browser must be closed. Any ideas????
what kind of validation are you doing on the client side? ~Javier Lozano
-
what kind of validation are you doing on the client side? ~Javier Lozano
I have two client-side radio button lists that are interact with one another and are required to submit the form. When a condition is not met a JavaScript alert box is displayed with a message. When the OK button is clicked the server-side methods no longer run. No server-side code works after this point. I am not seeing this problem in the IDE on my workstation, but it does appear on the IIS server so that is what concerns me.