Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
165721 stories
·
33 followers

Enhancing Blazor User Experience with Prebuilt Editors

1 Share

These editor-like components can help you improve the user experience of your Blazor application, with settings and customizations that adapt to the scenario you need.

If you have developed projects in Blazor, you’ve likely had to create some kind of form using Blazor controls.

Although the platform provides native components such as InputText, InputNumber or InputDate, during development we realize we need specialized components to allow displaying interactive calendars, color pickers or rating controls.

In these cases, the prebuilt controls from the Progress Telerik UI for Blazor library can help us significantly by providing advanced editor components that drastically improve the user experience, without you having to write additional code. Let’s take a closer look at how they can help!

Comparing Native Components vs. Telerik Editors

Blazor offers a number of basic input components, such as:

  • InputText for text fields
  • InputNumber for basic numeric fields
  • InputDate for date selection
  • InputSelect for dropdown lists
  • InputCheckbox for checkboxes
  • InputTextArea for multi-line text areas

Although the above components serve their purpose for basic scenarios, they lack features that are necessary when building serious, functional applications, such as applying custom visual formatting, input masks, autocomplete, among others.

On the other hand, the category of Editors in Telerik UI for Blazor includes more than 20 specialized components that are not available natively for Blazor, including:

  • TelerikColorPicker: Color picker with palette and HSV gradient
  • TelerikRating: Component for entering a configurable star rating
  • TelerikSignature: Allows capturing digital signatures in base64 format
  • TelerikAutoComplete: Search with suggestions as the user types
  • TelerikMaskedTextBox: Text boxes with masks for phone numbers, cards, etc.
  • TelerikDateRangePicker: Date range selection

The above components provide a way to build forms and applications more quickly, since otherwise you would have to build them from scratch or resort to external JavaScript libraries that require interop that can be somewhat complex.

There are some additional reasons why it’s convenient to use Telerik components. First, all editors integrate seamlessly with Blazor’s form validation system.

Additionally, Telerik components adhere to accessibility standards without you having to configure anything else. They also have full support for different cultures, date formats, currencies and RTL direction.

Creating a Form Using Telerik for Blazor UI Editors

Let’s look at the benefits of the Telerik editors by creating a user profile form to see their capabilities.

Creating a Project with Telerik Editors for Blazor

Let’s start by creating a Blazor project using the Blazor Web App template. We’ll select an Interactive render mode of Server and Interactivity location of Global.

To install the Telerik components, you can use the prebuilt Telerik template and follow the quick-start guide, or, if you want to add the components to an existing project, you can also do so by following this guide.

Now let’s move on to creating a data model to bind to the UI components.

Creating a Data Model

We’ll create a data model that allows us to build a logical representation of a user’s profile. For this, we’ll create a class called UserProfile that will look like the following:

public class UserProfile
{
    public string FullName { get; set; } = string.Empty;
    public DateTime? BirthDate { get; set; }
    public int? Age { get; set; }
    public string FavoriteColor { get; set; } = "rgb(33, 150, 243)";
    public double SatisfactionRating { get; set; }
    public string Signature { get; set; } = string.Empty;
}

The model above reflects properties characteristic of a user profile, such as FullName, BirthDate and Age. Additionally, we added some extra properties to represent favorite color, satisfaction rating and signature.

Building a Form Page Using Prebuilt Blazor Controls

Let’s create a page so a user can enter their user profile data. We’ll do this in parts so you can see the power of the Blazor components.

First, let’s create a component called UserProfileForm.razor, where we’ll start by defining the overall structure of the component, such as the route from which it will be accessed, the title, among other things:

@page "/user-profile"
@using UserProfileDemo.Models
@rendermode InteractiveServer

<PageTitle>User Profile</PageTitle>

<h1 class="mb-4">User Profile Form</h1>

<p class="text-muted mb-4">
    Fill in your profile information using the enhanced editor controls below.
</p>

Now, let’s analyze the integration of the Telerik components into the form.

Using TelerikTextBox as Text Inputs

The first component we will add is a TelerikTextBox, which will be used to get the user’s name. Although at first glance it may seem similar to a native InputText, it has additional features such as a built-in visual placeholder and prebuilt applicable styles that are consistent throughout the application.

