|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Output the HTML contents of a dynamically created controlHi 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) 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 quoteMY 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) > > > > > > 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) >> >> >> >> >> >> > >
Detailsview and stored Proc
White spaces in DropDownList / Listbox / ... Simple question ??? How to build dynamicaly a menu in ASP.Net 2.0 (VS 2005) ? Playing a WAV file from a Web Page How to insert a new record in detailsview when there are no record Trust level problems with ISP's with components handling server clicks after client side script runs Exporting a CSV file to the database directly????? User Web Controls properties missed. Bug? |
|||||||||||||||||||||||