Is it possible to get hold of the StyleSetName for a control from JavaScript?
I am changing icons from clientside code and need to be able to take account of the theme (i.e. StyleSetName) when specifying the path to the icons.
Thanks.
Hello Alistair,
Thank you for contacting Infragistics!
Please let me know of which control and at which event you would like to change the icon. If you have any questions, please let me know as well.
There are two places:
(1) WebHierarchicalDataGrid, in the clientside DataFiltered event, I want to change the icon on the FilterButton.
(2) WebHierarchicalDataGrid custom pager, in the clientside PageIndexChanged event, I want to substitute different icons for "First page", "Last page" etc, depending on whether they are appropriate or not.
The path to the icons that I want to use will depend on the theme that has been configured, hence I'd like to access the StyleSetName.