O
Ollie
I am trying to use PartialCaching on a user control that has a image string
property, I want cache different versions of the user control by the image
string property but it fails to load the control when using the
'Page.LoadControl' method.
Pseudo code shown below:
[PartialCaching(60, null, "ImageURL", null)]
public class WizardIntro : System.Web.UI.WebControls.UserControl
{
protected System.Web.UI.WebControls.Image imWizardStage;
protected System.Web.UI.WebControls.Literal ltWizardText;
Public string ImageURL
{
get
{
return m_imageURL;
}
set
{
m_imageULR = value;
}
}
private void Page_Load(object sender, System.EventArgs e)
{
....
....
}
.....
.....
}
Anyone have any ideas?
Cheers
Ollie Riches
property, I want cache different versions of the user control by the image
string property but it fails to load the control when using the
'Page.LoadControl' method.
Pseudo code shown below:
[PartialCaching(60, null, "ImageURL", null)]
public class WizardIntro : System.Web.UI.WebControls.UserControl
{
protected System.Web.UI.WebControls.Image imWizardStage;
protected System.Web.UI.WebControls.Literal ltWizardText;
Public string ImageURL
{
get
{
return m_imageURL;
}
set
{
m_imageULR = value;
}
}
private void Page_Load(object sender, System.EventArgs e)
{
....
....
}
.....
.....
}
Anyone have any ideas?
Cheers
Ollie Riches