Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > NumericTextBox > How to display negative value with in ()

Not answered How to display negative value with in ()

Feed from this thread
  • Ajeesh avatar

    Posted on Jan 16, 2012 (permalink)

    hi
    Using NumericTextBox how to diaplay value with in bracket   ex:  -45=(45)

    Reply

  • Georgi Krustev Georgi Krustev admin's avatar

    Posted on Jan 16, 2012 (permalink)

    Hello,

     
    You will need to wire the OnLoad event of the NumericTextBox and set the format:

    function onLoad() {
        $(this).data("tTextBox").numFormat = "#;(#)"
    }

    All the best,
    Georgi Krustev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now

    Reply

  • Ajeesh avatar

    Posted on Jan 25, 2012 (permalink)

    Hi Georgi Krustev

    I need the numeric text box in a grid to be display like -45=(45).i am have a partial class and in that i have the numeric text box and using UIHint i added this into my grid

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > NumericTextBox > How to display negative value with in ()
Related resources for "How to display negative value with in ()"

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