How to programmatically set CustomStartIndex of CoverFlow?

1 reply. Last post: April 15, 2010 11:59 PM by Andi Santoso
Tags :
  • (None)
Yuan ZiMember

Hi all,

How to programmatically set CustomStartIndex of CoverFlow? I have already set

this.m_CoverFlow.StartUpPosition = ISNet.Silverlight.WebAqua.WebCoverFlowStartMode.Custom; this.m_CoverFlow.CustomStartIndex=3;

but it still doesn't take effect.

Any advice on this?

Many thanks,

Yuanzi

Answers

Hi Yuan Zi,

     You can simply set them directly from your WebCoverFlow. I have tried this on page load and it works just fine. Here is the snippet to do so:

protected void Page_Load(object sender, EventArgs e)
{
  WebCoverFlow1.StartUpPosition = ISNet.WebUI.Silverlight.WebAqua.WebCoverFlowStartMode.Custom;
  WebCoverFlow1.CustomStartIndex = 0;
}

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

All Replies

Hi Yuan Zi,

     You can simply set them directly from your WebCoverFlow. I have tried this on page load and it works just fine. Here is the snippet to do so:

protected void Page_Load(object sender, EventArgs e)
{
  WebCoverFlow1.StartUpPosition = ISNet.WebUI.Silverlight.WebAqua.WebCoverFlowStartMode.Custom;
  WebCoverFlow1.CustomStartIndex = 0;
}

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

All times are GMT -5. The time now is 12:56 PM.
Previous Next