By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,987 Members | 1,552 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,987 IT Pros & Developers. It's quick & easy.

OnSelectedIndexChanged event does not fire with custom inherited class

P: n/a
I have a custom class that inherits System.Web.UI.Page for use with all my
pages.

On a page I'm trying to use a DropDownList. I have autopostback=true and
have a method defined for the OnSelectedIndexChanged event, but this event
never fires when using my custom class. The dropdownlist is populated from a
DB using a BindData function that I call in Page_Load where I check for
IsPostBack, so thats not the issue.

In my class I have ovveridden a couple of methods (OnInit, OnPreRender,
OnUnload), but I made sure to call the base versions in all of them.

Any ideas why the SelectedIndexChanged event does not fire when using a
custom inherited class? I'm doing something to mess up the event from
firing, any ideas where to look???

Thanks in advance.. Stu
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.