This is how the section looks:

<div class="row">
    <div class="col-md-8">
        <div class="card shadow-sm">
            <div class="card-body">
                <div class="mb-4">
                    <label class="form-label fw-semibold">Full Name</label>
                    <TelerikTextBox @bind-Value="@Profile.FullName"
                                    Placeholder="Enter your full name"
                                    Width="100%" />
                </div>
            </div>
        </div>
    </div>
</div>

@code {
    private UserProfile Profile { get; set; } = new();
}

The result of the execution is the following:

Telerik TextBox component in action

In the code above, we can see how using properties such as @bind-value, Placeholder and Width facilitates creating intuitive UIs without having to add extra code.

Selecting Dates with the TelerikDatePicker

The next component we will analyze is the TelerikDatePicker. Blazor offers a native control called InputDate; however, it does not provide the best user experience.

The Telerik component offers a full visual calendar with month and year navigation, customizable formatting, the ability to disable specific dates, programmatic focus, the ability to specify an initial view, among many other features.

Its implementation looks like this:

<div class="mb-4">
    <label class="form-label fw-semibold">Birth Date</label>
    <TelerikDatePicker @bind-Value="@Profile.BirthDate"
                       Format="dd/MM/yyyy"
                       Min="@MinDate"
                       Max="@MaxDate"
                       Placeholder="Select your birth date"
                       Width="100%" />
</div>

@code {
    private DateTime MinDate { get; set; } = new DateTime(1900, 1, 1);
    private DateTime MaxDate { get; set; } = DateTime.Today;
}

With the above code, we’ve bound the picker value to a property with @bind-value, as well as specified a format for the date, a range of valid dates with Min and Max, a placeholder and a width. The result is the following:

User selecting a date with Telerik DatePicker control

Using the component helps provide a consistent visual style throughout the application, rather than relying on each browser’s styles.

Adding Numeric Fields Using the TelerikNumericTextBox

Another component we can use to accept number inputs is the TelerikNumericTextBox. It is much more powerful than a InputNumber, allowing you to define numeric formats, specify the number of decimal places, enable a clear button, among other features.

Here’s an example of its use:

<div class="mb-4">
    <label class="form-label fw-semibold">Age</label>
    <TelerikNumericTextBox @bind-Value="@Profile.Age"
                           Min="1"
                           Max="120"
                           Step="1"
                           Format="N0"
                           Placeholder="Enter your age"
                           Width="100%" />
</div>

The component in action looks as follows:

Telerik NumericTextBox displaying numeric input and increment buttons

Selecting Colors Thanks to the TelerikColorPicker

Now let’s talk about some components that don’t have a native equivalent in Blazor. The first of these is the TelerikColorPicker, which allows selecting a color using a visual picker, in addition to including a predefined color palette and an HSV canvas. This enables precise color selections.

The implementation looks similar to the following:

<div class="mb-4">
    <label class="form-label fw-semibold">Favorite Color</label>
    <div>
        <TelerikColorPicker @bind-Value="@Profile.FavoriteColor"
                            ValueFormat="ColorFormat.Rgb" />
        <span class="ms-3 align-middle">
            Selected: <strong>@Profile.FavoriteColor</strong>
        </span>
    </div>
</div>

In the code above we specify that the value will be stored in RGB format. The result of running it is the following:

Selecting an exact color with Telerik ColorPicker

Another thing I want to highlight is the ease of use of the Telerik UI for Blazor components, since you can see that by defining a couple of parameters we have a fully functional implementation. This avoided the need to use JavaScript interoperability or an external library.

Evaluating Satisfaction with the TelerikRating

Another component that has no native equivalent, but is certainly required in a large number of apps, is TelerikRating, which allows the user to provide a rating via a visual star system. Its use is quite simple:

<div class="mb-4">
    <label class="form-label fw-semibold">Satisfaction Level</label>
    <div>
        <TelerikRating @bind-Value="@Profile.SatisfactionRating"
                       Max="5" />
        <span class="ms-2 text-muted">(@Profile.SatisfactionRating / 5)</span>
    </div>
</div>

In the code above, we use the Max parameter to indicate the maximum number of stars. One advantage of the component is that its value will be updated automatically when clicking on a star. It also has built-in keyboard support and accessibility. Let’s see the result:

