Hi all,
I am pretty new to the whole javascript thing. I have a gridview that I want the user to be able to hover over the whole row (believe its the whole TR) and be able to click anywhere and that would be able to select that row. I need teh server side code to be able to know which row was clicked.
I don't really know where to sta...
I have a page designed with many HTML Tables which are hidden or displayed based on what needs to be shown at the time. There are various ASP.NET standard web controls within these tables, usually check boxes, radio button lists, text entry boxes, labels, etc. and all work just fine.
I am trying to put a DataGrid within one of the rows...
Hi,
I need to strikeout the entire text(even the whitespace between text/cells) in a row in the RowDataBound event of the GridView.
Is it possible?
...
I've got the setup below. When I click the 'Edit' link on the CommandField, a RowEditing event gets fired, but the row does not allow me to edit; specifically, the DropDownList does not appear.
My code seems to conform to all the examples I can find.
I'm probably missing something very basic, as I seem to be the only person on the inte...
Can anyone tell the function to sort the columns of a gridview in c# asp.net.
The gridview is databound to an oracle database. I wanted to click the header of the column to sort the data.
i dont know how to refer to the header itself
is it using the sender argument of the gridview_sorting method?
Thanks
...
Basically, i want my object back...
I have an Email object.
public class Email{
public string emailAddress;
public bool primary;
public int contactPoint;
public int databasePrimaryKey;
public Email(){}
}
In my usercontrol, i a list of Email objects.
public List<Email> EmailCollection;
And i'm binding this to a...
I have a gridview whose datasource is an oracle database.
I want to know how to be able to change column width (in the gridview) when it is being displayed in the web browser.
Thank you
...
Hello,
I am using asp.net and I'm working with a gridview. I have one of the fields in my GridView set up as a HyperLinkField that represents the name of the category. I pull the name and Id from a database and I can never be sure what they are because they are added separately. I want to be able to pass a changing CategoryId to another...
I want to take an EventLog entry which has a stack trace in its Message and bind it to a GridView. If I use Eval("Message") and put it in a label or a < p >, it displays, but the stack trace is smashed together.
If I Eval it in a TextBox, it keeps its formatting.
Is there a way to evaluate this stacktrace value to some sort of literal...
I have been using gridview since a long time. I have a "cant live with you and cant live without you" relationship with it.
The idea of Edits, inserts and deletes from within the grid is great but having to do something like
var sometext = ((TextBox)editRow.FindControl("tbSomeText")).Text;
just seems very un-clever to me. Has anyone ...
Can someone please help me with my problem?
I have a gridview in a webpage, whose datasource is an oracle database. I would like to know if it is possible to change the column widths while you are on the web page?
string select = "SELECT * FROM TABLE"
OracleCommand cmd = new OracleCommand(select, connectionstring);
cmd.Connection.Open...
Hello all,
I have problem with gridview deleting.I have table name Doctor with
Id,Name,Address,Phone.Id is auto generated field.After adding data
when i am displaying in gridview then if delete any id from gridview
Again then if i add any new details from the form its starting from
the new number.I mean if i delete the last id no 5 then ...
Good day,
I have a parent gridview with a few columns. On each row, I want to have a nested gridview. However, I have problems about displaying correctly the nested gridview.
If I place the nested gridview in the first columns of the parent gridview, when I will set the visible attribute to true to the nested one, of course, all the co...
Is there a good quality free Gridview for .NET WinForms? The Xceed datagrid (express edition) is lovely, but is for WPF. It's nice and simple, isn't overwhelming in the features department, and looks great at the click of a button. I'm looking for something similar for WinForms.
...
I have a gridview that could end up displaying about 5K records. I currently have it setup to use paging so it displays 200 records at a time. To add usability I'd like to provide the end user with some feedback that will allow them to locate a record easier. I was hoping there was a way that the user could put the mouse over one of the ...
I have a window using a WPF ListView/GridView bound to an ObservableCollection. The performance is utterly horrific. The application chokes trying to load 300-400 items and CPU usage spikes each time an item is added/removed/modified. Profiling doesn't reveal anything obvious.
Anyone have any suggestions?
...
Is there any open source that extends ASP.NET GridView, which allows Column order to be changed after it's rendered, raises a server side event when a Column is Dragged & Dopped ? I should be able to do this myself. I am wondering If there's any already.
Also, am just curious How long would it take for you to get this feature implemente...
Hello ,
I want to know the best way about when we want to bind a dataTable generated based on a searchResult to a gridview ( Just for now we want to show one record ) ,
now how can we add edit-delete capability for this record shown in the gridview ?
How many ways do we have for this ,
I know some but I want to reshape my knowledge , ...
I've created a custom GridView server control. The next thing I'd like to do is to use my own custom TableCell Collection with that GridView so I can set some custom properties and etc. Countless hours of Google searches have made me dizzy and yielded no real results.
Does anyone have any tips on how to accomplish integrating a custom...
Hi all,
when i am trying to display result in gridview using LINQ i am getting this error message."Both DataSource and DataSourceID are defined on 'GridView1'. Remove one definition." i am not getting any clue what to do? Here is my code
protected void SelectBtn_Click(object sender, EventArgs e)
{
ShowEmployee();
}
private void Sh...