היי,
היום העלינו את האתר של
ארטיזון לאוויר. האתר נכתב מחדש והועבר מטכנולוגיה של SILVERLIGHT ל-ASP.NET MVC 3.0
אני חייב לציין שמיקרוסופט עשו עבודה והחלטה מעולה לצאת עם ה-MVC וכתיבת האתר בטכנולוגיה זו עשתה לנו חיים קלים בהפרדה לשכבות, שליטה על קוד ה-HTML, אין שמירה של VIEWSTATE ושאר ירקות רקובים.
אומנם האתר מיועד לקנייה רק לתושבי דאלאס ארה"ב אבל אשמח אם תכנסו ותגידו מה דעתכם על האתר ובכלל תראו אתר LIVE שנכתב כולו ב-ASP.NET MVC 3.0
בנוסף אנחנו עדיין צחפשים אנשי .NET חזקים שיצטרפו לחברה.
ביי רותם
Hi All,
I'v notice a strange behavior when working with ASP.NET MVC 3.0 jquery unobtrusive ajax on forms HTML element on IE (internet explorer) 8.
Razor code example for generating ajax call on a form element using unobtrusive ajax: @using (Ajax.BeginForm("MyAction", "MyController", new AjaxOptions { HttpMethod = "POST" })){
Sometimes (not always) i'm getting a javascript error with the message "Falied" that come from the javascript file jquery.unobtrusive-ajax.js:
The line is:
$(
"form[data-ajax=true] :submit").live("click", function (evt) {
Well the only solution I can find is to modify jquery.unobtrusive-ajax.js code with the following code:
$("form[data-ajax=true]").find("submit").live("click", function (evt) {
This fix the javascript error and the ajax call works always on IE 8.
Until now I can explain why the error happened only on IE 8 and was not reproduce permanently on each page refresh.
If it happened to you, I would be happy to know if you find other solution to this strange problem.
Rotem