|
|
A home for developers who love clean, working code
|
Find code solutions by technology
|
Browse topics across .NET, SQL, web development, and more to quickly find practical solutions and real-world code examples that solve everyday developmental challenges.
|
|
|
|
| | |
|
|
|
|
When you’re building a clean, modern UI, the wrong font can make your entire layout feel dated before you even start styling. That’s why developers keep reaching for typefaces like Satoshi—simple, sharp, and beautifully versatile. But getting a custom font to load reliably across browsers can feel like a small battle of its own. If you’ve ever wondered whether Microsoft Edge will actually download and use Satoshi the way you intend, you’re not alone. In this article, we’ll walk through the exact setup that ensures Edge grabs the font and renders it flawlessly every time
|
|
|
|
|
|
Styling a Telerik RadButton to behave like a true square icon button isn’t as simple as dropping in an image and shrinking the width. Telerik’s default padding, text wrappers, and icon alignment rules all work against a perfectly centered, minimalist design. In this article, we’ll walk through how to strip the control down to its essentials, lock in a fixed square shape, and center a single icon cleanly in the middle — producing a crisp, modern button that fits seamlessly into a flat UI
|
|
|
|
|
|
A well-placed radial gradient can add depth, focus, or subtle motion to a layout — but only if you can control exactly where it starts and how far it spreads. After wrestling with CSS’s gradient syntax more times than I care to admit, I finally landed on a pattern that gives me precise radius control and pixel-perfect positioning. The snippet below is the version I never want to lose again, so I’m documenting it here before it slips into the void of forgotten code.
|
|
|
|
|
|
Working with Telerik’s RadDropDownList is usually straightforward—until you need it to return more than one value. Many developers assume the control can only store a single DataValueField, and attempts to retrieve additional fields through DataItem often fail, especially after postbacks. The good news is that Telerik quietly provides a clean, reliable way to attach and retrieve multiple values from each item without hacks, hidden fields, or brittle string parsing. In this article, we’ll walk through the method that actually works every time and show why it’s the preferred approach for real-world ASP.NET applications.
|
|
|
|
|
|
Styling Telerik’s red RadSiteMap gets tricky the moment you want different visual rules for nodes that have children. The control renders every level with similar markup, so distinguishing leaf nodes from expandable parents requires a bit of selector strategy. In this article, we’ll walk through how to reliably target Level-1 items with child lists—giving you precise control over typography, spacing, and color without breaking the built-in theme.
|
|
|
|
|
|
I have an ASP.NET project that has a form that uses a user control/RadMenu for the menu. I need the menu to raise an event on the parent form, so that the parent form can load data. I've coded this in Winform controls, but never ASP.NET, so... here the example.
|
|
|
|
|
|
I have an ASP.NET project that has a form that uses a user control for the menu. I need the menu to raise an event on the parent form, so that the parent form can load data. I've coded this in Winform controls, but never ASP.NET, so... here the example.
|
|
|
|
|
|
A RadGrid template button may look simple, but the moment you need a clean, reliable confirmation step, the cracks in the default approach start to show. Browser prompts, client-side scripts, RadWindow confirmations—each option behaves a little differently inside a templated control. This article cuts through the noise and shows you the most practical patterns for adding confirmation dialogs to TemplateColumn buttons, from the quick one-liner to the more polished Telerik-style confirm workflow.
|
|
|
|
|
|
|
|
| Need a specific solution? |
|
Request a code example or topic. Our community-driven platform thrives on your needs.
|
|
Submit Request
|
|
|
|
|