Creating drop down dynamically using TemplateItemList

  •  03-20-2008, 6:09 PM

    Creating drop down dynamically using TemplateItemList

    I need to create the toolbar dynamically from a comma separated list stored in a database. Additionally, I would like those items to be created in groups, like how they are when defined in the XML file (g_start, g_end). Adding g_start and g_end to the comma separated list doesn't work. How do I group items this way?
     
    Additionally, I need to create a custom drop down list for syntax highlighting. How would I do this using the TemplateItemList method of toolbar loading? Is this possible? Would it be better to write an HttpHandler that writes the XML file dynamically?
     
    Please provide code examples with your answer. Thanks.

View Complete Thread