473,386 Members | 1,823 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,386 software developers and data experts.

asp.net 2.0 gridview scrolling text in one column

Hi

I am pretty new to asp.net gridviews.

I need to get the text in one column to scroll, I have little screen space
and one column is normally empty, but is sometimes quite long.

Has anybody done this? Can I just put a Marquee into the column to acheive
this? if so, how do I do that?

Thanks

--
Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com
Feb 6 '08 #1
4 2435
Hello Phil,

Didn't understand what's your problem.
Could your please explain it detaily?
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
PJHi
PJ>
PJI am pretty new to asp.net gridviews.
PJ>
PJI need to get the text in one column to scroll, I have little screen
PJspace and one column is normally empty, but is sometimes quite long.
PJ>
PJHas anybody done this? Can I just put a Marquee into the column to
PJacheive this? if so, how do I do that?
PJ>
PJThanks
PJ>
PJPhillip Johnson (MCSD For .NET)
PJPJ Software Development
PJwww.pjsoftwaredevelopment.com
Feb 6 '08 #2
You can make this column templated and put the text into an html div with
overflow-y:auto.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Phil Johnson" <Ph*********@discussions.microsoft.comwrote in message
news:3C**********************************@microsof t.com...
Hi

I am pretty new to asp.net gridviews.

I need to get the text in one column to scroll, I have little screen space
and one column is normally empty, but is sometimes quite long.

Has anybody done this? Can I just put a Marquee into the column to
acheive
this? if so, how do I do that?

Thanks

--
Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com

Feb 6 '08 #3
Hi, I have a small resolution to work to.

One column in the grid is normally empty, but if it has text the text is
long, so I want the column to be narrow but to be able to see a string that
could be around 100 characters long if need be.

My first thoughts are if I could have this cell to scroll (automatically
with no user interaction) then that will keep the column narrow but allow the
whole text to be displayed. I know to have text scrolling automatically, you
can use the Marquee element control (or you could... its a while since I used
it so I will have to check its still around) but I'm unsure how to use that
inside a cell in a gridview.

Any suggestions are appreciated.

Thanks.

--
Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com
"Michael Nemtsev [MVP]" wrote:
Hello Phil,

Didn't understand what's your problem.
Could your please explain it detaily?
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
PJHi
PJ>
PJI am pretty new to asp.net gridviews.
PJ>
PJI need to get the text in one column to scroll, I have little screen
PJspace and one column is normally empty, but is sometimes quite long.
PJ>
PJHas anybody done this? Can I just put a Marquee into the column to
PJacheive this? if so, how do I do that?
PJ>
PJThanks
PJ>
PJPhillip Johnson (MCSD For .NET)
PJPJ Software Development
PJwww.pjsoftwaredevelopment.com
Feb 6 '08 #4
Hi Eliyha,

Thanks for the response.

The site is to displayed on TV screens though with no human interaction so I
need the text to scroll automatically.

Will you suggestion do that, or would it just display scroll bars that a
user would then have to click to scroll?

Thanks,

--
Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com
"Eliyahu Goldin" wrote:
You can make this column templated and put the text into an html div with
overflow-y:auto.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Phil Johnson" <Ph*********@discussions.microsoft.comwrote in message
news:3C**********************************@microsof t.com...
Hi

I am pretty new to asp.net gridviews.

I need to get the text in one column to scroll, I have little screen space
and one column is normally empty, but is sometimes quite long.

Has anybody done this? Can I just put a Marquee into the column to
acheive
this? if so, how do I do that?

Thanks

--
Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com


Feb 6 '08 #5

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

Similar topics

2
by: rufpirat | last post by:
Hello I'm in the middle of trying to build an "AD phone book", and this being my first try at asp.net, I have a few questions that I hope some of you might be able to help with: 1. Is it...
1
by: Miguel Dias Moura | last post by:
Hello, I have a GridView in my page which is created in runtime. It works fine. My page has 2 Asp Buttons: - The HIDE button makes GridView.Visible = False; - The SHOW button makes...
5
by: sutphinwb | last post by:
Hi - This could be a simple question. When I relate two tables in a datasetet, how do I get that relation to show up in a GridView? The only way I've done it, is to create a separate table in the...
4
by: Ken Wigle | last post by:
All, I would be very grateful for any help on this question. I have an application in asp.net 2.0 where I dynamically create a datatable and then bind that to a gridview. Unfortunately, the...
2
by: NH | last post by:
Is it possible to create a gridview control that allows scrolling on the columns. I have a gridview with a list of people names in the first column and the rest of the columns are week dates...
0
by: landesjoe | last post by:
Hi, here's my problem in short: Text boxes in gridview don't seem to hold their value if the column's .Visible property is changed back and forth. I've got a form with a gridview populated from...
1
by: Jeff | last post by:
ASP.NET 2.0 I've got problems with the right column in my GridView. The GridView consist of 2 columns, the problem column is the column on the right side. The problem is that it looks like...
0
by: tim85 | last post by:
Hello, I am trying to extend the System.Web.UI.WebControls.BoundField class to create a custom GridView / DetailsView column that will render other controls, for example a Calendar or a...
1
by: =?Utf-8?B?Z3V5?= | last post by:
I have a GridView with column widths defined as percentages however if a column has a row that is longer than the defined width the column width increases to compensate. If I turn Wrap on this...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
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.