retrieve child controls html content (forprint and download purpos

P

Paul TFT

I'm creating a control (inherited from Panel) that you can add contents to
(like a normal panel) that adds a header table with functions such as

Print Function - print contents of panel (using client side script)
Excel and Word - download contents to a file
Expand/Collapse - show or hide content

having trouble getting the html of the child controls when reacting to a
download click event. If the target is set to a datagrid I can use the
rendercontrol method to get its content but if I use the rendercontrol method
of the base control it will only give the base controls <div> element and no
contents.

Is there a way to get the entire contents of the basecontrol and its children?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top