Author: susanthi74 | Posted on: 12/9/2009 8:01:56 AM | Views : 240

Hai,
            I have a web user control called Test.ascx i am copy pasting my ascx and cs file code here. In the button click event validation controls are firing unnecessarily. Please suggest me where i am doing mistake..


My ascx file code:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="test.ascx.cs" Inherits="test" %> <%@ Register Assembly="AjaxControlToolkit, Version=1.0.20229.28812, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <script language="javascript" type="text/javascript"> function CalCulateDays() { var startdate=new Date(document.getElementById(" ...

Go to the complete details ...