GenericCog
asked on
Remove Padding From MVC 4 Partial View in jQueryUI Dialog
I'm need to remove the padding on a jQuery UI dialog container.
The dialog is being loaded by calling a partial view from the controller through the click event. Meaning, my content does not exist when the page is rendered. Not sure if that is the issue, but any help is appreciated.
The dialog is being loaded by calling a partial view from the controller through the click event. Meaning, my content does not exist when the page is rendered. Not sure if that is the issue, but any help is appreciated.
var dialogStyle_StayDelete = { modal: true, width: 725, height: 500, show: captureConfig.defaultDialogShowEffect, hide: captureConfig.defaultDialogHideEffect, draggable: false, resizable: false, closeOnEscape: false };
$('#modalMain-StayDelete').dialog(dialogStyle_StayDelete, {}).dialog("widget").find(".ui-dialog-titlebar").hide();
I've tried the following bit of code both before and after without any change.
$(".ui-dialog-content").css("padding", 0);
A link can help.
ASKER
@HagayMandel, a link to what?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.