Click here to Skip to main content
15,912,457 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to send all pages from gridview control to email using asp.net with c# Pin
developerit4-Jun-10 19:00
developerit4-Jun-10 19:00 
AnswerRe: how to send all pages from gridview control to email using asp.net with c# Pin
Peace ON4-Jun-10 19:43
Peace ON4-Jun-10 19:43 
Questiondatetime question Pin
Edward Topalian4-Jun-10 14:14
Edward Topalian4-Jun-10 14:14 
AnswerRe: datetime question Pin
Rutvik Dave4-Jun-10 14:24
professionalRutvik Dave4-Jun-10 14:24 
QuestionRe: datetime question Pin
Edward Topalian4-Jun-10 14:37
Edward Topalian4-Jun-10 14:37 
AnswerRe: datetime question Pin
Rutvik Dave4-Jun-10 15:51
professionalRutvik Dave4-Jun-10 15:51 
GeneralRe: datetime question Pin
Edward Topalian5-Jun-10 6:06
Edward Topalian5-Jun-10 6:06 
QuestionHow to make fixed header in gridView inside asp:panel? Pin
mittalpa4-Jun-10 8:34
mittalpa4-Jun-10 8:34 
Hi I ran into a strange issue. I am able to put gridview inside asp:panel and scrolling works too. But the moment I down, the header of gridView scrolls above inside the panel and gets hidden.

I just want to scroll rows, not the header. How can I do that? Please advise. Following is what I am using.

On a side note, I have tried to wrap gridView in DIV but div doesn’t show the scroll bars in the first load for some reason.

Thanks
<asp:Panel ID="Panel1" runat="server" ScrollBars="Both" Height="200" Width="60%">
    <asp:GridView ID="GvBidLists" AllowSorting="true" AllowPaging="false" runat="server"
        AutoGenerateEditButton="true" DataKeyNames="ListId" EmptyDataText="No data available."
        AutoGenerateColumns="False" >
        <EditRowStyle BackColor="skyblue" />
        <HeaderStyle BackColor="LightSteelBlue" ForeColor="#0000C0" Height="20px" HorizontalAlign="Center" />
        <RowStyle Height="20px" VerticalAlign="Middle" />
        <FooterStyle BorderColor="White" Height="20px" HorizontalAlign="Center" />
        <Columns>
            <asp:BoundField HeaderText="ListId" DataField="ListId" SortExpression="ListId" />
            <asp:BoundField HeaderText="ListName" DataField="ListName" SortExpression="ListName" />
            <asp:BoundField HeaderText="ProductTypeName" DataField="ProductTypeName" SortExpression="ProductTypeName" />
            <asp:BoundField HeaderText="Size" DataField="Size" SortExpression="Size" />
        </Columns>
    </asp:GridView>
</asp:Panel>

Follow your goals, Means will follow you ---Gandhi---

AnswerRe: How to make fixed header in gridView inside asp:panel? Pin
Yusuf4-Jun-10 13:38
Yusuf4-Jun-10 13:38 
GeneralRe: How to make fixed header in gridView inside asp:panel? Pin
Sandeep Mewara4-Jun-10 20:07
mveSandeep Mewara4-Jun-10 20:07 
GeneralRe: How to make fixed header in gridView inside asp:panel? Pin
Yusuf5-Jun-10 11:38
Yusuf5-Jun-10 11:38 
GeneralRe: How to make fixed header in gridView inside asp:panel? Pin
Sandeep Mewara5-Jun-10 23:31
mveSandeep Mewara5-Jun-10 23:31 
AnswerRe: How to make fixed header in gridView inside asp:panel? Pin
Sandeep Mewara4-Jun-10 20:03
mveSandeep Mewara4-Jun-10 20:03 
QuestionDynamically setting width of controls Pin
mark_me4-Jun-10 8:25
mark_me4-Jun-10 8:25 
AnswerRe: Dynamically setting width of controls Pin
Peace ON4-Jun-10 22:57
Peace ON4-Jun-10 22:57 
QuestionWhat is photosynthesis example like bingmaps site Pin
somasekhara7774-Jun-10 8:23
somasekhara7774-Jun-10 8:23 
AnswerRe: What is photosynthesis example like bingmaps site Pin
T M Gray4-Jun-10 9:04
T M Gray4-Jun-10 9:04 
QuestionIs there a way to add source-structured inputs dynamically to html through c#? Pin
Member 39190494-Jun-10 5:48
Member 39190494-Jun-10 5:48 
AnswerRe: Is there a way to add source-structured inputs dynamically to html through c#? Pin
Not Active4-Jun-10 6:53
mentorNot Active4-Jun-10 6:53 
AnswerRe: Is there a way to add source-structured inputs dynamically to html through c#? Pin
Adam R Harris4-Jun-10 9:55
Adam R Harris4-Jun-10 9:55 
QuestionHTML to RTF pls help Pin
AllPhee4-Jun-10 5:00
AllPhee4-Jun-10 5:00 
QuestionCode Standards Pin
mazemalik4-Jun-10 3:17
mazemalik4-Jun-10 3:17 
AnswerRe: Code Standards Pin
dan!sh 4-Jun-10 3:21
professional dan!sh 4-Jun-10 3:21 
AnswerRe: Code Standards Pin
Jamil Hallal4-Jun-10 4:22
professionalJamil Hallal4-Jun-10 4:22 
GeneralRe: Code Standards Pin
R. Giskard Reventlov4-Jun-10 4:33
R. Giskard Reventlov4-Jun-10 4:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.