Top "User-controls" questions

A UserControl is a separate, reusable input control that allows a user to interact with an application.

ASP.Net: ClientID not correct in code-behind of a user control

The following code does not work. The markup is in a User Control and I suppose that's why ClientID returns …

c# asp.net user-controls clientid
Setting DataContext within UserControl is affecting bindings in parent

I have a basic UserControl that sets its DataContext to itself for ease of binding: <UserControl x:Class="MyControlLib.…

wpf xaml data-binding user-controls datacontext
Select UserControl from FlowLayoutPanel

I have set up UserControls in a FlowPanelLayout with the help in this question: For Each DataTable Add UserControl to …

c# select user-controls flowlayoutpanel
WPF - UserControl default Content attribute

I'm creating a UserControl and I just can't remember the name of the attribute which you use to decorate the …

wpf user-controls itemscontrol custom-controls
EventHandler is null

I am trying to raise a click event from User control and handle it on the containing page. The problem …

c# asp.net events user-controls raise
How to pass information from one WPF UserControl to another WPF UserControl?

I've got a WPF application. On the left side there is a stackpanel full of buttons. On the right side …

c# wpf user-controls application-design
Dependency Properties' PropertyChangedCallback not getting called

If have an own user control with a DependencyProperty and the corresponding callback method like below: public partial class PieChart : …

wpf user-controls dependency-properties propertychanged
How to create ASP.NET user/server control that uses a list of asp:ListItem as child controls?

I am looking to create a user/server control that will be created with something like the following: <my:…

.net asp.net user-controls servercontrols
How to disable resizing of user control in WPF

I have Usercontrol.I want to disable its resizing. The usercontrol is: <UserControl x:Class="DocumentUpload" xmlns="http://schemas.…

wpf user-controls dynamic-resizing
Inheriting from a System.Web.UI.UserControl base class

First off, I am wondering if this is possible. I read slight grumblings around the internet about this, but I …

c# asp.net inheritance user-controls composite-controls