I'm dynamically inserting items into the WebExplorerBar, with an image url. Does anyone know of a way to change the width and height of the image? Or would I have to use a template to accomplish this?
Thanks
HI there
For me , i usually change the width and height of the image using an image tool.There are many third party program which supports to do that.
And most of the program offer a free trial package.You can have a try.Hope to help you.
I could get this to work with the slider, but not the WebExplorerBar. There is no equivalent event, and "style" doesn't seem to be an available property.
However, I did get it to work properly by resizing the actual image files, which is probably the preferred method anyway.
Thanks for your help, and the quick reply.
Hello Scott,
Normally if you are inserting only the URL’s of the images, the images themselves will be loaded in the control with the same size with which they are saved on your data storage.
If the images are created as 32px x 32px or 64px x 64px – this is the way that they will be displayed in explorer bar.
If you want to resize the images you can use Client or Server-Side resize algorithm to scale them as needed.
A simple scaling algorithm (Client-Side) is shown here - http://samples.infragistics.com/aspnet/Samples/WebSlider/Navigation/ImagesResize/Default.aspx?cn=slider&sid=5b5afb5c-7fa8-4289-91aa-203df3dff1c7
Let me know if you have additional questions or you have different scenario.