How can i use sharepoint Currency Field control in my web page?
-
Friday, March 09, 2012 11:16 AMPlease let me know how i can use sharepoint Currency Field control in my web page and how to handle adding two Currency Field control values of same type.
Regards urvinit
All Replies
-
Friday, March 09, 2012 2:24 PMCurrency feels contains validations for currency and the "currency" will change according to the selected regional settings for the site.
Regards, Huzefa Mala, MCTS
-
Friday, March 09, 2012 2:58 PM
Could you tell what result you need?
Why you want to use Field control?
Thank you!
Bond... Brooke Bond!
- Edited by Aviw_ Friday, March 09, 2012 2:59 PM
-
Saturday, March 10, 2012 5:11 AM
I have created an application page and i have to use two controls of currency type where i can set currency type and decimal places as we can do when we create currency type column in any list. then i have to store the added value of both into a list.
I am using below line of code. but did not getting textbox to enter currency value.
<SharePoint:CurrencyField ID="currCapital" runat="server" ControlMode="New" DisableInputFieldLabel="false" HandleTextField="True"></SharePoint:CurrencyField>
Regards urvinit
-
Saturday, March 10, 2012 6:16 AM
Is your currency field bound to a sharepoint list. If not, wouldn't it be simpler to add a text box?
Else please provide binding information with sharepoint list and test.
Regards, Huzefa Mala, MCTS
-
Saturday, March 10, 2012 6:22 AM
I am using object model to insert data into list. but my main concern is that textbox to enter data is not visible.
Should i have to set some other attributes?
Regards urvinit
-
Saturday, March 10, 2012 6:27 AMPlease bind the currency control to your sharepoint list
Regards, Huzefa Mala, MCTS
-
Saturday, March 10, 2012 6:52 AM
In sharepoint list i have created currency control, but in my application page how can i use currency control. I am using below line in my application page but it is not working properly.
<SharePoint:CurrencyField ID="currCapital" runat="server" ControlMode="New" DisableInputFieldLabel="false" HandleTextField="True"></SharePoint:CurrencyField>
i have to insert data into list using application page.
Regards urvinit
-
Saturday, March 10, 2012 8:25 AMBut you said that you are adding data to a SharePoint list through object model and there is no list binding specified in your currency control
Regards, Huzefa Mala, MCTS
-
Saturday, March 10, 2012 8:37 AM
I have two currency control and 1 button in my application page. on click of button, programatically i have to insert the sum of both fields in a list.
but i am not able to fill value in currency controls.
Regards urvinit
-
Saturday, March 10, 2012 9:59 AM
The better way is to don't use currency field control (it is for another purposes).
Simply add controls you need (textboxes) and implement logic programmatically.
Bond... Brooke Bond!
- Marked As Answer by Shimin Huang Monday, March 19, 2012 2:06 AM

