473,769 Members | 6,120 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Programmaticall y 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 programmaticall y 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=fals e 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 19 '05 #1
1 2561
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.microso ft.com> wrote in message
news:OV******** ******@TK2MSFTN GP10.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 programmaticall y 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=fals e 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 19 '05 #2

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

Similar topics

2
2299
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
2456
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 textbox, and in the second row I need to bind data into a dropdownlist...It all depends on the data I select from the database. I cannot use TemplateColumn because it has to be the same type of control for one column.
3
1560
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 it, in either design or codebehind. Thanks David
2
1361
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 must do it in the ItemDataBound event. Surely there must be a way to do this. Any help regarding this would already be more than Google could offer.
3
2556
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 have links to allow the user to rotate the photo 90 degrees left or right. After I rebind the datalist,the photo is not rotated on the web page, although it correctly rotated on the server. If I click refresh, it updates, but calling refresh causes...
6
5619
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
2212
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 new row to my datagrid. Thanks in advance.
1
1715
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 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...
4
26878
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 = true; When I add another entry to the datagrid, I return to this routine and check for the current row as follows: DataGridViewRow row = dataGridView2.CurrentRow;
0
9590
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9424
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10223
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10051
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10000
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3571
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.