need help generating a dynamic list control <ul />...

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hi there,

i'm creating a dynamic menu system for a CMS website application. What i am
currently doing is the following: in a function called LoadMenu(), i loop
through the required db records and add the menus on the fly, however
because its not known which folder level the page will be on, i need to use
a <asp:hyperlink> control so i can use the navigateUrl="~/...."
functionality, whilst still programaticallly creating the <ul><li></li></ul>
tags.

I tried the following:

1. Using a Literal control - does not allow child controls.
2. Use a placeholder control - i can add the hyperlink but i dont know how
to add the relevant list tags.

If there is a way to add the "<ul>" tag from a server side control, eg. new
HTMLGenericControl, can anyone give me a quick example code?


Any help appreciated.
thanks,
Paul


.



Relevant Pages

  • Re: Slope Compensation and Vodka
    ... > | IIRC its associated with the sampled-data nature of the overall ... > | loop, which the standard linear analysis conveniently ignores. ... the real circuit for a control loop analysis, ... It all seems to boil down to the "choice" of modulator transfer ...
    (sci.electronics.design)
  • Re: Exploring the FOPDT Model With a Parameter Sensitivity Study
    ... primary focus is on PID control and related architectures. ... PID loops and from 50 to over 1000 measurements. ... A control person seeking to tune a loop 'might' ... And I know my posts on this newsgroup announcing the publication of the ...
    (sci.engr.control)
  • Re: The Cascade Control Architecture - controlguru post
    ... performance are cascade control and feed forward with feedback trim. ... literally nest a secondary control loop inside a primary loop as ... you _cannot_ improve the disturbance ...
    (sci.engr.control)
  • RE: New to VBA, Search for hole in numeric value using string as a cri
    ... You are setting the control to true and never checking for it's ... Then loop through those looking for the gap in numbers. ... > Dim tcrNum As Integer ... > Dim tcrPull As Integer ...
    (microsoft.public.access.formscoding)
  • Re: question about thread scheduling
    ... still have problems with rescheduling. ... In essential, it is a control problem, and I must send a voltage to the ... If the NN run in a different thread as the control loop ...
    (microsoft.public.windowsce.platbuilder)