Widgets can embed related javascript assets using the CClientScript class, but is there a way to add a css asset in a similar way?
Widgets can embed related javascript assets using the CClientScript class, but is there a way to add a css asset in a similar way?
CClientScript has support for CSS as well. Please check the API.
Oops, sorry! I'm usually good with that. Just missed it completely.