Click here to Skip to main content
15,896,359 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionUnzip, Zip file in asp.net Pin
Mugdha_Aditya5-Dec-11 3:02
Mugdha_Aditya5-Dec-11 3:02 
AnswerRe: Unzip, Zip file in asp.net Pin
DigiOz Multimedia5-Dec-11 4:48
DigiOz Multimedia5-Dec-11 4:48 
AnswerRe: Unzip, Zip file in asp.net Pin
Jon Myers5-Dec-11 11:01
Jon Myers5-Dec-11 11:01 
QuestionOn Displaying the Records Retrieved Through Data Reader Pin
FerdinandDLDR2-Dec-11 7:33
FerdinandDLDR2-Dec-11 7:33 
AnswerRe: On Displaying the Records Retrieved Through Data Reader Pin
jkirkerx2-Dec-11 11:42
professionaljkirkerx2-Dec-11 11:42 
GeneralRe: On Displaying the Records Retrieved Through Data Reader Pin
FerdinandDLDR6-Dec-11 15:58
FerdinandDLDR6-Dec-11 15:58 
AnswerRe: On Displaying the Records Retrieved Through Data Reader Pin
syed muneem5-Dec-11 1:56
syed muneem5-Dec-11 1:56 
GeneralRe: On Displaying the Records Retrieved Through Data Reader Pin
FerdinandDLDR6-Dec-11 15:54
FerdinandDLDR6-Dec-11 15:54 
Hello, SyedMuneem.

My current code is shown below. I could see the vertical scrollbar in case there are many corresponding records to be display. My other questions now are:

(1)When I scroll up or down, the very first header line moves up or down also. How do I make the very first header line fixed?

(2)The very last column, the PersonSeq, if I click, I am actually displaying another form from which I can edit the various fields that can be edited.

What I would like to do finally is get rid or hide that PersonSeq column and be able to click on or select any row just like any row in a scrollable textbox.

And once I have clicked on or selected any row, if I would like to edit that currently selected row, I would just click one "EDIT" button at the very bottom of the panel(?) and then that is when I would like to call that separate form for editing the details of that selected. How do I do this, and how do I pick up the PersonSeq of the row/record that I clicked (or selected) on so I could pass it to that separate form for editing. The point is I do not want to use the gridview's provided edit/select buttons that are on each row or record of the gridview.


XML
<asp:Panel ID="Panel1" runat="server" ScrollBars="Auto" Width="100%" Height="350px">
    <asp:GridView ID="gridViewPersonInfo" runat="server" AutoGenerateColumns="False"
        CellPadding="4" ForeColor="#333333" GridLines="None"
        onselectedindexchanged="gridViewPersonInfo_SelectedIndexChanged">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:BoundField DataField="EmailAddress" HeaderText="Email Address" />
            <asp:BoundField DataField="LastName" HeaderText="Last Name" ReadOnly="True" />
            <asp:BoundField DataField="FirstName" HeaderText="First Name" ReadOnly="True" />
            <asp:ButtonField CommandName="Select"  DataTextField="PersonSeq"
                HeaderText="Person Seq" Text="Button" />
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
</asp:Panel>

GeneralRe: On Displaying the Records Retrieved Through Data Reader Pin
jkirkerx6-Dec-11 16:18
professionaljkirkerx6-Dec-11 16:18 
QuestionShow compound field in gridview Pin
Elham M2-Dec-11 2:40
Elham M2-Dec-11 2:40 
AnswerRe: Show compound field in gridview Pin
thatraja2-Dec-11 3:06
professionalthatraja2-Dec-11 3:06 
GeneralRe: Show compound field in gridview Pin
Elham M2-Dec-11 18:48
Elham M2-Dec-11 18:48 
Questionhow to load another page in asp.net page(C#)? Pin
Far sh1-Dec-11 15:47
Far sh1-Dec-11 15:47 
AnswerRe: how to load another page in asp.net page(C#)? Pin
Not Active1-Dec-11 17:05
mentorNot Active1-Dec-11 17:05 
Questionhow to make a web page? Pin
nik_utm1-Dec-11 14:46
nik_utm1-Dec-11 14:46 
Answercross post Pin
Not Active1-Dec-11 17:00
mentorNot Active1-Dec-11 17:00 
QuestionReferencing User Control Attributes in Page Code Behind Pin
janetb991-Dec-11 11:40
janetb991-Dec-11 11:40 
AnswerRe: Referencing User Control Attributes in Page Code Behind Pin
jkirkerx1-Dec-11 11:55
professionaljkirkerx1-Dec-11 11:55 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
janetb992-Dec-11 4:55
janetb992-Dec-11 4:55 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
janetb992-Dec-11 5:05
janetb992-Dec-11 5:05 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
jkirkerx2-Dec-11 7:13
professionaljkirkerx2-Dec-11 7:13 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
janetb992-Dec-11 7:57
janetb992-Dec-11 7:57 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
jkirkerx2-Dec-11 7:32
professionaljkirkerx2-Dec-11 7:32 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
janetb992-Dec-11 7:53
janetb992-Dec-11 7:53 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
jkirkerx2-Dec-11 8:49
professionaljkirkerx2-Dec-11 8:49 

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.