473,320 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

grid view

I would like to place a label control so it appears immediately below a
gridview.

How can I make the label shift up or down according to the number of rows in
the gridview? The label just gets buried under the gridview if it grows.

I don't want to use paging in the gridview, because users want to print the
page with all the contents of the gridview.

Thanks!
Mar 10 '06 #1
6 1607
Hi,

why don't you just place it on top of the GridView if you don't want it's
place to change? What does it show to the user?

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"bill" <be****@datamti.com> wrote in message
news:uh*************@TK2MSFTNGP12.phx.gbl...
I would like to place a label control so it appears immediately below a
gridview.

How can I make the label shift up or down according to the number of rows
in the gridview? The label just gets buried under the gridview if it
grows.

I don't want to use paging in the gridview, because users want to print
the page with all the contents of the gridview.

Thanks!

Mar 10 '06 #2
Hi Bill,

You can put gridview inside a div tags and put label after the div. Then use
javascript code to print the content in div.

HTH

Elton Wang

"bill" wrote:
I would like to place a label control so it appears immediately below a
gridview.

How can I make the label shift up or down according to the number of rows in
the gridview? The label just gets buried under the gridview if it grows.

I don't want to use paging in the gridview, because users want to print the
page with all the contents of the gridview.

Thanks!

Mar 10 '06 #3
The client has laid out the page. They want it below the grid.

"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:Ox**************@TK2MSFTNGP09.phx.gbl...
Hi,

why don't you just place it on top of the GridView if you don't want it's
place to change? What does it show to the user?

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"bill" <be****@datamti.com> wrote in message
news:uh*************@TK2MSFTNGP12.phx.gbl...
I would like to place a label control so it appears immediately below a
gridview.

How can I make the label shift up or down according to the number of rows
in the gridview? The label just gets buried under the gridview if it
grows.

I don't want to use paging in the gridview, because users want to print
the page with all the contents of the gridview.

Thanks!


Mar 10 '06 #4
I tried that, but the label control retains its position when the grid
expands. Unless I put a scrollbar on the div, but they need to print the
entire page, not just the div content.

"Elton W" <El****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
Hi Bill,

You can put gridview inside a div tags and put label after the div. Then
use
javascript code to print the content in div.

HTH

Elton Wang

"bill" wrote:
I would like to place a label control so it appears immediately below a
gridview.

How can I make the label shift up or down according to the number of rows
in
the gridview? The label just gets buried under the gridview if it grows.

I don't want to use paging in the gridview, because users want to print
the
page with all the contents of the gridview.

Thanks!

Mar 10 '06 #5
Change page layout from GridLayout to FlowLayout

Remove

style="Z-INDEX: 101; LEFT: ###px; POSITION: absolute; TOP: ###px"

from controls

"bill" wrote:
I tried that, but the label control retains its position when the grid
expands. Unless I put a scrollbar on the div, but they need to print the
entire page, not just the div content.

"Elton W" <El****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
Hi Bill,

You can put gridview inside a div tags and put label after the div. Then
use
javascript code to print the content in div.

HTH

Elton Wang

"bill" wrote:
I would like to place a label control so it appears immediately below a
gridview.

How can I make the label shift up or down according to the number of rows
in
the gridview? The label just gets buried under the gridview if it grows.

I don't want to use paging in the gridview, because users want to print
the
page with all the contents of the gridview.

Thanks!


Mar 10 '06 #6
Thanks, that seems to work pretty well after some fiddling around.

I appreciate your help.

-Bill

"Elton W" <El****@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
Change page layout from GridLayout to FlowLayout

Remove

style="Z-INDEX: 101; LEFT: ###px; POSITION: absolute; TOP: ###px"

from controls

"bill" wrote:
I tried that, but the label control retains its position when the grid
expands. Unless I put a scrollbar on the div, but they need to print the
entire page, not just the div content.

"Elton W" <El****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
> Hi Bill,
>
> You can put gridview inside a div tags and put label after the div.
> Then
> use
> javascript code to print the content in div.
>
> HTH
>
> Elton Wang
>
> "bill" wrote:
>
>> I would like to place a label control so it appears immediately below
>> a
>> gridview.
>>
>> How can I make the label shift up or down according to the number of
>> rows
>> in
>> the gridview? The label just gets buried under the gridview if it
>> grows.
>>
>> I don't want to use paging in the gridview, because users want to
>> print
>> the
>> page with all the contents of the gridview.
>>
>> Thanks!
>>
>>
>>


Mar 10 '06 #7

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

Similar topics

5
by: pmud | last post by:
Hi, I need to display columns in a data grid based on 7 different queries. Now I have 32 questions: 1. Is it possble to have 1 single data adapter with 7 queries & 1 data set or do I need to...
12
by: pmud | last post by:
Hi, I am using teh following code for sorting the data grid but it doesnt work. I have set the auto generate columns to false. & set the sort expression for each field as the anme of that...
16
by: pmud | last post by:
Hi, I am using teh following code for sorting the data grid but it doesnt work. I have set the auto generate columns to false. & set the sort expression for each field as the anme of that...
2
by: Umeshnath | last post by:
Hi, I have placed a grid view inside Atlas panel. On click of a button event, data is populated in the grid view, I want to add scroll bar instead of increasing the size of grid view. I have...
0
by: zafar | last post by:
I don't know what property should be used for hiding colums in Data Grid, whereas in Data Grid View we have DataGridView1.Colums(index).Visible = False , But how can I hide Colums in Data Grid.....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.