Drag and Drop ASP.NET 2.0 Web Parts in FireFox (with Atlas)

One of the cool features that the recent March CTP drop of Atlas enables is drag/drop support with FireFox for ASP.NET 2.0 WebParts.  This doesn't require any coding changes -- all you need to-do is update your web.config file with a few Atlas entries, and then you'll be able to have drag/drop for both IE and FireFox. 

David Barkol has posted a nice blog entry describing how to enable it.  You can read about it here.  Below is an example of it in action with FireFox:

Hope this helps,

Scott

14 Comments

  • Cool! Been waiting for this :)

  • This is really good, I remember my disappointment when during ASP.NET 2.0 training, I heard that web parts drag & drop functionality is not supported by FireFox.

  • Hi Abu,



    If you can send me a sample in a .zip file at scottgu@microsoft.com, I can hook you up with someone who might be able to help you with this.



    Thanks,



    Scott

  • FINALLY!!!!!! GOSH

  • Cool but my menu with close and edit are gone now :( i see only an "u" When I delete <tagmapping> in my webconfig the menu is back but then the drag and drop is gone.



    How can I fix this?

  • Hi,

    I'm experiencing the same problems as abu, someone found a solution allready? please mail if you do: rsidss [at] gmail [dot] com

  • Hi Scott,



    I have some problem [# re: Drag and Drop ASP.NET 2.0 Web Parts in FireFox (with Atlas) 3/25/2006 8:20 AM abu]



    1) apply partial render

    2) User update Panel



    JavaScript Message:



    "Assertion Failed: Duplicate use of id "WebPart_gwpBookConsumer1" for object of type "Sys.UI.Controls.WebParts.WebPart".Break into debugger?"






  • This is Fantastic.

  • Scott,

    Could talk about how to integrate Atals with an existing Visual Studio 2005 project? Every demo and sample I've seen always points you to creating a new "Atlas Web Site" project. What to do you do when you just want to Atlas enable a couple of your web forms in an existing project?



    Thanks,

    Jack

  • Hi Jack,



    All you need to-do to add Atlas support to an exisitng application is copy the Atlas assembly in the \bin directory, and add the web.config file entries to your config file. The best way to get these later entries is to just copy/paste them from the template created with new apps.



    Then you are good to go.



    Hope this helps,



    Scott

  • How can I avoid post back after each web part drag & drop?

  • Hi Daniel,



    That is going to be addressed in a future Atlas refresh. Right now, unfortunately, the drag/drop action does cause a postback.



    Thanks,



    Scott

  • Hey Scott - good stuff!  I wonder, how do we go about making something like what pageflakes made, where you can only drag and drop into certain areas of the page?  A little insight into that would be awesome!  Thanks in advance...



  • Hi Rob,

    This article should help: http://www.codeproject.com/Ajax/AtlasDragNDrop.asp

    Hope this helps,

    Scott

Comments have been disabled for this content.