[CLOSED] Async loading and re-loading of panels in a reporting portal - Suggestions?

Page 3 of 3 FirstFirst 123
  1. #21
    I still think your best bet is to use httphandler to return only the data needed to render the chart. This is also good for separation of logic and UI. You can still render the chart control and set configurations on the server side but let the data handling be done via a httphandler. We do the same thing here. All the chart configs are handled on the server side. We have readonly session enabled on a ChartFactory.ashx. It works great because all the UI config code resides in one class and all the data loading is handled in the ChartFactory.ashx. If we ever decide to switch out the chart control (from Dundas to ExtJS 4), it will be easy. We have a desktop portal that's configurable with 1-3 columns and different widgets. User can choose from 10-15 widgets. Some are grids, some are charts, some are list of links. Data for grids and charts are all loaded with ChartFactory.ashx and GridFactory.ashx.

    Edit: we also have drilldown capabilities in our charts by using Dundas's GetHtmlImageMap function.
  2. #22
    Quote Originally Posted by sadaf View Post
    Do you have any idea why that might be?
    This is the default functionality of DirectMethod and DirectEvent calls. By default the ViewState is not sent in the requests.

    To enable, you should only have to add the ViewStateMode property to the [DirectMethod] attribute configuration.


    [DirectMethod(ViewStateMode = ViewStateMode.Enabled)]
    You should not have to add the extra config object to the client-side function call.

    If the above [DirectMethod] attribute configured as above, then the following call will Request/Receive ViewState in all requests.


    Hope this helps.
    Last edited by Daniil; Jan 19, 2012 at 7:09 AM.
    Geoffrey McGill
  3. #23
    Hi @sadaf,

    Please clarify can we mark the thread as closed?
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 4
    Last Post: Nov 03, 2011, 7:46 PM
  2. [CLOSED] Height Issues when auto loading panels
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 19
    Last Post: Mar 21, 2011, 8:04 PM
  3. Replies: 7
    Last Post: Jul 16, 2010, 12:02 AM
  4. Replies: 6
    Last Post: Mar 12, 2010, 1:34 AM
  5. Replies: 0
    Last Post: Oct 07, 2009, 4:10 AM

Tags for this Thread

Posting Permissions