2 Simple Questioons

M

Mark Fitzpatrick

There are plenty of chart controls that are specifically for ASP.Net. You'll
have to create an asp.net page that simply serves the chart as a binary
stream (basically just dump it to the response object's output stream) and
make sure that there is no HTML emitted. Then you can reference this page
with the image tag just as if it was an image and the chart will be streamed
to the page. As for the chart control itself, there are lots of them. Check
out http://www.asp.net/ControlGallery/default.aspx?Category=1&tabindex=2 for
a list of some of the charting controls available.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
M

Mark Fitzpatrick

Sorry, forgot to answer number two. The Request.ServerVariables has a
variable called LOGON_USER that contains the information of the mapped
username.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
K

Kevin Spencer

It should be noted that, if the web site allows anonymous access, LOGON_USER
will be blank (anonymous). The only way to get the Windows account name of
the user accessing the web site is to disallow anonymous access, thereby
forcing the user to log in with the credentials of a Windows account.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
H

Haitham

Hi There,

Can any one please help me in the following two questions,
i was developing an ASP application using VB.net (intranet application) and
my questiuons are

1- how can I use a Chart control in the Web form ?
2- Is there any was to get the windows login name of the user who is
connecting to my web form?

i hope you help me ASAP please

thanks in advance
 
D

DalePres

If you use the User.Identity.Name property then you get the login domain and
user name. It is a preferrable method over LOGON_USER. Like Kevin said,
though, you must have anonymous access turned off.

Dale
 

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,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top