How To Get Mouse Over Event To Link Button From Client Side?
I want to show some link buttons on a panel in Mouse over event.These buttons visibility will change according to the Logged user type.Please suggest me the way to get this. I want
Solution 1:
void onMouseOver(object sender, MouseOverEventargs e)
{
LinkButton btn = sender as LinkButton;
if(loggedinUser == Admin) btn.visibility = visible;
else btn.visibility == hidden;
}
Or if you want to change all buttons on panel mouse over get all the controls in the panel and do a foreachloop.. if(control is Linkbutton)..
Post a Comment for "How To Get Mouse Over Event To Link Button From Client Side?"