Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

asp.net 2.0 gridview scrolling text in one column

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phil Johnson - 06 Feb 2008 09:08 GMT
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

Signature

Regards,

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

Michael Nemtsev [MVP] - 06 Feb 2008 09:14 GMT
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

PJ> Hi
PJ>
PJ> I am pretty new to asp.net gridviews.
PJ>
PJ> I need to get the text in one column to scroll, I have little screen
PJ> space and one column is normally empty, but is sometimes quite long.
PJ>
PJ> Has anybody done this?  Can I just put a Marquee into the column to
PJ> acheive this?  if so, how do I do that?
PJ>
PJ> Thanks
PJ>
PJ> Phillip Johnson (MCSD For .NET)
PJ> PJ Software Development
PJ> www.pjsoftwaredevelopment.co
Phil Johnson - 06 Feb 2008 10:06 GMT
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.

Signature

Regards,

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

> Hello Phil,
>
[quoted text clipped - 23 lines]
> PJ> PJ Software Development
> PJ> www.pjsoftwaredevelopment.com
Eliyahu Goldin - 06 Feb 2008 09:31 GMT
You can make this column templated and put the text into an html div with
overflow-y:auto.

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

> Hi
>
[quoted text clipped - 8 lines]
>
> Thanks
Phil Johnson - 06 Feb 2008 10:08 GMT
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,

Signature

Regards,

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

> You can make this column templated and put the text into an html div with
> overflow-y:auto.
[quoted text clipped - 11 lines]
> >
> > Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.