Using InnerHtml to build up div

Using InnerHtml to build up div

am 09.04.2008 13:46:17 von Mike P

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 ***

Re: Using InnerHtml to build up div

am 09.04.2008 13:57:10 von Premium Plastics

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" wrote in message
news:OhRgTdjmIHA.1208@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 ***