2 Simple Questioons

  • Thread starter Thread starter Mark Fitzpatrick
  • Start date Start date
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
 
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
 
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.
 
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
 
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
 
Back
Top