473,396 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Is it supported to render a ASP.NET user control in Excel

I have a user control with a datagrid and few other information on
title and summary. Will I be able to render this control on a Excel
(Meaning Export to Excel) - just like the way we do for the datagrid?

Thanks in advance.

Sekhar.
Nov 18 '05 #1
2 1084
Sekhar wrote:
I have a user control with a datagrid and few other information on
title and summary. Will I be able to render this control on a Excel
(Meaning Export to Excel) - just like the way we do for the datagrid?

Thanks in advance.

Sekhar.


AFAIK, yes, as the HTML is rendered and outputted for the export (it's a
HTML to Excel transformation). So any HTML (as long as Excel handles it
correctly) should work...so you may need to tweak your HTML to give
Excel some tabular layout it likes...

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 18 '05 #2
This article covers everything you need to know:
http://www.aspnetpro.com/NewsletterA...200309so_l.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Sekhar" <ma**@sekhar.net> wrote in message
news:f3**************************@posting.google.c om...
I have a user control with a datagrid and few other information on
title and summary. Will I be able to render this control on a Excel
(Meaning Export to Excel) - just like the way we do for the datagrid?

Thanks in advance.

Sekhar.

Nov 18 '05 #3

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

Similar topics

2
by: Alien2_51 | last post by:
This is a simple report that is supposed to render as an Excel document, for some reason it's not anymore, not sure why, I think it's related to permissions, we recently added a domain user as the...
6
by: vandalo | last post by:
Hi all I developed a service which can convert an office document (word, excel, powerpoint into HTML and save it on the file system To do this I use the "save as" functions of the office...
2
by: Jeti [work] | last post by:
I'm using ASP.NET (Framework 1.1), and have encountered folowing problem: I have testing page: "testing.aspx", and i have created two controls (register and htmlEditor). register control...
2
by: Andrea Williams | last post by:
I have a form where the user chooses reporting options and when submit is clicked, I need to present them with dynamically created excel file. In Classic ASP I would just change the viewing...
2
by: Henri | last post by:
Hi I would like to use a User Control to render the body of the mail I send. The problem is that my application is not an ASP.NET page so I can't use any Page reference to call LoadControl What...
4
by: Zuel | last post by:
Hi Folks. So I have a small problem. My DoPostBack function is not writen to the HTML page nor are the asp:buttons calling the DoPostBack. My Goal is to create a totaly dynamic web page where...
3
by: John Hughes | last post by:
I'm trying to add a user control to a form via the pages render method and I get the following error : "Control 'Button1' of type 'Button' must be placed inside a form tag with runat=server" ...
1
by: ad | last post by:
I use the codes below to render a Gridview to Excel. But it fail with RegisterForEventValidation can just be call in Render() But if myGrid is a DataGrid, it run well. How can I render a...
1
by: Urs | last post by:
Hi the user control below renders OK when added in the designer. Why does it NOT render when added programmatically? Do I have to instruct the control somehow to render, or do I miss something?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
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,...
0
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
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
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,...

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.