Hi I am making a forum , i need help regarding making like dislike button as we see in this site to every reply.
Is there any chance that i can get some code or and idea about how to design those like dislike mechanism. I have tried this but didnt got success. so
please guide me on this. This will be a gr8 help from the experts.
Thanks in Advance....


Khargesh RajputRank #616 · 3.9K reputationPosted Dec 25, 2014, 12:01 AM EST
{
//increment by 1 in database count for your variable for logged in user
BtnLike.Enabled = false; btnDislike.Enabled = true;
}
protected void btnDislike_Click(object sender, EventArgs e)
{ // decrement by 1 in database count for your variable
BtnLike.Enabled = true ; btnDislike.Enabled = false ;
}
Khargesh RajputRank #616 · 3.9K reputationPosted Dec 25, 2014, 1:24 AM EST
Kedar Pawgi135 reputationPosted Dec 25, 2014, 1:21 AM EST