Re: Shoving dynamic code in the middle of a page.
- From: "Ken Cox [Microsoft MVP]" <BANSPAMken_cox@xxxxxxxxxxxx>
- Date: Wed, 25 May 2005 09:39:48 -0400
Hi Jeffrey,
You can put a Placeholder control there and in your codebehind, add controls
you create to the placeholder's Controls collection.
Ken
"UJ" <fred@xxxxxxxxxxx> wrote in message
news:uYDpoMSYFHA.796@xxxxxxxxxxxxxxxxxxxxxxx
> I'm a newbie to this so please excuse the level of question. My question
> is how can I dynamically create a table in the middle of a page without
> having to build the entire page dynamically? I have code to build the
> string that will generate the table. (This is all to solve the problem of
> when a person clicks a checkbox in a datagrid, there's no way of knowing
> what record it belongs to - see my previous post)
>
> Here's what my code would look like ideally:
>
> <html>
> <body>
> <form>
> Isn't this a pretty page?
>
> (Some kind of code that would build all the controls I need.
> Ideally this code would be a function that is in the codebehind page)
>
> Done creating my stuff.
> </form>
> </body>
> <html>
>
> Thanks again in advance.
>
> Jeffrey.
>
.
- References:
- Prev by Date: Keep getting this error when trying to use Web Parts in VS2005 Beta 2. Why?
- Next by Date: Problems with sound
- Previous by thread: Shoving dynamic code in the middle of a page.
- Next by thread: Re: Shoving dynamic code in the middle of a page.
- Index(es):
Relevant Pages
|