Top "Code-behind" questions

Code-behind refers to code for your UI (Windows Forms, ASP.

populate treeview from list of file paths in wpf

There are several examples of how to populate a tree view from a collection of file paths such as this …

c# wpf treeview code-behind
How can I read WPF publish version number in code behind

I want to read and display WPF application publish version number in splash windows, In project properties in publish tab …

c# wpf xaml code-behind
How to add a GridView Column on code-behind?

I'm trying to add a column to a GridView, in ASP.NET 2.0 gridViewPoco.Columns.Add(...) However, i cant find the …

c# asp.net gridview code-behind
checkboxlist items as checked by default in codebehind asp.net

In my page I have a CheckBoxList control and I have 7 items on it. I would like to set those 7 …

c# asp.net .net code-behind checkboxlist
How to set an event function via a style?

I have several GUI control elements of which some are supposed to generate the same action (code-behind function call) on …

c# wpf events styles code-behind
ASP.NET, VB: how to access controls inside a FormView from the code behind?

I have a checkbox and a panel inside of a FormView control, and I need to access them from the …

asp.net vb.net controls code-behind formview
XAML or C# code-behind

I don't like to use XAML. I prefer to code everything in C#, but I think that I am doing …

c# wpf xaml code-behind
Can I update the value of a WPF binding from the C# code behind?

I’m learning C# and building a UI that reads and writes integers to an XML config file. The UI …

c# wpf binding user-controls code-behind
how to add a code-behind page to a view or partial view

I notice with the latest version of ASP.NET MVC that a View no longer defaults to having code-behind classes. …

asp.net-mvc views code-behind
How do I add Page Events for ASP.NET in Visual Studio 2008

This is a bit of a Visual Studio question. I feel with all the helpful Intellisense there should be something …

asp.net visual-studio-2008 events event-handling code-behind