Using InnerHtml to build up div

I am trying to build up a series of invoices based upon date parameters
by adding each invoice to the InnerHtml of a Div. I am using a
StringBuilder object to build up the HTML for each invoice that I am
then adding to the InnerHtml.

This works very well, but if I ever select more than about 10 invoices
it crashes. I do not get an error message, I just get a 'The page
cannot be displayed' screen.

Can anybody help?


*** Sent via Developersdex http://www.developersdex.com ***
Mike P [ Mi, 09 April 2008 13:46 ] [ ID #1938612 ]

Re: Using InnerHtml to build up div

You may want to look at an example of mine on how to do manual post backs to
the server. It how I would approach such a job

http://dev.thatsit.net.au/samples/aspnet/postback/default.as px

"Mike P" <mike.parr [at] gmail.com> wrote in message
news:OhRgTdjmIHA.1208 [at] TK2MSFTNGP03.phx.gbl...
>I am trying to build up a series of invoices based upon date parameters
> by adding each invoice to the InnerHtml of a Div. I am using a
> StringBuilder object to build up the HTML for each invoice that I am
> then adding to the InnerHtml.
>
> This works very well, but if I ever select more than about 10 invoices
> it crashes. I do not get an error message, I just get a 'The page
> cannot be displayed' screen.
>
> Can anybody help?
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
Premium Plastics [ Mi, 09 April 2008 13:57 ] [ ID #1938616 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Using InnerHtml to build up div

Vorheriges Thema: asp:menu question - How to get a count of a childItem?
Nächstes Thema: ASPNET 2.0 do I need to put everything inside <div>