Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 September 7th, 2004, 08:16 AM
Registered User
 
Join Date: May 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default button postback does not work

Hi,

I have a dropdownlist and a button on my aspx page. If i have more than 90 items in the dropdownlist my button does not do postback. If there are less than 80 items in the dropdownlist, same button does postback now. I couldnt understand what is going on, can someone please help.

I tried to set the 'enableviewstate' property to false, then the button can do the postback, but the dropdownlist can not remember the selection.

Thanks so much!!!
Ganesh
[email protected]

 
Old September 8th, 2004, 07:33 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Your dropdownlist is not remembering the selection because EnableViewState property is set to false.
   Postback doesnt depends on no.of items in the Dropdownlist.It should postback whatever maybe the number of items.Can you post some code of yours to check?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the image button on PostBack Aker C# 6 May 19th, 2008 11:20 AM
Control button to print 20 reports - doesn't work chacquard Access VBA 5 December 14th, 2006 01:11 PM
Link Button does not work properly nitinp ASP.NET 2.0 Basics 0 November 9th, 2006 06:02 AM
How to disable PostBack for a button control? ashraf_gawdat .NET Framework 2.0 7 October 23rd, 2006 01:14 PM
Button doesnt work help john111 Java GUI 4 March 21st, 2006 05:22 PM





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