![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a slight problem with SetEditableDesignerRegionContent(region,content) .. it keeps telling me that I already have a control with the same ID when I try to update, thus failing and somehow actually adding stuff twice .. |
#3
| |||
| |||
|
Noone? ![]() "Micke Andersson" wrote: I have a slight problem with SetEditableDesignerRegionContent(region,content) .. it keeps telling me that I already have a control with the same ID when I try to update, thus failing and somehow actually adding stuff twice .. |
#4
| |||
| |||
|
|
hi Micke, I dont know the structure of your code logic and what you are doing exactly to get this problem. One of the things i have noticed when using designer regions and editabledesignerregions is that if i emit the call to base.SetViewFlags in the Initialize method of my designer class then unique ids are not maintained. |
#5
| |||
| |||
|
|
That actually appears to have fixed it. While I am not editing templates per se, I understand the logic behind it, kinda. Maybe they should have called that option something else - something more generic- if it just makes the designer aware of the fact that there's actually other web code living around it. Oh, and write some help past the automatically generated stuff once you get past looking for help about adding an onClick event ![]() Thanks a lot for helping out, /Micke "Alessandro Zifiglio" wrote: hi Micke, I dont know the structure of your code logic and what you are doing exactly to get this problem. One of the things i have noticed when using designer regions and editabledesignerregions is that if i emit the call to base.SetViewFlags in the Initialize method of my designer class then unique ids are not maintained. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |