Hi,
I want the "Browse" button on my uploader control to pick up the standard styling of "e-primary" rather than the default button type.
First I tried just adding .CssClass("e-primary") into the @Html statement - this correctly added this into the outer e-upload DIV, but had no effect on the button.
I found the Buttons property, but no instructions. I found some hints for Blazor here, which :
I could use the syntax to change the Browse button title, but no way to affect the CssClass of the button:
@Html.EJS().Uploader("updBox").Buttons(new Syncfusion.EJ2.Inputs.UploaderButtonsProps() {Browse="A test title"}).Render()
There is another property call ContentTemplate on this object - would this work? Is there an example of how to do that?
There was this help page:
But that sets the value in JavaScript, but the whole point of the Razor syntax is to avoid that.
Thanks,