ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
MultiLookup Custom Saving to DB
Title:
B
I
{code}
?
Let me start off by saying I love what you have done here. I have been looking for some modern looking MVC controls and these hit it dead on. After selecting items in the popup and clicking OK, how can I bind to that action and do my own saving in the database?
Save Changes
Cancel
rsnider19
asked at 13 Feb 2014
not really sure what you're asking, but usually you have the multilookup in a form and you click the submit button after you hit the post action where you save to Db, same as using a textbox
at 13 Feb 2014
Omu
I have my application setup to do all ajax updates when a field is changed, so the user never clicks the submit button.
at 13 Feb 2014
rsnider19
you can bind to the change event, having a lookup Html.Awe().Lookup("Foo") you do $('#Foo').change(function(){ alert($(this).val()); });
at 13 Feb 2014
Omu
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