or
I have been producing Telerik MVC Extensions with the Forest theme for several months now. Finally a new project came along and I decided to use Kendo UI Web. The problem is every time I show a demo, I get comments on how much better my peers like the old MVC Forest theme.
Has anyone done the work to recreate the Forest Theme for Kendo Web?
$(document).ready(
function
() {
var
viewModel = kendo.observable({
title:
"Mr"
,
titles:[
"Mr"
,
"Mrs"
,
"Ms"
,
"Dr"
,
"Sir"
,
"Prof"
],
firstName:
""
,
lastName:
""
,
companyName:
""
,
emailAddress:
""
,
phone:
""
,
subject:
"Sales Request"
,
subjects:[
"Sales Request"
,
"Literature Request"
,
"Recruitment Question"
,
"Comment"
,
"Other Request"
],
message:
""
,
agreed:
false
,
confirmed:
false
,
hideMain:
true
,
messageID:
""
,
register:
function
(e) {
$.post(
"http://myurl/myco/tools/email_form.php"
,{
"title"
:viewModel.get(
"title"
),
"firstName"
:viewModel.get(
"firstName"
),
"lastName"
:viewModel.get(
"lastName"
),
"companyName"
:viewModel.get(
"companyName"
),
"emailAddress"
:viewModel.get(
"emailAddress"
),
"phone"
:viewModel.get(
"phone"
),
"subject"
:viewModel.get(
"subject"
),
"message"
:viewModel.get(
"message"
)
},
function
(data) {
// this is the line that raises the this.set error
// vvvvvvvvvvvvvvvvvvvvvvvvvvvv
this
.set(
"messageID"
, data.message);
// ^^^^^^^^^^^^^^^^^^^^^^^^
console.log(data.message);
},
"json"
);
e.preventDefault();
this
.set(
"confirmed"
,
true
);
this
.set(
"hideMain"
,
false
);
},
startOver:
function
() {
this
.set(
"confirmed"
,
false
);
this
.set(
"agreed"
,
false
);
this
.set(
"hideMain"
,
true
);
this
.set(
"firstName"
,
""
);
this
.set(
"lastName"
,
""
);
this
.set(
"companyName"
,
""
);
this
.set(
"emailAddress"
,
""
);
this
.set(
"phone"
,
""
);
this
.set(
"subject"
,
"Sales Request"
);
this
.set(
"message"
,
""
);
this
.set(
"messageID"
,
""
);
this
.set(
"title"
,
"Mr"
);
}
});
kendo.bind($(
"form"
), viewModel);
});
<?php
echo
json_encode(
array
(
"message"
=>
"Request submitted with ID "
.
$reqid
));
?>
$(
"#MailConf_Podpis"
).kendoEditor({
messages: {
foreColor:
"Kolor czcionki"
,
backColor:
"Kolor wyróżnienia tekstu"
,
viewHtml:
"PodglÄ…d HTML"
}
});
$(
"#MailConf_Podpis"
).kendoEditor({
tools: [
"bold"
,
"italic"
,
"underline"
,
"strikethrough"
,
"fontName"
,
"fontSize"
,
"foreColor"
,
"backColor"
,
"justifyLeft"
,
"justifyCenter"
,
"justifyRight"
,
"justifyFull"
,
"insertUnorderedList"
,
"insertOrderedList"
,
"indent"
,
"outdent"
,
"formatBlock"
,
"createLink"
,
"unlink"
,
"insertImage"
,
"subscript"
,
"superscript"
,
"viewHtml"
],
messages: {
bold:
"Pogrubienie"
,
italic:
"Kursywa"
,
underline:
"Podkreślenie"
,
strikethrough:
"Przekreślenie"
,
superscript:
"Indeks górny"
,
subscript:
"Indeks dolny"
,
justifyCenter:
"Wyśrodkuj"
,
justifyLeft:
"Wyrównaj do lewej"
,
justifyRight:
"Wyrównaj do prawej"
,
justifyFull:
"Wyjustuj"
,
insertUnorderedList:
"Punktory"
,
insertOrderedList:
"Numerowanie"
,
indent:
"Zwiększ wcięcie"
,
outdent:
"Zmniejsz wcięcie"
,
createLink:
"Wstaw odnośnik"
,
unlink:
"Usuń odnośnik"
,
insertImage:
"Wstaw obrazek"
,
insertHtml:
"Wstaw HTML"
,
fontName:
"Wybierz czcionkÄ™"
,
fontNameInherit:
"(zmień czcionkę)"
,
fontSize:
"Wybierz rozmiar czcionki"
,
fontSizeInherit:
"(zmień rozmiar)"
,
formatBlock:
"Formatowanie"
,
style:
"Style"
,
emptyFolder:
"Pusty Folder"
,
uploadFile:
"Wyślij"
,
orderBy:
"Arrange by:"
,
orderBySize:
"Rozmiar"
,
orderByName:
"Nazwa"
,
invalidFileType:
"Wybrany przez Ciebie plik \"{0}\" jest nieprawidłowy. Wspierane typy plików {1}."
,
deleteFile:
"Czy jesteś pewien że chcesz usunąć plik \"{0}\"?"
,
overwriteFile:
"Plik o nazwie \"{0}\" już istnieje w wybranej lokalizacji. Czy chcesz go nadpisać?"
,
directoryNotFound:
"Lokacja o podanej nazwie nie istnieje."
,
imageWebAddress:
"Adres URL"
,
imageAltText:
"Tekst alternatywny"
,
linkWebAddress:
"Adres URL"
,
linkText:
"Tekst"
,
linkToolTip:
"Opis"
,
linkOpenInNewWindow:
"Otwórz odnośnik w nowym oknie"
,
dialogInsert:
"Wstaw"
,
dialogButtonSeparator:
"lub"
,
dialogCancel:
"Anuluj"
,
foreColor:
"Kolor czcionki"
,
backColor:
"Kolor wyróżnienia tekstu"
,
viewHtml:
"PodglÄ…d HTML"
}
});
We have used kendo grid filter (v2012.3.1315), but filter for string colums isn’t working right because cursor hasn’t focused on filter textbox (we see this behavior in last versions of Chrome and Firefox), in IE datepicker filter cann’t set a value. It works in previous version and in v2012.3.1413. What’s wrong with v2012.3.1315? Can we solve this behavior?