1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Turn off output caching for a widget

Turn off output caching for a widget

1 posts, 0 answered
  1. Curt
    Curt avatar
    0 posts
    Registered:
    20 Jul 2017
    20 Jul
    Link to this post

    I'm wondering if there is a way to turn off output caching for specific  custom widgets.. or pages that they are on.  Does anyone know of a way to do this?  

    I do know about the substitution control; from my understanding it just will insert updated html/text where the control is regardless if output caching is happening.  Even with that being the case, I don't think it is complex enough to insert a whole user control?

    Currently I have a bunch of forms that are custom widgets.  I have some logic to hide and show panels based on a user being logged in or not on page load.  Output caching makes it so Page_Load doesn't always fire.  I need a way for Server functions to always be fired regardless of output caching and then being able to change the visibility of asp controls. (I would rather not go to every single page and turn off Output caching in the page options.. if avoidable).

    Any help would be greatly appreciated!

    Curt

     

     

1 posts, 0 answered