TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cassie Mod
NA
488
71.2k
change size of buttons dialog jquery
Aug 23 2017 6:01 AM
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"
);
}
}
Reply
Answers (
2
)
Images load in faster way
Limitation or Disadvantage of WEB API?