Bug Tracker

Opened 15 years ago

Closed 13 years ago

#2544 closed bug (invalid)

[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:


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" :

I actually create a dialog window dialog as following and when I drag that window or click on it I have an error:

	title: 'Add a new skill',
	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).
						type ?
							this.style :
						name, jQuery.prop( this, options[ name ], type, i, name )

Change History (4)

comment:1 in reply to:  description Changed 15 years ago by Nordes

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

comment:2 Changed 15 years ago by paul

Owner: changed from paul to rworth
Summary: Problem when using JQuery with asp.net (ajax enabled)[ui-dialog] Problem when using JQuery with asp.net (ajax enabled)

comment:3 Changed 15 years ago by paul

Priority: majorminor

comment:4 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

This should be filed in the UI bug tracker if still relevant.


Note: See TracTickets for help on using tickets.