This is a migrated thread and some comments may be shown as answers.

[Solved] How to display negative value with in ()

2 Answers 86 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ajeesh
Top achievements
Rank 1
Ajeesh asked on 16 Jan 2012, 08:40 AM
hi
Using NumericTextBox how to diaplay value with in bracket   ex:  -45=(45)

2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 16 Jan 2012, 10:02 AM
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
0
Ajeesh
Top achievements
Rank 1
answered on 25 Jan 2012, 08:29 AM
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
Tags
NumericTextBox
Asked by
Ajeesh
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Ajeesh
Top achievements
Rank 1
Share this question
or