大家好,我想解決grdiveiw而不是表格的這個功能,任何人都可以引導我。我如何使用這個jquery插件的gridview而不是表
這個我試過通過註冊所需的腳本,但對我沒有工作,所以任何一個可以幫助我
<asp:GridView ID="grdEarnings" runat="server" CssClass="myTable01" AutoGenerateColumns="False"
AlternatingRowStyle-BackColor="#DEE6F7" ShowHeader="true" Font-Size="11pt">
<Columns>
<asp:TemplateField ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Center" HeaderText="ID">
<EditItemTemplate>
<asp:Label ID="lbl" runat="server" Text="<%#ID %>"></asp:Label>
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Center" HeaderText="Name">
<ItemTemplate>
<asp:Label ID="lblRegular" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="150px" HeaderText="Price">
<ItemTemplate>
<asp:Label ID="lblPrice" runat="server" Text='<%# Eval("Price") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="150px" HeaderText="Description">
<ItemTemplate>
<asp:Label ID="lblDescription" runat="server" Text='<%# Eval("Description") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
另外一個我試圖精品工程爲我,但因爲我使用工具提示在我的應用程序包括相關的一些腳本時,我包括我無法查看網格視圖
Untit滾動條LED頁
<script src="Scripts/ScrollableGridPlugin.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('#<%=grdEarnings.ClientID %>').Scrollable({ ScrollHeight: 300 }); }); </script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
如果我評論說是腳本的Jquery
功能後,該作品不夠好,我。但與這些腳本一起運行時,我無法查看gridview的滾動條
你好'Juri'感謝烏拉圭回合回覆爲什麼我使用不同版本是按照我從我搜索了按我的要求,我用的是一些對於'tooltip'有的爲'Calendar'像 – Ramakrishna
確保代碼,你應該只引用一個jQuery庫。可能您的工具提示和日曆插件仍然可以使用更新的jQuery庫,因爲它應該向後兼容:) – Juri