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

Duplication when adding new object instances

1 Answer 46 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nigel
Top achievements
Rank 1
Nigel asked on 24 Apr 2009, 05:49 AM
Hello,

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!

Thanks

Nigel

1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 27 Apr 2009, 07:42 AM
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,
Zoran
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.
Tags
Development (API, general questions)
Asked by
Nigel
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or