Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
How to count clicks on Grid View List in C#?
Old 11-06-2009, 05:28 AM How to count clicks on Grid View List in C#?
Experienced Talker

Posts: 31
Name: Rizwan Aaqil
Trades: 0
I was wondering how to count clicks on Grid View cell ?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
edesimusic is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-06-2009, 06:47 AM Re: How to count clicks on Grid View List in C#?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
The same two ways as you would with any other server side language.

Redirect through a "jump" page and count the numbers there.

Use "AJAX" and have an onclick event on the link that calls a serverside function.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-09-2009, 10:17 AM Re: How to count clicks on Grid View List in C#?
Experienced Talker

Posts: 31
Name: Rizwan Aaqil
Trades: 0
can u give me a link to any example like this on web please?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
edesimusic is offline
Reply With Quote
View Public Profile
 
Old 03-24-2010, 01:25 AM Re: How to count clicks on Grid View List in C#?
Average Talker

Posts: 26
Name: Chris
Trades: 0
First you are not giving the code in which you have to error please give it. Yeah I have one code for it please try it...

if(e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes["onClick"] = "location.href='view.aspx?id=" + DataBinder.Eval(e.Row.DataItem, "id") + "'";
}
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
chris.klinton is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to count clicks on Grid View List in C#?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12915 seconds with 12 queries