Hello-- i'm using the TelerikEditor component and binding it to a string that i fill with a word document that i import and convert to html. The code works and does load the string with the expected value in an async method but as odd as it sounds if i load the first document nothing is displayed but when i load the second document the first document then displays even though the string content is now set to the second document. I understand there could be issues with the async nature of the code but i don't see how that could be happening considering my code. here is my code:
string documentContent { get; set; }
private async void LoadDocumentFromDisk(InputFileChangeEventArgs e)
{
if (e.File != null)
{
DocxFormatProvider docxProvider = new DocxFormatProvider();
HtmlFormatProvider htmlProvider = new HtmlFormatProvider();
var file = e.File;
byte[] theBytes = new byte[file.Size];
var reader = file.OpenReadStream(10000000);
var whatever = await reader.ReadAsync(theBytes);
RadFlowDocument radFlowDocument = docxProvider.Import(theBytes);
documentContent = htmlProvider.Export(radFlowDocument);
}
}
here is the blazor/razor html for the control:
<TelerikEditor @bind-Value="@documentContent"></TelerikEditor>
Anyone seen anything like this and how to fix the problem?
Thanks, LT.
Is there a way of constraining the drawer when in Overlay mode to its parent <div>?
I see it being done in your demo page https://demos.telerik.com/blazor-ui/drawer/display-modes
thanks
Hi, I need to be able to use virtual mode and multiple select and be able to get the complete list of selected items when a user clicks a row, holds shift, scrolls the grid then clicks another row.
Also with the usual, ctrl clicks, etc along the way.
Virtual mode is needed as we must show up to 5000 rows without paging. And without virtual mode this grid simple cannot handle that much data.
Is this possible, the docs suggest it is, but give no example code how to achieve this. We're looking at several grids to use, and Telerik is winning, but this is a showstopper if this cannot be done.
TIA
This is related to Grid CheckBoxList Filter - https://demos.telerik.com/blazor-ui/grid/filter-checkboxlist
In Microsoft Excel, when we start typing in the Search box, the matching entries along with "Select All" are already checked. So upon typing the required criteria, the user just needs to select Ok button to view the filtered results.
In the case of Blazor Grid, the matching entries and Select All option are not checked automatically. So the user would need to do an additional action of checking "Select All". Please refer to the attached screenshots.
Is there a way to have "Select All" auto checked upon typing the filter criteria?
Hello,
I am trying to use the form control as a read only output of my model. How can I set the form to read only and get rid of the submit button?
I know there was already a discussion about how the k-animation-container was hiding the box-shadow and by adjusting the padding/margins, the shadow could be revealed.
I'm attempting to approach this from a different perspective. I've applied a box-shadow to the k-animation-container itself and it looks fine except for the fact that the shadow appears immediately... before the animation of the dropdown starts. This results in the drop-down list appearing to slide into the shadow. I see the same behavior with the DatePicker and ComboBox.
I see that there is a k-animation-container-shown class as well but it doesn't appear to be implemented. At least not with the DropDownList. As a matter of fact, I've discovered that k-animation-container-shown is used with the ContextMenu but even then not as I would expect. With the ContextMenu, the k-animation-container-shown class is applied to the div element even when the menu isn't visible...but, it gets the job done as the menu appears with the shadow instantly. The ContextMenu isn't animated into position. (Not sure if that's something you are planning on doing in the future.)
I was hoping the k-animation-container-shown class would be consistently applied to the div once the DropDownList/ContextMenu/DateTimePicker was fully visible (i.e. at the end of the animation).
Any suggestions on how to best apply the shadow to all of the controls? Another solution would be to just get rid of the animation. Doesn't look like I can do that with a parameter on the control. How would I best override the animation?
Hi
I would like to bring up a ContextMenu component for a Chart OnSeriesClick event so e.g. the user can click on a chart series and be presented with options. I am able to do this by e.g. having a OnSeriesClick handler method that invokes ContextMenu.ShowAsync to show the ContextMenu - the problem is that ShowAsync requires the X/Y coordinates from the mouse click and the OnSeriesClickEventArgs class does not provide mouse coordinates so i cannot show the context menu in the right place.
Any ideas how this could be accomplished?
Thanks
Adam
I would like to add an Icon next to the selected item text as shown in the attached image.
Is it possible?
Is there a way to change all the ChartTitle text alignment? I need it to be left: 0
i.e: Currently X=113.5
<text style="font:18.288px "Helvetica Neue", Helvetica, Arial, sans-serif;white-space:pre;" x="113.5" y="32" stroke="none" fill="rgb(33, 37, 41)" fill-opacity="1">...</text>
I have several charts in the page