Home All Groups Group Topic Archive Search About

Output the HTML contents of a dynamically created control

Author
20 Nov 2005 2:09 PM
Oguzhan Filizlibay
Hi all,

I am trying to dynamically generate an Email message. I have a
function that dynamically generates the table, rows and cells and the
text.

After I finish with that, I want to output the HTML contents of the
control to a string which in turn will be used in a send email
function as the body of the message.

I have tried the renderControl method with no luck. Any ideas are
appreciated. Thanks,

Oguzhan

(Cross posting as I am not sure where this falls in)

Author
20 Nov 2005 4:42 PM
Karl Seguin
Check out:
http://www.openmymind.net/FAQ.aspx?documentId=45

I think the actual code might be buggy (I seem to remember someone saying
so), but it should give you a good idea of what you need to do :)

karl

Show quoteHide quote
"Oguzhan Filizlibay" <oguz***@online.microsoft.com> wrote in message
news:u0m2Bwd7FHA.2176@TK2MSFTNGP14.phx.gbl...
> Hi all,
>
> I am trying to dynamically generate an Email message. I have a
> function that dynamically generates the table, rows and cells and the
> text.
>
> After I finish with that, I want to output the HTML contents of the
> control to a string which in turn will be used in a send email
> function as the body of the message.
>
> I have tried the renderControl method with no luck. Any ideas are
> appreciated. Thanks,
>
> Oguzhan
>
> (Cross posting as I am not sure where this falls in)
>
>
>
>
>
>
Author
20 Nov 2005 9:44 PM
Oguzhan Filizlibay
That example works like a charm. Thanks a lot,

cheers,

Oguzhan


Show quoteHide quote
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:OzKLvFf7FHA.720@TK2MSFTNGP10.phx.gbl...
> Check out:
> http://www.openmymind.net/FAQ.aspx?documentId=45
>
> I think the actual code might be buggy (I seem to remember someone saying
> so), but it should give you a good idea of what you need to do :)
>
> karl
>
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/
> http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!
>
>
>
> "Oguzhan Filizlibay" <oguz***@online.microsoft.com> wrote in message
> news:u0m2Bwd7FHA.2176@TK2MSFTNGP14.phx.gbl...
>> Hi all,
>>
>> I am trying to dynamically generate an Email message. I have a
>> function that dynamically generates the table, rows and cells and the
>> text.
>>
>> After I finish with that, I want to output the HTML contents of the
>> control to a string which in turn will be used in a send email
>> function as the body of the message.
>>
>> I have tried the renderControl method with no luck. Any ideas are
>> appreciated. Thanks,
>>
>> Oguzhan
>>
>> (Cross posting as I am not sure where this falls in)
>>
>>
>>
>>
>>
>>
>
>