Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Error: Sys.ArgumentException: Value must not be null for Controls and Behaviors.Parameter name: element.

$
0
0

Does anyone know how to fix this problem?

I have tried pretty much all the solutions I googled but none has been able to resolve this issue.

Here is entire markup. I will be happy to post some codebehind if needed.

<body><form id="form1" runat="server"><div><asp:Panel runat="server" ID="pnlUser" Font-Names="Calibri" BorderStyle="Solid" 
            BorderWidth="1" Style="margin: 0 auto; width:300px;" Width="400px"><table><tr><td align="center" colspan="2"><asp:Label runat="server" ID="lblUser" Text="Enter UserName" /></td></tr><tr><td align="center">
                        UserName:&nbsp;<asp:TextBox runat="server" ID="txtUser" Width="75px" /></td><td><asp:Button runat="server" ID="btnGetUser" Text="Print Receipt" /></td></tr></table></asp:Panel><asp:ScriptManager ScriptMode="Release" runat="server" /><asp:HiddenField ID="whichOne" runat="server" /><center><rsweb:ReportViewer ID="ReportViewer1" runat="server" AsyncRendering="true" SizeToReportContent="true" Font-Names="Arial" 
            Height="675px" Width="750px"><LocalReport EnableExternalImages="true" ReportPath=""> </LocalReport> </rsweb:ReportViewer></center><asp:ObjectDataSource ID="certifyPW" runat="server" SelectMethod="GetData" TypeName="PWDataSetTableAdapters.ReceiptTableAdapter"><SelectParameters><asp:ControlParameter ControlID="txtUser" Name="UserName" DefaultValue="NA" /></SelectParameters></asp:ObjectDataSource></div><asp:Label CssClass="Treb10Blue" ID="lblMsg" Runat="Server" /><br /></form></body>

Thanks in advance


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>