Wednesday, February 3, 2010
.Net Controls Not Posting Back
If you're .NET controls are not posting back there could be a couple of reasons. First make sure that if it's not a button that AutoPostBack is set to "True". Another error that I came across when none of my buttons would post back is that the html that was created from a GridView was invalid. Tow controls were named the same thing and thus when the html was rendered they were given the same name. Once I made sure that all controls had unique names, the button posted back perfectly.
Subscribe to:
Posts (Atom)