L
Lisa Calla
My aspnet web was working perfectly fine, then I added a second datalist to
a page. The datalist can be formatted in the designer and everything looks
fine. In the codefile, I can see the datalist after me. and intellesense
works for the control datalist2. Build\Rebuild all reports a failure, but
does not specify the errors. Running the page results in a message box
'There were build errors. Would you like to continue and run the last
successful build?'. There are zero errors shown on the error list. Weird,
right? AND, when I comment out lines in the codefile that reference the
datalist2, the web runs just fine. So we have
the control displays correctly in the designer
Intellesense shows the control's members and methods in the codefile
Rebuilding from the menu fails for some unspecified reason
Running the web fails
But all works correctly when the lines in the codefile referencing the
datalist (ie, datalist2.enabled = true, or anything else) are commented out.
Anyone less confused by this than me?
a page. The datalist can be formatted in the designer and everything looks
fine. In the codefile, I can see the datalist after me. and intellesense
works for the control datalist2. Build\Rebuild all reports a failure, but
does not specify the errors. Running the page results in a message box
'There were build errors. Would you like to continue and run the last
successful build?'. There are zero errors shown on the error list. Weird,
right? AND, when I comment out lines in the codefile that reference the
datalist2, the web runs just fine. So we have
the control displays correctly in the designer
Intellesense shows the control's members and methods in the codefile
Rebuilding from the menu fails for some unspecified reason
Running the web fails
But all works correctly when the lines in the codefile referencing the
datalist (ie, datalist2.enabled = true, or anything else) are commented out.
Anyone less confused by this than me?