hi all...
All my asp.net websites are working fine till IE10.
But, in IE11, I am facing many issues-
1. GridView -
OnSelectedIndexChange - Event not firing.
Properties - AutogenerateSelectbutton = true; AutogenerateColumns=true;
2. DropDownList -
SelectedIndexChange - Event not firing.
Properties - Autopostback = true;
----
All controls are in update panel.
Do anyone have idea about this ?
Loading
Vincent Maverick DuranoPosted May 4, 2015, 9:52 AM
If you have different question then please close this thread by marking the post which help you as answer and then start a new thread. That way answers on this thread will not get mixed up.
Riddhi ValechaPosted May 4, 2015, 9:20 AM
How do you interpret the statement -
http-equiv="x-ua-compatible" content="IE=10" >
i.e. what is meta tag ??
Riddhi ValechaPosted May 3, 2015, 5:40 AM
I did all the things.... Nothing is working... my website is in VS2010 .NET 4.0.
Just 1 thing worked out -
Go to Tools -> Compatibility View Settings -> Add a website.
I added my URL here.
That's all....
Vincent Maverick DuranoPosted May 2, 2015, 8:04 AM
You can also try implementing it within your web.config file to reflect to all pages:
If you are still encountering issues, you can find a huge discussion on the following Stack Overflow thread on this very topic :
http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge-e
Riddhi ValechaPosted May 2, 2015, 7:13 AM
I have written this statement -
http-equiv="x-ua-compatible" content="IE=10" >
Still this is not working in IE11...
There are 2 master pages in my site...
MasterPage1.master and
Site1.master
---
MasterPage1.master is as -
http-equiv="x-ua-compatible" content="IE=10" >
----------------
Site1.master is as -
------------------http-equiv="x-ua-compatible" content="IE=10" >
Vincent Maverick DuranoPosted May 1, 2015, 9:00 AM
Again, if this issue is only in IE11 and while waiting for the fix, then what you can do at the moment if to follow the workaround that i've posted in my first post to use a Meta to force IE to render in IE10.
PS: I think i've answered most of your query. Please don't forget to mark the replies as answers for future reference. This way if others will stumble on this thread, they will see right away which reply helps you.
Thank you.
Riddhi ValechaPosted May 1, 2015, 5:42 AM
I did post and mail the same query to telerik....
But.. No response from their end.
Hence....
Also... I am getting the below error while I debug from F12 Developer tools -
__doPostBack('ctl00$Controlscontent$radio_reportSelection$2','')
'__doPostBack' is undefined
--------
i.e. radiobuttonlist postback is undefined.
Has anyone faced or seen this error ?? If yes, please guide further !!
And this is in IE11... I never got this error in IE10 or lower versions.
Vincent Maverick DuranoPosted Apr 30, 2015, 8:36 AM
Riddhi ValechaPosted Apr 30, 2015, 8:31 AM
I saw these links... No... This is not what I need... This has O.S requirements and all...
I just need versions matching between .NET Frameworks and Telerik Controls Versions.
Eg - Telerik Control Version 2.0 is not working properly in Visual Studio 2010 and 2012.
Vincent Maverick DuranoPosted Apr 30, 2015, 7:51 AM
Some resource that you might want to look:
http://www.telerik.com/help/aspnet-ajax/radcontrols-changes-backwards-compatibility.html
http://www.telerik.com/help/aspnet-ajax/introduction-system-requirements.html
PS: Don't forget to close this thread by marking the posts which helps you as answer for the sake of future readers.
Thanks.
Riddhi ValechaPosted Apr 30, 2015, 5:03 AM
Yes... this is exactly what I am looking for...
Which telerik controls versions are compatible with which .net versions.
What issues are faced if the versions are mismatched ??
Eg - Telerik 2.0 is not compatible with .net 4.0.
So, if we use this combination, what are the possible errors that can occur ??
Do you know any reference links for the same ?? If yes.. Please do let me know...else... I am doing google for this only.
Please guide.
Vincent Maverick DuranoPosted Apr 29, 2015, 9:44 AM
Based on your table, it simply means that telerik 2.0 is not compatible with .net 4.0 or higher versions.
Riddhi ValechaPosted Apr 29, 2015, 9:30 AM
Please explain the telerik controls versions...
Its like... can we have data as -
In a format that which telerik control version is compatible with which .net version.
Vincent Maverick DuranoPosted Apr 29, 2015, 7:58 AM
1 more query.... Later on after few months, there will be newer versions of IE.
Say- IE12 ,IE13, IE14, etc.
So...I am also looking for a solution that... whenever the versions of IE comes , all asp.net portals or websites are compatible with all newer versions..
Eg - say now IE13 have come in market. So, all older asp.net websites must be compatible with IE13 also.
-There's no guarantee that your website will work on future versions of any browsers as any browser specific engine will change, This means that what you'll code today, javascript and css may not work on future versions That's why it's always recommended to follow browser compliant codes as possible as you can to atleast minimize the risk of not working your code in future versions of browsers, but then again this would not guarantee as technology will constantly change
1. Telerik Controls versions versus ASP.NET Versions - Do lower versions of telerik controls have issues with higher versions of .NET ?? and vice-versa.
Possibly, when using third party components you have to make sure that the controls will work on the versions of NET that you are working- There are actually controls that have specific downloads for certain versions of ASPNET or NET in general
2. Are there any guidelines on - "Number of parameters in a method/function in ASP.NET C#" ??
Eg - I have a portal in which there is method with 18 parameters (string, double, datetime, int32 ).
Please explain - why one must not have so many parameters in a method ??
I'm not aware of any guides regarding what is the maximum parameters to be passed in a method. Perhaps thousands? As rule of the thumb you need to make your method accept small parameters as possible as readabilty, maintainability and performance will suffer. Passing alot of parameters would simply means that your code's separation of concern is poor and needs refactoring.
If you are passsing more than 10 params then you may have to consider passing the object itself. I mean that create a class that holds those properties and pass that instead.
Riddhi ValechaPosted Apr 29, 2015, 5:10 AM
I will try this now...
1 more query.... Later on after few months, there will be newer versions of IE.
Say- IE12 ,IE13, IE14, etc.
So...I am also looking for a solution that... whenever the versions of IE comes , all asp.net portals or websites are compatible with all newer versions..
Eg - say now IE13 have come in market. So, all older asp.net websites must be compatible with IE13 also.
Say - A generalized solution.
--------
Also... I have few queries more -
1. Telerik Controls versions versus ASP.NET Versions - Do lower versions of telerik controls have issues with higher versions of .NET ?? and vice-versa.
2. Are there any guidelines on - "Number of parameters in a method/function in ASP.NET C#" ??
Eg - I have a portal in which there is method with 18 parameters (string, double, datetime, int32 ).
Please explain - why one must not have so many parameters in a method ??
Vincent Maverick DuranoPosted Apr 28, 2015, 3:41 PM
If you are only experiencing this issue on IE11 then what you can do at the moment is to force your IE browser to switch to compatibility mode by setting the meta like below:
http-equiv="x-ua-compatible" content="IE=10" >That will force the browser to render the page in IE10 compatibility when viewing in IE 11.