TelerikRating star control displaying selectable stars

If we had wanted to create the component manually, we would probably have had to handle SVG files, events and accessibility logic.

Displaying the Form Result

To complete the form, we are going to add a couple of buttons of type TelerikButton, as well as a panel to show the summary of the selected data:

<div class="d-flex gap-2">
    <TelerikButton OnClick="@SubmitProfile"
                   ThemeColor="@ThemeConstants.Button.ThemeColor.Primary">
        Save Profile
    </TelerikButton>
    <TelerikButton OnClick="@ClearForm"
                   ThemeColor="@ThemeConstants.Button.ThemeColor.Base">
        Clear
    </TelerikButton>
</div>
...
@code {
    ...

    private bool ShowSummary { get; set; }
    private void SubmitProfile()
    {
        ShowSummary = true;
    }

    private void ClearForm()
    {
        Profile = new UserProfile();
        ShowSummary = false;
    }
}

Additionally, we will add a side column in which we will show the summary when the user clicks the Save Profile button:

<div class="row">
    <div class="col-md-8">
        ...

    <div class="col-md-4">
        @if (ShowSummary)
        {
            <div class="card shadow-sm border-success">
                <div class="card-header bg-success text-white">
                    <strong>Profile Summary</strong>
                </div>
                <div class="card-body">
                    <p><strong>Name:</strong> @Profile.FullName</p>
                    <p><strong>Birth Date:</strong> @Profile.BirthDate?.ToString("dd/MM/yyyy")</p>
                    <p><strong>Age:</strong> @Profile.Age</p>
                    <p>
                        <strong>Favorite Color:</strong>
                        <span class="d-inline-block rounded-circle ms-2"
                              style="width: 20px; height: 20px; background-color: @Profile.FavoriteColor; vertical-align: middle;">
                        </span>
                        <span class="ms-1">@Profile.FavoriteColor</span>
                    </p>
                    <p><strong>Satisfaction:</strong> @Profile.SatisfactionRating / 5</p>
                    @if (!string.IsNullOrEmpty(Profile.Signature))
                    {
                        <p><strong>Signature:</strong></p>
                        <img src="@Profile.Signature" alt="User signature" class="img-fluid border rounded" />
                    }
                </div>
            </div>
        }
    </div>
</div>

The code above allows us to validate that the data binding between controls and properties works correctly, as well as to demonstrate how easy it is to obtain information from the form using Telerik components:

Final demo of Telerik Blazor prebuilt editors interface

With this implementation, we have created a form that allows users to enter information quickly and reliably, thanks to the Telerik for Blazor controls.

Conclusion

Throughout this article, you’ve been able to learn first-hand about some Telerik editor-like components that can help you improve the user experience. These components offer settings and customizations that adapt to any type of application, and they are constantly updated.

Another point to highlight is that the components’ documentation is quite comprehensive, allowing you to learn all their features in detail. It’s time to improve your users’ experience by using these components.

Try Telerik UI for Blazor

Read the whole story
alvinashcraft
just a second ago
reply
Pennsylvania, USA
Share this story
Delete

Developer Docs Deserve Their Own Folder

1 Share

Many source repositories include a docs/ folder for documentation, especially now that LLMs can help generate and maintain documentation for software projects. However, traditional docs have been targeted toward users or consumers of the software application, tool, or package. For developers of the application itself, instructions have long been scattered amongst wikis, README files, docs, and other locations (if it’s recorded at all). It’s time to treat developer documentation as a first-class artifact and store it with the application’s source code in a folder like devdocs/.

Read the whole story
alvinashcraft
just a second ago
reply
Pennsylvania, USA
Share this story
Delete

WPF IValueConverter: Inverse Visibility, Enum Display Names

1 Share
IValueConverter for inverse Visibility, Hidden, and enum display names. ConverterParameter=True arrives as a string and won't invert; missing null checks throw.
Read the whole story
alvinashcraft
20 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

7 Points To Consider When You Choose A Tense For Your Short Story

1 Share

Choose the right tense for your short story with these seven practical points about past tense, present tense, and your writing style.

Things can get very tense when you start talking about tense, with both sides, past and present, feeling equally strongly about their choice. For me, tense is almost instinctive. It’s not a conscious decision I make.

