Ordering Cialis Gel

Oct 18th, 2014 by Lynn Demarest in ASP.NET, SQL Server, Technical, Web

Viagra in canada I was rolling along one night, viagra in canada tired but making good progress, viagra in canada when one of my DropDownLists refused to fire its OnSelectedIndexChanged event.

Viagra in canada During the postback, viagra in canada Page_Load fired, viagra in canada but the OnSelectedIndexChanged event for the control did not.

Viagra in canada After some time, viagra in canada I finally realized that the VALUES of the ill-behaving DropDownList were all the empty string (“”) because I had forgotten to make the key column of the table supplying the list data an IDENTITY column in SQL Server. Viagra in canada So even though the selected INDEX was changing, viagra in canada the selected VALUE was not. Viagra in canada It was always “”, viagra in canada because the keys were NULL in SQL Server.

Viagra in canada My point here is that had Microsoft named the event better — or fixed it so that it is fired when its name says it will be — the confusion could have been avoided.

Viagra in canada Be forewarned: The selected index in a DropDownList can change all it wants, viagra in canada but unless the underlying value changes the control’s SelectedIndexChanged event will not be fired.

Viagra in canada  

Average Rating: 5 out of 5 based on 248 user reviews.

No Comments

 

Comments have been closed for this post.