Top "Code-behind" questions

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

Calling a jquery function from code behind in asp.net doesn't seem to work

I am calling a jquery function after inserting a record to database... ScriptManager.RegisterClientScriptBlock(LbOk, typeof(LinkButton), "json", "topBar('Successfully …

c# asp.net jquery updatepanel code-behind
GridViewColumn CellTemplate Code Behind

I have a listView that I construct at run-time, i.e. the columns are not known at compile-time. I would …

wpf listview datatemplate code-behind gridviewcolumn
Calling the original Page_Load function from inline code

I like to Monkey patch a ASPX website so that I can add stuff to the Page_Load method within …

.net asp.net code-behind inline-code
Convert a single file aspx to code behind

I'm working on a web site (not a web application) in VS 2008 .Net 3.5 and it uses the single file .aspx …

asp.net visual-studio-2008 code-behind
Creating Stacked Bar Column Chart with CODE BEHIND

I need to create a Stacked column chart as shown in the picture. X-Axis : Component name Y-Axis : Number of bugs …

c# code-behind stacked
OnClientClick and Click event together for a button is not firing - issue in FireFox

I have Onclientclick event attached to the button in serverside code like below, TopPanelButton.OnClientClick = string.Format("if(!ValidData({0},{1},{2},{3})) return …

c# asp.net firefox code-behind onclientclick
How to use WPF's asterisk size value in codebehind?

I create some control in codebehind and would like to set its size dynamically. I can assign numerical values as …

wpf code-behind gridlength
ASP.NET MVC - Code Behind of Master Pages

I am newbie for ASP.NET MVC 1.0. I am converting from a classic application built up with VS2008 .NET3.5. I …

asp.net asp.net-mvc code-behind
How to retrieve HTML5 data-* Attributes using C#

I have a asp checkbox in my form: <asp:CheckBox id="option" runat="server" OnCheckedChanged="checkChange" data-attributeA="somevalue1" data-attributeB="…

c# asp.net html code-behind custom-data-attribute
Binding Setter.Value from code

In XAML I can write something like this: <Setter Property="PropertyName" Value="{Binding ...}" /> How would I do this …

c# wpf binding code-behind setter