Side navigation
#2409 closed bug (wontfix)
Opened February 26, 2008 12:44AM UTC
Closed April 19, 2008 02:05PM UTC
Last modified March 15, 2012 02:03AM UTC
jQuery UI Dialog incompatible with ASP.NET
Reported by: | waterproofed.elves | Owned by: | scottgonzalez |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | ui | Version: | 1.2.3 |
Keywords: | ui dialog | Cc: | |
Blocked by: | Blocking: |
Description
file: ui.dialog.js, version: 1.5b
In ASP.NET there is a single form on the page from which all data is posted back to the server. The dialog widget moves the content it enhances to be a direct child of the body element (i.e. moving it outside the form). As such, form elements in a dialog are not posted back to the server causing the page to 'break' (in some manner). One possible solution would be to add an option to the dialog widget that specifies the element to which it will be appended (patch attached).
Attachments (1)
Change History (5)
Changed February 26, 2008 01:01PM UTC by comment:1
owner: | paul → rworth |
---|
Changed February 26, 2008 05:14PM UTC by comment:2
status: | new → assigned |
---|
Changed March 14, 2008 03:50PM UTC by comment:3
owner: | rworth → scott.gonzalez |
---|---|
status: | assigned → new |
Changed March 14, 2008 05:16PM UTC by comment:4
Adding an appendTo option may be possible, but it may also cause problems with positioning. This may have to wait until there are layout modules for the dialog to be docked to.
For now, this can be worked around by appending the .ui-dialog element to the form in the close event.
Changed April 19, 2008 02:05PM UTC by comment:5
resolution: | → wontfix |
---|---|
status: | new → closed |
Dialogs are not meant to be used as actual content on a page, and what you want is already very easily accomplished with the technique described above.