Sys.WebForms.PageRequestManagerServerErrorException:从服务器返回的状态代码为500

时间:2016-02-11 14:56:04

标签: c# asp.net telerik

我在.net中使用Windows应用程序,该应用程序在内部调用一个带有链接按钮的aspx页面。当我试图点击链接按钮时,我收到了这个错误,也是为了你的帮助链接按钮只是从数据库中获取数据并显示在网格中。请帮忙!

可能这个问题是重复的,但在检查完答案后我没有看到任何帮助。

我无法理解为什么会出现此错误,因为我确实有其他链接按钮正常工作。

此错误我只在Windows应用程序中获取,因为我在浏览器中运行aspx页面时我没有收到此错误!请帮忙。

        <asp:LinkButton ID="linkViewLog" runat="server" Text="View Log Files" OnClientClick="javascript:ShowHideLogs();return false;"></asp:LinkButton>
        <div id="divLogs" style="visibility: hidden; display: none; margin-left: 25px; margin-top: 5px;">
            <telerik:RadButton ID="btnLogs" runat="server" Text="Refresh" OnClick="btnLogs_Click">
            </telerik:RadButton>
            <telerik:RadGrid ID="gridLogs" runat="server" AutoGenerateColumns="false" OnDetailTableDataBind="gridLogs_DetailTableDataBind">
                <MasterTableView DataKeyNames="property">
                    <NoRecordsTemplate>
                        <div>
                            Loading Data...</div>
                    </NoRecordsTemplate>
                    <Columns>
                        <telerik:GridBoundColumn DataField="property" HeaderText="Property">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="lastupdate" HeaderText="Last Update">
                        </telerik:GridBoundColumn>
                    </Columns>
                       </MasterTableView>
            </telerik:RadGrid>
        </div>

0 个答案:

没有答案
相关问题