Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Slider > Problems with tooltip.Format decimal formatting?

Not answered Problems with tooltip.Format decimal formatting?

Feed from this thread
  • Stewart avatar

    Posted on Jul 12, 2011 (permalink)


    This feels like a bug, even if it is the intended behavior:

    Fine:
            .Tooltip(tooltip => tooltip.Format("format here: {0:C}"))   => "Format here: $512,640.00"

    But I'd like the value (an int) to display without the decimal. So:

    Bug?
            .Tooltip(tooltip => tooltip.Format("format here: {0:C0}"))   => "Format here: C512640"

    Bug?
            .Tooltip(tooltip => tooltip.Format("format here: {0:C1}"))   => "Format here: 512640"

    Bug?
            .Tooltip(tooltip => tooltip.Format("format here: {0:C2}"))   => "Format here: 512640"

    Thanks!

    Reply

  • Hristo Germanov Hristo Germanov admin's avatar

    Posted on Jul 14, 2011 (permalink)

    Hi Stewart,

    Unfortunately, this format is not supported, but you can try with custom numeric format string.

    Best wishes,
    Hristo Germanov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

  • Posted on May 28, 2012 (permalink)

    How can i localize decimal separator based on current ui culture?

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Slider > Problems with tooltip.Format decimal formatting?
Related resources for "Problems with tooltip.Format decimal formatting?"

ASP.NET MVC Slider Features  |  Documentation  |  Demos  |  Telerik TV ]