Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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 February 14th, 2007, 12:10 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 238
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to rsearing
Default dropdownlist1_selectedindexchanged doesn't fire

I have a dropdown list on my page that holds a parameter for a Gridview.

I added:

Protected Sub dropdownlist1_selectedindexchanged (By Val....)
  Gridview1.databind()
End Sub

But this never triggers on the page when I select different values. I did a bit of research and there was a note stating that if the "value" doesn't change...then it won't fire, so I thought I'd test to make sure the "values" were different (since I was populating with text)--and they are different values.

Why isn't the index changed event firing?

Thanks, in advance,
Rob

 
Old February 14th, 2007, 12:16 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

I'm sure you already have autopostback="True" on the front page. Once the thing fires, what will it do?

 
Old February 14th, 2007, 01:44 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 238
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to rsearing
Default

Sigh. No, hadn't done that--I thought it autopostback was default true for some odd reason.

Thanks for the help!

regards,
Rob






Similar Threads
Thread Thread Starter Forum Replies Last Post
CustomValidator won't fire method cridley General .NET 4 August 4th, 2009 05:37 AM
forest fire model cedance C++ Programming 0 December 11th, 2006 01:00 PM
SelectedIndexChanged Event doesn't fire ddudley3 ASP.NET 2.0 Professional 7 February 6th, 2006 10:47 AM
Help My house on Fire Matthew Access VBA 9 November 30th, 2005 03:21 PM





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