Jump to content

Can we write CSS or script at design time for a component where ClientEvents is not available?


BantuKumar

Recommended Posts

Hi

 

First add "uniGUIJSInterface" to uses. Then write this code on form's create.

(UniToolBar1 as IUniJSInterface).JSConfig('cls', ['mycss']);

This add a css class named mycss to UniToolBar (or any component you want).

 

Then go servermodule and add your custom css into CustomCSS properties. (It has to be same name with added css class)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...