Try this
Table tblForm = this.Master.FindControl("MainContent").FindControl("formtable") as Table;
Checkout this Control ID Naming in Content Pages for more details
More Related Contents:
- How to find Control in TemplateField of GridView?
- Where does error CS0433 “Type ‘X’ already exists in both A.dll and B.dll ” come from?
- Loop through all controls on asp.net webpage
- ASP.NET Is there a better way to find controls that are within other controls?
- Find all child controls of specific type using Enumerable.OfType() or LINQ
- Timer in UpdatePanel
- C#, FindControl [duplicate]
- ASP.NET Custom 404 Returning 200 OK Instead of 404 Not Found
- Parser Error Message: Could not load type ‘webmarketing’
- How do I call a method in a Master Page from a content’s code-behind page?
- How do I get the contents of a JSON file I added in the StartUp method to use it in one of my actions?
- How to Convert JSON object to Custom C# object?
- JavaScriptSerializer – JSON serialization of enum as string
- Fire and forget async method in asp.net mvc
- Lifetime of ASP.NET Static Variable
- Object cannot be cast from DBNull to other types
- How to send HTML-formatted email? [duplicate]
- Setting the datasource for a Local Report – .NET & Report Viewer
- Upload file on FTP
- get date part only from datetime value using entity framework
- ASP.NET Identity – Multiple object sets per type are not supported
- .NET Framework 3.5 and TLS 1.2
- IIS app pool recycle + quartz scheduling
- How can I get the CheckBoxList selected values, what I have doesn’t seem to work C#.NET/VisualWebPart
- GridView with merged cells
- I’m getting “The report definition for report ‘xxxx.rdlc’ has not been specified” in my RDLC report
- How to retrieve binary image from database using C# in ASP.NET
- How do static properties work in an asp.net environment?
- Conditional Logic in ASP.net page
- Cast an Anonymous Types in Object and retrieve one Field