Questions tagged [gridview]

A Gridview is a control for displaying and manipulating data from a variety of data sources.

A Gridview is a control for displaying and manipulating data from different data sources. It shows data from a variety of data sources in a tabular format.

26809 questions
3
votes
3 answers

GridView BoundField break long string

One of BoundField in my GridView has very long string without spaces and it resize GridView. How to break long strings in GridView columns?
Tomas
  • 17,551
  • 43
  • 152
  • 257
3
votes
1 answer

GridView Column Width - How To Stop "Shrink-To-Fit" Behavior

I am currently trying to implement a GridView with a frozen header. I've gotten the header frozen using javascript found online. Here is the code: var GridId = "<%=dgContacts.ClientID %>"; var ScrollHeight = 180; var ScrollWidth = 700; …
jmente1
  • 91
  • 1
  • 6
3
votes
3 answers

how to populate modalpopupextender when gridview button is clicked in asp.net

I have one problem, someone maybe can help me. I have a gridview and a button to edit the fields in the gridview from within a modalpopupextender. What I want to achieve is when someone will click the edit button, the popup to have the data from…
Laziale
  • 7,965
  • 46
  • 146
  • 262
3
votes
1 answer

Specified argument was out of the range of valid values.Parameter name: value

When I am deleting a row from grid view I am getting following error. "Specified argument was out of the range of valid values.Parameter name: value ". The following is the Stack Trace: [ArgumentOutOfRangeException: Specified argument was out of…
vijay chander
  • 33
  • 1
  • 1
  • 4
3
votes
2 answers

persist dropdownlist on paging

I have a GridView and I populate it via a List . One of its columns is a DropDownList and AllowPaging is set to true. My problem is when I choose a value on the ddl and after a paging the selected value is lost. Is there any way/idea to persist the…
Bes-m M-bes
  • 177
  • 1
  • 4
  • 16
3
votes
3 answers

Why doesn't my GridView SelectedIndexChanged event fire?

I have a GridView which you can click on a row and it should call the SelectedIndexChanged method (which updates another part of the page based on which row was selected). I have done something similar to this before and it worked, but I can't seem…
jdtaylor
  • 334
  • 2
  • 5
  • 20
3
votes
3 answers

Grid with too many columns in fixed width website

I am using Telerik's Radgrid for a website. Often the grid columns exceed the available width, and extend outside the main content area (fixed width). So what are my options for presenting very wide grids. horizontal scroll bars just look ugly on…
Midhat
  • 17,454
  • 22
  • 87
  • 114
3
votes
1 answer

asp.ImageButton OnClick function inside GridView within an updatePanel

I have a GridView which is continually rebound using a timer and is within an updatePanel so the page doesn't refresh continually (each row has a countdown sequence so the gridview needs to continually get updated) Inside the gridview i have an…
jdtaylor
  • 334
  • 2
  • 5
  • 20
3
votes
0 answers

Android - How to start the animation of items in a grid view on button Click when using GridLayoutAnimationController?

I have a custom GridView and I want to start the animation of items inside the grid view on click of button. I tried with GridLayoutAnimationController but it didn't work. When I set the layout animation using GridLayoutAnimationController then only…
Nick
  • 185
  • 1
  • 12
3
votes
3 answers

Failed to load viewstate when trying to update/cancel on gridview?

Background I have a GridView that builds a table using an ObjectDataSource. This source uses web services for both the select and update segments. Under the edit section, when clicked, has a DropDownList appear for the two columns that need to be…
James213
  • 957
  • 5
  • 31
  • 57
3
votes
3 answers

GridView vs DataGrid Performance

I always had major performance problems when setting .ItemsSource on a Datagrid to a collection. The method returns fast, but there is a very noticable delay before anything is actually rendered to the screen. Since the Datagrid has the…
Maestro
  • 9,046
  • 15
  • 83
  • 116
3
votes
2 answers
3
votes
1 answer

Setting visible to elements that were invisible before in GridView

I have a GridView in which I want to always show 7 icons, and sometimes an additional icon depending on a request. In the beginning the additional icon is never shown. This is the structure: 0 1 2 3 4 5 6 [7] All the icons fit into the…
jalv1039
  • 1,663
  • 3
  • 17
  • 21
3
votes
2 answers

ASP.NET GridView with lazy loading collapsible panel data

In a vb.net asp.net webforms project I need to load a list of records in to a gridview & once the user click on a row in needs to expand a panel which displays the details of the record, below the row. There I need to load the details of the record…
Nalaka526
  • 11,278
  • 21
  • 82
  • 116
3
votes
2 answers

My datasource is holding a value, but EVAL does not display the value in a label

I have a gridview that has a datasource that is an IENUMERABLE. When I debug and view the results of the datasource, I can see that there is a field that is pulled called strTONumber and it is populated, however when my gridview has a field that…
EvanGWatkins
  • 1,427
  • 6
  • 23
  • 52