Can't refresh Menu control

O

Osamede.Zhang

I writed a sqlserverProvider for Menu webcontrol,
but why the menu don't refresh
when i update sitemap table stored in database.
there are no data cached and
cache.count=0
What happend?
how should I do to refresh munu if the data in sitemap table changed.
 
J

Julian Mack

You can use a SQL cache dependency to check when the table is updated.

I have found a couple of good articles about this. SQL Server 2005 is
best as you can specify a refresh when the results of a query change,
rather than just the contents of an entire table.

http://www.devx.com/dotnet/Article/32223/1954?pf=true seems to cover
most of points. It enabled me to get a working dependency set up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top