473,473 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MSDN Code Broken for VB.NET

I have been working all day to try and make the following VB.NET Code work
at
http://msdn.microsoft.com/library/de...mmandevent.asp
If I put a break on the onitemchange Event it never fires. However if I use
the C# code provided everything works great. Can anyone help me spot the
coding error.. or if im doing something wrong.. I copied the code exactly.

Thanks
Nov 19 '05 #1
3 1089
Sorry wrong URL
http://msdn.microsoft.com/library/de...trolsample.asp

Any help would be very much appreciated

Thanks
"Bill Smith" <no@spamplease.com> wrote in message
news:OT**************@TK2MSFTNGP09.phx.gbl...
I have been working all day to try and make the following VB.NET Code work
at
http://msdn.microsoft.com/library/de...mmandevent.asp If I put a break on the onitemchange Event it never fires. However if I use the C# code provided everything works great. Can anyone help me spot the
coding error.. or if im doing something wrong.. I copied the code exactly.

Thanks

Nov 19 '05 #2
Check if ViewState is set on the control on which you placed the
breakpoint

Bill Smith wrote:
Sorry wrong URL
http://msdn.microsoft.com/library/de...trolsample.asp
Any help would be very much appreciated

Thanks
"Bill Smith" <no@spamplease.com> wrote in message
news:OT**************@TK2MSFTNGP09.phx.gbl...
I have been working all day to try and make the following VB.NET Code work at

http://msdn.microsoft.com/library/de...mmandevent.asp
If I put a break on the onitemchange Event it never fires. However if I use
the C# code provided everything works great. Can anyone help me

spot the coding error.. or if im doing something wrong.. I copied the code exactly.
Thanks


Nov 19 '05 #3
Thanks for the reply,

I do have viewstate enabled on it. When I click on each item the page
preforms normally and highlights the item selected. Its just for some reason
not calling the event MyList_ItemCreated and MyList_SelectedIndexChanged

Here are the SUBs that I placed the breaks on:

Protected Overrides Sub OnLoad(e As EventArgs)

Protected Sub MyList_ItemCreated(sender As Object, e As
TemplatedListItemEventArgs)

Protected Sub MyList_SelectedIndexChanged(sender As Object, e As EventArgs)

Thanks

<rj******@gmail.com> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
Check if ViewState is set on the control on which you placed the
breakpoint

Bill Smith wrote:
Sorry wrong URL

http://msdn.microsoft.com/library/de...trolsample.asp

Any help would be very much appreciated

Thanks
"Bill Smith" <no@spamplease.com> wrote in message
news:OT**************@TK2MSFTNGP09.phx.gbl...
I have been working all day to try and make the following VB.NET Code work at

http://msdn.microsoft.com/library/de...mmandevent.asp
If I put a break on the onitemchange Event it never fires. However if I
use
the C# code provided everything works great. Can anyone help me

spot the coding error.. or if im doing something wrong.. I copied the code exactly.
Thanks

Nov 19 '05 #4

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

Similar topics

12
by: Steven T. Hatton | last post by:
This is something I've been looking at because it is central to a currently broken part of the KDevelop new application wizard. I'm not complaining about it being broken, It's a CVS images. ...
0
by: ATS | last post by:
PRB: .NET 2.0 and .NET 2.0 SDK breaks MSDN 2004 Please help, I have installed the MSDN Library 2004, which was working GREAT for searches. If I entered into the search window "CDC landscape"...
3
by: S. van Beek | last post by:
Dear reader, I still have a problem with my reference libraries. In my frond end application a check procedure for missing references is available. The problem I confronted with is that...
5
by: clintonG | last post by:
Neither MSDN code examples nor will function. Has anybody figured out how to use the 2.0 classes, methods and properties to dynamically create HTML in the HTML <head> element? I've burned...
0
by: bda | last post by:
Hello, the XSL-Debugger Sample (MSXML 4 SDK) was removed from the MSDN website, so that download is impossible now. The download link exists in the VS 2003 help collection and in some...
1
by: fiaolle | last post by:
Hi I Can't get the MSDN's example for Listbox to work.The example is below. I get an error in Listbox's sub ListBox1_SelectedValueChanged at row textBox1.Text = ListBox1.SelectedValue and it...
13
by: Steven Bethard | last post by:
Jean-Paul Calderone <exarkun@divmod.comwrote: Interesting. Could you give a few illustrations of this? (I didn't run into the same problem at all, so I'm curious.) Steve
11
by: Bill Cunningham | last post by:
Richard can you or anyone else tell me what's wrong with this code. It's just a simple error I'm sure. #include <stdio.h> int main(int argc,char *argv){ char name="Enter Code -";...
2
by: Nariban Barkan | last post by:
I need this page ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WEBDEV.v10.en/dhtml/workshop/author/dhtml/reference/commandids.htm The online link (...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.