| Thread | Last Post | Replies |
|
| AllowPaging and AutoGenerateColumns = false | 31 Oct 2003 23:19 GMT | 1 |
I have read that in order for paging to work, on a dg that you dynamically create the columns, you must create your columns in Page_Init. If this is true, how am I to create the columns in the Page_Init if the dg does not get created until a button is clicked?
|
| Refreshing DataGrid in page_load | 31 Oct 2003 12:51 GMT | 2 |
I want to refresh my DataGrid data on every postback. I have following code in Page_Load event, but after first page load, the DataGrid never gets refresh. Here is the code i have in Page_load (it works at first page_load):
|
| How do I add a Textbox to my DataGrid? | 31 Oct 2003 04:56 GMT | 2 |
Here's the problem: I am using WebMatrix and although I have a lot of IDE experience, I am a newbie at Web-based apps. How Do I get a TextBox into (each row of) my DataGrid to allow the user to edit the value of one column?
|
| How can I hide a column in my Datagrid | 30 Oct 2003 20:56 GMT | 3 |
I have a datagrid I am populating programmatically, creating the rows and columns. I need to hide one column. How can I do this? I have seen another posting on this but the solution was not communicated well. George
|
| datagrid related? | 30 Oct 2003 18:37 GMT | 3 |
i have made a application in vb.net which searchs for some products on the net and after collecting the information about them ,the results are displayed in a datagrid.the results are stored in a dataset which is then bound to the datagrid.the code for this is-
|
| Overriding a style for the HyperlinkColumn in my datagrid: Please help me. | 30 Oct 2003 18:13 GMT | 3 |
I have a style sheet for my site. It has various classes in it. It has <A: styles defined for all anchor tags. I have a datagrid in ASP.NET with a stylesheet linked to the page. It defines links as yellow which is what I normally won't but in this case I
|
| Header Controls | 30 Oct 2003 10:28 GMT | 3 |
Can someone help me with what I believe could be a simple answer. I've created a datagrid, of which I have a template column containing checkboxes. What I want to achieve is a checkbox in the header, so that when clicked, checks all the checkboxes in the grid. I'm having a lot of ...
|
| Setting focus..? | 30 Oct 2003 04:17 GMT | 7 |
I have a Webform with some textboxes on. How can I set the focus so that a user can start the input directly in the first textbox in taborder when the forms open? Textbox1 har the taborder set to 1 but the user still have to push the tab-button twice before TextBox1
|
| Collection class bound to DataGrid doesn't use my custom enumerator! | 29 Oct 2003 23:23 GMT | 1 |
I'm trying to implement a PageableCollection class so I can easily add custom paging functionality to my apps without the overhead of using the DataGrid's paging functionality and the huge ViewState that generates. What I have done works fine when I use foreach to iterate over my ...
|
| Datakey in Datagrid | 29 Oct 2003 19:59 GMT | 1 |
I am developing a Datagrid thar insert, delete and update rows in a Table. This table has got 2 fields that are primary key. How can i detect which row is selected to delete?? Thanks,
|
| DataGrid and ListBox problem... | 29 Oct 2003 18:52 GMT | 1 |
I am trying build a web form with a listbox and datagrid on it. 1. I have a dataset into which I load an xml file using ReadXml() method. private DataSet LoadDataSet(string FileName)
|
| All my drop down lists get reset to the first value when I go in to edit a record in the datagrid.... | 29 Oct 2003 18:39 GMT | 3 |
I've got my datagrid working to the point where I can edit records and even pick different values in my dropdownlists, save the record and have that data committed to the table. The problem I am having is that when I go into edit a record each of my picklist values get reset to the ...
|
| Turn editable cols on/off in single row inline edit | 29 Oct 2003 18:38 GMT | 2 |
Hi. I have a datagrid with 2 editable columns, Status and ScreenContact. When the user chooses to edit a row, one or both of those columns may be editable depending on a separate value. In the datagrid_EditCommand, is there a way to tell the DataGrid to
|
| Adding columns dynamically | 29 Oct 2003 18:31 GMT | 1 |
I always get the error: Item has already been added. Key in dictionary: "0" Key being added: "0" ----when trying to databind the webgrid with dynamically added columns. All the columns are added without any problems, but when it comes to the
|
| How to determine which control in a template column was clicked... | 29 Oct 2003 13:10 GMT | 2 |
I have the following datagrid with two template columns. Can someone tell he how I would know which "imgContacts1" was clicked and what the onclick routine would look like in code behind? In otherwords, how do you trap the onclick event for in image control in a
|