Hi there,
I'm new to this... This is a visual formatting problem.
I have two web forms that relate to each other in a master / child type
manner.
Select a table row in the datagrid on the master form (Clients), and you are
redirected to another form showing the children (Client Contacts in this
case).
This works fine, until I select a row in master that currently has no
children. In this case, the child form presents with a very large &
unappealing header for the grid...
Any ideas ?
thanks,
Bazza 2 1511
One of the workarounds that I've always used for this is to remove the
height value of the datagrid in the property page. This allows it to be
automatically set, and won't result in that ugly header.
I'm sure there is a better way to do it, but that's always worked for me.
Lowell
Bazza Formez wrote: Hi there,
I'm new to this... This is a visual formatting problem.
I have two web forms that relate to each other in a master / child type manner. Select a table row in the datagrid on the master form (Clients), and you are redirected to another form showing the children (Client Contacts in this case).
This works fine, until I select a row in master that currently has no children. In this case, the child form presents with a very large & unappealing header for the grid...
Any ideas ?
thanks,
Bazza
Now why didn't I think of that ?
Worked a treat, many thanks Lowell !
Bruce
"Lowell Heddings" <lo****@mindjunction.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... One of the workarounds that I've always used for this is to remove the height value of the datagrid in the property page. This allows it to be automatically set, and won't result in that ugly header.
I'm sure there is a better way to do it, but that's always worked for me.
Lowell
Bazza Formez wrote: Hi there,
I'm new to this... This is a visual formatting problem.
I have two web forms that relate to each other in a master / child type manner. Select a table row in the datagrid on the master form (Clients), and you are redirected to another form showing the children (Client Contacts in this case).
This works fine, until I select a row in master that currently has no children. In this case, the child form presents with a very large & unappealing header for the grid...
Any ideas ?
thanks,
Bazza This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Martin Clark |
last post by:
Hi,
I have a C# Windows .net application (not asp.net) which
uses a datagrid to display information. The datagrid is
populated from a DataView, in which I specify a sort order
("ORDER BY...
|
by: Jade |
last post by:
Hi,
I wanted to know if anyone know how to use the first
column of the datagrid to display values that are pulled
from a database, while the second column is one where i
can add my own heading....
|
by: Robert Schuldenfrei |
last post by:
Hi NG:
I have the following code working. The GetProdStrtList() returns a
DataTable called psTable. A Grid control is successfully bound to this
table and displays correctly. I would like to...
|
by: PeterZ |
last post by:
Hi,
In a running C# app with a datagrid control I select all rows in the
dataGrid using CTRL-A, I then paste into some other app like notepad or Word
but the column headings get left off.
Is...
|
by: Richard |
last post by:
I have a requirement to put a GDI style circle or rectangle border around
the selected row of a datagrid/ It will overlap into the row above and below
the selected row. Doing this in a the OnPaint...
|
by: Alan Lambert |
last post by:
I am writing a web-based reporting tool and using a datagrid to display
information returned from a database.
I am displaying column headings from bound columns with no problems but I
need to...
|
by: Mac via DotNetMonster.com |
last post by:
Hi all,
I have a datagrid on a form which I have set the datasource (through the form
designer) to be a dataset that I have added to the form, also through the
form designer. I then have added a...
|
by: cooltech77 |
last post by:
Hi,
I am trying to build the following functionality in the datagrid.
I have a lot of columns in the datagrid which are being populated from the
database and the user needs to scroll...
|
by: nico3334 |
last post by:
I'm not that familiar with arrays so I'll try to explain my problem as clear as possible. I have 2 text boxes in VB where users are basically allowed to choose a date range up to 12 months. The...
|
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,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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: 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...
|
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: 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...
| |