I have a grid and I want to present the user with a set of custom actions for each specific row. I am using the splitbutton control in the gridcolumn template. The grid and splitbutton renders but the splitbutton popup is not visible.
https://blazorrepl.telerik.com/mykXmBPX33zR9mDO27
<TelerikGrid Data="@data">
<GridColumns>
<GridColumn>
<Template>
<TelerikSplitButton Icon="@SvgIcon.FileExcel">
<SplitButtonContent />
<SplitButtonItems>
<SplitButtonItem Icon="@SvgIcon.FilePdf" />
<SplitButtonItem Icon="@SvgIcon.DataJson" />
</SplitButtonItems>
</TelerikSplitButton>
</Template>
</GridColumn>
<GridColumn Field="@nameof(Data.field)" />
</GridColumns>
</TelerikGrid>
@code {
class Data
{
public string field{ get; set; }
}
IEnumerable<Data> data = Enumerable.Range(0, 10).Select(x => new Data { field = x.ToString() });
}
Is there any way to get rid of the Split Button Content? I'd just like to show the arrow and the button options below when clicked. I need to be able to progromattically hide all of the buttons as needed. This would also include the button on display, if needed.
Another option that would work for us is to have the content but have it work similar to the arrow button where clicking it would toggle the dropdown. This would allow me to put a menu icon in that area.
We've used the SplitButton on a variety of windows, and after upgrading to v4.0 we've noticed that the pages containing a SplitButton do not load, they simply die off into never-never land. Somewhere we've seen OutofMemory but we are not positive it's happening on this call. We have a few different use cases for our SplitButtons - Save, Save & Close, and Delete. The other is to choose your printing or email type.
Do we have this formatting incorrectly? They work in v3.7 just fine.
And, I noticed the documentation is for v3.7, not v4.0 -- https://demos.telerik.com/blazor-ui/splitbutton/overview
<TelerikSplitButton Icon="@SvgIcon.Save" OnClick="@(() => HandleValidSubmit(false))">
<SplitButtonContent>Save</SplitButtonContent>
<SplitButtonItems>
<SplitButtonItem Class="mr-2 save" OnClick="@( () => HandleValidSubmit(false))" Icon="@SvgIcon.Save">Save</SplitButtonItem>
<SplitButtonItem Class="mr-2 save" OnClick="@( () => HandleValidSubmit(true))" Icon="@SvgIcon.Save">Save & Close</SplitButtonItem>
<SplitButtonItem Class="mr-2 delete" OnClick="@ButtonDeleteOnClick" Icon="@SvgIcon.Trash" Enabled="@IsDeletionAllowed">Delete</SplitButtonItem>
</SplitButtonItems>
</TelerikSplitButton>
<TelerikSplitButton Class="print-button" OnClick="@OnPreviewClickHandler" Icon="@SvgIcon.FilePresentation">
<SplitButtonContent>Print To</SplitButtonContent>
<SplitButtonItems>
<SplitButtonItem Class="print-button"
OnClick="@OnPreviewClickHandler" Icon="@SvgIcon.FilePresentation">Preview</SplitButtonItem>
<SplitButtonItem Class="print-button"
OnClick="@OnPdfClickHandler" Icon="@SvgIcon.FilePdf">PDF</SplitButtonItem>
<SplitButtonItem Class="print-button"
OnClick="@OnExcelClickHandler" Icon="@SvgIcon.FileExcel">Excel</SplitButtonItem>
<SplitButtonItem Class="print-button"
OnClick="@OnWordClickHandler" Icon="@SvgIcon.FileWord">Word</SplitButtonItem>
<SplitButtonItem Class="print-button"
OnClick="@OnClick_BtnEmail" Icon="@SvgIcon.EnvelopLink">Send Email</SplitButtonItem>
<SplitButtonItem Class="print-button"
OnClick="@OnClick_BtnText" Icon="@SvgIcon.Rss">Send Text</SplitButtonItem>
</SplitButtonItems>
</TelerikSplitButton>
I recall being told I would have access to source code once I buy a licence.
Now that I have a licence, how do I get access to the source so I can do a local build?