My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 166: Model contents render outside of ASP.Net form tag
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  May 2009


 
Reported by jshall...@gmail.com, Feb 13, 2009
What steps will reproduce the problem?
1. Use model on an ASP.Net page
What is the expected output? What do you see instead?
Model to render inside the form tag so post data is submitted

What version of the product are you using? On what operating system?
1.3.1

Please provide any additional information below.
Every ASP.Net page has one form tag that surrounds the whole page. The
Nyromodal renders outside the form tag.  This breaks the ASP.Net postback
model.

To fix it we simply need a way to control where the nyromodal content
renders (within the page).

Apologies if this already exists and I overlooked it.

Feb 14, 2009
Project Member #1 nyro...@gmail.com
In the versio 1.4.1, you could use the blocker settings which will create the modal
in the element choosen. But the modal will cover only this element.
I'm pretty sure you could do somethimg to make this element cover the whole page.
Feb 14, 2009
#2 jshall...@gmail.com
Thank you for your feedback. As long as the model contents render in an element
*within* the form tag, then the post should work just fine. If we can choose the form
as the element (or a div tag just inside this), this should cover both the page, and
also post the data.

I will try using the blocker settings as suggested

Thanks
Feb 14, 2009
Project Member #3 nyro...@gmail.com
in the blocker setting, you could put what ever you want, as long as it's a selector
to only one element.
May 14, 2009
Project Member #4 nyro...@gmail.com
any news about this issue?
May 18, 2009
#5 chris.m....@gmail.com
Yes, the blocker setting worked for us. The modal would appear outside of the form,
so adding the following to our code makes it work perfectly.

$('.nyroModal').nyroModal({'blocker':'#aspnetForm'});

May 18, 2009
Project Member #6 nyro...@gmail.com
grat, thanks for the feedback
Status: Invalid

Powered by Google Project Hosting