We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CurrencyTextBox : how to make the buttons Inc/Dec visible = false;

Thread ID:

Created:

Updated:

Platform:

Replies:

71335 Jan 28,2008 09:54 AM UTC Jan 29,2008 01:54 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Faleh
Asked On January 28, 2008 09:54 AM UTC

HI
I need to put (visible = false;) to the buttons (Increment / Decrement) of a CurrencyTextBox.

is there a way ? please ! (may be by JavaScript)

thanks Sync!


Yavanaarasi G [Syncfusion]
Replied On January 29, 2008 01:54 PM UTC

Hi Faleh,

Sorry for the delay in responding.

I need to put (visible = false;) to the buttons (Increment / Decrement) of a CurrencyTextBox.is there a way?

It is not possible to disable the (Increment / Decrement) buttons of a currency textbox. But with the help of the following code snippet you can prevent user from incrementing or decrementing.



[Java script]
function GetDetails( sCapt, oData )

{

var sRes = "" ;

var sText = "";

sRes = sCapt ;

sRes = oData ["ID"];

sRes = sRes.substring(0,(sRes.length-1));

sRes = sRes + ":\t" + sCapt + " Event is fired.\n";

sRes =sRes+ "ID"+"\t\t"+":" +oData ["ID"]+"\n";

sRes =sRes+ "Text"+"\t\t"+":" +oData ["Text"]+"\n";

return sRes;

}


Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Tools.Web/6.1.0.34/71335/main.htm

Please let me if you have any concerns.

Regards,
Yavana.G




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;