I want to show the notification count above the icon for example i need to show no of files uploaded today, requests received etc and so on. (Like Facebook unread message).
regards
arun sahani
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted May 31, 2016, 3:34 AM EDT
- Create a table to store the records.
- When page loads, count the number of records (rows) in the table.
- Show that count in the document.
It depends on where you want to show, but typically, you show this data in the main layout instead of pages. If this is .NET Core, then you will be using a layout file, if that is a legacy framework such as Web Forms then you will be using a Master page.