No cache on User Control?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default No cache on User Control?

    My user control needs to update each time it's displayed but I can't find a
    way to either issue a directive so the user control info is not cached OR a
    way to cause the user control to be "refreshed" from within the containing
    page. Any suggestions greatly appreciated.

    Pat


    Pat Carden Guest

  2. Similar Questions and Discussions

    1. What if I want to LET USER CACHE videos streamed usingFMS3?
      For my new video website I want the users TO BE ABLE TO CACHE but at the same time I want them to have the benefit of jumping anywhere on the...
    2. user control problem access value from user control to a page
      Thanks a lot for paying attention to my problem , i tell u the problem i have a main form in which i gave a login label that points to a...
    3. Cache a user control based on a Property in the code behind.
      I have a user control that is placed on every page to provide a menu system, logout/login buttons etc. This contect varies in depending on the...
    4. Dynamically Adding User Control with Child User Control
      I have a user control that has a child user control. If I drag this onto the page, it appears and functions normally. If I attempt to add the...
    5. Know in user control page_load if an user control event is going to be fired
      Hi all, i have built a user control that shows a map and let the user zoom in, out, usual stuff. Putting this object in a webform the user can...
  3. #2

    Default Re: No cache on User Control?

    ??? - There might be something wrong with your code. Every time your UserControl is to be displayed, the Page_Load member function of your UserControl is called. You can do whatever you please within this function to change the display and contents of your UserControl.

    HTH,
    Axel Dahmen

    ------------------------
    "Pat Carden" <pat@stitchamerica.com> schrieb im Newsbeitrag news:OFt9cv3QDHA.3700@tk2msftngp13.phx.gbl...
    > My user control needs to update each time it's displayed but I can't find a
    > way to either issue a directive so the user control info is not cached OR a
    > way to cause the user control to be "refreshed" from within the containing
    > page. Any suggestions greatly appreciated.
    >
    > Pat
    >
    >
    Axel Dahmen Guest

  4. #3

    Default Re: No cache on User Control?

    I am not sure what exactly you want to refresh so my "two cents" might
    be worthles... but I have written a User Control that displays UI that
    has been genereated out of an XSLT stylesheet (I wrote the html in
    XSLT syntax. In any case, I update the UI of this control by passing
    parameters to the XSLT stylesheet - and then re-transform it....

    you might want to try that..
    anastasia Guest

  5. #4

    Default Re: No cache on User Control?

    Need more input, Johnny 5

    "Pat Carden" <pat@stitchamerica.com> wrote in message
    news:OFt9cv3QDHA.3700@tk2msftngp13.phx.gbl...
    > My user control needs to update each time it's displayed but I can't find
    a
    > way to either issue a directive so the user control info is not cached OR
    a
    > way to cause the user control to be "refreshed" from within the containing
    > page. Any suggestions greatly appreciated.
    >
    > Pat
    >
    >

    David Waz... Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139