Hi
I have below code & when user hovers on Name i want in popup it should display more information like this. Code is in code-behind
htmlTable.Append("" + Utility.GetOrdinalNo(Convert.ToInt32(colum.Segment)) + " ");
htmlTable.Append("" + Convert.ToDateTime(colum.SessionDate).ToString("dd-MM-yyyy") + " ");
htmlTable.Append("" + colum.UserDetail.Name + " ");
Father Name - aaa
Mother Name - bbb
Age - 20
Thanks
Ramco RamcoPosted Apr 1, 2023, 7:03 AM
Hi Tuhin
My issue is when it hovers then i want to this process & the list returned i want to display in ToolTip
Thanks
Tuhin PaulPosted Apr 1, 2023, 6:57 AM
My css code creates a pseudo-element (":after") that displays the tooltip text when the user hovers over the "td" element.
Tuhin PaulPosted Apr 1, 2023, 6:57 AM
You can also Add CSS styles to create the appearance of the tooltip
Tuhin PaulPosted Apr 1, 2023, 6:55 AM
I've added a "title" attribute to the "td" tag that contains the name of the user. The value of the "title" attribute is a string that contains the additional information about the user (father name, mother name, and age) separated by line breaks ("
"). When the user hovers over the name, the browser will display a tooltip with the additional information.