<TelerikSplitter Orientation="SplitterOrientation.Horizontal" Height="70vh">
<SplitterPanes>
<SplitterPane Size="40%" Min="30%" Max="70%" Collapsible="false">

Is there a way to filter which file extensions are allowed to be selected? I limit to PDF or PNG but it allows me to select XML.
<div>
<hr />
<h4 class="gsi-padding-tb0-lr12">Upload File to Session...</h4>
<TelerikUpload AllowedExtensions="@( new List<string>() { ".pdf", ".png" } )"
OnSelect="@OnUploadSelect"
OnCancel="@OnUploadCancel"
OnRemove="@OnUploadRemove">
</TelerikUpload>
<div class="demo-hint gsi-padding-tb0-lr12">
<small>
Upload <strong>PDF</strong> or <strong>PNG</strong> files with a maximum size of <strong>6MB</strong>.
</small>
</div>
</div>

<TelerikComboBox @bind-Value="@SessionOptionIndex1"
Data="@SessionOption1Items"
ShowClearButton="false"
TextField="Name" ValueField="Id" />

The user doesn't have to select anything in my drop down. So, if they select something and change their mind and want to clear it... how do I do it?
<TelerikDropDownList @bind-Value="@SessionOptionIndex1"
Data="@SessionOption1Items"
TextField="Name" ValueField="Id" />There is a known issue where the previously selected row will stay selected. That's not what I'm seeing. My issue is seemingly random but consistent. Clicking certain rows will always apply "K-selected" to the same extra rows, and selecting any one of the highlighted rows will also highlight the same set of rows. There doesn't seem to be any connection in the data between the rows, and the "selected items" object is correctly holding the proper selected item and no others. Has anyone else seen anything similar? Thank you!
It would be difficult to provide you with working code, but the attached video shows my issue.

<TelerikCard>
<CardHeader Class="gsi-border-width-0 gsi-border-color-white">
<TelerikStackLayout Orientation="StackLayoutOrientation.Horizontal">
<h5>Filter</h5>
<TelerikButton Id="filterChevronButton" FillMode="Clear" Class="gsi-border-width-0 gsi-border-color-white"
Icon="@( FilterVisible? Telerik.SvgIcons.SvgIcon.ChevronUp : Telerik.SvgIcons.SvgIcon.ChevronDown)" />
</TelerikStackLayout>
</CardHeader>
<CardBody>
<TelerikStackLayout Spacing="5px">
<TelerikCard Width="33vh">
<CardBody>
A
</CardBody>
</TelerikCard>
<TelerikCard Width="33vh">
<CardBody>
B
</CardBody>
</TelerikCard>
<TelerikCard Width="34vh">
<CardBody>
C
</CardBody>
</TelerikCard>
</TelerikStackLayout>
</CardBody>
</TelerikCard> <TelerikDrawer MiniMode="false">
<DrawerContent>
<DrawerItem>
<TelerikCard Width="33vh">
<CardBody>
A
</CardBody>
</TelerikCard>
</DrawerItem>
<DrawerItem>
<TelerikCard Width="33vh">
<CardBody>
A
</CardBody>
</TelerikCard>
</DrawerItem>
<DrawerItem>
<TelerikCard Width="33vh">
<CardBody>
A
</CardBody>
</TelerikCard>
</DrawerItem>
</DrawerContent>
</TelerikDrawer>
I'm trying to programmatically set the Text color of TelerikTextBox. Problem I'm running into is that the Class being defined for the TelerikTextBox is based on CSS from TailwindCSS. I was hoping I could just add color: as a parameter but that would only work if using a "Style" not "Class" and TelerikTextBox doesn't support Style.
<style>
.safeText {
color: black;
}
.warningText {
color: red;
}
</style>
<TelerikTextBox Id="emptyReleaseOn" Class="form-display sm:text-sm sm:leading-5 text-center @(_expireColor)" Size="12" Value="@_currentBookingMTYRelease" ReadOnly="true" Width="6rem"></TelerikTextBox>Note: the above @(_expireColor) is not valid syntax to be used in Class attribute ... so not really sure how to go about this?
Code server-side:
private string _expireColor { get; set; } = "safeText";if (DateTime.TryParse(_currentBookingExpiresOn, out var expireDateValue))
{
if (DateTime.Now > expireDateValue)
{
_expireColor = "warningText";
}
}I found Telerik sample code here, but that's not what I'm trying to accomplish (need to retain the TailwindCSS).
Is there an easy way to accomplish this?
Rob.
With validation enabled for the blazor grid, once all the validation errors are resolved, the OnUpdate event should get fired but it is not. I checked in incell edit mode and it does gets fired but my requirement is to use the inline edit mode. Below is the code that I am using:
<TelerikGrid Data="@gridData"
Pageable="true"
Sortable="true"
Width="2500px"
PageSize="50"
FilterMode="GridFilterMode.FilterMenu"
EditMode="GridEditMode.Inline"
OnEdit = "@OnGridEdit"
OnCancel="@OnGridCancel"
OnUpdate="@OnGridUpdateHandler"
>
<GridSettings>
<GridValidationSettings Enabled="true" />
</GridSettings>
<GridColumns>
<GridColumn Field="@nameof(Dto.CNumber)" Title="Customer No." Width="100px" Filterable="true" Sortable="false" />
<GridColumn Field="@nameof(Dto.DistributorLastName)" Title="Distributor Last Name" Width="200px" Filterable="true" />
<GridColumn Field="@nameof(Dto.DistributorNumber)" Title="Distributor No." Width="120px" Filterable="false" Sortable="false" />
<GridColumn Field="@nameof(Dto.DemoDate)" Title="Demo Date" Width="120px" Filterable="true" />
<GridColumn Field="@nameof(Dto.SerialNumber)" Title="RX Serial No." Width="120px" Filterable="false" Sortable="false" />
<GridCommandColumn Width="100px">
<GridCommandButton Command="Edit">Edit</GridCommandButton>
<GridCommandButton Command="Save" ShowInEdit="true">Save</GridCommandButton>
<GridCommandButton Command="Cancel" ShowInEdit="true">Cancel</GridCommandButton>
</GridCommandColumn>
</GridColumns>
</TelerikGrid>