Creating a custom extender -> properties not showing up

Last post 11-02-2006 1:51 PM by David Anson. 22 replies.

Sort Posts:

  • Creating a custom extender -> properties not showing up

    08-02-2006, 11:04 PM
    • Member
      295 point Member
    • simone_b
    • Member since 12-11-2004, 8:51 AM
    • Italia
    • Posts 69
    Hi, I'm stuck in trying to create a new extender. When I drag it on the page and select an eventual target control I can see my extender's properties row in the property pane with the "+" on its side, but clicking the "+" doesn't show anything. I tried comparing my extender project with the Atlas Toolkit project source to see if I was missing something. I tried signing my assembly and adding the same attributes in the AssemblyInfo file but it simply doesn't work. When I open the original Atlas Toolkit solution instead everything works file and in the demo pages I can see the properties of the extenders showing up. Any idea?
  • Re: Creating a custom extender -> properties not showing up

    08-03-2006, 9:34 AM
    • Member
      295 point Member
    • simone_b
    • Member since 12-11-2004, 8:51 AM
    • Italia
    • Posts 69
    Ok I investigated it a bit and found out that the problem was that in order to show them in design mode you need at least to write an entry of the extenderproperties in source mode, then they are shown up even in design mode. Well, it may be a bug in the implementation, since it's not very user friendly to switch to source mode every time you need to wire up an extender.
  • Re: Creating a custom extender -> properties not showing up

    08-03-2006, 2:43 PM
    • Member
      10 point Member
    • adham21
    • Member since 06-17-2003, 6:58 PM
    • San Diego, CA
    • Posts 2
    I'm having this same exact issue with the July CTP of the toolkit and VS2005. Seems like a bug to me.
  • Re: Creating a custom extender -> properties not showing up

    08-04-2006, 3:01 AM
    • Member
      10 point Member
    • JoyEarth
    • Member since 08-03-2006, 6:34 PM
    • Posts 2

    We are experience the exactly same problem. This seems really serious.

    After hacking here and there for a while, we suddenly got it to work by placing a UpdatePanel to an empty form, build and run the page to see an error that "there is no ScriptManager on the page", and then we back to the design mode and drag over a ScriptManager, run again, this time nothing wrong. Again back to the designer, we found that on target controls the extended properties can be expanded just like in the ACT's sample web project. Unfortunately, when we put more things into the form, all extended properties are null again.

    We have tried once in case we cannot set up the extended properties in the designer, we manually put code in the source view, set up all required attributes of the property, build and run, and got a "NullReference" thing...whereas the same code seems working like charm in the sample application.

    What's wrong on earth?

  • Re: Creating a custom extender -> properties not showing up

    08-04-2006, 4:01 AM

    I concur. I followed the example for creating my own atlas extender to the letter. Extender properties will not show up in design view unless you have added a reference to one extended property by hand in the source view first.

    Also, can anyone tell me why when i tried the walkthrough, the extender does not show up in my toolbox? The walkthough explains how to add the extender manually, which i did. I'd like to know how to add it to the toolbox correctly though.

    Thanks,

    Oli.

  • Re: Creating a custom extender -> properties not showing up

    08-04-2006, 5:05 AM
    • Member
      35 point Member
    • StevieT
    • Member since 11-09-2005, 3:55 PM
    • Posts 7

    Hi,

    I have done exactly the same thing. I watched the "How to" video on using the Control Toolkit and then downloaded both Atlas and the Control Toolkit.

    If I try to extend any controls (like the ConfirmButtonExtender in the video), I see a row in properties for "ConfirmButtonExtender" but when I click the + sign, nothing happens and I dont see the expected ConfirmText property.

    I was looking forward to using these features but I am now on-hold.

    Any ideas - anyone?

  • Re: Creating a custom extender -> properties not showing up

    08-04-2006, 8:46 PM
    • Star
      8,710 point Star
    • David Anson
    • Member since 04-10-2006, 9:39 PM
    • Microsoft
    • Posts 1,842
    • AspNetTeam

    The issue I'm looking into as a result of this thread can be summarized briefly as:

    When in design mode, expanding the Properties window for a control that can be extended by an extender already present on the page but is not already being extended (see sample page below: the relevant control is TB2, a TextBox on a page with a TextBoxWatermark) shows an extender entry in the Properties with a '+' to expand. However, expanding that entry does NOT display the relevant extender properties like it does for a control that is already being extended (TB1 in the sample below), but rather does nothing and removes the '+' graphic.

    Very preliminary investigation on my part suggests that the problem is not due to the new data binding support in the 60731 release as one might guess, but rather was introduced with the switch from the April CTP of Atlas to the June CTP. (Recall that the previous release of the Toolkit (60626) shipped with the April CTP and therefore worked correctly.) I have not yet narrowed the issue down further, but will do so with Shawn on Monday as he's more familiar with the relevant code.

    As outlined above, the best known workaround is to switch to source mode, add a simple extender properties entry for the relevant control manually, then switch back to design mode where the '+' will expand properly.

    Thanks for everyone's help in identifying this issue and their patience as we figure out how best to fix it.


    http://blogs.msdn.com/delay

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Creating a custom extender -> properties not showing up

    08-04-2006, 9:44 PM
    • Member
      10 point Member
    • adham21
    • Member since 06-17-2003, 6:58 PM
    • San Diego, CA
    • Posts 2

    David,

    Your summary is exactly correct.  Thanks for looking into this.

    Adham

  • Re: Creating a custom extender -> properties not showing up

    08-05-2006, 6:11 PM
    • Member
      10 point Member
    • usergroup
    • Member since 07-20-2006, 11:08 PM
    • Posts 2
    Can you please explain how to add a simple extender properties entry for the relevant control manually?  Thanks.
  • Re: Creating a custom extender -> properties not showing up

    08-06-2006, 2:42 PM
    • Member
      55 point Member
    • Knox
    • Member since 04-20-2006, 8:26 AM
    • Posts 12

    usergroup:
    Can you please explain how to add a simple extender properties entry for the relevant control manually?  Thanks.

    For the "Creating a new extender" walkthrough, modify the code for your extender in Default.aspx so that it looks like this:

     

    <cc1:DisableButtonExtender ID="DisableButtonExtender1" runat="server">
        <cc1:DisableButtonProperties MyProperty="property" TargetControlID="TextBox1" />
    </cc1:DisableButtonExtender>
     
  • Re: Creating a custom extender -> properties not showing up

    08-10-2006, 1:19 PM
    • Contributor
      4,346 point Contributor
    • sburke_msft
    • Member since 04-04-2006, 7:28 PM
    • Redmond, WA
    • Posts 770
    • AspNetTeam
    Note this issue (the one for this thread) has been resolved.  You can pick up the change from CodePlex, with any change number >= 2691.
    Don't forget, this posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Creating a custom extender -> properties not showing up

    08-10-2006, 1:28 PM
    • Member
      295 point Member
    • simone_b
    • Member since 12-11-2004, 8:51 AM
    • Italia
    • Posts 69
    Thanks Shawn for letting us know that.
  • Confused [8-)] Re: Creating a custom extender -> properties not showing up

    08-16-2006, 1:05 PM
    • Member
      266 point Member
    • dyt4
    • Member since 07-14-2002, 8:50 AM
    • France
    • Posts 57

    sburke_msft:
    Note this issue (the one for this thread) has been resolved.  You can pick up the change from CodePlex, with any change number >= 2691.

     

    I've all read but nothing was resolved, I use July CTP and I can't see properties .??

    Where can I pick up the change, is there a fix ? Or must we wait a newest CTP ?

    Thanks

    Regars

    Regards



    David
  • Re: Creating a custom extender -> properties not showing up

    08-16-2006, 2:03 PM
    • Contributor
      3,846 point Contributor
    • rchern13
    • Member since 07-14-2005, 12:52 PM
    • Saint Louis
    • Posts 829
    You get it from CodePlex as Shawn said.  http://codeplex.com , you can find the toolkit there.
    HTH, rchern.

    Churned Ajax Toolkit

    Please choose "Mark as Answer" for the posts that lead you to a solution.
  • Re: Creating a custom extender -> properties not showing up

    08-16-2006, 2:41 PM
    • Member
      266 point Member
    • dyt4
    • Member since 07-14-2002, 8:50 AM
    • France
    • Posts 57

    rchern13:
    You get it from CodePlex as Shawn said.  http://codeplex.com , you can find the toolkit there.

    yes I know I've just downloaded the toolkit here : http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=AtlasControlToolkit and the problem is the same :(

    Regards



    David
Page 1 of 2 (23 items) 1 2 Next >