Rank: Member
Joined: 5/2/2004(UTC) Posts: 109
|
<SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB"> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB"><SPAN id=ctl00_MainContentHolder_ContentColumsControl1_ctl01_LPVTitle>Has someone an idea how a customer can clear the "Recently Viewed Items" list?<o:p></o:p>
<SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB"> <o:p></o:p>
<SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana">Thanks in advance!<o:p></o:p>
<SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"> <o:p></o:p>
<SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana">Ebijs.<o:p></o:p>
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Clear out your cookies, I'd imagine. |
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
You can add a new button to the \BVModules\ContentBlocks\Last Products Viewed\view.ascx controls and do: SessionManager.GetCookieString(WebAppSettings.LastProductsViewed) = String.Empty LoadProductGrid() In the handling of the button. Regards, Corneliu. |
|
|
|
|
Rank: Member
Joined: 5/2/2004(UTC) Posts: 109
|
<SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB">Cliff / Corneliu, Thanks for the reply's.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p> <SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB">I have tried to set the code behind a button. An error appears. See screen dump. Any ideas what went wrong?<o:p></o:p> <SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB"> <o:p></o:p> <SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB">Ebijs.<o:p></o:p> <SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB"> <o:p></o:p> Ebijs attached the following image(s): clear-Recently Viewed Items.jpg (23kb) downloaded 96 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Sorry, that should be: SessionManager.SetCookieString(WebAppSettings.LastProductsViewed, String.Empty) Regards, Corneliu. |
|
|
|
|
Rank: Member
Joined: 5/2/2004(UTC) Posts: 109
|
Corneliu, Thanks, almost there! I have to click twice to remove all the Recently Viewed Items from the list. Any idea how tot solve this one? Maybe you can take a look: http://www.licht-geluid....gory.aspx?categoryid=221Sijbe.
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Ebijs, Your list is cleared the first time but is still made visible. After the SetCookieString write: LoadProductGrid() Me.visible = false Regards, Corneliu. |
|
|
|
|
Rank: Member
Joined: 5/2/2004(UTC) Posts: 109
|
Thanks Corneliu, everything is working fine now.
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
|
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
I've also did a blog post on this for future reference: http://www.acorns.com.au/bv/blog/?p=67Regards, Corneliu. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.