i’m trying to create textBox tooltip control using http://www.opentip.org/ library.
the control is working but I’ve 2 problems.
1. i’m having problem while try rendering the tooltip value – _applyValue js method not firing.
2.in design mode i have an error : ‘no such property wrap’
thanks for help!
project link : https://ufile.io/myrws
you right, its working when the app has been loaded for the first time , but when i’m pressing F5 and reload the app just last ToolTip appears to have a value.
I’ve add just one more TextBox to the attached sample and set different ToolTip for each TextBox.
As i mentioned, after F5 and reloading its seems not to be working..
thanks again for your kind help.
I’ve checked your fixes and they are work just fine for one control.
There is a new problem when i’m adding more then one control.in that case just the last control that renders gets the tooltip value
Thanks for you help again
Hi Orel, see attached.
thank you very much for your great answer!
I’ve tried your solution and its works.
I’ve used the ToolTip class that you attached and used the wisej js source code.
right now I’ve succeeded make it work only for the first app running.
when i press F5 and the app is reloading the _applyOpenTipValue method is called before the screen is done rendering and i’m getting an error..
how i can solve this problem?
Thanks you again!
Hi Orel, here are the issues (easy to fix):
I would remove the IWisejControl interface from the class definition and remove the AppearanceKey change. Change the name of “_applyValue” to “_applyOpenTipValue” to avoid conflicts. Remove Multiline=true to see your extension work (it works).
Another problem is that if you want to add the opentip everywhere you can’t override all wisej controls. It should be done as an extender, so you can drop it on the container and it works for all controls. You can find the js source code using the link above, look for wisej.web.extender.ToolTip.js.
I have attached the C# source code of the ToolTip extender implementation in Wisej that you can use as a reference.
Please login first to submit.