Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要防止滚动整个 UserControl。相反,我需要在顶部修复 TextBox 和 Button 但滚动 GridView。现在它正在滚动整个用户控件。
将您的网格视图放在这样的 asp:panel 中,并将其余部分放在其中:
<asp:Panel ScrollBars="Vertical" runat="server" ID="pnlGrid"> <asp:GridView runat="server" ID="Grid1"></asp:GridView> </asp:Panel>
问候
认真的人在拒绝投票时给用户理由