Side navigation
#2544 closed bug (invalid)
Opened March 18, 2008 05:28PM UTC
Closed July 11, 2010 06:40PM UTC
[ui-dialog] Problem when using JQuery with asp.net (ajax enabled)
Reported by: | Nordes | Owned by: | rworth |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.4 |
Component: | ui | Version: | 1.2.3 |
Keywords: | dialog drag and drop bug. | Cc: | |
Blocked by: | Blocking: |
Description
When I have a scriptmanager inside my page and then I try to use the jquery ui, I have a conflict at the following block of code:
prop: function( elem, value, type, i, name ) { // Handle executable functions if ( jQuery.isFunction( value ) ) value = value.call( elem, i ); // Handle passing in a number to a CSS property return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ? value + "px" : value; },
I actually create a dialog window dialog as following and when I drag that window or click on it I have an error:
$('#skillInfo').dialog({ title: 'Add a new skill', draggable:true, width: 640, height: 480, autoOpen: false // do not open automatically the popup });
In firefox when i load the page and then open the popup every thing is fine, but when I open it in IE I have a conflict saying that the type is not valid.
(If you need a screenshot, i can send one)
Actually to make it work, I did a small fix as shown bellow, but maybe it should be fixed differently.
(approx line 186)
return this.each(function(i){ // Set all the styles for ( name in options ){ if (name != "localeFormat" && name != "format"){ // Quick fix to work with the asp.net atlas (ajax). jQuery.attr( type ? this.style : this, name, jQuery.prop( this, options[ name ], type, i, name ) ); } } });
Attachments (0)
Change History (4)
Changed March 18, 2008 05:30PM UTC by comment:1
Changed March 19, 2008 01:15PM UTC by comment:2
owner: | paul → rworth |
---|---|
summary: | Problem when using JQuery with asp.net (ajax enabled) → [ui-dialog] Problem when using JQuery with asp.net (ajax enabled) |
Changed May 04, 2008 08:54AM UTC by comment:3
priority: | major → minor |
---|
Changed July 11, 2010 06:40PM UTC by comment:4
resolution: | → invalid |
---|---|
status: | new → closed |
This should be filed in the UI bug tracker if still relevant.
The error message generated in javascript is the following:
value.call( elem, i ) Sys.ArgumentTypeException: Object of type 'Number' cannot be converted to type 'String'.
Parameter name: format Error