Browse by Tags

Related Posts

  • Caching Question

    Dear all, I have written the method below, it's recursive. That's why I'm pretty curious about performance issue. How can I use caching with this one? 1 public static void PopulateMenuByParent(TreeNode n, int idParent, bool detail, TreeView tv) 2 { 3 using (SqlConnection con= new SqlConnection(WebConfigurationManager...
    Posted to State Management (Forum) by blackinwhite on 12-23-2006, 12:00 AM
    Filed under: TreeView, Caching
  • Re: TreeView does not show new datasource

    The issue is that the XmlDataSource control has caching enabled by default, which is why you always see the same row getting bound (unless you rebuild the app or restart the web server). Just modify the XmlDataSource code as follows, and it will work (new code in bold): XmlDataSource dataSource = new...
    Posted to Web Forms (Forum) by G Andrew Duthie on 10-03-2006, 12:00 AM
    Filed under: TreeView, ASP.NET 2.0, Caching, XmlDataSource
Page 1 of 1 (2 items)