Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old January 17th, 2008, 01:15 AM
Registered User
Join Date: Apr 2004
Location: , , USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with DropDownList's Viewstate.


I m new to Asp.Net
I have one Dropdownlist with storing items as team numbers. i want to fetch record according to team no selected on button click.
When I select and team no and press button records are selected but i lost teamno. from drop down. after postback.....

can any one help for this..... how should i maintan ViewState..?

  #2 (permalink)  
Old January 19th, 2008, 08:07 AM
Registered User
Join Date: May 2007
Location: , , India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Why don't you fill the listbox in ISPOSTBACK Method.... Try and then tell me.. what is going on now

Vineet Kharbanda

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to compare dropdownlist's value with integer gaurav gupta ASP.NET 2.0 Basics 0 July 8th, 2008 02:23 AM
problem with viewstate and postback hertendreef ASP.NET 2.0 Professional 1 May 31st, 2008 04:05 PM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 09:17 AM
problem with viewstate? dll? namespace? vmw@email.byu.edu ASP.NET 1.0 and 1.1 Basics 0 June 19th, 2003 02:52 PM

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