The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
hi all,
I'm adding some elements to a combo box and I want to set one of its value as a initial value.
I wrote the following code, but it is not setting '2' as initial value.Is it correct or not ? Is theie any solution to this ?
cmb1.Items.Add ( "1" );
cmb1.Items.Add ( "2" );
cmb1.Items.Add ( "3" );
cmb1.Items.Add ( "4" );
strselval = "2";
cmb1.Text = strselval;
regards.
lat