Persist a controls view state in masterpage
-
I have a treeview in my master page which is populated from database and its items (nodes) depends on the logged in user. How can I minimize the database hits that may happen on page navigation. I believe caching is the solution for that. Will fragment caching help in minimizing the treeview binding since it is different from user to user? Is there a way to persist the value of the control between page redirections?
-
I have a treeview in my master page which is populated from database and its items (nodes) depends on the logged in user. How can I minimize the database hits that may happen on page navigation. I believe caching is the solution for that. Will fragment caching help in minimizing the treeview binding since it is different from user to user? Is there a way to persist the value of the control between page redirections?