473,396 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

User Control Cache

A.M
Hi,

I underestand that I can change a user-control's cache parameters and
timeout by attributes like this:

<%@ OutputCache Duration="60" VaryByParam="none" %>

Is it possible to define Cache parameters inside the c# code ? (during
runtime rather than design time)

Thanks,
Alan
Nov 18 '05 #1
4 1356
you can use Cache.Add and configure the respective values.

Av.
"A.M" <IH*******@sapm123.com> wrote in message
news:uA*************@TK2MSFTNGP12.phx.gbl...
Hi,

I underestand that I can change a user-control's cache parameters and
timeout by attributes like this:

<%@ OutputCache Duration="60" VaryByParam="none" %>

Is it possible to define Cache parameters inside the c# code ? (during
runtime rather than design time)

Thanks,
Alan

Nov 18 '05 #2
A.M
My question is about page cache and fragmented page caching. I don't think
it has anything to do with Cache object!
"avnrao" <av*@newsgroups.com> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
you can use Cache.Add and configure the respective values.

Av.
"A.M" <IH*******@sapm123.com> wrote in message
news:uA*************@TK2MSFTNGP12.phx.gbl...
Hi,

I underestand that I can change a user-control's cache parameters and
timeout by attributes like this:

<%@ OutputCache Duration="60" VaryByParam="none" %>

Is it possible to define Cache parameters inside the c# code ? (during
runtime rather than design time)

Thanks,
Alan


Nov 18 '05 #3
Hi Allan,

I'm viewing the thread and find there is another new thread on the same
question in the queue which is titled as
Newsgroups: microsoft.public.dotnet.framework.aspnet

Subject:: Fragmented Cache

I've posted a reply regarding on this problem. I'd appreciate if you have a
look there. Also, if you feel it convenient that we continue to discuss in
that one, please feel free to followup there. Thanks.
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4
A.M
I will follow it there.

Thank you.

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:CA**************@cpmsftngxa10.phx.gbl...
Hi Allan,

I'm viewing the thread and find there is another new thread on the same
question in the queue which is titled as
Newsgroups: microsoft.public.dotnet.framework.aspnet

Subject:: Fragmented Cache

I've posted a reply regarding on this problem. I'd appreciate if you have a look there. Also, if you feel it convenient that we continue to discuss in
that one, please feel free to followup there. Thanks.
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jeff Schaefer | last post by:
What I want to know is this: Is it possible to programmatically manipulate a custom property of a user control for which <%@ OutputCache ... > has been included? If so, then how? My brief code is...
4
by: Guadala Harry | last post by:
Is there any way for one Session to remove and update objects in another Session? I seriously doubt it, but thought I'd ask. Here's why: I have some data that is unique per user (or per session -...
2
by: Edward Chung | last post by:
I create a user control that is used as a page header for all application's pages. The user control contains a HyperLink control named accountHyperlink whose text can either set to...
7
by: Smithers | last post by:
I have a non trivial ASP.NET Web application that implements its navigation system via a user control (menu.ascx) placed on every page. It is important to note that the user control that hosts...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
Here is a user control on the page, how do I cache it by user? Currently I think we could put a server control for example ID:textusername in the asp.net page whose value is username, so we can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.