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");
- }
- }