Click here to Skip to main content
15,910,787 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Instead of #=strBillAmount#, i want to pass product to EIMVCNumeric().

#=strBillAmount# ---> string datatype
product ---> 1000.00(Amount)

What I have tried:

function productDetails(product) {

var NumericControl = "@Html.EIMVCNumeric("txtdecPaidAmount","#=strBillAmount#", "Enter the Number", null, null, true, false, 14, 2, "text-align:right;vertical-align:middle;")"

}
Posted
Comments
Sergey Alexandrovich Kryukov 28-Jun-16 11:26am    
What exactly do you want to access and why? What's the problem?
—SA
Sathish km 29-Jun-16 0:22am    
i hav to pass "product" Instead of #=strBillAmount# inside of @Html.Numeric()

strBillAmount --- > Model property
@Html.Numeric()---> Our Custom control
Sergey Alexandrovich Kryukov 29-Jun-16 2:53am    
Not clear at all.
—SA
Sathish km 29-Jun-16 3:02am    
ok. leave it
Sergey Alexandrovich Kryukov 29-Jun-16 3:18am    
Okay, but you have very little change to get any help at all. I cannot see how your post may make any sense; and you are not really explaining it, — sorry.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900