Author: dkirk | Posted on: 8/20/2009 7:33:44 PM | Views : 276

 ok, so maybe I have been working too long today and I'm missing something... I am in the middle of working on a project and all of a sudden I have a ddl that will not maintain state after a postback. I copied the code over to a test site but it still doesn't work! After making a selection (any selection) and clicking the button, the item that is selected is the first item that is returned from the db, my blank list item that I am adding is not even there... WTH!! Code is below...
aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title& ...

Go to the complete details ...