NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: olu on April 30, 2009, 12:08:24 PM
-
is there a way to have records in a browse tagged or marked and apply filter to only show the tagged items ?
-
sure.
There's an example called "tagging" you might want to look at.
Cheers
Bruce
-
ok using the tag example i was able to get it to work(almost), my only problem now is deleting the session entry after i close down my filtered browse because i do not want to keep this information so where do i put my delete code?
-
I would add the code at Procedure Setup, that is before and not after.
Then you begin your browse always untaged.
Hope it helps.
Alberto
-
Hi Olu,
One option you have is to delete the entries as soon as they are used. In your case that's probably not helpful, as you may want to use them for more than 1 browse view.
On the other hand there is no guarenteed way of knowing the user has finished with the browse. They may just close their browser, or type something into the address bar - in the web there's no guarenteed "close'.
So the best place is in the DeleteSession method (webServer). When a session is automatically deleted then this related session information can be deleted as well.
Of course you can add the code to a button or something as well if you want the user to be able to "clear the tagging" anytime they like.
Cheers
Bruce
-
just a quick question where do i change the clour of hyperlink strings?