Duplication when adding new object instances

Thread is closed for posting
2 posts, 0 answers
  1. Nigel
    Nigel avatar
    1 posts
    Member since:
    Apr 2009

    Posted 24 Apr 2009 Link to this post


    I am using Open Access with MSSQL2005 Express in an AJAX Application using the Telerik ASP.NET Control Libraries... I have created a HTTPModule to house the active scope + transaction throughout the page lifecycle and all seems to be working well, however when the page loads my code attempts to load a record from the database, if this isnt loaded it then creates a new instance of my persistent class, sets its properties and saves a new record... the problem is that it creates 2 identical records in the database...

    I am using a RadAjaxManager... the strange thing is that this does not occur in Googles Chrome Browser where everything works fine, it is IE7 and Firefox where this behaviour occurs... The page is hit once, and only one object Instance is created, Why would 2 records be committed to the database?

    Help would be much appreciated!


  2. Zoran
    Zoran avatar
    534 posts

    Posted 27 Apr 2009 Link to this post

    Hello Nigel,

    This is a very strange behavior you just reported, my best guess is an issue in you HttpModule implementation. That is not necessary the case though and we could give you a more reliable feedback if you could send us a sample project where this behavior is demonstrated.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top