Some problems with js in IE - asp.net

With ASP.NET and Devexpress Combobox control on page generates js.
This js perfect works in Firefox, Chrome, Safari. But it don't work in IE8. There is an interesting issue with this situation:
When in IE8 and developer toolbar is on, than it's works fine. But if I close dev toolbar, then occurs error 800a025e.
UPD:
I did not write js. It generates automatically. I simple write
ComboBox.Focus();
That's all.

The problem might appear because you are using a version of DevExpress controls which are not compatible with IE 8. Can you check how your code works with the latest (11.1.7) version? Also, from your code, I suspect that the ComboBox is the value of the ASPxComboBox's ClientInstanceName property. Right?

Related

Telerik RadCalendar Internet Explorer error

I'm using the Telerik RadCalendar control and when I try to navigate through a day (click in day in calendar) in the calendar i can't in IE. In Chrome and Firefox works ok but not in IE.
Any suggestions?
Thank you.
Which IE is that? What is your RadControls version? Does the problem occur with the latest?
Try their demos and see, if they work fine, compare your setup with the demo and find the difference: http://demos.telerik.com/aspnet-ajax/calendar/examples/overview/defaultcs.aspx.
Also, look for (and resolve) any JavaScript errors you may have.
If you are having the problem in a newer IE, it may be an error from your .NET 4 framework: http://blogs.telerik.com/aspnet-ajax/posts/13-12-19/how-to-get-your-asp.net-application-working-in-ie11.

Browser issues : How do I check what is being sent to page (IE version 10)

I have an ASP.net website that was working fine with IE9, Mozilla, chrome but with IE 10 users have lot issues. The UI and even the functionality (like clicking on button, login/logout do not work) doesn't work well with IE10.
The IE version I have is 10.0.9200.16519.
I see few differences between the view source from IE10 and google-chrome (or even IE9) but can't understand much of it.
Where actually in the site can I check why pages sent to IE 10 browser is different from others browser or IE9?
Please suggest how can I debug further?
PS: The site works fine with IE9 and below versions of IE.
ASP.NET fails to identify IE10's user-agent string, and as a result can send back broken code. This has been discussed in various places, but probably most notably on Scott Hanselman's blog. See the post titled Bug and Fix: ASP.NET fails to detect IE10 causing _doPostBack is undefined JavaScript error or maintain FF5 scrollbar position.
check if there is any js error, use IE developer toolbar (F12) to debug script

How to debug css in IE?

Is there a way to debug a css file in IE? I wish to see if a particular background-image is loaded or not.
This is in reference to the question:
extjs gridfilter icon not showing in IE but shows in Firefox
Or for any version of IE, try FireBug Lite. You can simply bookmark the link given on that page (bookmarklet) and then, to open a FireBug like thingy whilst on IE, simply click on the bookmark you just added.
Use the built in browser troubleshooting tool (aka Developer Toolbar) by pressing F12.
It is built into IE8 and later, but you can download and install it in earlier versions.
Do you want to target IE specifically in your CSS? If so I wrote a blog post about this not so long ago, please have a read: http://ajthomas.co.uk/blog/?p=299.

Need ASP menu control that works on all browsers, including mobile

I'm writing a web site (ASP.NET/C#) that is specifically targeted at mobile phones.
On the master page I have put an ASP menu. This works fine in IE8 and Firefox, but when I try viewing it from my Nokia browser, while the menu is visible, its behavior is incorrect: I tap on the menu to open it, and instead of opening the next level of menus, the control disappears altogether!
Interestingly, I got the same behavior using Chrome on my computer.
I haven't yet tried on Safari, but the message is already pretty clear: the ASP.NET menu control doesn't work on the Nokia browser, and that is a showstopper. What alternatives do I have? It needs to work on Nokia, Safari and Opera, at least.
I saw in a similar question that someone suggested writing a custom server control. Nice idea, I'm sure... but how do you explain that to this ASP.NET newbie?
It turns out that most browsers support Ajax, so I'm going to use Telerik's RadMenu.

maintainscrollpositiononpostback not working with firefox

I am using VS 2008. I like the feature maintainscrollpositiononpostback. It works fine with IE 8. But it does not work consistently with Firefox. Sometimes, instead the line I click on goes to the bottom of the page. The field I am trying to refresh is with a div tag with overflow set to auto. Also I have several update panels with updatemode set to conditional. This means only the panel affected should be refreshed. This is also not working in the case on Firefox.
I have searched the web for possible solutions but none of them work for me.
Most of my users use Firefox so this is a problem for me.
Thanks in advance,
Bob
scrollsaver to the rescue?
http://en.hasheminezhad.com/scrollsaver
I found this little js file a few weeks ago after implementing Post/Redirect/Get on a few of my pages. It may enable you to turn off maintain on your pages if you throw it in the master. I haven't fully tested it with ff4/5 or chrome...
Edit the Browser Capabilities file, and explicitly set it so that MaintainScrollPositionOnPostback is supported on Safari Browsers.
you can use javascript for this.. chek it out..
http://weblogs.asp.net/andrewfrederick/archive/2008/03/04/maintain-scroll-position-after-asynchronous-postback.aspx

Resources