469,311 Members | 2,444 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,311 developers. It's quick & easy.

ASP.NET Compiler Ingoring DataList

Very, very strange problem. In developing a C# ASP.NET
application, every so often, DataLists disappear from the
build. They remain visible and rendered (though
sometimes dropping properties and event handlers) but do
not seem to be included in the build (and are
consequently not rendered on the web page). I've looked
into the problem throughly, comparing output library
sizes and it seems as though DataLists (all datalists on
a page) are not parses and included properly by the
ASP.NET parser tool. Though, I am not sure whether the
problem lies is VS.NET or not. Sometimes, I can "force"
the page to rerecognize the control as existing, but then
on rendering the web page I get an error essentially
saying that there is no bound datasource. The datasource
was bound in the ASP tag itself and not is the code
behind the page, which leads me to believe that the
problem lies in the ASP.NET processor. I've even gone so
far as to reinstall VS.NET and the .NET framework to no

Though, another interesting twist that I found was that
at the same time the DataLists were not rendering, it
seems the data from a DropDownList which I had added
manually (not a DataBind) in the PageLoad event was being
dropped and not showing up either. Other pre-compiled
custom controls on the page which have similar
functionality (essentially DropDownList's with
data/manually bound list items) were not affected though.


Any ideas? Please please let me know. This is driving
me absolutely nuts and has virtually ceased development
for about a week now.

Thanks a lot,
Jonathan Hollinger
Jul 19 '05 #1
1 1335
You need to ask this on a dotnet list. This is a classic asp list so there
aren't many dotnet people here.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by pete K | last post: by
4 posts views Thread by jenn | last post: by
10 posts views Thread by Bharat | last post: by
4 posts views Thread by Patrick.O.Ige | last post: by
6 posts views Thread by Paul | last post: by
3 posts views Thread by Mirek Endys | last post: by
1 post views Thread by AJ | last post: by
3 posts views Thread by Crazy Cat | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.