473,398 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

ASP.NET Processor Ignoring DataLists?

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
avail.

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.

Hmmm...

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
Nov 17 '05 #1
6 1100
When ever I add things manually in the HTML page and in the Web Form Designer generated code
I get into these kind of problems

Try using the Designer page as much as possible unless you know exactly what you are doing.

Once it works does it keep on working untill you mess with it again?

"Jonathan Hollinger" <jo******@loudcorp.com> wrote in message news:05****************************@phx.gbl...
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
avail.

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.

Hmmm...

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

Nov 17 '05 #2
When ever I add things manually in the HTML page and in the Web Form Designer generated code
I get into these kind of problems

Try using the Designer page as much as possible unless you know exactly what you are doing.

Once it works does it keep on working untill you mess with it again?

"Jonathan Hollinger" <jo******@loudcorp.com> wrote in message news:05****************************@phx.gbl...
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
avail.

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.

Hmmm...

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

Nov 17 '05 #3
No, I didn't add anything manually that made this
happen. I do tend to manipulate the HTML manually, but
the page I was working was working fine. The problem
actually tends to appear sporadically. Usually with a
change to the underlying C# code. I have even had a
problem where this problem will cascade across multiple
pages.

-----Original Message-----
When ever I add things manually in the HTML page and in the Web Form Designer generated codeI get into these kind of problems

Try using the Designer page as much as possible unless you know exactly what you are doing.
Once it works does it keep on working untill you mess with it again?
"Jonathan Hollinger" <jo******@loudcorp.com> wrote in

message news:05****************************@phx.gbl...
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 avail.

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.
Hmmm...

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

Nov 17 '05 #4
No, I didn't add anything manually that made this
happen. I do tend to manipulate the HTML manually, but
the page I was working was working fine. The problem
actually tends to appear sporadically. Usually with a
change to the underlying C# code. I have even had a
problem where this problem will cascade across multiple
pages.

-----Original Message-----
When ever I add things manually in the HTML page and in the Web Form Designer generated codeI get into these kind of problems

Try using the Designer page as much as possible unless you know exactly what you are doing.
Once it works does it keep on working untill you mess with it again?
"Jonathan Hollinger" <jo******@loudcorp.com> wrote in

message news:05****************************@phx.gbl...
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 avail.

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.
Hmmm...

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

Nov 17 '05 #5
What version/service pack of VS.NET are you using? It seems to me we
encountered that kind of crazy behaviour in the betas and very first release of
VS.NET but it went away after a service pack.

Hmmm... maybe not. I'm sure something ate a Handles clause at work the other
day.

Ken
MVP [ASP.NET]
--
Microsoft MVPs have a question for *you*: Are you patched against the Worm?
http://www.microsoft.com/security/se...s/ms03-026.asp

"Jonathan Hollinger" <jo******@loudcorp.com> wrote in message
news:05****************************@phx.gbl...
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
avail.

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.

Hmmm...

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
Nov 17 '05 #6
What version/service pack of VS.NET are you using? It seems to me we
encountered that kind of crazy behaviour in the betas and very first release of
VS.NET but it went away after a service pack.

Hmmm... maybe not. I'm sure something ate a Handles clause at work the other
day.

Ken
MVP [ASP.NET]
--
Microsoft MVPs have a question for *you*: Are you patched against the Worm?
http://www.microsoft.com/security/se...s/ms03-026.asp

"Jonathan Hollinger" <jo******@loudcorp.com> wrote in message
news:05****************************@phx.gbl...
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
avail.

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.

Hmmm...

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
Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jonathan Hollinger | last post by:
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...
2
by: Greg Fischer | last post by:
I need to access the properties of a control that is nested in 2 datalists. How do you use findcontrol method to do that? what I have is like this: <asp:datalist id="dlist" runat="server">...
0
by: Marty U. | last post by:
I have two datalists nested. On the ItemDataBound Event of the first datalist I databind the second with specific info. A couple questions: 1) How can I utilize the OnItemCommand of the nested...
1
by: tshad | last post by:
I am trying understand when DataLists ItemCreated is called. I put function that attaches a popup to my delete button: Sub DataList_ItemCreated(Sender As Object, e As DataListItemEventArgs)...
2
by: Nathan Sokalski | last post by:
I have a page on which I want to display several sections each of which contain a list of names. I have two database tables, one of which contains the section headings, and the other contains the...
2
by: Diffident | last post by:
Hello All, I have a question on datalists. I have 5 datalists on a page and when I try to view the "ViewSource", the value for the __VIEWSTATE is empty. How do datalists persist their values? ...
2
by: bravegag | last post by:
Hi all, I developed a transformation process that works beautifully when tested using MS Internet Explorer i.e. adding the <?xml-stylesheet type="text/xsl" href="../xslt/xmldiffs.xsl"?> on top...
8
by: Shilpa | last post by:
Hi Can anyone guide me by providing me the code ,for the following requirement: how to write a macro for a 16 bit processor that returns the calculated seconds of a year assuming 365 days in a...
2
by: Ole V.-M. | last post by:
Greetings, i have a UserControl, that contains a DataList. That DataList contains as items other DataLists. example: DataList A Row 1 Nested DataList 1 Row 1
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.