This question is locked. New answers and comments are not allowed.
Hardy Wang
Top achievements
Rank 1
Hardy Wang
asked on 02 Jun 2011, 04:43 PM
Hi all,
I have a very simple test controller/view in MVC3 with .Net 4.0:
The controller has nothing at all
And my Test view is:
When I click on that button it works fine is Firefox 4.0 and I can see the window pops up.
But it failed in IE8, the error is "Invalid argument" on line 7918 of jquery-1.5.1.js, the code of that line is
Any idea why?
Thanks
Hardy
I have a very simple test controller/view in MVC3 with .Net 4.0:
The controller has nothing at all
namespace My.Web.Controllers { public class TestController : Controller { public ActionResult Index() { return View(); } } }And my Test view is:
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %> <!DOCTYPE html> <html> <head runat="server"> <title>Index</title> <%= Html.Telerik().StyleSheetRegistrar() .DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.web20.css"))%> <script type="text/javascript" src="<%: Url.Content("~/Scripts/jquery-1.5.1.js") %>"></script> </head> <body> <%= Html.Telerik().Window() .Name("EditWindow") .Visible(false).Draggable(false) .Width(800).Height(600) .Modal(true) .Title("Edit Item") .Buttons(buttons => buttons.Close().Maximize()) %> <input type="button" id="myButton" value="Click me" /> <% Html.Telerik().ScriptRegistrar().jQuery(false).Globalization(false).Render(); %> <script type="text/javascript"> $(document).ready(function () { $("#myButton").click(function () { var window = $('#EditWindow).data('tWindow').open(); }); }); </script> </body> </html> When I click on that button it works fine is Firefox 4.0 and I can see the window pops up.
But it failed in IE8, the error is "Invalid argument" on line 7918 of jquery-1.5.1.js, the code of that line is
fx.elem.style[ fx.prop ] = (fx.prop === "width" || fx.prop === "height" ? Math.max(0, fx.now) : fx.now) + fx.unit;Any idea why?
Thanks
Hardy
8 Answers, 1 is accepted
0
Hi Hardy Wang,
Hristo Germanov
the Telerik team
Can you please examine the attached project and tell me if I am doing something different than you, because I cannot get such problem?
All the best,Hristo Germanov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Hardy Wang
Top achievements
Rank 1
answered on 06 Jun 2011, 03:03 PM
Hi Hristo,
I tried your solution and it appears to work fine. I compared my code with yours other than master page both versions should serve the same purpose.
I am kind of lost now.
Thanks
Hardy
I tried your solution and it appears to work fine. I compared my code with yours other than master page both versions should serve the same purpose.
I am kind of lost now.
Thanks
Hardy
0
Hello Hardy Wang,
Atanas Korchev
the Telerik team
We are also at a loss as we do not know what is different in your project. The only way to proceed is to somehow reproduce your problem at our side. You may consider sending us a sample project which shows the problems you are currently facing.
Regards,Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Hardy Wang
Top achievements
Rank 1
answered on 08 Jun 2011, 04:02 PM
The attached solution is what I have and breaks the jQuery.
Please let me know does it work on your side?
Hardy
Please let me know does it work on your side?
Hardy
0
nachid
Top achievements
Rank 1
answered on 08 Jun 2011, 06:03 PM
Hardy, you're using 2011.1.315 release when Atanas is using 2011.1.414
This can make all the difference
This can make all the difference
0
Hardy Wang
Top achievements
Rank 1
answered on 08 Jun 2011, 09:51 PM
from download page http://www.telerik.com/account/your-products/product-versions/single-download.aspx?pmvid=0&pid=697 I can see the latest version is 2011.1.315. Is the 2011.1.414 Telerik's internal version not published yet?
0
Accepted
Hi Hardy Wang,
Hristo Germanov
the Telerik team
Unfortunately this is a bug and it will be include with next official release of the Telerik Components for ASP.NET MVC.
I have attached a hotfix build which include the fix.
I have update your telerik points.
Hristo Germanov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Hardy Wang
Top achievements
Rank 1
answered on 09 Jun 2011, 02:23 PM
Thanks Hristo,
I have tried with your new hotfix and it works for me!
Looking forward to your next release!
Thanks a lot for your help!
Hardy
I have tried with your new hotfix and it works for me!
Looking forward to your next release!
Thanks a lot for your help!
Hardy