473,503 Members | 6,385 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

gridview not 100% width on page

Hi,
We have a gridview on a webpage, which we would like to be 100% of the
table cell in which it is placed.
When we specify the width to be 100%, this has no effect, but only if
we specify a pixel number, i.e. 800, will the gridview be 800 px wide.

Here is an example:
http://www.valuetronics.com/Results....s=8050&x=0&y=0

And this may be related, but this page
http://www.valuetronics.com/Distribu...s.aspx?mfgr=33
displays the grid at 100%, while
http://www.valuetronics.com/Distribu...aspx?mfgr=3111
does not, in either firefox or ie.

btw, using 1024 resolution will seem like the grid is 100% width, but
when switched to 1280, that's when I can see it.

Has anyone experienced this?

Thank you,
Krzysztof
Jan 14 '08 #1
2 3662
psion wrote on 14 jan 2008 in microsoft.public.inetserver.asp.general:
Hi,
We have a gridview on a webpage, which we would like to be 100% of the
table cell in which it is placed.
When we specify the width to be 100%, this has no effect, but only if
we specify a pixel number, i.e. 800, will the gridview be 800 px wide.

Here is an example:
http://www.valuetronics.com/Results....s=8050&x=0&y=0

And this may be related, but this page
http://www.valuetronics.com/Distribu...s.aspx?mfgr=33
displays the grid at 100%, while
http://www.valuetronics.com/Distribu...aspx?mfgr=3111
does not, in either firefox or ie.

btw, using 1024 resolution will seem like the grid is 100% width, but
when switched to 1280, that's when I can see it.
This seems a clientside Q, and if not:

This is a classic asp group.
Dotnet questions should be asked in
<microsoft.public.dotnet.framework.aspnet>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jan 14 '08 #2
2 things,

1) this is a .NET page your URL is pointing to,this is a ASP group.

2) beign a .NET developer and having run into this same issue in the pass,
check your grid settings for each column. Are they a fixed width? If they
are then the page is rendering correctly. Due to the columns being a fixed
width, they will remain that even if you shrink down you browser window.

check for the folllowing:
columns are a fixed width
your not allowing word wrap to happen in the columns.

try those two and post back if they worked.
"psion" <kr****************@gmail.comwrote in message
news:b2**********************************@i7g2000p rf.googlegroups.com...
Hi,
We have a gridview on a webpage, which we would like to be 100% of the
table cell in which it is placed.
When we specify the width to be 100%, this has no effect, but only if
we specify a pixel number, i.e. 800, will the gridview be 800 px wide.

Here is an example:
http://www.valuetronics.com/Results....s=8050&x=0&y=0

And this may be related, but this page
http://www.valuetronics.com/Distribu...s.aspx?mfgr=33
displays the grid at 100%, while
http://www.valuetronics.com/Distribu...aspx?mfgr=3111
does not, in either firefox or ie.

btw, using 1024 resolution will seem like the grid is 100% width, but
when switched to 1280, that's when I can see it.

Has anyone experienced this?

Thank you,
Krzysztof

Jan 17 '08 #3

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

Similar topics

0
8549
by: Innova | last post by:
Hi, We are working on a gridview inside the gridview (parent-child) scenario. The data of child grid will depend on the data of parent. Objectives: 1.Add new row in parent grid after each row...
0
1638
by: John Smith | last post by:
If anyone can help, I would very muchly appreciate it. I have a main page that uses the .net 2.0 menu control with the multiview controls as the menu choices. This works fine. One of the menu...
4
15276
by: Chuck | last post by:
I'm setting the column with for a gridview (25+- columns) and have paging turned on. When the gridview is first displayed, the column widths are all set to the default. But after paging to...
6
3450
by: CSharpguy | last post by:
In my gridview I have 2 -3 template fields which are hyperlinks. I allow the user to print this grid. When the grid prints it also prints the links, how can I take the user to a print preview page...
1
4127
by: gary.comstock | last post by:
We have a non asp web page that contains a hyperlink which opens an iframe. The iframe is hidden until the hyperlink is selected then javascript toggles the visibility to 'visible'. Inside the...
1
15025
by: savajx1 | last post by:
I need to dynamically create a set of bound fields contained in a GridView control. I also have a single static CommandField that I can declare in the Columns <tagof the GridView control. I have...
3
2053
by: dhaneshrs | last post by:
I have a gridview i managed to update using the edit option in the smartmenu. The problem comes when i delete a value or make a value read only. Say i have a table Employee with the following...
1
10815
by: psion | last post by:
Hi, We have a gridview on a webpage, which we would like to be 100% of the table cell in which it is placed. When we specify the width to be 100%, this has no effect, but only if we specify a...
0
2516
KalariaNitya
by: KalariaNitya | last post by:
Hello, could anybody help me? i have gridview, inside gridview i have one Update button & textbox update button update the quantity entered in textbox. i want to update the quantity on textbox on...
7
2424
by: shanthidiana | last post by:
hi All, I am new to dot net... i am learning it and I am doing my masters project in c# dot net with sql server 2000 backend... The issue i am having now is... i am having a gridview, upon...
0
7194
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,...
0
7316
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...
1
6976
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...
0
5566
agi2029
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,...
1
4993
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...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
372
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.