Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
change size of buttons dialog jquery
Cassie Mod
Aug 23 2017 6:01 AM
147
Reply
HI ive got the following dialog.
However i want to change the size of the buttons that are shown in the dialog ( only the size of the buttons, maybe if its needed olso the text in the buttons but thats it. How can i do that ????
thnx
here is my code
function
ApplyJQueryUI() {
$(
"#<%= callForwardingAlwaysOption.ClientID %>"
).buttonset();
$(
"#callForwardingAlwaysDialog"
).dialog({
resizable:
false
,
modal:
true
,
autoOpen:
false
,
show:
"fade"
,
closeOnEscape:
false
,
hide:
"fade"
,
buttons: {
"> Ok"
:
function
() {
$(
"#<%= callForwardingAlwaysButton.ClientID %>"
).click();
},
"> Annuleren"
:
function
() {
$(
"#<%= callForwardingAlwaysOption.ClientID %>_0"
).attr(
"checked"
,
"checked"
);
$(
"#<%= callForwardingAlwaysOption.ClientID %>"
).buttonset(
"refresh"
);
$(
this
).dialog(
"close"
);
}
}
});
$(
'#callForwardingAlwaysDialog'
).keypress(
function
(e) {
if
(e.keyCode == $.ui.keyCode.ENTER) {
$(
"#<%= callForwardingAlwaysButton.ClientID %>"
).click();
}
});
$(
"#callForwardingAlwaysDialog"
).parent().appendTo($(
"#<%= callForwardingAlwaysUpdatePanel.ClientID %>:first"
));
if
(isPostBack){
$(dialogInstance).dialog(
"close"
);
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Images load in faster way
Combining multiple website in single portal