Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
945
Refreshing grid in Update Panel not working......
posted

Hello,

I have 1 datepicker, a button and a WHDG on a page. the WHDG is behind a Update Panel. When i do a search, the grid displays the data as expected. When i go to another date, the grid doesn't refresh. I have debugged the function and i can see that the correct data is coming back from the server into th WHDG datasource but for some reason it isn't rebinding the data when instructed.

The function looks like this:

public void search(Object sender, EventArgs e)
{

     using (XMLDataSource xmlDataSource = new XMLDataSource())
     {
            xmldataSource.XPath = @"/List/User";
            xmldataSource.EnabledCaching = false;
            xmldataSource.Data = GetCases(WebDateStart.Text);
            whdg1.DataSource = xmlDataSource;
            whdg1.DataBind();
     }
}

what i'm expecting is to use this as a report where the users can drill down to a certain level and then change dates and redisplay the current structure with new data in the child records.

Parents Reply Children
No Data