Aug 19, 2009 01:23 AM|jcevans|LINK
Well, I am getting the same error message, but for a different reason.
- I tried the first suggestion above, change the build options. That did not work.
- I do not have any other copies of pages with the same names, so that rules that out.
I am reasonable certain my problem is because the upload control i am using (the control that generates the error message) is buried so far down in the templates of my GridView that simply putting the control name in the code behind does not fully address
it. When i put the fileupload, with this name outside of the GridView it works fine. But, when it is in the InsertItem template of one of the Fields, it generates this message.
I am hoping i just need to learn how to address the control properly in the code behind. Perhaps
fupEventLogo.enabled = true;
I need something like
gvEventInformation.Field6LogoUploadFilename.InsertItemTemplate.fupEventLogo.enabled = true;
or close to that. (This example does not work, but i'll bet it is moving in the right direction!)
I will just keep trying variations until I get it or i successfully address in the controls collection
If you have any suggestions, i would love to hear them!