How to use enum values in jsrender -


i want assign enum value in jsrender. please refer below example:

public enum test{ male,female}  <div onclick="selectsex({{:@(int)test.male}})> 

in above case number 1 should pass. please me resolve this. in advance.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -