ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
change Icon for Multi/Lookup open Button
Title:
B
I
{code}
?
Is there an easy way to update the icon for each Lookup control ? I'd like to set an icon for each specific use of the lookup, ex. a user lookup would have a single user icon <i class="far fa-user"></i> while groups lookup would have a multi-user icon. <i class="far fa-users"></i> ... and so on ... I can see a way to to do it through css and the .class() control, but I'm hoping there's an easier way, thx.
Save Changes
Cancel
Stephan Luis
asked at 19 Nov 2018
the lookup open button has a `<span class="awe-icon awe-icon-win"></span>` inside it, you could use js to replace the content of the button with the `i` tag you mentioned
at 19 Nov 2018
Omu
that is set (hardcoded) in `Omu.AwesomeMvc.dll` so now you can only replace the content of the button after the page has loaded
at 19 Nov 2018
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK