AddItem does not Persist Server-Side

1 reply. Last post: October 26, 2009 12:08 AM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

The AddItem.aspx and AddItemAdvanced.aspx provided C# WebCombo sample is not persisting Server-Side.

I added the code below to the C# Sample.

1. Run Page
2. Type "Bob"
3. Press Enter
4. Click OK
5. Click Post

The following is display next to the Post Button:

"Text: Nancy"

Doug

 

protected void Post_Button_Click(Object sender, EventArgs e)

{

      _Label.Text = "Text: " + WebCombo1.Text;

}

 

<asp:Button

      ID="Post_Button"

      runat="server"

      OnClick="Post_Button_Click"

      Text="Post"

/>

     

<asp:Label

      id="_Label"

      runat="server"

/>

 

 

All times are GMT -5. The time now is 11:25 AM.
Previous Next