ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Two .Parent attribute with same alias name
Title:
B
I
{code}
?
Can we have two .Parent attribute with same .alias name in MVC grid . I am doing something like : - .Parent("ddlBusinessEntity", "FilterID") .Parent("ddlLineOfBusiness", "FilterID") .Columns( new Column { Bind = "ProductID", Groupable = false, Resizable = false, Header = "Id", Hidden = true }, new Column { Bind = "Name" }, new Column { Bind = "Name_OL1", Hidden = (numberOfLanguageSupported < 2) }, the controller method is taking only first .Parent attribute as parameter in controller method but not second one, pls suggest help
Save Changes
Cancel
Tanuj Shrivastava
asked at 17 Jun 2016
well in the controller FilterID needs to be a collection type; so instead of string FilterID use string[] FilterID
at 17 Jun 2016
Omu
Thanks a lot once again... !!
at 17 Jun 2016
Tanuj Shrivastava
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK