Forms Data Controls :: Adjust Gridview Column Widths?

Apr 1, 2011

Earlier,I was having UltrawebGrid control in my aspx page.Due to performance issues, we have replaced it with asp:GridView control.We needall the functionalities implemented with the UltrawebGrid using the gridview.With UltrawebGrid , the user was allowed to adjust the column widthsby dragging and save it.Is there any possible way to achieve this using GridView?

View 3 Replies


Similar Messages:

Web Forms :: To Use Response.Write To Adjust Column Widths When Exporting Data To MS Excel?

Feb 14, 2010

Is there a simple way to use Response.Write to adjust column widths when exporting data to MS Excel?

View 3 Replies

Forms Data Controls :: TextBoxes Messes Up GridView Column Widths?

Apr 1, 2011

My problem is: The GridView normally fits the grid perfectly to the data so that each cell only spans one row and has the appropriate column widths. However, when I add a row of TextBoxes to the bottom of this grid, the column widths suddenly all become equal, so that some cells with lots of words span multiple rows. Is there anyway to prevent this?

View 4 Replies

Forms Data Controls :: Column Chart Has Inconsistent Column Segment Widths?

Jan 3, 2011

[Code]....

Stacked-column chart has inconsistent column segment widths

View 1 Replies

Forms Data Controls :: Unable To Format Column Widths

Jun 3, 2010

I'm creating a ListView and have been unable to format column widths. After much research I have found that the width property of the <asp:Label doesn't work. I'm using

<asp:Label
ID="lblVCArea"
runat="server"
width="10"
BackColor="Aqua"
Text='<%# Eval("VCArea") %>'
/>

I test the FormView by changing the width property and it doesn't affect the width of the column. The <th control in the layout template has a width="60" that appears to be working. If I remove the <asp:label from the <td in the Item and AlternateItem templates, the width is set to 60. When I paste the <asp:label back into the <td, the width of the column increases to about 200px even though the width is set to 10. I set the backcolor to Aqua to see the label and it is about 200 px widt.

View 10 Replies

Forms Data Controls :: Sum Column In Gridview / How To Adjust It 10 Colum And Down To Other 10 Colum

Sep 24, 2010

when i use datagrid its like this

column1 colum2 colum3

10000 50000 300

100 200 1000

i do not want to sum it in footer but like this

column1 colum2 column3

10100 50200 1300

and the other is i have 110 column its long long 2 meters on screen, how can i adjust it 10 colum and down to other 10 colum

View 4 Replies

Forms Data Controls :: Table Dynamically Adjust Width Of Last Column

Aug 2, 2010

I have an asp:Table. Its with is 100%. This table has only one row but 6 columns. The width of first 5 column is fixed at 150px. The last one does not have its Width specified and so it takes up the rest. The whole row has a background. If any of the first 5 column is clicked, the background of that cell is changed to white.In my development computer, the last column has about 250px. Yet in user computer, as the monitor has a smaller resolution, the last column has only 30px or so. User complains it is ugly and wish to merge the last column with the previous one. How to do so?

Source code:

[Code]....

View 3 Replies

Forms Data Controls :: Allow User To Adjust Columns Width Of A Gridview At Runtime?

Mar 9, 2011

You know how when you put your cursor over the line that seperates 2 columns of a grid, the cursor turns into a 2 headed arrow and allows you to adjust the width of the column? How do you allow this with a gridview?

View 4 Replies

Best Practice To Manage Telerik RadGrid Grid And Column Widths?

May 25, 2010

I wanted to ask what is the best practice to manage width of the radGrid.

For my application most users are running 1280 x 1024 so I would be happy to set my overall grid width to 1100. However, depending on the form in use, I sometimes have horizantal scroll bars. To solve this, I have been playing with the width of the grid, and also I have played with setting the itemstyle-width for one or two columns. Sometimes I accidentally get it right, and sometimes it is not quite right.

What is the best way to manage this? Do I set the grid, and then all columns, or just the grid, or just the columns? I guess there is a best practice, so just wondering how you handle it,

View 2 Replies

Forms Data Controls :: >>>want To Display Gridview Column Heading When Mouse Over To The Particular Column In The Gridview?

Oct 12, 2010

I want to display gridview column heading when mouse over to the particular column in the gridview.I am working in VisualStudio 2005 with MS.Net2.0 framework.I don't want to use ajax.

View 4 Replies

Forms Data Controls :: Gridview 2nd Column Decrease After Expanding The 3rd Column's Gridview?

Oct 29, 2010

[Code]....

Main Gridview[Code]....

View 3 Replies

Forms Data Controls :: Gridview Column Change / Replace A Column Data Field Value to 'Not Applicable'?

Jan 6, 2011

