Forms Data Controls :: Scrollable/ Keep The Header Stay In The Same Position

Mar 7, 2011

I lost the links that someone posted me how to make the gridview to have scroll bars.

I restate my question:I have a gridview to show about 20 records. Now put the gridview into a <DIV>.

Would like to know how do I make it scrollable but keep the header stay in the same position?There is a header for columns in my gridview.

View 5 Replies


Similar Messages:

Forms Data Controls :: Stay With The Selected Position In Grid View?

Sep 13, 2010

I've got one columns of check boxes in a GridView, when i select the checkbox entire record(75 columns) is poupulated into formfileds resided just below the gidview. The problem I'm having is that when i selelect 50th record of database(db have 100 recrds) the view state should be on 50th record level but it is scroll over to the toplevel after selecting the checkbox, if user wants to select the 51st record again he scroll to that level.

View 9 Replies

Forms Data Controls :: Freez Header In A Scrollable Grid?

Aug 10, 2010

I'm also looking for scrollable Grid with freezed header, which is working in IE8. In above solution fixed column width is used. Is it possible to have a such grid where grid width is changing together with page width (when changed)?

View 3 Replies

Data Controls :: Scrollable Nested GridView With Fixed Header Using JQuery

Mar 26, 2016

I came across a page that showed a solution for freezing the top (header) row of a gridview and allowed it to be scrollable.  Here is the article: [URL] ....

It works and I was able to freeze the top row! However, I have a nested gridview ("gridview2") within that gridview ("gridview1") and I need to freeze it's header row...but I am encountering the following compilation error: "The name 'gridview2' does not exist in the current context"

I have tried many approaches to solve this, including calling the javascript function on the button event in which gridview2 is displayed, however I receive the compile error every time.

Here is the code that is causing the error:

<script type="text/javascript">

