tagged [code-behind]

The name 'controlname' does not exist in the current context

The name 'controlname' does not exist in the current context I have a web application that I'm working on (ASP.NET 2.0 with C#, using Visual Studio 2005). Everything was working fine, and all of a sud...

populate treeview from list of file paths in wpf

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](https://stackoverflow.com/questions/673931/fil...

23 May at 11:47

Adding Html from Code Behind in Asp.net

Adding Html from Code Behind in Asp.net I want to add HTML structure and control like this from code behind into a panel ``` First Name First Name

UWP: ListView ItemClick not work

UWP: ListView ItemClick not work I have to do a Master/Detail in UWP 1- If you're in Laptop: The responsible GridView of show the data of this person appear. So when you select a item is binded to Vie...

3 Jan at 22:58

How to set an event function via a style?

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 mouse interaction (MouseEnter, Mouse...

12 Aug at 20:16

code blocks are not supported in this context in asp.net control

code blocks are not supported in this context in asp.net control I'm creating one html table. I want to hide the table row. I'm putting the attributes `runat=server` and `id` for the particular row, b...

26 Feb at 15:11

WPF - Change a style in code behind

WPF - Change a style in code behind I have a list box that displays the results of a TFS Query. I want to change the style of the ListBoxItem in the code behind to have the columns that are included i...

16 Aug at 16:26

Can I update the value of a WPF binding from the C# 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 uses a variety of custom user controls. ...