Order of snaps - How to make sure its the same EVERY time

This post has 4 replies

thornton@nextus.dk Posted: Sat Dec 3, 2005 @ 9:28 PM
Hello.

Im trying to control 7 snaps i a single container, so that they always list in the same order as i want them to.

But 50% of the time the order is hopeless. I have set Index=1 ,2 ,3 and so on, without any "holes" in the numbering. I have disabled, at least tried to disable, clientside cookies. With ClientSideCookieEnabled="false" in the aspx and ClientSideCookieEnabled = False in Page_Load.

But still, 50% of the time when the page loads the order of the snaps is wrong.

Could someone please tell me how to make sure the order is always the same ?

Regards
Peter Thornton
Top 10 Contributor
Posts: 6,424
hwan Posted: Mon Dec 12, 2005 @ 1:03 PM
Two things -- are you using CurrentDockingIndex to set/store the order? And please note that 0 is the first available index, not 1.
Not Ranked
Posts: 3
gurubhaskar Posted: Wed Jun 16, 2010 @ 3:14 AM
Why are the home page panels not staying in the location set by the user in between sessions?
Not Ranked
Posts: 3
gurubhaskar Posted: Wed Jun 16, 2010 @ 3:19 AM

I am trying to maintain panels position on master page for multilple session levels. buy panels position are changed. These are dynamically generated.

Not Ranked
Posts: 3
gurubhaskar Posted: Wed Jun 16, 2010 @ 3:21 AM

Below is the code for dynamically generated snap control on Master Page.

ComponentArt.Web.UI.

Snap oSnapPrcoWide = new ComponentArt.Web.UI.Snap();
oSnapPrcoWide.CurrentDockingIndex = 3;
oSnapPrcoWide.ClientSideCookieEnabled = true;

Page 1 of 1 (5 items)