DatePickerControl dont show Button Image

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/21/2010 9:37:39 AM
Gravatar
Total Posts 108
Community Expert

DatePickerControl dont show Button Image

Hi I have this markup for use de DatePicker control

<mp:DatePickerControl ID="dpcFfin" ButtonImageUrl="./Data/SiteImages/Calendar.Icon.bmp" runat="server" CssClass="forminput" />

Going throw the code for the DatePickerControl in the set definition of the ButtonImageUrl the value is right placed using this line picker.ButtonImageUrl = value;

But when the control is finally render there was no image.

9/21/2010 9:55:36 AM
Gravatar
Total Posts 18439

Re: DatePickerControl dont show Button Image

That feature is not currently implemented for our jQuery date picker which is used by default, it was used in the jsCalendar Date picker we used previously.

I've put a ticket in my project tracker to remind me to implement it when I get a chance.

But, be advised you cannot use .bmp files on the web it will not work except maybe in IE on windows so no-one uses .bmp files on the web

also note that the correct way to set the path is not like ./somepattoanimage.png but ~/somepathtoanimage.png, ~/ means the root of the site, ./ means go up one folder from here, it is not reliable.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.