Telerik Forums
UI for Blazor Forum
2 answers
361 views

Hi,

I have build a custom dialog for editting appointments. But if I double click a recurring appointment, the default edit recurring appointment dialog appears.

In my OnEdit method, I have:

args.IsCancelled = true

But at the moment, the edit recurring appointment dialog appears, my custom OnEdit method is not yet invoked.

How can I use a custom dialog for the selection of "edit series" and "edit current occurence"?

Holger
Top achievements
Rank 1
Iron
Iron
 answered on 09 Aug 2022
1 answer
1.0K+ views

What is the best/easiest way to limit the number of characters and a user can enter into a TextArea?  There is no MaxLength property that I have seen.

 

 

Dimo
Telerik team
 answered on 08 Aug 2022
1 answer
188 views

Hi,

 

I read all the documentation and downloaded the demo project, but I cannot get the ITelerikStringLocalizer to work in my blazor wasm project.

I included the community resource files and made a custom implementation of ITelerikStringLocalizer which I added to the dependency container as singleton in the blazor client project.

If I set a breakpoint in this custom implementation I never get a hit.  The culture is set at nl-BE, so for some default labels on the Telerik components I would expect the Dutch translation. When checking the teletik datetimepicker I would expect a translation for the marked buttons, I see they are available in the nl-BE resource file.

I assume the default english resource file is used, but what could be the reason for this?

 

Stefan
Top achievements
Rank 1
Veteran
Iron
 answered on 08 Aug 2022
1 answer
331 views

Is there a way to use the stepper in a view only mode?  I am using it to show the current status in a larger process, so the user shouldn't be able to click to change the value.

 

Thanks in advance

Dimo
Telerik team
 answered on 05 Aug 2022
1 answer
415 views

I am using a FileSelect to allow users to upload attachments with a request.  Once the file is uploaded and it appears in he file list, there doesn't seem to be a way to allow the user to open in from an OnClick event or anything.

Is there a way to either:

1. Capture and on click even when they click a file in the FileSelectFileList

or

2. Hide the FileSelectFileList all together so that I can replace it with my own list and implement the functionality myself?

Thanks in advance

Dimo
Telerik team
 answered on 05 Aug 2022
1 answer
384 views

Hi

<WizardStepLabel="Registration of employee"

can i have a label over more lines?

Like

Registration
of employee

 

Eric

 

 
Dimo
Telerik team
 answered on 05 Aug 2022
1 answer
205 views

Hi,

I have a recurrent event with the following dates:

"Start": "2022-08-01T07:00:00",
"End": "2022-08-01T08:00:00",
"RecurrenceRule": "FREQ=DAILY;UNTIL=2022-08-04T05:00:00"

https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 says:

The UNTIL rule part defines a DATE or DATE-TIME value that bounds the recurrence rule in an inclusive manner. If the value specified by UNTIL is synchronized with the specified recurrence, this DATE or DATE-TIME becomes the last instance of the recurrence. The value of the UNTIL rule part MUST have the same value type as the "DTSTART" property

I generated the events with Thunderbird, synchronized to the caldav-Server and read it from there.

In the Telerik Scheduler I got only 3 occurences of the event: from the 1st to the 3rd.

In Thunderbird I got 4. From the 1st to the 4th. According with the RFC, Thunderbird is right :-)

Why there are only 3 events in the Telerik Scheduler? And who get I the correct events (without "hack" around)?

 

Kristian
Telerik team
 answered on 04 Aug 2022
0 answers
174 views
Often I'll get an exception thrown where even running in debug mode with breakpoints it's not clear where exactly the error is. I know these are usually, if not always, errors in the generated html and js Interop files. Does anyone know of a way to dive deeper into those exceptions, or am I just kinda stuck troubleshooting line by line? Thanks!
Will
Top achievements
Rank 2
Iron
 asked on 03 Aug 2022
0 answers
389 views

I'm trying to use the TelerikUpload control in a Blazor server project. I created a Blazor server project from the Telerik template.

I'm trying to use only minimum web API for the upload endpoints. I haven't added controllers or routing to the configuration.

The issue is that I'm getting a 400 error when I use the MapPost().  I've  tried many different variations for the post action parameters.

 app.MapPost("upload/save",  async (IFormFile files) =>
 {       
        if (files != null)
        {                  
            var physicalPath = Path.Combine("D:\\Source\\repos\\BlazorVPMS\\BlazorVPMS", "Upload/", files.FileName);
            logger.Debug(physicalPath);

            using (var fileStream = new FileStream(physicalPath, FileMode.Create))
            {
                await files.CopyToAsync(fileStream);
            }
        }
    });

The only post method that works is this, after I added a form tag to the html.  

 app.MapPost("upload/save", async (IConfiguration config, HttpRequest request) =>
    {
        var files = request.Form.Files.First();
        if (files != null)
        {             
            //string path = config["StoredFilesPath"];
            var physicalPath = Path.Combine("D:\\Source\\repos\\BlazorVPMS\\BlazorVPMS", "Upload/", files.FileName);
            logger.Debug(physicalPath);

            using (var fileStream = new FileStream(physicalPath, FileMode.Create))
            {
                await files.CopyToAsync(fileStream);
            }
        }
    });
What do need to do to make this work with just using the IFormFile? Do I need to just add an API controller and routing to my configure and not use the minimum API?
 
Jay
Top achievements
Rank 1
Iron
Iron
 asked on 03 Aug 2022
1 answer
1.4K+ views

We don't want users to be able to select some rows, so we want to disable the checkbox on GridCheckboxColumn. I do realize this is a bit more complicated since it deals with row selection. We are using it to add selected items to a shopping cart. Some items are not for sale, so they cannot be added in bulk this way. So in this use case, we don't want them selecting the row. Any suggestions?

We are open to other ways to handle this, but we wanted to avoid having the user click on something and then have it say "No you cannot do that."

Dimo
Telerik team
 answered on 03 Aug 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?