Alter Tooltip property of TableRow in UserControl
-
Hi everybody! I have a UserControl and all it's functionality is placed in an assembly (DLL). The UserControl generates a form with a number of TableRows containing a title, a input field and some other information. My problem is that every TableRow has a Tooltip set, and I don't want to show this. How on earth can I access the TableRow in the UserControl from the main-page's Page_Load and disable the Tooltip? My wish it that i somehow can access all the Tables TableRow's and disable them in a loop (like foreach (TableRow t in Table-placed-in-DLL-and-placed-in-usercontrol)...). Is it possible? Or do I have to solve this with javascript (hope not)? Thank you! pahlsson
-
Hi everybody! I have a UserControl and all it's functionality is placed in an assembly (DLL). The UserControl generates a form with a number of TableRows containing a title, a input field and some other information. My problem is that every TableRow has a Tooltip set, and I don't want to show this. How on earth can I access the TableRow in the UserControl from the main-page's Page_Load and disable the Tooltip? My wish it that i somehow can access all the Tables TableRow's and disable them in a loop (like foreach (TableRow t in Table-placed-in-DLL-and-placed-in-usercontrol)...). Is it possible? Or do I have to solve this with javascript (hope not)? Thank you! pahlsson
If you have developed the user control then provide a public property to disable/enable tooltip by using a for each loop that loops through all tablerows and assigns a blank string If you didn't develop, see whether the table is exposed as a property and manipulate it using server side code