"drop down list" and "Show common control tasks"

ล็อกแล้ว "drop down list" and "Show common control tasks"

  • Thursday, October 04, 2012 2:11 PM
     
     

    I want to make a drop down menu in my site.

    I dragged a drop down list into the #top_nav.

    Then the instruction says:

    To bind the DropDownList control to a data source (I suppose they mean: where I can add the pages to which I want to send the visitor)
    1. In Design view, right-click the DropDownList control, and then click Show Common Control Tasks.

    When I right-click the DropDownList control I only see copy, paste, and:

    quick tag editor

    manage editable properties

    form field properties

    page properties.

    What do I wrong?

    I must admit that I'm a dummy and my technical English is not too good. I even have no idea which forum is for what. So I 'll do a lucky guess.

    Rig

All Replies

  • Thursday, October 04, 2012 4:01 PM
     
     
    Are you looking at the Expression Web User Guide? The first part, "To bind the DropDownList control to a data source" applies if you want to get the items for your Drop Down from a database. You probably should be looking at the second part, "To define items for the DropDownList control", where you add those items manually.

    ~ Kathleen Anderson
    Microsoft MVP - Expression Web
    Spider Web Woman Designs
    Expression Web Resources: http://www.spiderwebwoman.com/xweb/

  • Thursday, October 04, 2012 5:42 PM
     
     

    Thank you, Kathleen!

    Just: in the second part you also start with "Show Common Control Tasks", which I can't find:

    "To define items for the DropDownList control
    4. In Design view, right-click the DropDownList control, and then click Show Common Control Tasks.
    5. On the Common DropDownList Tasks menu, click Edit Items.
    6. In the ListItem Collection Editor dialog box, click Add to add an item.
    7. In the ListItem properties list, set the Text and Value properties."

    I tried 'form properties', because one can give an URL there, but I didn't succeed.

    Rig

  • Thursday, October 04, 2012 6:22 PM
     
     
    Don't right click on the control - hover over it until the little arrow pops out and click that. The DropDownList Tasks menu should fly out - choose the Edit Items option. 

    ~ Kathleen Anderson
    Microsoft MVP - Expression Web
    Spider Web Woman Designs
    Expression Web Resources: http://www.spiderwebwoman.com/xweb/

  • Thursday, October 04, 2012 7:27 PM
     
     

    The little arrow doesn't pop out. Maybe I have the wrong drop down box?

     
  • Thursday, October 04, 2012 7:39 PM
     
     
    It looks like you are using the Drop-Down Box from HTML > Form Controls. If you right-click on the form field, select Form Field Properties and add your items there. 

    ~ Kathleen Anderson
    Microsoft MVP - Expression Web
    Spider Web Woman Designs
    Expression Web Resources: http://www.spiderwebwoman.com/xweb/

  • Friday, October 05, 2012 6:44 AM
     
     

    You 're right. In the mean time I found another way to make a drop down menu, that is probably more appropriate.

    Thanks for your help

    Rig