473,471 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Two gridviews next to each other without a TABLE?

jc
RE:Two gridviews next to each other without a TABLE?

In another post I can't seem to find somebody suggested I use use
<divwith style=float:right to place two divs next to each other and
this works great. However for some reason I cannot make it work when
the content of the Divs are gridview.

Is there any reason?
Mar 19 '08 #1
2 6521
On 19 Mar, 20:14, jc <j...@webdos.comwrote:
RE:Two gridviews next to each other without a TABLE?

In another post I can't seem to find somebody suggested I use use
<divwith style=float:right to place two divs next to each other and
this works great. However for some reason I cannot make it work when
the content of the Divs are gridview.

Is there any reason?
Hi

Have you tried different browsers? Some do not handle positioning very
well with div tags especially IE!
Mar 20 '08 #2
Give tp the divs width. Something like this:
<div style="float:left;width:49%;margin-right:1%">
<asp:gridview width="100%" .. />
</div>
<div style="width:49%">
<asp:gridview width="100%" .. />
</div>

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"jc" <jo**@webdos.comwrote in message
news:ed**********************************@n75g2000 hsh.googlegroups.com...
RE:Two gridviews next to each other without a TABLE?

In another post I can't seem to find somebody suggested I use use
<divwith style=float:right to place two divs next to each other and
this works great. However for some reason I cannot make it work when
the content of the Divs are gridview.

Is there any reason?

Mar 20 '08 #3

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

Similar topics

11
by: Neo Geshel | last post by:
I have an Access DB, from which I am going to pull images. Each image has an associated ID, but the ID's are not necessarily sequential (some images may have been deleted, leaving gaps in the list...
0
by: manuel.ricca | last post by:
Hello, I'm trying to create a table with 2 nested gridviews and then a DetailsView on the right. The DetailsView should show the details of the item selected in the 2nd (nested) GridView: My...
0
by: Roy | last post by:
Hey all, I must be losing my touch. I have made many pages in the 1.1 framework that utilize custom bidirectional paging in datagrids. We've converted over to 2.0 and I've been trying to use the...
2
by: Hennie | last post by:
I have 2 gridviews on a page, each with own SQL Datasource pointing to different tables on same database. In the 1st date format is "dd/MM/yyyy" Other 1 "MM/dd/yyyy hh:mm:ss" In the SQL...
1
by: Carlos | last post by:
Hi all, I need to place 5 gridviews next to each other. However, during esign time, the gridviews are placed under the previous.I played with the position style of the document but it did not...
1
by: Tony Dunn | last post by:
I have inherited another developer's database (Access 2003) and with it a problem I'm struggling with. The problem is this. I have a parent-child form pair, which is populated by a table (the...
3
by: AishaKhalfan | last post by:
Hi, :wave: I have many search criteria in my program, such as: search by name, search by age, search by gender, search by city the user can search by name only, or by name and age, or by...
0
by: lianaent | last post by:
Hi All, I'm brand new to asp.net 2.0, and have a simple task of just creating a quick and dirty data entry form with SQL Server 2005 on the back end. I added a gridview to my form, and I can...
8
by: stoogots2 | last post by:
I would like to reuse the code for gridview sorting for each of the several GridViews that I have on one page. I've not done this before, so I am seeking a more elegant and reusable solution than...
0
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
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...
0
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
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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
muto222
php
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.