function gridlock() {

var GridId = "<%#gridview2.ClientID %>";

View 1 Replies

Data Controls :: Make Multiple Header Rows Fixed In Scrollable GridView?

Jul 17, 2015

[URL]

i just wanted to fixed 2 rows of headertemplate. how can i do that using jQuery?

View 1 Replies

Data Controls :: Scrollable GridView With Fixed Headers - Header Column Alignment

Jan 16, 2014

Scrollable GridView with Fixed Headers inside ASP.Net UpdatePanel using jQuery Plugin. I have one more question in that.  How to adjust the width of the columns headers because for some of my gridviews the headers not showing the proper format.  in the gridview I gave HorizontalAlign="Left" and in the columns I gave 

<asp:BoundField DataField="XXX" HeaderText="XXX" ItemStyle-Width="150px" HeaderStyle-HorizontalAlign="Left" />  

It's not showing in the correct fomart. header is coming to the left side and data is coming to the right side...

View 1 Replies

Data Controls :: JQuery Scrollable GridView With Fixed Header Not Working With UpdatePanel

Dec 27, 2012

I have a form with multiple update panels in one form. here i have a gridview with update panel where jqery scrolable with fixed header is not working. i saw your post where IsInUpdatepanel: true

View 1 Replies

Web Forms :: Scrollable Grid With Fixed Header

Mar 28, 2012

I tried to have a grid with the fixed header. I implement this using the jquery plug  "ScrollableGridPlugin.js" and the following script:

 <script type="text/javascript">
            $(document).ready(function () {
            $('#<%=GridView1.ClientID %>').Scrollable({
                ScrollHeight: 500,
            });
        });
    </script>

But the problem is that, when the grid is placed inside the "Update panel" and if some button action fired, the scrollable grid with the fixed header is changed to the normal grid.

View 1 Replies

Web Forms :: Can Display Datagrid With A Scrollable Table But Fixed Header

Oct 6, 2010

I Have can I have the scrollable table but Fixed Header

[Code]....

View 7 Replies

Floating Menu - Div Tag Stay In One Position With Relation To The Screen Size

Mar 30, 2010

Although there are a number of floating menu tuts out there, I can't seem to find one that will simply let a div tag stay in one position with relation to the screen size. I have a div tag in the middle right of my page that must basically stay there even if the user scroll down.

View 1 Replies

C# - IE8 Fixed Header / Scrollable GridView?

May 24, 2010

I know this topic has been asked, but the posts are all out of date, or not functional on IE8. In brief we basically want to do the excel style locking of column headers in a GridView. I have seen a couple of solutions one jquery+ css(setExpression) which doesn't work in IE8. And another that uses ajax extensions, yet again doesn't work in IE8.

I have been through every solution in the below link and have yet to find a working implementation for IE8. [URL]

View 3 Replies

SCROLLABLE GridView With Fixed Header?

Oct 3, 2010

How Can We Have A SCROLLABLE GridView With Fixed Header???(in vs 2008 - asp.net with c#) Fixed Header is my problem! i test many ways for doing that and see some live demos / but they did not work. can u show me a simple way 4 doing that with an example?

View 2 Replies

C# - Fixed Header Gridview With Scrollable Body

Nov 6, 2010

I have a grid-view placed inside a div and scroll bar is there. I want to set the grid view header fixed and while scrolling only the content will be scrollable. How can do this..

View 2 Replies

Javascript - Create Html Table With Fixed Header And Scrollable Body?

Nov 3, 2010

I have an html table. I want to set table header as fixed and table body as scrollable.. How can i do this...?

View 1 Replies

Forms Data Controls :: How To Set FormView To Stay With Last Selected Value After Inserting

Feb 10, 2010

I have a FormView in default insert mode.

When I inserted item to database, the Form refresh and return to all blank or standard selection.
What can I do if I want it keeps the last entered value after inserting record ?

I need this because there are many items to insert and only partial fields need changes from last entered records.

View 3 Replies

Forms Data Controls :: Scrollable Gridview With Fixed Headers

Aug 5, 2010

I want scrollable gridview with fixed header. For that i create belw code

[Code]....

It works fine uptil page loads.I have functionality to delete rows from gridview.Once i click delete button from gridview the width of header columns get decreased then the width od data inside gridview.It means depending on the content of data the size gets variable.HOW to show data inside gridview irrespective of the content of data.

View 9 Replies

Forms Data Controls :: Gridview Stay's In Edit Mode After Update?

Feb 8, 2011

my gridview doesn't return to readonly mode after an update. i have set the editindex to -1did the databind() for the gridview too. but nothing works.setting keepineditmode to false doesn't work either.he documentation says that the gridview automatically returns to readonly after pressing the update button.my gridview is on a panel, and that panel is on an update panel.

View 6 Replies

Forms Data Controls :: Headers To Stay Fix While Vertical And Horizontal Scrolling?

Nov 10, 2010

Newbie to ASP.net. Programming in C#.I'm querying a SQL database and displaying the results in a gridview. The results can be many records so I need to provide the facility to scroll vertically and horizontally. To display the headers when scrolling I have implemented ( in my asp code) the headers in another table and the data is in another table. I see now I cannot align the column headers with the table data.Appreciate any help to fix this issue. ( What I need is a similar to the freeze function in excel where you can freeze the header while scrolling horizontally and vertically)If this method is not a good one to display headers with data please suggest another methodHere is my ASP code.

<div id="divProjectTableHeaderFullDetail" runat="server" style="background-color: #993300;
height: 40px; width: 770px; margin: 0; padding: 0 ; " >
<table style="font-family: Arial; font-size: 10pt; color: white;" cellspacing="0"

[code]...

View 11 Replies

Forms Data Controls :: How To Display A Header Of Gridview As A 3D View Color Header

Jan 4, 2010

how to display a header of gridvew as a 3D view color Header?

View 14 Replies

Forms Data Controls :: Adding The Custom Header Control To The GridView Header?

Jan 21, 2010

Scenario:
I have a Gridview where I want to handle the Sorting in a custom control that I've added to the header.
I've added this control to my GridView's Header via OnRowCreate event handling. I want the Sort Expressions to persist session to session (via Webparts Personalization)

Here is what I have for adding the custom header control to the GridView Header

[Code]....

This works out well for adding the control, but I can't get anything to persist because these controls are creating initially via postback (per the event) and re-created on all subsequent postbacks. I can't add an If(!IsPostback) because the controls are initially created on the gridview's postback (well at least thats how it's acting when I put it in there) If I were to add this control via the ASP page, not via the Codebehind, I would be able to persist the control. If I try to treat it as though everything is setup correctly, and assign my custom control's controls to [Personalizable], I get a runtime error telling me that I can only have webpartzones in or before Page_init (I'm guessing this is due to when/where the
gridview hits the OnRowCreate event). If there is some fundimental logic I'm missing, or best practices that I'm moving away from,

View 1 Replies

Forms Data Controls :: Gridview Column Header Button Instead Of Header Name?

Nov 28, 2010

is there anyway i can add in the gridview in header column name a button instead of label ?

column name 1 column name 2 column name 3 button

i am using checkbox column in item template for the button ,i wish after selecting checkbox for some row to click on the button on the header !!

View 2 Replies

Forms Data Controls :: ListView Column Header / How To Show Header

Mar 11, 2010

i have a problem with ListView control,when i bind data to it, it shows the heder of it also.

i don't want to show me the hedear, what should i do?

[Code]....

View 11 Replies

Forms Data Controls :: GridView Header / Change The Header Based On The Session Variable

Feb 16, 2011

I am using the following code to change the header based on the session variable

[code]....

View 2 Replies

Data Controls :: Scrollable Gridview With Fixed Pager

Mar 5, 2012

In my div displaying list of records using gridview. The div properties are like height=200, width=200, overflow-y:scroll, etc. I know in gridview we will get a default Page navigation bar appened to the records (it could be bottom or top) but what I want is records in gridview is scrobble and page navigation bar should be static at both the places (bottom and top). if we enabled page navigation bar in gridview...it will be appended to the gridview records and it will be scroll along with records but i want static page navigation bar.

View 1 Replies

Data Controls :: How To Implement Scrollable GridView Rows

May 7, 2015

How to scroll a gridview with moving the headertext?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved