ImmediateCount number of clicks to a particular page

Posted by Sina under ASP.NET on 7/5/2012 | Points: 10 | Views : 1009 | Status : [Member] | Replies : 1
Hi guys i need a solution to my problem which is like this:
I have a gridview in Page1 inside which i have a linkbutton which is databound. On clicking the linkbutton the page redirects to the corresponding detail page. I want to count the number of clicks on the particular linkbutton and store it in db and display in the Page1 itself.

Hope i am clear. Kindly help me. Thanks in advance.



Posted by: Anu.Malik on: 7/5/2012 [Member] Starter | Points: 25

You can Use Viewstate For maintain Count of click and every click increment this viewstate value.

Thanks & Regards ,
Anu Malik

Sina, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response