I have been using web parts on my site since ASP.NET 2.0 came out. Dragging and dropping web parts works great in Internet Explorer, but it doesn't work at all in Firefox, Chrome, or Safari. I recently upgraded the site to ASP.NET 3.5 SP1, but I am still unable to drag and drop web parts in non-IE browsers.
How can I enable drag and drop web parts in these other browsers?
Update (2/9/2010):
This mentions this problem, but offers no solution: http://forums.asp.net/t/1294857.aspx
Update (2/19/2010):
These posts offer a possible solution, but I have been unable to get it working yet on my site:
In short, these say the drag and drop problem was solved in "ASP.NET Futures (July 2007 release)" but for some crazy reason, was left out of ASP.NET 3.5 SP1. So to solve, you have to download the Futures release at: http://www.microsoft.com/downloads/details.aspx?FamilyId=A5189BCB-EF81-4C12-9733-E294D13A58E6&displaylang=en
Then, you need to use the WebPartManager and WebPartZone from the Microsoft.Web.Preview.UI.Controls.WebParts namespace.
You must be using a very old version of "Atlas", because they fixed this quite a while ago (after beta 1).
This might look like a silly question but, if you add the following HTML code to your page:
<div style="background-color: red; padding: 50px; width: 100px;"> </div>
<div style="background-color: green; width: 100px;"> </div>
Is the red box twice as big as the green one?
If it isn't, you have an incorrect DOCTYPE that's causing the browsers to render the page in Quirks Mode, basically ending any hope you might have of it working across browsers.
If the size of the boxes is correct, do you get any error messages in the Firebug console when you try to drag and drop in Firefox?
And as a last two comments related to the others answers:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With