This is a migrated thread and some comments may be shown as answers.

ActiveRegion gives session error

5 Answers 25 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 06 Oct 2010, 03:31 PM
Hi,

I'm using RadChart in a SharePoint (MOSS 2007) enviroment.

The MOSS servers have sessionState disable. Thus I use the TempImageFolder property
Images of the charts are renderd. No problems here.

Now I started using Active Regions for drill down use of the graph.
And now I'm getting session state errors.

Is it not possible to have Active Regions without having sessionState on true ?

-----------------------------------------------------------------------------------------------------------
F.Y.I -> With Session state ON, the drill down function works.

Greetings
Erik

5 Answers, 1 is accepted

Sort by
0
Erik
Top achievements
Rank 1
answered on 07 Oct 2010, 07:16 AM
Session error is gone,

Image are updated,. Atleaste there are new image generated in the TempImageFolder.
The only problems is that the page, doesn't display the new images. It keep showing the old one.

Any ideas?

(If needed I could attach some of the code i use)
0
Giuseppe
Telerik team
answered on 11 Oct 2010, 05:19 PM
Hello Erik,

This is really odd as ActiveRegion functionality is working as expected in our local tests with and without session state; moreover, we have not received any similar customer reports so far.

You mentioned that the original problem was solved but it is unclear how did that happen -- could you elaborate on the specific configuration that you are using currently and is causing the problematic behavior and also whether there is a specific set of configuration settings that achieve the desired effect (but you are unable to use due to some internal policy of yours).


Best wishes,
Freddie
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Erik
Top achievements
Rank 1
answered on 11 Oct 2010, 06:27 PM
Thank you for replying to me.

I found out what the problem was. Although I did came up with a solution I did not "really" fix the problem.
I just went a other route to solve it.

First to explain the construction I "need" to use.

We use a SharePoint WebPart which includes an control template(.ascx).
On this Page (.ascx) we have the RadChart and other functionality.
One of the things why we need this construction, rather then adding the chart directly in the WebPart.
Is because of the custom enhanced authentication provider. (It is based on banking firm rules, like multiple factors etc)
(The banking part is the reason why posting code is not always allowed)

The WebPart in SharePoint was based on a Ajax update panel which included the control template.
I also used the construction with a RadGrid and worked fine updating with the use of Ajax was no problem.

However if I turn of session for the RadChart. The Chart is repainted (I can see the new file in de ImageTempFolder)
but the update panel is not triggered and therefore it does not show the new images.
I aspect this to be a bug or a coding issue. But because of time issues and death lines
I Currently fixed it without using the update panel.

Although It does not "Ajax" update. The page it self works like a charm, including chart updating and drill down features.

(At the moment I'm sitting at home, therefore I cannot send any code.)
If needed I could post the webpart update panel code tomorrow. (slightly alterd)

Hope this Informs enough.
Kind regards,

Erik Ittmann

0
Giuseppe
Telerik team
answered on 13 Oct 2010, 06:58 PM
Hi Erik,

We are a bit unsure how toggling on/off the session is tampering with the ajax update of the chart control (see the attached application). Could you try to isolate the issue outside Sharepoint and confirm whether the same behavior is observed or not?


Regards,
Freddie
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Erik
Top achievements
Rank 1
answered on 13 Oct 2010, 09:19 PM
Hi,

I'll see what I can do.
I not sure whether I can spent a lot of time investigating this Update Panel issue.
because in the project, where are not using the update panel any more, but the older not "ajax" SharePoint way

It's an interesting issue and if I have the time I will see what I can find.



I'll will keep you informed on new findings.
Tags
Chart (Obsolete)
Asked by
Erik
Top achievements
Rank 1
Answers by
Erik
Top achievements
Rank 1
Giuseppe
Telerik team
Share this question
or