Custom Control - Specific placement of HTML Textwriter output - Ho

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



I have a custom menu control that I am creating using C#. I am rendering
HTML from a StringBuilder in my control to add the needed JavaScript to the
HTML output. I need to have the JavaScript output from the stringbuilder
placed at the bottom of my <BODY> section, after the top navigation menu
dropdown dataset output. Currently the JavaScript is output to the top of
the <BODY> section of my HTML output from the control.

How can I accomplish this?

Thanks,
Hawk
.



Relevant Pages

  • Re: Whats Faster...Repeater or HTML Table
    ... I've also written paging code for it ... HTML route, I have a few pointers which will help. ... StringBuilder might be a bit faster, as it is a dynamic array of characters, ... I've got a DataGrid that has gotten a little out of control and really ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Javascript validation
    ... I wouldn't put your validation in the onClick javascript event of your ... I would drop a CustomValidator control on your page, ... Dim sClientSideValidate As New StringBuilder ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: The Problems of TeX
    ... errors and makes very heavy use of javascript that I can only guess, ... So you're comparing what's there as HTML with what's there as PDF. ... most part demonstrate the point of offering the user control over the ... graphic sizes, ...
    (comp.text.tex)
  • Accessing a HTML document in a resouce dll
    ... control which displays HTML pages. ... to access the document frames, I get an exception Access Denied. ... JavaScript when they are not in a resource dll. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Newbie Question on the Basics
    ... What is it in the HTML that calls the Javascript after every keypress? ... "onload" function then uses the DOM to locate nodes in the document ... when the script, not the HTML, is in control of its own ...
    (comp.lang.javascript)