Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
 


  Sponsors  

Meet Our Sponsors

Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  ArgumentException..Need Urgent Help..Please..
Previous Previous
 
Next Next
New Post 8/10/2007 12:17 AM
User is offline Saheb
2 posts
10th Ranked


ArgumentException..Need Urgent Help..Please.. 

Hi,

            I have a aspx page. In that page I am using a control which contains a grid and buttons for Save and cancel.

When user clicks on the edit button beneath the control the control becomes editable.

The problem I m facing is ,whenever I click on the Edit button ,the ascx page is called twice and I get an exception  (during debugging)” An entry with the same key already exists.” I get this error wherever I use Client id in javascript inside”<%=…%>”.And because of this error none of the functions are called and ultimately the functions are not working.

I m attaching Screen shot …

Please provide me with solution..

I need that urgently.

 The Part of code i m getting error-------------The exception is thrown wherever i m using ("<%= ABC.ClientID %>");

function

{

 

 

NewRow()var validator_Required = document.getElementById("<%= CustomValidator1.ClientID %>");// ).value = flag;return false;

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  ArgumentException..Need Urgent Help..Please..
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca
Icthus Technologies
Building Faith on the Internet
www.icthustech.com
Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP