cannot access chart wizard in asp.net (c#)

H

henri korver

in the good old days (before .net) when using Visual InterDev, I was able to
change the design of my charts very easily by using a graphical interface.
When I was in design mode of the IDE, I only had to right-click the Chart
control and I could choose the item "Commands and Options" which in turn led
me to a beautiful interface where I could set all my desired properties in
nice and intuitive way.

But now when I am working in an C# ASP.NET project nothing happens when I do
a right-click on the Chart control (Chart 11.0). When I right-click when
holding the CTRL key, I see the popup screen flashing up and the imemdiately
closing again.

Anyone of you having an idea what is going on here?
 
A

Alvin Bruney [Microsoft MVP]

your application isn't installed correctly. i suggest a re-install of OWC.
if by chance you installed 05 beta, it will break owc

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
 
H

henri korver

no, that is not case: i already reinstalled OWC (owc11.exe) with the latest
version sometimes. And it works perfectly. There are only problems when i
want to use the chart in an asp.net web project. For clarity let me
reformulate it in this way:

The chart works OK when working in a .net windows application project:
File / New / Project / Visual C # Projects / Windows Application

But I cannot start the chart wizard when working in an asp.net web project:
File / New / Project / Visual C # Projects / ASP.NET Web Application

At work I had the same problem on different machines and also at my machine
at home. Alvin, did you already try to reconstruct my problem on your
machine? It should be only one minute work

By the way, these are my .net versions:
Microsoft .NET Framework 1.1 Version 1.1.4322 SP1
Microsoft Development Environment 2003 7.1.3088
Microsoft Visual C# .NET 69586-335-0000007-18476


Alvin Bruney said:
your application isn't installed correctly. i suggest a re-install of OWC.
if by chance you installed 05 beta, it will break owc

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------


henri korver said:
in the good old days (before .net) when using Visual InterDev, I was able
to
change the design of my charts very easily by using a graphical interface.
When I was in design mode of the IDE, I only had to right-click the Chart
control and I could choose the item "Commands and Options" which in turn
led
me to a beautiful interface where I could set all my desired properties
in
nice and intuitive way.

But now when I am working in an C# ASP.NET project nothing happens when I
do
a right-click on the Chart control (Chart 11.0). When I right-click when
holding the CTRL key, I see the popup screen flashing up and the
imemdiately
closing again.

Anyone of you having an idea what is going on here?
 
A

Alvin Bruney [ASP.NET MVP]

That functionality is not available for ASP.NET. It's available with windows
forms because the chart component can bind directly to a datasource in
design mode. However, a chart in a web form does not have this ability. You
will, instead, have to bind at run-time for a web form. I reproduced the
behavior in version 11 and version 10 and it behaves consistently.

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________


henri korver said:
no, that is not case: i already reinstalled OWC (owc11.exe) with the
latest
version sometimes. And it works perfectly. There are only problems when i
want to use the chart in an asp.net web project. For clarity let me
reformulate it in this way:

The chart works OK when working in a .net windows application project:
File / New / Project / Visual C # Projects / Windows Application

But I cannot start the chart wizard when working in an asp.net web
project:
File / New / Project / Visual C # Projects / ASP.NET Web Application

At work I had the same problem on different machines and also at my
machine
at home. Alvin, did you already try to reconstruct my problem on your
machine? It should be only one minute work

By the way, these are my .net versions:
Microsoft .NET Framework 1.1 Version 1.1.4322 SP1
Microsoft Development Environment 2003 7.1.3088
Microsoft Visual C# .NET 69586-335-0000007-18476


Alvin Bruney said:
your application isn't installed correctly. i suggest a re-install of
OWC.
if by chance you installed 05 beta, it will break owc

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------


henri korver said:
in the good old days (before .net) when using Visual InterDev, I was
able
to
change the design of my charts very easily by using a graphical
interface.
When I was in design mode of the IDE, I only had to right-click the
Chart
control and I could choose the item "Commands and Options" which in
turn
led
me to a beautiful interface where I could set all my desired
properties
in
nice and intuitive way.

But now when I am working in an C# ASP.NET project nothing happens when
I
do
a right-click on the Chart control (Chart 11.0). When I right-click
when
holding the CTRL key, I see the popup screen flashing up and the
imemdiately
closing again.

Anyone of you having an idea what is going on here?
 
H

henri korver

thanks for reconstructing my problem such that I do not feel alone in this
world. However, I do absolutely not agree with your databinding argument. If
this argument is true why does the wizard functionality work fine with the
web forms in the good old Visual Interdev environment. I think it is just a
annoying bug that needs to be fixed.

Well, after all, I found a workaround that is reasonable. In Visual Interdev
I use the wizard to design my charts. In the background all the settings made
by the wizard are automatically saved as XML in the text view of the chart
object

<object id=ChartSpace1 style="LEFT: 0px; TOP: 0px"
classid="clsid:0002E55D-0000-0000-C000-000000000046" viewastext>
<PARAM NAME="XMLData" VALUE= …….>
</object>

At last, I copy these code lines into my ASP.NET environement and I have my
fully designed chart. Very handy, because sometimes it can be hard work
setting all the properties programmatically.




Alvin Bruney said:
That functionality is not available for ASP.NET. It's available with windows
forms because the chart component can bind directly to a datasource in
design mode. However, a chart in a web form does not have this ability. You
will, instead, have to bind at run-time for a web form. I reproduced the
behavior in version 11 and version 10 and it behaves consistently.

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________


henri korver said:
no, that is not case: i already reinstalled OWC (owc11.exe) with the
latest
version sometimes. And it works perfectly. There are only problems when i
want to use the chart in an asp.net web project. For clarity let me
reformulate it in this way:

The chart works OK when working in a .net windows application project:
File / New / Project / Visual C # Projects / Windows Application

But I cannot start the chart wizard when working in an asp.net web
project:
File / New / Project / Visual C # Projects / ASP.NET Web Application

At work I had the same problem on different machines and also at my
machine
at home. Alvin, did you already try to reconstruct my problem on your
machine? It should be only one minute work

By the way, these are my .net versions:
Microsoft .NET Framework 1.1 Version 1.1.4322 SP1
Microsoft Development Environment 2003 7.1.3088
Microsoft Visual C# .NET 69586-335-0000007-18476


Alvin Bruney said:
your application isn't installed correctly. i suggest a re-install of
OWC.
if by chance you installed 05 beta, it will break owc

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------


in the good old days (before .net) when using Visual InterDev, I was
able
to
change the design of my charts very easily by using a graphical
interface.
When I was in design mode of the IDE, I only had to right-click the
Chart
control and I could choose the item "Commands and Options" which in
turn
led
me to a beautiful interface where I could set all my desired
properties
in
nice and intuitive way.

But now when I am working in an C# ASP.NET project nothing happens when
I
do
a right-click on the Chart control (Chart 11.0). When I right-click
when
holding the CTRL key, I see the popup screen flashing up and the
imemdiately
closing again.

Anyone of you having an idea what is going on here?
 
A

Alvin Bruney [ASP.NET MVP]

If you think its a bug, i'd encourage you to submit it to the product
support group that way it gets addressed. sorry i could not be more helpfull

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________


henri korver said:
thanks for reconstructing my problem such that I do not feel alone in this
world. However, I do absolutely not agree with your databinding argument.
If
this argument is true why does the wizard functionality work fine with the
web forms in the good old Visual Interdev environment. I think it is just
a
annoying bug that needs to be fixed.

Well, after all, I found a workaround that is reasonable. In Visual
Interdev
I use the wizard to design my charts. In the background all the settings
made
by the wizard are automatically saved as XML in the text view of the chart
object

<object id=ChartSpace1 style="LEFT: 0px; TOP: 0px"
classid="clsid:0002E55D-0000-0000-C000-000000000046" viewastext>
<PARAM NAME="XMLData" VALUE= ...>
</object>

At last, I copy these code lines into my ASP.NET environement and I have
my
fully designed chart. Very handy, because sometimes it can be hard work
setting all the properties programmatically.




Alvin Bruney said:
That functionality is not available for ASP.NET. It's available with
windows
forms because the chart component can bind directly to a datasource in
design mode. However, a chart in a web form does not have this ability.
You
will, instead, have to bind at run-time for a web form. I reproduced the
behavior in version 11 and version 10 and it behaves consistently.

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________


henri korver said:
no, that is not case: i already reinstalled OWC (owc11.exe) with the
latest
version sometimes. And it works perfectly. There are only problems when
i
want to use the chart in an asp.net web project. For clarity let me
reformulate it in this way:

The chart works OK when working in a .net windows application project:
File / New / Project / Visual C # Projects / Windows Application

But I cannot start the chart wizard when working in an asp.net web
project:
File / New / Project / Visual C # Projects / ASP.NET Web Application

At work I had the same problem on different machines and also at my
machine
at home. Alvin, did you already try to reconstruct my problem on your
machine? It should be only one minute work

By the way, these are my .net versions:
Microsoft .NET Framework 1.1 Version 1.1.4322 SP1
Microsoft Development Environment 2003 7.1.3088
Microsoft Visual C# .NET 69586-335-0000007-18476


:

your application isn't installed correctly. i suggest a re-install of
OWC.
if by chance you installed 05 beta, it will break owc

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------


message
in the good old days (before .net) when using Visual InterDev, I was
able
to
change the design of my charts very easily by using a graphical
interface.
When I was in design mode of the IDE, I only had to right-click the
Chart
control and I could choose the item "Commands and Options" which in
turn
led
me to a beautiful interface where I could set all my desired
properties
in
nice and intuitive way.

But now when I am working in an C# ASP.NET project nothing happens
when
I
do
a right-click on the Chart control (Chart 11.0). When I right-click
when
holding the CTRL key, I see the popup screen flashing up and the
imemdiately
closing again.

Anyone of you having an idea what is going on here?
 

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

Top