Top "Findcontrol" questions

A method on the Control class in the .NET framework that finds a control from its id.

C#, FindControl

I'm sorry, but I can't understand why this doesn't work. After compile, I receive a "Null reference exception". Please help. …

c# .net asp.net findcontrol
How do I access a control in the HeaderTemplate of my GridView

I want to have a DropDownList in the header of my GridView. In My codebehind I can't seem to access …

c# asp.net findcontrol
how to add controls to the masterpage's content placeholder programmatically

On the base.master: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Base.master.cs" Inherits="WebApplicationControlTest.Base" %> <!DOCTYPE …

master-pages findcontrol contentplaceholder
Problem finding a control within a FormView from code-behind

Here the code behind... I'm trying to retrieve this control so I can add items to the drop down list (…

asp.net vb.net formview findcontrol pageload
Find control in ListView EmptyDataTemplate

I have the a ListView like this <asp:ListView ID="ListView1" runat="server"> <EmptyDataTemplate> <asp:…

c# asp.net .net listview findcontrol
How to read Values from Request.form.Allkeys

I have checkboxes that I have created using Literal now on postback I get the checkboxes which are checked in …

asp.net findcontrol
FindControl in Asp.Net

I'm trying to find a control in a page. The Id is available as a server control (CheckBox) This throws …

asp.net vb.net findcontrol
Using FindControl to get GridView in a Content Page

I would like to find a GridView Control within a separate class and I am having issues doing so. I …

asp.net gridview master-pages findcontrol
FindControl cannot find the label control

I have a DataList inside a DataList that causes my page to lose the controls. The page works and there …

vb.net datalist findcontrol
Find all child controls of specific type using Enumerable.OfType<T>() or LINQ

Existed MyControl1.Controls.OfType<RadioButton>() searches only thru initial collection and do not enters to children. Is it …

c# .net asp.net linq findcontrol