Hi,
I have a gridview inside a table <table>...</table>
I have define explicitly wide of the table, for example 800px.
If we need gridview which is inside 800px table wider than table wide, how
can I show horizontal scroll bar on it?
I do not want to change the wide of main table. Thank you.
TIA & Regards,
Gun 4 8589
Hello,
I've never done it with the GridView, but I'm sure it applies there too: http://www.w3schools.com/css/pr_pos_overflow.asp
The overflow property defines what an object does when it overflows the
boundaries of its parent. Setting this to scrollable will give you the end
result of a scrollbar which - I think - is what you want.
If you need an example let me know.
--
~~~~~~~~~~~
Ben Rush http://www.ben-rush.net/blog
"Gunawan" <jg**********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi,
I have a gridview inside a table <table>...</table>
I have define explicitly wide of the table, for example 800px.
If we need gridview which is inside 800px table wider than table wide, how
can I show horizontal scroll bar on it?
I do not want to change the wide of main table. Thank you.
TIA & Regards,
Gun
You can put the gridview inside a panel, and use the scrollbars on the
panel. Check out the sample at ASPNet101: http://aspnet101.com/aspnet101/aspne...llableGridView
--
David Wier
MVP/ASPInsider http://aspnet101.com http://aspexpress.com
"Gunawan" <jg**********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi,
I have a gridview inside a table <table>...</table>
I have define explicitly wide of the table, for example 800px.
If we need gridview which is inside 800px table wider than table wide, how
can I show horizontal scroll bar on it?
I do not want to change the wide of main table. Thank you.
TIA & Regards,
Gun
Thanks Ben,
It is look like a good article.
An example from you would help me much.
Thank In Advance.
Gun
"Ben Rush" <kw*****@yahoo.comwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Hello,
I've never done it with the GridView, but I'm sure it applies there too:
http://www.w3schools.com/css/pr_pos_overflow.asp
The overflow property defines what an object does when it overflows the
boundaries of its parent. Setting this to scrollable will give you the end
result of a scrollbar which - I think - is what you want.
If you need an example let me know.
--
~~~~~~~~~~~
Ben Rush http://www.ben-rush.net/blog
"Gunawan" <jg**********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>Hi, I have a gridview inside a table <table>...</table> I have define explicitly wide of the table, for example 800px. If we need gridview which is inside 800px table wider than table wide, how can I show horizontal scroll bar on it? I do not want to change the wide of main table. Thank you.
TIA & Regards, Gun
Now I can figure it out to display scroll bar with panel.
Thank you David.
Regards,
Gun
"David Wier" <da********@noSpamhotmail.comwrote in message
news:ec**************@TK2MSFTNGP02.phx.gbl...
You can put the gridview inside a panel, and use the scrollbars on the
panel. Check out the sample at ASPNet101: http://aspnet101.com/aspnet101/aspne...llableGridView
--
David Wier
MVP/ASPInsider http://aspnet101.com http://aspexpress.com
"Gunawan" <jg**********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>Hi, I have a gridview inside a table <table>...</table> I have define explicitly wide of the table, for example 800px. If we need gridview which is inside 800px table wider than table wide, how can I show horizontal scroll bar on it? I do not want to change the wide of main table. Thank you.
TIA & Regards, Gun
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: theKirk |
last post by:
using Visual Studio 2005
C# ASP.NET
I know there has to be a simple way to do this....I want to use C# in a code
behind for aspx.
Populate a GridView from an xml file
Add Fields to the...
|
by: Nalaka |
last post by:
Hi,
I have a gridView (grid1), which as a templateColumn.
In the template column, I have put in a gridView (grid2) and a
ObjectDataSource (objectDataSource2).
Question is... How to I pass the...
|
by: NateDawg |
last post by:
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if
anyone has some input it would sure help me out.
Ok, I’ve noticed a few gridview problems floating around the forum....
|
by: |
last post by:
Hello,
Does anyone have an idea on how I can filter the data in the gridview
control that was returned by an sql query?
I have a gridview that works fine when I populate it with data. Now I...
|
by: Dick |
last post by:
I have a GridView bound to an ObjectDataSource. I have a Button that calls
GridView.DataBind. I want the row that is selected before the DataBind to
still be selected afterwards.
This happens...
|
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...
|
by: joechipubik |
last post by:
I have a GridView in a FormView that has as its datasource a DataTable
that is stored in the session cache.
When I first load the page the GridView is displayed correctly, but on
subsequent loads...
|
by: antonyliu2002 |
last post by:
I've been googling for some time, and could not find the solution to
this problem.
I am testing the paging feature of gridview. I have a very simple web
form on which the user can select a few...
|
by: RobertTheProgrammer |
last post by:
Hi folks,
Here's a weird problem...
I have a nested GridView setup (i.e. a GridView within a GridView), and within the nested GridView I have a DropDownList item which has the...
|
by: Peter |
last post by:
I have a GridView which is populated by List<ofObjects>
Does anyone have example of how to sort the columns of this GridView?
I have found examples without DataSourceControl but these use...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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...
|
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...
|
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,...
|
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,...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |