Ajax toolkit Tab Control does not work in Firefox? - asp.net

I am using Tab control of ajax tool kit and it is working fine in IE but tabs are not being displayed in FF. I googled and found some other people had this issue. Any solution please ?

Have you checked CodePlex to insure you are using the most recent version?
Also i would recommend switching to a jquery(ui) based altenative, since it's probably more robust and cross browser proof.

Related

ASP.net control similar to auto-hide feature of Visual Studio toolbox

First off, I'm sorry if the title doesn't explain this very well.
I'm looking for an asp.net control that works similarly to the Visual Studio toolbox's auto-hide. In other words, when not needed, it can be "unpinned" and will slide off to the side of the screen. When needed, it can be opened and pinned to stay in place. I'd rather not do it myself using javascript if a (free) control already exists. Does anyone know of such a control? If not, has anyone implemented this type of functionality using a js library with good results? Any pointers?
Thanks in advance.
Edit:
The collapsiblePanel might work, I don't have any experience with it, but it's open source software from CodePlex.
I don't know of any free ASP.Net controls. But if you want to get it working using javascript you can do so with jQuery.
This post on StackOverflow shows how to get the autohide feature working
We use Telerik's RadSplitter. It is exactly what you are looking for.
Unfortunately, it is not free. But it worths checking out since their licensing is very flexible.
Telerik RadSplitter

Are the Internet Explorer Web Controls IE only?

Recently, I came across a set of Internet Explorer Web Controls from Microsoft. These look to me to be older controls from the pre-standards era of Microsoft's asp.net development. I'm curious as to whether or not these controls work well with modern browsers, or if they're basically IE only. I know it says it will render to "downlevel" browser, but it seems to indicate that "any browser other than IE" is a downlevel browser.
Are there a modern set of controls from MS?
I wouldn't recommend using these - they aren't supported by Microsoft anymore and all the samples are on GotDotNet, which has been shutdown.
You'd have better luck developing with a more recent version of the .NET Framework.
THe four control provided (MultiPage, TabStrip, Toolbar, and TreeView) could be done using something like JQuery UI.
TreeView doesn't work properly in Chrome.
(the tree displays fine, but expand/collapse actions don't work)

finding cross browser compatibility issue

I have designed a site that shows nice via FF or Chrome while fails to render with IE. I am looking for some kind of software inorder to find the parts that causes the render issue.
For CSS validation you can use the following links
http://jigsaw.w3.org/css-validator/#validate_by_upload+with_options
http://tester.jonasjohn.de/
But mainly some of these CSS issues will be a bug in the browser and you cannot find them using CSS validators. For that you have to manually detect and replace them with alternatives.
Unfortunately this will be a trial and error effort. Microsoft does have a developer toolbar but if you are doing anything really complex its not going to be the best help.
IEDeveloper Toolbar

Asp.Net website looking fine in IE6 but not in IE7/IE8

I have a small website developed using VS2005 and mySQl, it's just 2 webforms and login page.
During the development and testing phase, me and my customer were using IE6, and it was looking fine, we didn't test with other browsers because it's a small application, and just a add-in for large desktop application.
The customer informed me that site doesn't like the same when he installed IE7, for example I have a webfrom that show a page with Gridview that has multiply pages(AllowPaging=On), it doesn't look fine in IE7 and I can't navigate to other pages in Gridview, but it was working fine with IE6, and there's no complicated things, just plan GridView with small formatting.
I installed IE8 and doesn't look fine with it too, even in compatibility mood.
Have anyone faced the same problem?, and what should be the quickest or best solution for that?.
I know, I SHOULD NEVER USE WEBFORMS AGAIN.
The only reason for a difference in look between the browser versions is your styling and doctype.
Start with setting a doctype to run in quirks mode. You can get information about it here.
After that, see if things improve. If not, I would start ripping out any css/styles/themes you may be using. Then build it back up using normal CSS.
Incidentally, web forms isn't the problem in this case; it's a styling issue.
as Chris mentioned, add to that that browsers have really some annoying differences that makes you pull your hair sometimes, and 90 % of the time it is related to CSS.
so what i suggest is the following
use a tool called IE Tester, it is amazing tool that let you test your sites in all IE versions.
Use conditional command for targeting IE specific version if some CSS rule is wrong.
we use this tool http://rafael.adm.br/css_browser_selector/ it is really amazing it let you define css rules for each browser without hacking or conditional statement, but the down side it is Javascript dependent, but we had no complains.
also this script http://dean.edwards.name/IE7/ which is brilliant, it will let IE 6 behave like IE 7 which will save you tons of problems, again it is Java Script dependent.
Avoid Hacks as much as possible, the above methods will help you a lot.
hope this helps.

How to embed HTML created by Dreamweaver into an ASP.NET applicaton

I've been asked by a friend, who created a very visually appealing website mostly in Dreamweaver, to add some database backed functionality that I really only know how to do in ASP.NET. The problem is when I load his generated HTML into an ASPX page it renders it quite horribly. I've tried adding a basic .html page to an ASP.NET project but it still looks funky. He's on a Mac and i'm (obviously) using a Windows box. Is there a clean way to take a quite complete (but quite static) website and add ASP.NET functionality to it? Any comments are very much welcome. Thanks!
Just a quick thought.
You state in your comment:
Everything works is just doesn't look near as good as it did in the Safari browser
Where doesn't it look as good as it did in the Safari browser? When served as a page from a webserver (either the built-in cassini server, or IIS) in IE/Firefox, or when you switch to design view in Visual Studio?
Visual Studio has a lot of trouble rendering things correctly - it's really not standards compliant by anyone's definition - VS2010 is apparently much better - for example, try looking at this page: display/box/float/clear test in a browser and in the VS designer - very different.
If you mean in the browser, which browser? Have you tried looking at it Firefox instead? It's possible that if it's been built to look nice in Safari that it will work in Firefox, but there may be issues with the rendering/layouts in IE - this is a fairly well known issue.
If all the stylesheets are being correctly called (check with Firebug for Firefox for example) then there are probably some issues with the CSS that need to be addressed for IE.
ASP.NET does not alter the rendering of standard HTML. So there must be some other issue like a missing stylesheet (either all together or a broken link) or images. Once you have the HTML properly copied over and solve the display issue, you can add in the ASP.NET controls and code you need to make it functional.

Resources