Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 2nd, 2006, 03:31 AM
Registered User
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Strange ListBox Problem

Hi!
I am new to ASP.NET programming. I built a very simple ASP.NET application with C# using visual studio 2003. There is a ListBox in there and two buttons, One button is to add items to the ListBox and the other button is to detect which item in the listbox has been selected. It works ok when I run it from visual studio. After I deploy the application to the server, I can still add items to the listbox, but the items had been cleared first when I click on the button to see which item is selected. So it always tell me there is no items in the listbox and nothing is selected. by the way, enablestateview has been set to true for the ListBox and Page_Load function is empty. Is there anyone has a clue on this? Thank you very much in advance.

 
Old August 2nd, 2006, 05:00 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Is this related to .NET 1.1? If so, I think you should repost this question in one of the .NET 1.x forums; this one is for .NET 2.0.

If you do repost there, make sure you post your code as well.

Cheers,

Imar





Similar Threads
Thread Thread Starter Forum Replies Last Post
strange IE problem sully7 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 September 19th, 2008 08:44 AM
Strange problem... F3553 C++ Programming 1 October 25th, 2007 03:56 PM
Strange ListBox problem mirandaym ASP.NET 1.0 and 1.1 Basics 3 August 2nd, 2006 08:30 AM
kind of Really strange problem kalchev ASP.NET 2.0 Basics 1 March 22nd, 2006 03:32 PM
very strange problem! please help! raybristol ASP.NET 1.0 and 1.1 Basics 8 December 15th, 2005 06:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.