Q: Windows Custom Control - How to do Client caching on ASP.NET page ?

S

Simon Prince

Hi

I have created a .NET "Windows Custom Control" which is used an ASPX Web
Form.

It is referenced with the code, from a ASPX page.

**************************************************
<object id="myComponent"
classid="http:[assembly URL]#[full class name]"
height="value" width="value">
</object>
***************************************************

The control uses a DataGrid control, plus several labels, buttons and
textboxes.
The datagrid is initially loaded empty, and no data is retreived until the
users input values into the textboxes and hit a button.

All is working well, however I would like to speed up just the intial
loading of basic control.
I am not interesting in caching the data the grid will read as it is a vast
data table, and the user is only returning small portions of it for display
only.

We use a WAN to access an ASPX page with these controls, but they are slow
to load over the WAN connection.

So, my questions is...

Can the client PC be set to Cache this control, and to automatically
download it again if revisions are made to the source control.

With ActiveX you used to have a CodeBase tag which pointed a .CAB file, and
a version reference. How is this done with .NET Custom controls?

Regards

Simon Prince
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top