Output the HTML contents of a dynamically created control

Discussion in 'ASP .Net Web Controls' started by Oguzhan Filizlibay, Nov 20, 2005.

  1. 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)
     
    Oguzhan Filizlibay, Nov 20, 2005
    #1
    1. Advertising

  2. Oguzhan Filizlibay

    Karl Seguin Guest

    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" <> wrote in message
    news:...
    > 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)
    >
    >
    >
    >
    >
    >
     
    Karl Seguin, Nov 20, 2005
    #2
    1. Advertising

  3. That example works like a charm. Thanks a lot,

    cheers,

    Oguzhan


    "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
    wrote in message news:...
    > 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" <> wrote in message
    > news:...
    >> 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)
    >>
    >>
    >>
    >>
    >>
    >>

    >
    >
     
    Oguzhan Filizlibay, Nov 20, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marcus
    Replies:
    1
    Views:
    1,178
    Cathal Connolly [C# MVP]
    Jul 21, 2005
  2. Oguzhan Filizlibay
    Replies:
    2
    Views:
    371
    Oguzhan Filizlibay
    Nov 20, 2005
  3. muthu
    Replies:
    2
    Views:
    816
    bruce barker \(sqlwork.com\)
    Apr 26, 2006
  4. Aur_Ros
    Replies:
    1
    Views:
    381
    John Timney \(MVP\)
    Oct 5, 2006
  5. msimmons
    Replies:
    0
    Views:
    516
    msimmons
    Jul 16, 2009
Loading...

Share This Page