Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#ASP.NET
MY problem is dat im displaying a chart according to the coloum values of gridview...but my grid view is i want the chart to display data acc to the pages of grid view. My grid view is paged
Posted 3-Oct-12 21:46pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hey sonali welcome to code Project this is ur first question na??
You can Remove paging of gridview and Put Gridview inside the panel and in panel You can set property ScrollBars="Auto" this will work fine
<asp:Panel Style="text-align: left" ID="Panel1" runat="server" Width="475px" Height="257px"
                                           <asp:GridView ID="GrdDoct" Style="font-weight: normal" TabIndex="3" runat="server"
                                               Width="455px" BorderStyle="Solid" BorderWidth="1px" BorderColor="Gray" BackColor="White"
                                               Font-Size="9pt" Font-Names="Verdana" ToolTip="Click For View in Detail" ForeColor="Black"
                                               AutoGenerateColumns="False" CellPadding="3" GridLines="Vertical" ShowHeader="False">
                                               <FooterStyle BackColor="#CCCCCC"></FooterStyle>
                                               <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True"></SelectedRowStyle>
                                               <PagerStyle BackColor="#DE6232" ForeColor="White" HorizontalAlign="Center"></PagerStyle>
                                               <HeaderStyle BackColor="Black" ForeColor="White" Font-Bold="True"></HeaderStyle>
                                               <AlternatingRowStyle BackColor="#CCCCCC"></AlternatingRowStyle>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Shai Vashdi 576
1 OriginalGriff 183
2 Tadit Dash 160
3 Sergey Alexandrovich Kryukov 136
4 praveen_07 115
0 Sergey Alexandrovich Kryukov 9,280
1 OriginalGriff 5,473
2 Peter Leow 4,100
3 Maciej Los 3,540
4 Abhinav S 3,333

Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid