By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,626 Members | 2,202 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,626 IT Pros & Developers. It's quick & easy.


P: n/a
Suppose I have the following DataList code:

<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
End Sub
<form runat="server">
<asp:DataList ID="dlUsers" OnCancelCommand="CancelList"
OnDeleteCommand="DeleteList" OnEditCommand="EditList"
OnItemCommand="ItemList" OnUpdateCommand="UpdateList" runat="server">
<asp:LinkButton ID="lnkButton" CommandName="Edit" runat="server"><%#
Container.DataItem("UName") %></asp:LinkButton>
<asp:LinkButton ID="lnkCancel" CommandName="Cancel" Text="Cancel"
<asp:LinkButton ID="lnkUpdate" CommandName="Update" Text="Update"
<asp:LinkButton ID="lnkDelete" CommandName="Delete" Text="Delete"

While debugging in Visual Web Developer 2005, once the debugger steps
into the <asp:DataList....line, then it goes on stepping on the same
line for a few times, then jumps on to the, say,
<asp:LinkButton...>line within the <ItemTemplate& continues jumping
on this line few times, then jumps onto the, say, anyone of the
<asp:LinkButton....lines within the <EditItemTemplate& continues
jumping on this line for a few times. What I mean to say is unlike how
the debugger steps sequentially within the <script></scripttag,
within the <form></formtag, the debugger jumps from here to there
haphazardly & randomly. I couldn't exactly figure out on what basis is
the debugger stepping within the <form></formtag. Does anyone have
any idea on what basis does the debugger behave within the



Aug 15 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.