As with most writing-related things, you are what you read and I read a lot of novels in present tense. Therefore, I write in present tense – often.

But there is no right or wrong tense and I have written many stories in past tense. So how do you know which one is right for you? It depends on what you want to achieve.

7 Points To Consider When You Choose A Tense For Your Short Story

Here are seven points to consider before you choose:

  1. Pace. Present tense is great for creating immediacy and speeding up your story. Past tense may slow it down. What will work for your story? What do you want to achieve?
  2. Genre. A few years ago, we had very strict rules regarding genre. Romance and crime were almost exclusively written in past tense. Today, these rules have become more like guidelines, and we find more present-tense writing in these genres. A lot of young adult fiction is written in present tense.
  3. Your audience. Traditionally, most of our writing was in past tense. We grew up reading it, and when we started writing, this was reflected in our work. As present tense became more and more popular, we read more of it and wrote more stories in it. An older audience may still prefer past tense, but young adult readers, who will grow up to read our stories, may be more inclined towards present tense.
  4. Are you comfortable? Tense is not something to force. Write in the tense that is most comfortable for you. Look back at your stories and take note of the tense you are inclined to use. Also, try freewriting exercises. Set a timer and write. What tense do you use most often?
  5. Experiment. Even though you may be used to and comfortable with writing in a certain tense, you should still experiment. Change the tense when you rewrite and see what happens to your story.
  6. Don’t mix it up. It’s only wrong when you use both in one piece, but you may be able to pull it off and defy all the rules if you have a very good, brilliant literary reason for doing so. Until then, pick one tense and stick to it.
  7. Show, don’t tell. I usually start ‘telling’ when I write in past tense. I deliberately use it for certain stories, but I know to double-check that I ‘show’ enough.

Go back and look at your favourite stories, both those you have read and those you have written, and take note of the tense. Does it influence your writing?

Enjoy your stories and figure out what you like most.

Examples Of Short Stories In Different Tenses

Present Tense

  1. ‘Wife-Wooing’ by John Updike: The story is written in present tense and uses second-person point of view.
  2. ‘Last Day of Summer’ by Ian McEwan: The story is written in first-person present tense.
  3. ‘In the Warehouse’ by Joyce Carol Oates: It is a useful example of how present tense can bring readers close to a young character’s experiences.
  4. Letting Go’ by Pamela Painter (more flash fiction than short story): Painter uses first-person present tense to unfold the surprising events moment by moment.

Past Tense

  1. ‘The Lottery’ by Shirley Jackson: This is an excellent example of how past tense can build suspense.
  2. ‘The Tell-Tale Heart’ by Edgar Allan Poe: Poe uses first-person past tense, creating a sense that the narrator is recounting events that have already happened.
  3. ‘The Gift of the Magi‘ by O. Henry: The story uses third-person past tense and is a good example of traditional narrative storytelling.

The Last Word

We looked at seven things writers should consider when choosing a tense for a short story, from pace and genre to audience and personal preference. We also explored why experimenting with tense can help writers find the best approach for their stories.

Top Tip: If you want to learn how to write a short story, sign up for our online short story course.


by Mia Botha

More posts from Mia:
  1. 5 Things I’ve Learnt From My Literary Autopsies
  2. Write About What Matters, Not Just What You Know
  3. 5 Ways To Weave Setting Into Short Stories
  4. How To Turn Your Short Story Into A Novella
  5. How To Use Genre As A Source Of Conflict
  6. 7 Things Dialogue Can Do In Your Story
  7. 4 Super Easy Ways To Create Characters For Short Stories
  8. How To Show Character Change Without Telling (With Examples)
  9. 7 Supporting Character Types Every Writer Should Know
  10. The 3 Surprises Every Story Needs

Top Tip: Sign up for our free daily writing links.

The post 7 Points To Consider When You Choose A Tense For Your Short Story appeared first on Writers Write.

