473,385 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Programmatically Rotate Datagrid Rows

Jay
I'm wondering if anyone has even encountered a control or other scripting
that will automatically rotate the rows of a datagrid... I am in the process
of building an asp.net application that will display statistics on a large
LCD display for viewing by people within the room (30 feet away). One
problem is that the screen can obviously only display so much legible data
at a time. I may have upwards of 60 or 70 rows to display on a rotating
basis. I need to programmatically display only about 10 or so at a time.
What I have attempted to do simply use a <marquee direction=up> tag around a
datagrid, however, I do not want the datagrid header to move. I have also
tried setting showheader=false in the datagrid and creating my own header,
however, I can never get the column widths to line up properly (even when
forcing widths). Ideally I would like the header to remain locked in place
and have x number of rotating rows from the data bound grid displayed every
x number of seconds (or minute(s)). Have you ever seen such functionality?
The content scroller control at
http://www.telerik.com/r.a.d.rotator...ontentScroller
looks like it may do something very similar to what I need to accomplish (I
would need a locked header and fixed width datagrid columns though). Any
ideas?

Nov 21 '05 #1
1 1684
J
Have you thought of a data repeater? I found an example of custom server
control that repeats for each row in a dataset. This way your display
could
be organized in a readable manner. It works great and does account for
alternating rows. I have an example control and application if you need.

Best Regards,

J

"Jay" <msnews.microsoft.com> wrote in message
news:OV**************@TK2MSFTNGP10.phx.gbl...
I'm wondering if anyone has even encountered a control or other scripting that will automatically rotate the rows of a datagrid... I am in the
process of building an asp.net application that will display statistics on a large LCD display for viewing by people within the room (30 feet away). One problem is that the screen can obviously only display so much legible data at a time. I may have upwards of 60 or 70 rows to display on a
rotating basis. I need to programmatically display only about 10 or so at a time. What I have attempted to do simply use a <marquee direction=up>
tag around a datagrid, however, I do not want the datagrid header to move. I have also tried setting showheader=false in the datagrid and creating my own header, however, I can never get the column widths to line up properly (even when forcing widths). Ideally I would like the header to remain
locked in place and have x number of rotating rows from the data bound
grid displayed every x number of seconds (or minute(s)). Have you ever
seen such functionality? The content scroller control at
http://www.telerik.com/r.a.d.rotator...es&Example=Des
ign/ContentScroller looks like it may do something very similar to what I need to accomplish
(I would need a locked header and fixed width datagrid columns though).
Any ideas?

--
I am using the free version of SPAMfighter for private users.
It has removed 3307 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: JustSomeGuy | last post by:
mx = Cols/2; if ((mx * 2) != Cols) // Odd. ++mx; } for (y1=0; y1 < Rows; ++y1) { y2 = Rows-1 - y1; for (x1=0; x1 < mx; ++x1)
18
by: Julia Hu | last post by:
Hi, I have a datagrid, and in different rows I need to programmatically bind different type of controls and load data into these controls. For example,in the first row I need to bind data into a...
3
by: david | last post by:
Since there are too many data fields (clolumns) to display, it is better for me to rotate the datagrid by 90 degrees (ie, the columns become rows in web display). Anyone here can tell me how to do...
1
by: Jay | last post by:
I'm wondering if anyone has even encountered a control or other scripting that will automatically rotate the rows of a datagrid... I am in the process of building an asp.net application that will...
2
by: John | last post by:
Hi all, I searched everywhere today but to no avail - I need to programmatically remove rows (DataGridItems) from a datagrid. Unfortunately,I can't have a delete button/control of any kind but...
3
by: byrd48 | last post by:
Hi, I am developing a web site which allows users to upload and share photos. I have a datalist which lists the photos and has the usual edit, update commands. Within the edititemtemplate, I...
6
by: Li Pang | last post by:
I'd like to display data in a datagrid horizontally instead of vertically (ie, rotate datagrid by 90 degree). Anyone knows how? Thanks in advance
2
by: jaYPee | last post by:
Anyone know how to add record to a datagrid programmatically? Say for example I have two textboxes in my form and a datagrid. When I click a button the value of two textboxes will be added as a...
4
by: =?Utf-8?B?UGFycm90?= | last post by:
I cannot programmatically select a row in datagridview control. I use the following instruction to change the selection of a row dataGridView2.ClearSelection(); dataGridView2.Rows.Selected =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.