Current location: Hot Scripts Forums » Programming Languages » ASP.NET » fixed header for datagrids and two level login


fixed header for datagrids and two level login

Reply
  #1 (permalink)  
Old 10-14-05, 05:51 PM
seemagaur seemagaur is offline
New Member
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question fixed header for datagrids and two level login

I am looking for code samples to keep the table headers fixed with scroll bars but Couldnt find one. Do u have any sample code doing this?

I have used datagrid in my site whose header needs to be fixed i.e. it shouldnt scroll with the contents inside.
------------------------------
<div style="OVERFLOW: auto; WIDTH: 500px; HEIGHT: 310px; TEXT-ALIGN: left">
<aspataGrid id="Dtgrid1" runat="server" BorderColor="SteelBlue" BackColor="SteelBlue" ForeColor="Transparent" resizable="no" ShowHeader="true" HeaderStyle-BackColor="#aaaadd" DataKeyField="jobid" AutoGenerateColumns="False" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" AllowSorting="True" Height="100%" Font-Size="X-Small">
<FooterStyle forecolor="#8C4510" backcolor="LightSteelBlue"></FooterStyle>
<HeaderStyle font-bold="True" horizontalalign="Center" height="50px" forecolor="AliceBlue" bordercolor="Navy" backcolor="Desktop"></HeaderStyle>
<PagerStyle horizontalalign="Center" forecolor="#8C4510" mode="NumericPages"></PagerStyle>
<SelectedItemStyle font-bold="True" forecolor="White" backcolor="#738A9C"></SelectedItemStyle>
<EditItemStyle backcolor="Transparent"></EditItemStyle>
<AlternatingItemStyle forecolor="RoyalBlue" borderstyle="Groove" verticalalign="Middle" backcolor="LightSteelBlue"></AlternatingItemStyle>
<ItemStyle horizontalalign="Center" forecolor="SteelBlue" backcolor="Lavender"></ItemStyle>
<Columns>
<asp:BoundColumn Visible="False" DataField="jobid"></asp:BoundColumn>
<asp:BoundColumn DataField="Jobtitle" HeaderText="JOB TITLE"></asp:BoundColumn>
<asp:BoundColumn DataField="Category" HeaderText="CATEGORY"></asp:BoundColumn>
</Columns>
</aspataGrid>
</div>
------------------

I also want to know how to create a two level secure login system(admin and clients) in asp.net. Do let me know.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 01:08 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.