Simon Hibbard's Web Apps Blog

ASP.Net beware the rogue ‘form’ tag!


I have just spent 3 evenings trying to resolve an issue with an ASP.Net datagrid and getting the updated values from the cells in the OnRowUpdating event.After trying every conceivable possible method of getting the values under the sun I find that the cause of these missing values was one ‘form’ tag with ‘method=”post”‘ sitting in the HTML of my master.master page and screwing up the postback

Damn that was a hard lesson to learn!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s