Basic Date Picker Forums

Welcome to Basic Date Picker Forums Sign in | Join | Help
in Search

Dynamically Adding BDP Lite Error

Last post 08-03-2009, 4:48 AM by geoffrey.mcgill. 2 replies.
Sort Posts: Previous Next
  •  10-16-2008, 6:38 AM 1733

    Dynamically Adding BDP Lite Error

    I am trying to add a bdp dynamically to the page. The control is stored in an array as when the page posts back the dynamic controls are removed. So on page load the controls are added from the array, but I get the following error:

    An entry with the same key already exists.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: An entry with the same key already exists.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentException: An entry with the same key already exists.]
       System.Collections.Specialized.ListDictionary.Add(Object key, Object value) +2247216
       BasicFrame.WebControls.ClientScriptManager.RegisterClientStyleInclude(String key, String url) +223
       BasicFrame.WebControls.ClientScriptManager.RegisterClientStyleInclude(String resourceName) +52
       BasicFrame.WebControls.BDPLite.RegisterStyles() +261
       BasicFrame.WebControls.BDPLite.Page_PreRenderComplete(Object sender, EventArgs e) +97
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2010340
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566
    

  •  06-30-2009, 8:55 AM 1798 in reply to 1733

    Re: Dynamically Adding BDP Lite Error

    almost same error. waiting for the answer

  •  08-03-2009, 4:48 AM 1812 in reply to 1798

    Re: Dynamically Adding BDP Lite Error

    Can you post a simplified .aspx code sample which demonstrates how to reproduce the problem?


    Thanks,
    Geoffrey McGill
    ----------------------------------------
    Coolite Inc.
    Email: support [at] coolite [dot] com
    Phone: +1(888)775-5888
View as RSS news feed in XML
 
Powered by Community Server, by Telligent Systems