Intersoft WebCombo Documentation
How-to: Set initial value from server side in WebCombo
See Also Send comments on this topic.
Intersoft WebCombo > Getting Started > Samples and Walkthroughs > WebCombo Walkthroughs > How-to: Set initial value from server side in WebCombo

Glossary Item Box

In WebCombo, you can set initial WebCombo value from Server-side.

This topic will show you how to set initial value from Server-side in WebCombo.

To Set initial value from Server-side in WebCombo

  1. Bind WebCombo to AccessDataSource.
  2. Initiate WebCombo's Value in Page_Load server side event using WebCombo's Value property.

    C# Copy ImageCopy Code
    WebCombo1.Value = "ANTON";

  3. Here is the result.

     

 

WebCombo.Value should be supplied with WebCombo DataValueField not DataTextField

See Also