Custom Edit Tag Before Save (Insert,Update)

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

Custom Edit Tag Before Save (Insert,Update)

Post by shahabksh »

hi
i use Custom Edit Tag and reform datetime ! it's sample

i use
@{
//code to convert to my datetime format
@_result
}

<input type="text" class="form-control" value="@_result" id="{{{id}}}" />
this is currect to display datetime on my format

but How to change(unformat) information before saving


motfs
User
Posts: 258

Post by motfs »

shahabksh wrote:
but How to change(unformat) information before saving

Try to use Row_Inserting (Add record) or Row_Updating (Update record) server event to change the format. Read Server Events and Client Scripts in the help file for more detail.


Post Reply