|
<div class="col-lg-12 control-section">
<div id="listbox-control">
<h4>Select your favorite car:</h4>
<SfListBox DataSource="@Data" TValue="string[]" TItem="DataValues" @bind-Value="@Value"></SfListBox>
<br /> <br />
<h4> Selected Items </h4>
<br />
@{
foreach (string item in Value)
{
<div> @item </div>
}
}
</div>
</div>
@code{
public string[] Value = new string[] { "Hennessey Venom" };
} |
|
@using Syncfusion.Blazor.DropDowns
<SfListBox @ref="ListBoxObj" DataSource="@Vehicles" TValue="string[]" TItem="VehicleData" @bind-Value="@Value">
<ListBoxFieldSettings Text="Text" Value="Text" />
</SfListBox>
<button @onclick="Created">Click</button>
@code{
public string[] Value = new string[] { "Hennessey Venom" };
SfListBox<string[], VehicleData> ListBoxObj;
private void Created()
{
var Values = ListBoxObj.GetDataByValue(Value);
}
}
|
This should be in the documentation.
Hi Dan,
We will consider your request and update it in our online documentation site. This documentation will be refreshed in end of February.
Regards,
YuvanShankar A
Sorry for the delay, Dan.
Due to some technical issues, the list box UG documentation didn't refresh for this volume 1 main release. We will refresh the UG documentation for the list box by mid of April 2023. We appreciate your patience until then.
Hi Dan,
We have corrected the reported issue in our online UG documentation. Please check the below UG link for reference.
UG link: https://blazor.syncfusion.com/documentation/listbox/how-to/get-items
Please get back to us if you need further assistance.
Regards,
YuvanShankar A
This blazor.syncfusion.com page can’t be found
Hi David,
The Blazor Syncfusion demo sites are loading properly on our end. Please refer to the video demonstration and the demo link provided below. If you are still facing issues, please provide more details along with a video demonstration. Based on that information, we will check the issue and provide you with a prompt solution.
Demo link: https://blazor.syncfusion.com
Please let us know if you need any further assistance on this.
Regards,
KeerthiKaran K V