Telerik Forums
UI for Blazor Forum
1 answer
155 views

Hello, in our application we have a grid which uses Auto Generate Columns. Right now we're only using one type but we want it to accept a generic object which can one of a few types and have it automatically generate the columns for it so we don't need to make a grid for each type. Is this possible or do we need the make multiple grids?

Nadezhda Tacheva
Telerik team
 answered on 27 Oct 2022
1 answer
154 views

I have a case where I need to be able to set last children in indeterminate state.
Yes, the indeterminate checkbox state for the node that has no children.

Is it possible without any special hacks?

I don't want to create my own checkboxes in templates, as I still need selecting parent.

I'm already trying to do this with reflections and getting to ProcessedData (with some successes), but I'd prefer to use native functionality.

Dimo
Telerik team
 answered on 27 Oct 2022
0 answers
103 views

Is there a way to change the animation type for ChartSeriesTooltip?

Now it's slides up

Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
 asked on 27 Oct 2022
1 answer
352 views

I read this Telerik article here and still have many questions not covered in that article:

  1. Typo in the article "SingnalR" ... I think you mean SignalR.
  2. WASM Blazor can run "offline" but without connectivity to server based web APIs and database what would WASM do for me, ability to write data to local file and populate later when connectivity returns?
  3. Can either (WASM or Server) be coded exclusively with DOM and C# and be fully functional, no JavaScript/TypeScript special cases?
  4. Are there any differences on how WASM vs. Server consumes web API ... security difference, CORS, etc.?  Article suggests a "built-in" feature for keeping code secure and private but doesn't expand on that?
  5. Are there any differences on what can be accomplished with a UI/UX with WASM vs Server?
  6. What is the relevance to "SignalR" in either WASM or Server?
  7. I don't see any Telerik templates in VS 2022 for building Blazor WASM or Server application, only the default Microsoft provided templates?

My goal is to minimize the technology stack staying with .NET 6/7 core/EF (web APIs), C#, DOM, Blazor so that code maintenance is easier and less demanding on hired skill sets and less fragile (more resilient)   Nothing against JS and TypeScript, it's just that for my development case, I want to avoid JS and mixing it in with my application.

My application requirements are fairly standard, both public facing and private web application calling web API that communicates with back end database.  The UI needs to be nice/modern but doesn't need to be a marketing/sales type of website.  I need easy databinding, validation, and powerful grid control (filters, groups, sorts), touch signature image capture, and there will be some interaction with cameras for image capture and OCR and of course standard reporting to a report server.

I am reading up on your training course here.

Any insight would be helpful as I get more familiar with Blazor.

Many thanks.

Dimo
Telerik team
 answered on 26 Oct 2022
4 answers
4.2K+ views

I need customized Click event on clicking Modal popup close button.

<WindowActions><WindowAction Name="Close" /></WindowActions>

Instead of above code, I need as below

<WindowActions>
        <WindowAction Icon="@IconName.Close" OnClick="@OnCloseClick" />
 </WindowActions>

 async Task OnCloseClick()
{

}

Hao
Top achievements
Rank 1
Iron
 updated answer on 26 Oct 2022
1 answer
285 views

Hello

I'm using Telerik.UI.for.Blazor 3.6.0

I would like to make async query on TelerikFilter ValueChanged EventCallback ( change found items count ) but when i change my implementation

from

private void OnFilterValueChanged(CompositeFilterDescriptor filter){
//code here
}

to

private async Task OnFilterValueChanged(CompositeFilterDescriptor filter){
//code here validation and get filteringRules
int count = await dispatcher.QueryAsync(new CountItemsQuery(filteringRules));
//code here
}

TelerikFilter stop working properly 

When i add second filter condition and then i would like remove it nothing hapens (GUI do not reload)

Second try remove filter condition throws Exception: Index was out of range.

Am i doing something wrong or it's error?

Best regards

Svetoslav Dimitrov
Telerik team
 answered on 26 Oct 2022
1 answer
216 views

I have a notification component defined on my MasterLayout page like below.   and then shared with all my other pages via a cascading parameter.

<TelerikNotification @ref="@NotificationReference" AnimationType="@AnimationType.ZoomOut" Class="notification"
                                                 HorizontalPosition="NotificationHorizontalPosition.Center" VerticalPosition="NotificationVerticalPosition.Top"/>

Everything works fine, but I am noticing that if i am scrolled down on a child page, the notification stays at the top of the page (off the visible screen) instead of being relative to the top of the window.  How can i make sure the notification is always visible to the end users regardless of how far down a page they might be scrolled too?

Thanks in advance,

Eric
Top achievements
Rank 2
Iron
Iron
 answered on 25 Oct 2022
1 answer
194 views

I have a text box user can type or paste a value into.

A hidden button should appear once a value is in the box.

The thing that's happening is after the value is pasted in, no button. user has to press a button in the textbox for the button to appear.

Now the really strange thing is I put the pages code in your https://blazorrepl.telerik.com/ tool and it appears to work.

Just not in my main project or a test project using just the sample project app code that gets made when you create a blazor server project.

I have include the code I have stuck in your tool, in the txt file, and my sample project in the zip file.

The page in the project is: CopyNPasteTest.

Would love to know whats going on.

Thanks.

Deasun.

Nadezhda Tacheva
Telerik team
 answered on 25 Oct 2022
1 answer
165 views
I want to prevent user to deselct one of grid rows. Grid has check box sellection turned on. Grid purpose is an users sellection for an application role. I want user to be unable to remove Administrator user from Administrators role by deselecting it. Now, in SelectedItemsChanged event i'm exammining selected users collection for Role is Administrators and user Administrator not present in sellected users collection. If so, i'm adding it back and submit MySelectedItems = IEnumerable (MySelectedItems is two way bound to SelectedItems of grid) with Administrator user added.  After that, sittuation go a little bit shizophremic. The Administrator user row remains selected on the grid but the CheckBox selector of that user remains deselected...  So, haw to prevent check box sellection of a single row?
Dimo
Telerik team
 answered on 25 Oct 2022
1 answer
53 views

Nice job on Telerik, Kendo UI and Test Studio R3 2022!   I like the PDF Viewer UI Controls.  Question: Any plans to add annotations and comments to client-side .NET Blazor MAUI libraries such as this serverside solution?

Dimo
Telerik team
 answered on 25 Oct 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?