p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Basics (http://p2p.wrox.com/forumdisplay.php?f=136)
-   -   SelectedIndexChanged wont fire in content page (http://p2p.wrox.com/showthread.php?t=43120)

alemadlei May 28th, 2006 10:42 AM

SelectedIndexChanged wont fire in content page
 
I made a page without using a MasterPage. I have 3 Drop Down Lists (DDL).
The first DDL one shows some values. The second one is filled with data, and it depends on the value selected on the first DDL. The third DDL depends on the value selected on the second DDL.
The first and second have AutoPostBack = true.
It works fine. :)

The problem comes when i use a master page.

When the controls are inside a content page, the SelectedIndexChanged is not fired, and the selected values is always the first item in the DDL.[V]

Why does this happen?[?]
How can i make it work the same way it does when the controls are not in a content page?[?]

Any help would be really appreciated.
Thanks
:D


alemadlei May 28th, 2006 11:00 AM

I discovered why it happened.

A friend of mine added a form hardcoded in html. For some reason it ignored the web controls in the content page.

Funny thing isn't it



All times are GMT -4. The time now is 02:16 PM.

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