Bineesh Viswanath

Bineesh Viswanath

  • 1.3k
  • 428
  • 43.7k

web forms not displaying form controls in running mode

Mar 22 2018 3:05 AM
Dear Sir,
 
I have issue in my asp.net project. kindly go through and let me know the cause.
 
The project having master page and child forms
 
see the screenshot below one of my child form
 
 
and in running mode, those controls are not visible.
 
In MasterPage. Master, I given ajax reference like this
 
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
and also added scriptManager like this:-
 
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager>
 
This is the entire html code for the above child form:-
 
<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeFile="wfrmAllocationDownload.aspx.cs" Inherits="WebForms_wfrmAllocationDownload" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="width:250px; float:left">
<table>
<tr>
<td>
<asp:Label ID="Label1" runat="server" Text="Staff ID"></asp:Label>
</td>
<td>
<asp:Label ID="lblStaffID" runat="server"></asp:Label>
</td>
<td>
<asp:Button ID="btnGetData" runat="server" Text="Get Data" />
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Accounts"></asp:Label>
</td>
<td>
<asp:Label ID="lblAccountCount" runat="server"></asp:Label>
</td>
<td>
<asp:Button ID="btnGetAllStaff" runat="server" Text="Get All Staff" />
</td>
</tr>
</table>
</div>
</asp:Content>

Answers (1)