Apr 17, 2015, 6:30 AM
HTML controls not accessible from code behind when EXT.net controls exist in the aspx page
aspx Page:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="FFMS.QEDModule.WebForm1" %>
<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div id="testdiv" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Button" />
<table runat="server" id="maintable"></table>
</div>
</form>
</body>
</html>
in code behind I cant access the table ("maintable") but if I delete the resource manager tag I can access all html controls.