Read the whole story
alvinashcraft
41 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Daily Reading List – November 24, 2026 (#916)

1 Share

I’m trying to clear out the reading queue before taking Thursday and Friday off. There’s so much good stuff to read right now! Enjoy the items below.

[blog] Introducing ambient networking for GKE. Say no to sidecars. It’s another component to manage, and they eat up cluster resources. This updated capability in Google Kubernetes Engine gives you a safer, more manageable platform.

[article] How the Best Leaders Develop an Enterprise Mindset. Are you shifting from measuring if your team won, to whether your team helped the whole company win?

[blog] How I work with coding agents. I enjoy reading about other people’s setups and approaches. It doesn’t mean I’ll copy it, but I inevitably learn something that tweaks my own thinking.

[blog] Should you put agent-directed notes in your docs? Very good question. I assumed it helped. Doesn’t seem like it, but it’s worth further hands-on investigations.

[blog] How I shipped 39 PRs to prod as a non-developer. Product managers creating and shipping production changes? THE HORROR. Nah. With the right people, and the right engineering foundation, you’ll see more of this.

[blog] Introducing file slicing controls in the Gemini API. This API now lets you target specific pages or sheets, and even media segments for the model to load.

[blog] Built for trust and control: Powering the next wave of AI agents across Google Workspace and Google Cloud. When everyone gets (secure) access to automate Workspace activities with these MCP tools and CLIs, watch how fast non-engineers build working solutoins.

[article] A response on agent platforms. There are conflicting visions about what agent platforms will be, and what they’ll look like next year. Preston is deep in this space, and shares important thoughts.

[article] When AI Can Code, What Is Left for Programmers to Do? Plenty. We think, we design, we come up with guardrails, we build machinery, we consider data flows, and we validate quality of output.

[blog] What’s new in Managed Service for Apache Spark 4.0. I’m not a data engineering guy. I’m more app dev and components. But even this feels approachable to me.

[article] OpenClaw at one: its chief architect on a year of explosive growth, wooing the enterprise, and being Meta’s muse. Sheesh, a year? We owe a debt to this project for making personal agents appealing to many people, and inspiring a whole crop of different solutions.

[blog] MCP vs. CLI: Does an AI Agent’s Tool Interface Still Matter? Well this challenges some conventional wisdom, doesn’t it? Looks like your choice of MCP or CLI doesn’t matter much when you have capable reasoning models.

[blog] Data + AI Anywhere: AlloyDB Omni integration with local models. Use our anywhere-PostgreSQL database with whatever local model you want.

[blog] How we built a software factory that builds itself. Where are you introducing end-to-end automation? It doesn’t have to be the whole SDLC up front. Maybe it’s the PR review and merge process.

Want to get this update sent to you every day? Subscribe to my RSS feed or subscribe via email below:



Read the whole story
alvinashcraft
54 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Hackers Compromise Check Point Servers In 22 Organizations

1 Share
Hackers have compromised 24 Check Point Security management servers across 22 organizations in 17 countries in a suspected cyberespionage campaign, according to threat intelligence firm GreyNoise. BleepingComputer reports: The researchers track the activity as GT13 and confirmed it was ongoing between October 17 and November 2, when their visibility ended. However, given the threat actor's persistent access to Check Point devices, they believe the campaign remains active. GreyNoise says the 22 victim organizations are spread across 17 countries, and show no clear evidence of specific targeting. They include government entities, financial services providers, and companies in the energy, transportation, mining, and manufacturing sectors. The attacks were launched from 99 IP addresses that appear to come from compromised Check Point devices and ExpressVPN exit nodes. A Rejetto HTTP File Server, compromised by exploiting CVE-2026-61500, was used as an operational relay for managing intrusions and collecting stolen data from the compromised environments. While GreyNoise could not determine when or how the Check Point servers were breached, it observed the exploitation of CVE-2026-16232 during the post-compromise stages. The vulnerability is an authentication bypass in Check Point SmartConsole that allows attackers to obtain an application login token and authenticate with administrator privileges. Check Point warned about the flaw in July, marking it as an actively exploited zero-day. The researchers also observed attempts to exploit CVE-2025-5777 (Citrix NetScaler), CVE-2024-21893 (Ivanti), CVE-2026-41089 (Windows NetLogon), CVE-2026-16232 (Check Point SmartConsole auth bypass to Run Script), and CVE-2026-98432 (Linux IPv4 UAF).

Read more of this story at Slashdot.

Read the whole story
alvinashcraft
3 hours ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories