Hi!.. well ..is not a error, maybe ..but no really hehe..
when i run the page who contains the WebChart.. this page display error, i know the folder CharImages would be in the same directory of the page.. but, anybody of INFRAGISTICS can tell me, which event of the controls,that i use, for catch the exception of the control. and handle with my code ??
:) regards!!
Alfredo Melo H.
what does the error message say?
If you're providing invalid data, handle InvalidDataReceived event. If you didn't data bind the chart, you will see the text set by EmptyChartText property.
i mean, when the folder ChartImages doesn't exist, how can i catch the exception ??.. cause i can't handle this error when the folder "ChartImages" doesn't exist
The only way to catch all exceptions is to create a new control that inherits the chart control. This however, will not catch exceptions thrown by any of the chart control's javascript. Unless you're using session based deployment, ChartImages folder must exist. I'm not sure why you need to check for its existence.
Hi!
thx for your replies, but i really want to know for all controls too... coz in this project we need handle the exceptions ..we need to create a dictionary of errors .. when they occurs, this means, when any control of infragistics and controls of Visual also can fail, but the administrators have need to know what happen and for what.. but i believed that infragistics controls contained an event wich that i can handle this exceptions..
Thx :D..
Regards
Alfredo Melo Hernandez
Sorry, no such event exists within our controls. The best way to handle all control exceptions is to create a derived control that exposes an event, which fires when an internal exception occurs.