protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack && !Page.IsAsync)
            {
                string startTime = Request["From"];
                string endTime   = Request["To"];
                string hostname  = Request["HostName"];

                if (startTime != null && endTime != null)
                {
                    string[] start = startTime.Split(' ');
                    string[] end   = endTime.Split(' ');

                    FromDateFilter.Text = start[0];
                    ToDateFilter.Text   = end[0];
                    FromDateCalendarExtender.SelectedDate = DateTime.Parse(start[0]);
                    ToDateCalendarExtender.SelectedDate   = DateTime.Parse(end[0]);
                    FromTimeFilter.Text = start[1] + ".000";
                    ToTimeFilter.Text   = end[1] + ".000";
                    HostFilter.TrimText = hostname;
                    ApplicationLogGridView.SetDataSource();
                    ApplicationLogGridView.Refresh();
                }
            }
        }
 protected void SearchButton_Click(object sender, ImageClickEventArgs e)
 {
     if (Page.IsValid)
     {
         ApplicationLogGridView.Refresh();
     }
 }