AJAX Enabling ASP.NET 2.0 Web Parts with "Atlas"

Sign in to queue

Description

Building on concepts from his previous screencast, Microsoft Federal Developer Evangelist Marc Schweigert demonstrates more AJAX enabling capabilities of ASP.NET "Atlas."  You'll see how to AJAX enable ASP.NET 2.0 Web Parts with a few simple steps.

The source code for this screencast is available here.  Don't forget to check out the Federal D&PE blog at http://blogs.msdn.com/federaldev/.

Embed

Download

Download this episode

The Discussion

  • User profile image
    kaschimer
    Whoa... cool

    I haven't had a chance to mess around with Atlas yet, but I'm amazed at how quickly he did that... :O
  • User profile image
    nanexcool
    amazing!! I already had a UserControl (a simple 'shoutbox' using ATLAS), dragged it into a WebZone, changed the tagmappings, and magic!!  Thanks for this video, can't wait for more!
  • User profile image
    ddrindool
    Hi keydet,

    I also designed a page with web part zones, but it doesn't work.
    There is no postback, but i also can't drag&drop web parts.
    Could you help?

    Thanks
  • User profile image
    TerrySmith
    I concur with the above poster. You can't drag-and-drop web parts without a post-back. I've worked on this for 3+ days now and have followed all the steps in the video as well as every other possible change I could think of and it simply doesn't work.
  • User profile image
    keydet
    The screencast was done using an earlier CTP of ASP.NET "Atlas."  The current release does not have this capability.  Sorry.
  • User profile image
    jparker
    Is this functionality still extinct in the final release of ASP.NET AJAX 1.0?
  • User profile image
    gmcnaughton
    Same question as jparker above - is this functionality available in the final release of ASP.NET Ajax 1.0? After switching to Design Mode I am unable to drag/drop the web parts, and the Minimize/Close popup no longer appears (even after switching back to browse).
  • User profile image
    davior
    It appears as though we have been tempted again with promises of functionality that cannot be kept..

    When should we expect to see this working again? I dont really understand why a beta or CTP version of AJAX is so much more functional than the final release!!

    Please add this functionality back soon (or at least inform your users of when this will occur).


    Thank you.
  • User profile image
    davior
    Hi All,

    I have created a workaround for those people that require this functionality to operate as specified in this demo (i.e. the drag and drop inside of an UpdatePanel.)

    Because I'm in a sharing mood I am releasing it - Simply download the project from here https://www.ahsa.com.au/documentation/AJAX.Compatible.WebPartManager.zip, and follow the instructions on how to make the WebPartManager work with AJAX 1.0 Smiley

    (basically just compile, add a ref to your web project and add a TagMapping to the web config)

    Enjoy Smiley
  • User profile image
    dicecca
    davior wrote:
    Hi All,

    I have created a workaround for those people that require this functionality to operate as specified in this demo (i.e. the drag and drop inside of an UpdatePanel.)

    Because I'm in a sharing mood I am releasing it - Simply download the project from here https://www.ahsa.com.au/documentation/AJAX.Compatible.WebPartManager.zip, and follow the instructions on how to make the WebPartManager work with AJAX 1.0

    (basically just compile, add a ref to your web project and add a TagMapping to the web config)

    Enjoy


    Hi Davior,

    I'm sorry... I am VERY new at this, however, I do have a project going, and it works.  I don't fully understand what you are saying here though.  I want the web parts to work with AJAX, but it doesn't.  It is behaving as it always has since I have made it.

    Could you explain to me a little more exactly what you mean.  Do I need to place your .dll in my bin directory in MY project?  Again... I am not quite sure what you mean here.

    Thank you,

    D
  • User profile image
    rlullez
    Sorry Davior, but I make exatly all about you talk me. and no work...

    can You explain a little bit, please?

    thanks
  • User profile image
    zubir
    Instead of assign some text to the label, try assigning System.DateTime.Now and then do drag drop.
  • User profile image
    zubir

    isPostBack is true which contradicts the sample. Please reply ASAP
    Zubir_09@hotmail.com

  • User profile image
    keydet
    This feature is back in ASP.NET 3.5 / Visual Studio 2008.
  • User profile image
    Domainscann​ers

    Thanks for the video. I have been waiting for VS2008 and 3.5 Framework to enable this functionality in a project I am working on.

    I have spent a few days playing with this and just thought I would post a couple of things I have found out here on the off chance it helps someone else out.

    First with 3.5 you dont need to add the tag mappings as shown in the video to your web.config.

    Second, I originally had a WebPartManager control in a masterpage and wrapped a ProxyWebPartManager control in an Update Panel within a User Control. I found that this lost drag \ drop functionality of controls between WebPartZones. To fix this I deleted the ProxyWebPartManager control and moved the WebPartManager control from my masterpage directly to my User control and wrapped this within an update panel. Drag \ drop functionality now works ok in IE7. This does not seem to support FireFox or Safari yet but its a good start. I plan to use a LayoutEditorPart to enable these users to move controls between zones and hopefully future .net framework versions will have cross browser support for drag \ drop.

    Paul.


  • User profile image
    rkrewddyt

    hjm, bjm cbnkm mhvbm vbnmvhmn ghjmbvhmnghmjghj

  • User profile image
    anwar

    hai this is very good ,i like this ,i love this,i eat thisa finally i hate this one
     

  • User profile image
    praveeen

    hai what is this i can not understand this please send the material in detail manner so please come with good material
     

  • User profile image
    anwar

    @praveeen: adi ante praveen we can not do any thing

Add Your 2 Cents