Missing FIELD.PropertyName : FldNumDigits

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
jack2lombre
User
Posts: 7

Missing FIELD.PropertyName : FldNumDigits

Post by jack2lombre »

Hello

I found in ASP.NET Maker 12 help the following text :

FIELD Object
The FIELD Object points to the current field. You can access the current field properties by FIELD.PropertyName.

I found this property :
FldNumDigits : Field number of digits after decimal : Integer

But when i try to use this property in my project, it is unknown. As the code wasn't generated.
Some others are well implemented (as .CurrentValue .FldName .FldTagValues ...)
Did i miss something ? Ot is it not implemented in asp.net maker v12 ?

Best regards.


vincenthung
User
Posts: 88

Post by vincenthung »

If you are creating your custom template, you can reference it with <!--##=Object.Property##-->.

Read help file topic: Customizing Template.

But cField Object do not have this property, so you cannot referencing it in "Server Events and Client Scripts"

You can reference to the generated file under <applicaiton root>/App_Code/AspNetMaker12<application name>dll/aspxfn12.cs and search for "class cField" to get more information about the cField object
(You need to disable the "Compile" option in [Tools] -> [Advanced Settings] to generate the aspxfn12.cs)


Post Reply