| Thread | Last Post | Replies |
|
| Format datagrid in code behind | 30 Jun 2004 18:01 GMT | 2 |
In my code behind I add a coloumn to a datgrid : [CODE]lBlockUsedUp.DataField = "BlockUsedUp"[/CODE] [CODE]lBlockUsedUp.HeaderText = "Blocks Used Up"[/CODE] [CODE]lBlockUsedUp.ItemStyle.Width = New Unit(300)[/CODE]
|
| Sorting DataGrids in ASP.NET | 30 Jun 2004 16:37 GMT | 2 |
I have a datagrid that I sort by passing in a Sort Expression to a Sub which builds a dynamic order by clause and passes this into a Stored Proc. Do I need to make a call to my Stored Proc each time the user sorts a column? It just means that there is a trip to the DB each time ...
|
| Autogeneratecolumns = true, and I want to edit | 30 Jun 2004 14:58 GMT | 1 |
Can someone point me to an article on how to edit a datagrid when the grid is set to autogeneratecolumns? Each article I have come across has instructions when autogenerate is false and you have an item template with data containers.
|
| OnItemCreated fires twice | 30 Jun 2004 14:55 GMT | 2 |
All, On the initial load of my grid, the OnItemCreated event fires once. However, when any other grid event fires - sorting, paging - the OnItemCreated event fires twice. How can I prevent the double firing? How do I need to handle
|
| TextBox-TextMode | 30 Jun 2004 14:55 GMT | 7 |
I have been trying to implement a password text box in a datagrid using a template column. When I set the TextBox.TextMode = Password nothing is displayed but when I set it to SingleLine I see the password in plain text.
|
| databinding Radiobuttonlist | 29 Jun 2004 18:15 GMT | 1 |
Can anyone help me, how do I bind a radiobuttonlist to a field in my datagrid? (in VB) I have searched google and found loads of info but nothing to do what I need. I have a column in my db that holds a number between 0 and 5 and
|
| Possible to tell what generated a postback event? | 29 Jun 2004 16:07 GMT | 2 |
I'm writing a webpage with a datagrid that has pagenation (is that a word? LOL) and has some buttons in a column that I put there dynamically in an empty template. For further reference, see a post I left on 6/24/2004 9:54 AM titled "Dynamically creating buttons per row: how?".
|
| New column in datagrid. | 29 Jun 2004 11:56 GMT | 1 |
|
| dropdownlist in datagrid. | 29 Jun 2004 05:15 GMT | 2 |
ive been trying to experiment on dropdownlist in a grid..i cannot get anything to work...i tried to have some code in the editcommand using the Findcontrol but its really frustrating ... anybody is kind enough to help out..
|
| how to find control in ItemTemplate of datagrid | 29 Jun 2004 03:54 GMT | 1 |
I had a linkbutton control in ItemTemplate, but i don't know how to find it. Shall i use findcontrol? ~thanks.
|
| Datagrid Paging Broke? | 28 Jun 2004 20:47 GMT | 1 |
I've got a datagrid on my ASP.Net page with paging enabled that allows users to update data. If users are on, let's say, page 9 and update a row it ALWAYS kicks them back to page 2 while I'd prefer it to stay on page 9.
|
| Row Changing Event | 28 Jun 2004 20:11 GMT | 1 |
I am validating data in the datasets row_changing event. If there are errors I throw an exception which will cause the system to prompt the user with the "do yo want to correct this value" error message. If the user is working on a deached row and then closes the form the form
|
| Datagrid button column gives BC30456: "not a member" error | 28 Jun 2004 18:02 GMT | 1 |
Hi, Relatively new to asp.net and having some trouble wiring up a button column in a datagrid. I keep getting the error: BC30456: 'AddToCart' is not a member of 'ASP.homepage_aspx'.
|
| Sort not firing PostBack event using Dynamic Columns | 28 Jun 2004 08:41 GMT | 2 |
I am having a problem with the DataGrid control and sorting, and have found it's realted to if you use dynamic columns or not. If I set the columns up on the aspx page and not in the code behind dynamically, the SortEvent will fire without requiring a double bind to the DataGrid ...
|
| Handles itemCreated | 27 Jun 2004 20:30 GMT | 2 |
I have this code. and with a squiggly line under 'ItemCreated' Private Sub grdTopics_ItemCreated(ByVal source As Object, _ ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) _
|