Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
srinivasa reddy...
(25)
Tejinder Singh ...
(16)
Babu Akkandi
(16)
Last 7 Days
Appukuttan
(620)
Babu Akkandi
(453)
Tejinder Singh ...
(267)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Commit() error while using PopupControlExtender of AjaxToolKit
Posted Date: 19 May 2008
Resource Type:
Errors and Solutions
Category:
General
Author:
Bharathi
Member Level:
Diamond
Rating:
Points
: 5
Error :
The control '
' already has a data item registered.
Parameter name: control
Solution:
The above error occurs with the PopupControlExtender of AjaxToolKit. This occurs when the commit() function of the control is called. The reason is because the commit() might be called twice or the event where the commit funtion is called would be fired twice. ie, the commit() fires before the popupcontrolextender is closed.
To solve this instead of calling the commit() function, assign the value directly to the target control and call the cancel() of the popupcontrolextender. Like,
Targetcontrol1.text = sourcecontrol1.text;
popupcontrolextender.cancel();
Responses
Author:
Kumar Velu
02 Jun 2008
Member Level:
Diamond
Points
: 0
thanks..
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
The Project is not configured to be debugged
Previous Resource:
Problem with UriBuilder
Return to Discussion Resource Index
Post New Resource
Category:
General
Post resources and
earn money
!
Related Resources
Object reference not set to an instance of the object
getYear() wont work in Mozilla
Visual Studio .NET Debugger Does Not Stop on Breakpoints When You Debug ASP.NET Pages
Prefer const and inline to #define macros in C/C++
Error Cannot Inherit From Sealed Class
dotNet Slackers
BizTalk Adaptors
Web Design
Contact Us
Privacy Policy
Terms Of Use