protected void btnGetDetails_Click(object sender, EventArgs e) { //to check server side validation if javascript is disabled Page.Validate(); if (Page.IsValid == true) { gvEmployeeAttendance.DataSource = empAttendanceService.GetEmployeeAttendanceByDate(employeeID, fromDate, toDate); gvEmployeeAttendance.DataBind(); }
<asp:Button ID="btnGetDetails" runat="server" ForeColor="Blue" Text="Get Details" OnClick="btnGetDetails_Click" ValidationGroup="FilterAttendance" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)