Controls that can be extended by PopupMenu

Last post 07-18-2006 2:28 AM by jimzim. 3 replies.

Sort Posts:

  • Controls that can be extended by PopupMenu

    07-14-2006, 7:38 PM
    • Participant
      945 point Participant
    • skills0
    • Member since 07-29-2002, 3:29 PM
    • Chicago IL
    • Posts 178
    Hi all,

    I was just trying to do a simple popup menu that triggers off a label/span/div.  Maybe I'm using the wrong extender for the job.  I don't really want to update the target control on the page, I just want to trigger the popup on click (not hover), do some server-side processing in the code inside the popup panel (using an update panel) and then close the popup when a user hits save.  The use case is the user is doing some work around a template: save, save as, rename, delete.  they will select the action using radio buttons, potentially enter some text in a textbox (such as a rename) and then hit save.  I then want to take care of their action and dismiss the popup.  This is really just a variation on the Netflix scenerio that others have asked about.

    It looks like I have to commit to the target control in order to close the popup menu.  The problem is I can't commit to a control like a label, because it is trying to write out data to the label and says it has no default destination property defined.  It works okay if the target control is a textbox, but that really isn't the interface behavior I want.  Do I need to customize the extender, use something else???

    Thanks,

    Curtis
    Curtis Swartzentruber / CLARITY CONSULTING
    http://blogs.claritycon.com/blogs/curtis_swartzentruber
    Work for us: http://www.claritycon.com/careers/
    Personal Blog: http://feeds.feedburner.com/swartzentruber/QFjK
  • Re: Controls that can be extended by PopupMenu

    07-17-2006, 2:09 PM
    • Star
      8,710 point Star
    • David Anson
    • Member since 04-11-2006, 1:39 AM
    • Microsoft
    • Posts 1,842
    Have you looked at ModalPopup? It sounds a little like that may be more appropriate here?

    http://blogs.msdn.com/delay

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Controls that can be extended by PopupMenu

    07-17-2006, 3:37 PM
    • Participant
      945 point Participant
    • skills0
    • Member since 07-29-2002, 3:29 PM
    • Chicago IL
    • Posts 178
    I was considering that, not sure if we want to disable the rest of the page or not.  But I'll take a look at it.  Does it have the same issue as the popup control with being inside an update panel?  I'm having the duplicate ID issue with the Popup Extender.

    cs
    Curtis Swartzentruber / CLARITY CONSULTING
    http://blogs.claritycon.com/blogs/curtis_swartzentruber
    Work for us: http://www.claritycon.com/careers/
    Personal Blog: http://feeds.feedburner.com/swartzentruber/QFjK
  • Re: Controls that can be extended by PopupMenu

    07-18-2006, 2:28 AM
    • Member
      243 point Member
    • jimzim
    • Member since 02-03-2006, 9:31 AM
    • Tampa, FL
    • Posts 41
    • TrustedFriends-MVPs
    Pretty soon you will be able to use a balloon type control thats data is generated synamically through your web service , page method, etc.   You can close it by clicking an close image and could be popped up by a click event or hove event.  Best of both worlds.  You really will be able to use any control that uses this type of behavior.  We are getting the prototypes to work now, and should not be too much longer before we can have others test it out.  I hope I am not too far off what you are wanting to do. 
    Jim Zimmerman
Page 1 of 1 (4 items)