Hi
I have a hidden field declared in my MVC view as follows:
and i try to access it in my controller using following code:Code:@(X.Hidden().ID("hdn").Value(22))
but when I try to get is value using hdn.Value it gives me undefined.Code:var hdn= this.GetCmp<Hidden>("hdn");
Any suggestion whats wrong or missng
Thanks