473,511 Members | 15,197 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Output the HTML contents of a dynamically created control

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)


Nov 20 '05 #1
2 1023
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" <og*****@online.microsoft.com> wrote in message
news:u0**************@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)


Nov 20 '05 #2
That example works like a charm. Thanks a lot,

cheers,

Oguzhan
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Oz*************@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" <og*****@online.microsoft.com> wrote in message
news:u0**************@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)



Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
63572
by: Free-Ed, Ltd. | last post by:
I am going nuts trying to find a paragraph in a book that described how to change the text content (HTML) in a DIV. Actually I have an array of HTML strings that I want to drop into the DIV,...
3
10145
by: John Chen | last post by:
I need to use iframe to create a floating frame. But the contents in the iframe is not a external html file. Rather, it will be dynamically created by jsp. How can I set the src attribute to a URL...
1
1932
by: Henry Nelson | last post by:
Hi all I'm very new to dotNet and just trying to get my head around the right way to do the thing that I would normally do in asp. In asp I would loop through a recordset and output all the...
2
2409
by: buran | last post by:
Dear ASP.NET Programmers, I have a HTML table (running as server control with the control ID: tblInsertSP). The table has 16 rows with textboxes. Depending on the value of the ddlSPType, which...
1
3394
by: Marcus | last post by:
I have a problem maybe one of you could help me with. I've created a data entry screen with lots of dynamically-created client-side controls. I create HTML texboxes client-side by assigning a...
1
4643
by: Steve Franks | last post by:
OK this is driving me nuts - hope someone can help. I am searching for a way to dynamically output a value within the HeaderTemplate section of a Repeater control. Is this possible? It is...
2
2140
by: Will Rickards | last post by:
In my web application there is an interactive report. Then there need to be a printable version a pdf. So I found this java tool csstoxslfo and the java fop tool from apache that will take my...
2
1560
by: gralexp | last post by:
Hi Guys. I have a problem, and for some reason I have not been able to find an answer on the net. In a nutshell, I have some codes on my page, which I want to change to an appropriate string...
15
1800
by: jools | last post by:
I'm having trouble modifying some code written by someone else. The code is very dense and obscure but does work fine. However I need to insert a block of my own and I've hit what I assume is a...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7349
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5659
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3210
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1572
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.