473,320 Members | 1,861 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.

find height of a datagrid

Id there a why to find the height of a gridview after it has been created?
Some lines will wrap making the gridview londer or shorter depending on the
current page index.

Reason: I'm attempting to use the rounded corners (RoundedCorners Extender)
And i need to resize the panel to the specific height of the gridview.
I tried to set RoundedCorners Extender directly on the gridview but this
forced it of screen for some reason (except in FireFox!!!!)

Thanks
KES
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
Jun 25 '07 #1
2 1035
On Jun 25, 10:48 pm, WebBuilder451
<WebBuilder...@discussions.microsoft.comwrote:
Id there a why to find the height of a gridview after it has been created?
Some lines will wrap making the gridview londer or shorter depending on the
current page index.

Reason: I'm attempting to use the rounded corners (RoundedCorners Extender)
And i need to resize the panel to the specific height of the gridview.
I tried to set RoundedCorners Extender directly on the gridview but this
forced it of screen for some reason (except in FireFox!!!!)

Thanks
KES
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
hi...

if you can work in client side then perhaps you can use javascript to
access dom
and findout the grids height...

Thanks
Masudur
http://munnacs.110mb.com

Jun 25 '07 #2
yes, i was afraid of that!
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"Masudur" wrote:
On Jun 25, 10:48 pm, WebBuilder451
<WebBuilder...@discussions.microsoft.comwrote:
Id there a why to find the height of a gridview after it has been created?
Some lines will wrap making the gridview londer or shorter depending on the
current page index.

Reason: I'm attempting to use the rounded corners (RoundedCorners Extender)
And i need to resize the panel to the specific height of the gridview.
I tried to set RoundedCorners Extender directly on the gridview but this
forced it of screen for some reason (except in FireFox!!!!)

Thanks
KES
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes

hi...

if you can work in client side then perhaps you can use javascript to
access dom
and findout the grids height...

Thanks
Masudur
http://munnacs.110mb.com

Jun 25 '07 #3

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

Similar topics

0
by: Serdar Kalaycý | last post by:
I have a DataGrid in my WebForm. I set its Height propert to 1px because if I give it a big number and there's less records then expected, it extends the rows giving a silly layout. So it gets...
5
by: Kat | last post by:
Hi, I'm trying to set up an asp.net page using flow layout so I'm putting all my controls into a table grid, etc. I use several radiobuttonlists and datagrids that are generated from datasource....
3
by: Mau | last post by:
I have a question: I have a datagrid with paging (4 elements for page), header and footer I set a fixed height: 600px So the situation is (in a page with 5 elements) 6 rows (header + 4...
9
by: tshad | last post by:
How do I find (and set) a couple of labels in the Footer after a DataGrid is filled? I have a bunch of DataGrids that get displayed nested inside a DataList. The datagrid looks like: ...
3
by: RJN | last post by:
Hi I need to find the datagrid height dynamically based on the no. of records in the grid. I have set the height for the Item style and alternating item style. But I can not depend on this since...
25
by: Neo Geshel | last post by:
This works: <form> <asp:TextBox id="name" /> <%= name.ClientID %> </form> But this DOES NOT work: <form>
2
by: Tor Inge Rislaa | last post by:
How to change row height in a DataGrid I have DataGrid that is filled with data from a table in a DataSet. The content of the cells is text of more than one line (as a note field). What I...
3
by: Tor Inge Rislaa | last post by:
Hi, I have a need of controlling the row height of the individual rows in a data grid. The row height will be adjusted after the datagrid is filed with data and the height will be different for...
3
by: Sharon | last post by:
I have a DataGrid that contains a few rows and column header. I wish to change the DataGrid height to be the exact height of the total height of the rows and column header, so that no gray area...
1
by: DotNetDev | last post by:
Hi, I have a datagrid. <asp:DataGrid id="DataGrid1" runat="server" Height="237px" Width="280px" AutoGenerateColumns="False" AlternatingItemStyle-BackColor="#e9e9e9" ShowHeader="false" ...
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.