151
rated 0 times
[
154]
[
3]
/ answers: 1 / hits: 68152
/ 14 Years ago, sun, october 3, 2010, 12:00:00
I can pass a variable from MVC ASP.NET by using this :
var lastCategoryId = '<%=Model.CS.LastSelectedCategory %>';
This work fine with string or integer but how do I do with an array of strings? I have tried to pass the array the same way but the variable is set to System.String[] ?
More From » asp.net-mvc