Last post May 13, 2005 03:39 AM by happyplace2020
May 10, 2005 10:23 AM|ozonic|LINK
Again - I cannot thank the development community enough for the support so far - for each answer that I get - means that I am one step closer to being comfortable with DNN - and implementing it across a whole range of sites.
Now I have another issue - I am trying to build a custom module.
I used DotNetNuke Code tempates for VS 2003.
Now when I try and implement it I added more than one module to my page - and I get the following message.
A critical error has occurred.
Multiple controls with the same ID 'ctr' were found. FindControl requires that controls have unique IDs
Also I have to add another module - like links or announcements - then delete this control - so that the 2 custom modules render without giving total errors.
Does anyone know how to fix this issue.
May 10, 2005 03:02 PM|Romi1485|LINK
There seems to be issue with your ModuleControls table records. In this table you may be having two records with same controlkey. Take a precise look regarding this
May 12, 2005 02:30 AM|ozonic|LINK
I took a look at this table like you suggested , but everything seems to be in order - below is a space deliminated view of my custom module.
179 106 View Blinks DesktopModules/BLinks/BLinks.ascx 0
180 106 Edit edit Blinks DesktopModules/BLinks/BLinksEdit.ascx 1
181 106 Settings settings for blinks DesktopModules/BLinks/Settings.ascx 1
So I still do not know what to do about this.
May 13, 2005 03:39 AM|happyplace2020|LINK
For whatever reason, two controls are being added to the page with the same id.
If your custom modules are rendering controls to the page with custom id's it may be worth testing the naming of your controls by suppressing the control output and simply outputting a list of control id's to a label.
If your custom module adds two module controls to a page in one go (e.g., a shopping module that adds a shop front control and a shop navigation control) then this might be the cause.