NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: olu on April 30, 2009, 12:08:24 PM

Title: tag record to be filtered
Post 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 ?
Title: Re: tag record to be filtered
Post by: Bruce on May 01, 2009, 12:31:14 AM
sure.
There's an example called "tagging" you might want to look at.

Cheers
Bruce
Title: Re: tag record to be filtered
Post by: olu on May 01, 2009, 04:22:04 AM
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?
Title: Re: tag record to be filtered
Post by: Alberto on May 01, 2009, 04:46:01 AM
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
Title: Re: tag record to be filtered
Post by: Bruce on May 01, 2009, 06:46:03 AM
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

Title: Re: tag record to be filtered
Post by: olu on May 01, 2009, 07:52:45 AM
just a quick question where do i change the clour of hyperlink strings?