Hello,
I have a listivew on a page.
I want to click on an item from the listview and open a modal window to edit the model item from the listview.
How do i query the for the model on the click and pass this to the modal?
Any ideas to get me started?
Dennis
Typically for such cases, you need to use a ajax call to a controller action that will return the modal content to render. You can use info from this wiki to achieve what you need.
thanks kartik. I got it working in a round about way. took way to long to sort out though;)
i will try to post a howto on it specifically later.
the only thing i could not get working was the .post. i had to use a get call instead.
thanks kartik. I got it working in a round about way. took way to long to sort out though;)
i will try to post a howto on it specifically later.
the only thing i could not get working was the .post. i had to use a get call instead.
Good - you may want to post your methods/learning.