Httphandler fires twice

Discussion in 'ASP .Net Web Controls' started by richi, Feb 23, 2005.

  1. richi

    richi Guest

    Hello

    I have an HTTPHandler which retrieves a dataset from SQL Server and converts
    it to XML. This is then used as the commandtext for an OWC 11 pivot table
    like this.

    document.frmSpendPivot.PivotControl1.ConnectionString = "provider=mspersist"
    document.frmSpendPivot.PivotControl1.CommandText = "GetPivotData.aspx"

    The strange thing is the ProcessRequest of the GetPivotData page fires twice
    meaning the database is queried twice for the same dataset before being
    passed to the Pivot Table.

    I would like to obviously avoid the second trip so would like to know if
    anyone has had a similar problem and how they got round it.

    Many thanks in anticipation!

    R
    richi, Feb 23, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bob Barrows

    Re: Page Load Event Fires Twice

    Bob Barrows, Jul 9, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    384
    Bob Barrows
    Jul 9, 2003
  2. Steve C. Orr, MCSD

    Re: Page Load Event Fires Twice

    Steve C. Orr, MCSD, Jul 9, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    573
    Wray Smallwood
    Jul 10, 2003
  3. Jonas Nilsson

    ItemCommand Event fires twice

    Jonas Nilsson, Aug 1, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    2,035
    Jonas Nilsson
    Aug 1, 2003
  4. H Branyan

    Page_Load fires twice

    H Branyan, Oct 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    668
    H Branyan
    Oct 22, 2003
  5. Replies:
    3
    Views:
    981
Loading...

Share This Page