Default number format in Internet Explorer - asp.net

I have asp.net page with a radgrid control containing a number field with a format such as
01/1250
02/2454
Some users see the number in the correct format and while others see it in a format such as
1250/01
2454/02
The issue appears to be localised to Internet Explorer as fresh installs of Chrome and Firefox behave correctly. This leads me to believe there is a setting in Internet Explorer that may affect the format.

Looks like IE is trying to format the number as a date.
Try setting your culture on the page or in your web.config
http://msdn.microsoft.com/en-us/library/vstudio/bz9tc508(v=vs.100).aspx

Related

Setting User-Agent String for site via web.config

I am not sure if I asked the question in right way. But here is the scenario -
In a website we use Infragistic's controls. Which loads fine on ie9 but when we open the site in ie11 then the controls is not visible but just a text Table Control.
Below is an image -
I did some research and found out if I change the user agent string to Internet Explorer 9 on Developer's tool window then it loads the controls as expected.
Below is how it looks after changing the user agent string -
This is the setting -
Is there a way to change this user agent string somehow without a code change ? like setting on web.config ?
Thanks in advance.
Rohit

IE failed to generate reports

One of our client is trying to generate reports with lots of sub reports, its a single page report. If they generate it for 2-3 years it works for all browsers, but when they generate it for 5 years. Report works fine in chrome and firefox but IE will not be able to load reports and show IE window "Internet explorer cannot load page".
There is no errors in eventlog or in IE console. Even Fiddler does not give any information why IE could not able to load reports. It says response 200.
Reports are generated successfully, as I can see that in log.
I am not sure why this is happening with IE(8,9,10). Please check images below
Thanks
This could be due to the memory management problem in Internet Explorer, as you are fetching the 5 year data.
There is a work around for the memory problem.
->Go IIS
->Open your reporting Website
->Check which application pool its using
->Right click on that and recycle it.
->Then try generating the report.
Not sure if it resolves your problem.
I've seen a very similar issue recently - it started a few months ago, across multiple unchanged reports, and seemed to be triggered by hard or soft Page Breaks (I found that out from a lengthy process of elimination).
That scenario was SQL Server Reporting Services 2012 SP1, via the Native/Report Manager portal.
Does your report render with page breaks?
My solution was to set the Report / InteractiveSize / Height to 1000cm. Then for each hard page break, I disabled it for browser rendering by setting the Page Break / Disable property using this expression:
=Globals!RenderFormat.IsInteractive
The result is a little untidy in the browser, but renders with page breaks in other formats (PDF, Word, Excel). Importantly it stopped the browser freezing in IE.
Personally I have moved away from the report display control. It provides inconsistent display on different platforms (al least it did in 2013 when I did the lions share of converting a project).
Instead I render to PDF (Word or Excel) at the server and use an embed tag to display the content to the user. You are guaranteed to know what it looks like on the user screen that way. A level of caching is possible and its a lot easier to work with.

Crystal Report Viewer (web viewer) doesn't display drill down in Internet Explorer

I have an application with crystal reports which I've just noticed has a fairly large issue. The treeview/drill-down menu on the left will not display in Internet Explorer, however it does work with other browsers (chrome/firefox/etc.). I've never used CR before (these are actually inherited, I haven't touched them), but I'm guessing it's an IE option that's not set some where. Any idea how to fix this?
EDIT:
Per the question about browser version, I am working with IE8. I did notice that when compatibility mode was turned off, it displays as I would expect. However, the app is supposed to handle IE7 (which I do not have access to) as well.

Default browser IE

I am using C# and ASP.net - Website
In my website, I need to set the IE browser by default for a particular page each day.
Is there any way to set it permanently?
There's no special treatment per page in visual studio. If you choose IE as default, then you have it for the entire project; it is also not permanent, changable whenever you want.

Does this seem like an IE8 float bug to you?

I've noticed a strange behavior in two different sites when using IE8.
The first site is in the site that I maintain xebra.com.
The second site is google analytics.
The behavior is that when an address is typed directly into the address bar of IE8, both sites display correctly,
But when one of the sites has already been loaded, and you press the refresh button or F5 key, the layout gets all screwed up:
See screenshots here: here
Something is causing IE8 to render in 'quirks mode' which causes the breakage.
You can duplicate this by browsing to your site in IE8 and selecting Tools > Developer Tools > Document Mode > Quirks Mode.
Make sure your document is always being served in standards mode.
EDIT My original answer had 'compatability mode' where it should have read 'quirks mode' - the two are different.
JS.Companion was what was causing this odd bug, and not IE8. Phew!
http://www.my-debugbar.com/wiki/CompanionJS/HomePage
I spent the whole morning trying to figure out what was going on, I removed companion.js and bingo my site is perfect! thanks for this.
That's really strange. I don't have the problem on my computer with Companion.JS installed and http://www.xebra.com/ web page (under Vista SP1).
I would be happyto correct the Companion.JS bug that generates this problem if you can provide more information about the problem.

Resources