Hi all,
I have one SQL table where I have all the data to load in RadMenu. All Items, links and design definitions.
I can create all items programmatically into RadMenu but after I want to change the background image for each item based on the definition that I have in database. I know that we have this definition in skin css but I want to ignore the skin and I want to load the style programatically. For example:
For item 1 I want a background with image 1
For item 2 I want a background with image 2
As well
For Item 1 I want a rollover image with image 3
For Item 2 I want a rollover image with image 4
And
For Item 1 I want left image with image 5
For Item 2 I want left image with image 6
How I can do this programmatically?
Regards,
Daniel
I have one SQL table where I have all the data to load in RadMenu. All Items, links and design definitions.
I can create all items programmatically into RadMenu but after I want to change the background image for each item based on the definition that I have in database. I know that we have this definition in skin css but I want to ignore the skin and I want to load the style programatically. For example:
For item 1 I want a background with image 1
For item 2 I want a background with image 2
As well
For Item 1 I want a rollover image with image 3
For Item 2 I want a rollover image with image 4
And
For Item 1 I want left image with image 5
For Item 2 I want left image with image 6
How I can do this programmatically?
Regards,
Daniel