I have a gridview which is binded to a Sqldatasource. I would like to replace a column data field value to 'Not Applicable' if that column has got a value of 2 in database.

View 2 Replies

Forms Data Controls :: >>>Display Gridview Column Heading When MouseOver On Particular Column?

Oct 12, 2010

want to display gridview column heading when mouse over to the particular column in the gridview.

View 9 Replies

Forms Data Controls :: Add A Button At First Column Of Gridview And Get Cell Value In Another Column

Jul 22, 2010

How to add a button at first column of gridview and get cell value in another column?

For example, add a button named it as "Click me". Once user clicks will get third column cell's (ID) value.

View 2 Replies

Forms Data Controls :: Make A GridView Column Invisible If Every Cell In That Column Is Empty?

Mar 4, 2011

No sense in showing a competely blank column. how to make a GridView column invisible if every cell in that column is empty?

View 3 Replies

Forms Data Controls :: Display Text In 2 Rows And Then A Gridview Column - Third Row Is Displayed As A Row Under First Column

Jul 14, 2010

I have a gridview with 3 columns. In second column I want to display some text in 2 rows and then a gridview.
Here is my code:

[Code]....

The problem is my third row is displayed as a row under first column. How do I make it a separate column in my girdview. Not sure what is going wrong.

View 11 Replies

Forms Data Controls :: Gridview Column Validation When The Sum Of Column Value Is More Than 100?

Jan 8, 2011

I am using GridView ,I want to do a validation like if i edit any one of the Cell in that column, it will through the validation when the sum of column value is more than 100. How can i do this validation?

View 10 Replies

C# - Unable To Set GridView Row Widths On RowDataBound?

Jul 26, 2010

My current code to attempt to set widths for the rows on a gridview is:

protected void RowDataBound(Object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Header)
{
foreach (DataControlFieldHeaderCell dcfhc in e.Row.Cells)
{
dcfhc.Width = 100;
}
}
else
{
foreach (DataControlFieldCell dcfc in e.Row.Cells)
{
dcfc.Width = 100;
}
}
}

But that just keep all of the widths default! What am I doing wrong?

EDIT: I have already tried thise code as well!
PoolToDBHeaders.DataSource = new DataView(headerTable);
PoolToDBHeaders.DataBind();
foreach (DataControlField dcf in PoolToDBHeaders.Columns)
{
dcf.ItemStyle.Width = 100;
}
PoolToDBHeaders.DataBind();

View 1 Replies

Forms Data Controls :: How To Adjust The Style of The Data In The Buttonfield Specfically Related To size

Sep 7, 2010

I have created a buttonfield in code behind and assign data to it. Does anyone know how to adjust the style of the data in the buttonfield specfically related to size?

[Code]....

View 6 Replies

Data Controls :: Rotate GridView Rows Into Column With Image Column

Apr 27, 2016

I saw post [URL] .... which is converting rows into column item,quantity ,price. I have one other image field .how can bind image in this program?

View 1 Replies

Data Controls :: How To Hide Column In GridView And Access Value Of Hidden Column

Aug 16, 2013

As per my requirement, I am getting CompID, Company Name and URL from SQL database. I want to display just CompName and URL in gridvew. So, I need to hide the CompID in gridview. One way I can do BoundField field Visible to false but I need to retrive that compID id when user selected any of the row. if I set visible to false user wont see any compID in gridvew but I want access the selected compID also using SelectedRow.Cells[1].Text..

View 1 Replies

Data Controls :: Change Value Of GridView BoundField Column Based On Value From Another Column

May 7, 2015

I am using item template and eval function in the gridview to display the records. Can I add a coulmn which is not in the table?

I have to add some columns which is not in the table and assign the values from code behind to that particular column

View 1 Replies

Data Controls :: Get Column Index Of A Selected Column In GridView

Feb 3, 2014

I have a grid view with 4 columns and 12 rows.  Getting the row index is not problem; ;however, I cannot find a way to get the column index of the cell that i select.

View 1 Replies

Forms Data Controls :: To Add Insert Button To A GridView And A Scroll Bar To A Given Gridview Column?

Jul 9, 2010

how to implement Insert feature to a grid view?I need to use fields with scroll bar inside of a grid view. Is that possible through the template field?

View 23 Replies

Forms Data Controls :: Decrypt One Gridview Column Values Before Displaying It In The Gridview?

Mar 8, 2011

I have one filed that is encrypted using Rajindal algorithm and stored in MSSQL db.When I retrieve that column in gridview it's displayed in encrypted. I have the code that decrypts it but the problem is:How can I all loop throw this column values in the gridview and decrypt them all and display it in the gridview decrypted.See my code below:

[Code]....

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved