Hi ca8msm, thanks for your reply.
the item in question is a column within a datagrid, if I use FindControl, it will be messy getting a handle on ALL the items on the datagrid that I need to reformat.
Maybe if I use the datagrid.ItemDataBound event, but I imagine it's no prettier than using the...
Hi all,
I have a datagrid like this:
----------------------------------------------------
<asp:Datagrid id="datagrid" runat="server" width="100%">
<Columns>
<asp:TemplateColumn HeaderText="Date">
<ItemTemplate>
<asp:Label Runat="server" ID="lblDate"><%#...
I have since discovered what the problem was.
When I was doing a GetObject, it wasn't acually finding anything. I believe this is due to there being no entry in the Metabase.
As a result I changed my script to look like this:
Set vDir = GetObject("IIS://LocalHost/w3svc/1/root/images")
If...
I'm running IIS5.0 on Windows 2000, and have encountered a problem when trying to script changes to the content expiration setting on a sub-directory, within a virtual directory.
Basically, I have a website with an images directory, which I would like to cache for 28 days (only want to chahe...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.