Add a second Header-Row to DataGrid

Hi!

I want to add to my DataGrid a second Header-Row in which i place textboxes...so the user can enter search terms for the desired fields...
I really don't know how to...
Thanks in advance!
0
theblob
2/4/2004 8:25:50 PM
asp.net.presentation-controls 72751 articles. 3 followers. Follow

2 Replies
552 Views

Similar Articles

[PageSpeed] 49

Hi,

Take a look @ Extending DataGrid in ASP.NET
HTH
K B Shajudeen
AreYaar.com
Dubai, United Arab Emirates.
0
shaji
2/5/2004 5:11:16 AM
Oh that looks good to me..

Thanks!
0
theblob
2/5/2004 10:12:44 AM
Reply:

Similar Artilces:

Datagrid: Add a Main header row, above the column headers
Is this possible?  How is this done? -smc~ Remember To Mark The Posts Which Helped You As The ANSWER ~ Yes...Handle the ItemCreated event.  I have a sample using the GridView that can give you the idea http://www.webswapp.com/codesamples/aspnet20/nestedgridviews/default.aspxHTH,Phillip Williams,http://www.webswapp.com Do you have any examples using DataGrid in VB? Can the Header be displayed above the column headers?  -smc~ Remember To Mark The Posts Which Helped You As The ANSWER ~ http://www.societopia.net/samples/dataGrid_customheader.aspxHTH,Phillip Williams,http:...

Add row in datagrid from other controls
Hello all, I am using the VS.2003.I would like to add a row in a datagrid, the data will come from other controls. I am having 2 textboxes (name, surname), 1 dropdownlist (sex) and a datagrid. I want to enter some values into these controls and when i am pressing a button (add) to insert them into datagrid row (the columns are also: name, surname and sex).The other issue is that i should add the ability of editing the values in the datagrid by pressing "Edit" button (it exists in each datagrid row). And the datagrid columns will have to be also 2 textboxes and 1 dropdownlist (jus...

Add new controls to a gridview row; when editing that row using the edit row feature in the gridview control.
Hi all  I have a questions that looks hard / complex to me, and i know you can help me in this. Q {  I have row in a Gridview and i have an edit option to it. I press the edit button, to edit the values in that row and update data all the way back to the database. Now when i press the edit button, i want a drop down list to be displayed that contain values for a particular field in my grid view. (for now only plain text boxes appear.) } I hope you understand my question, all i need to do is replace the text box controls with a dropdown list when i am editing a row in ...

how to add string in row header of dataGrid?
hi there, I just want to know that can we add values or string displayed in the row header of a grid which is use to select the whole tuple ie ,row. If we can then pls let me know how. hope that i get the response as soon as posible. thanks Regards DeadRocker Do you mean that? Sub OnItemCreated( ByVal e As DataGridItemEventArgs ) if e.item.itemtype = ListItemType.Header the...

datagrid with a headers header row
Howdy! I am using a datagrid and I have all the rows and then a header row explaining each column, but I want a row above that as part of the table explaining the table. Thoughts? Cheers Can you explain more clearly what you want? Okay, A normal datagrid has the data fields and the header fields where the header fields are a one to one correlation to the data fields and are used to descibe the data fields. That is perfect as well, but I want to put a title on the datagrid above the header fields to use a couple of words to describe the table itself. There will be s...

how to add string in row header of dataGrid? #2
hi there, I just want to know that can we add values or string displayed in the row header of a grid which is use to select the whole tuple ie ,row. If we can then pls let me know how. hope that i get the response as soon as posible. thanks Regards DeadRocker Actually I couldn't understand exactly what do u mean, but if what you want is to add a clickable text in the header of a data grid to let the header be selected, if so then try to read this: I don't know if the header can be selected directly, but I don't think so, but there is a tricky way: by adding a normal ...

Cannot Add a blank Row to databound datagrid with Checkbox control
Hello, I think I am posting this question again but I'm quite frustrated as I haven't found any way around. I have a databound datagrid in which New/Blank rows are added to this datagrid on a button click event. This button is outside the datagrid and not in the footer. The datagrid populates well and I can do the edit/update to the already created records. I recently had to add a new checkbox field to my data table. This chekcbox field is to be included in this datagrid. The chkbox works fine for previously created records but as soon as I hit the 'Add New Row' button I get the following ...

How do I add a blank row between each row in my DataGrid???
Hi I have got the following datagrid....But I want to add a blank row(that divides each row with some background color)....My datagrid is <Asp:datagrid Allowpaging="true" Page-Index="5"> <columns> <asp:TemplateColumn> <ItemTemplate> <Img src="sam.gif" width="200" height="150" /> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn> <ItemTemplate> <table> <tr><td><%#Container.DataItem("ID")%></td></tr> ...

How to add values to DataGrid row by row
How do I add values to a DataGrid row by row without using a DataSource? Is this possible? Or should I just use a table? my code works like this: BoundColumn Col1 Add Col1 to DataGrid1 for every str in stringarray { Add New Row DataGrid1 with Col1 = str } Thanks. may be following URLwill help you http://www.123aspx.com/ReadReviews.aspx?res=359 Arvind Well, DataGrid was found not to make you do it the old way as in ASP 3.0. You can still get a datasource like datatable and then loop in it and display all the data row by row, is this what you want ? ...

Add New Row To DataGrid Using the Footer With a DropDownList Control
I am trying to discover the best method for adding a new row of data to a datagrid. My datagrid is bound to an SQL Server table. I was reading the article "Adding a New Record to the Datagrid", by John Sanborn (4GuysFromRolla.com) wherein he suggests a method of using the datagrid's footer for adding new records. The concept works if each column of data is to be keyed in by the user, but I have a requirement to provide a drop-down list of valid values for a specific column. I've been tinkering with using a drop-down list in the footer of the grid, but I am unable get it to displ...

adding a blank header row /row above the header row
is it possible to add a blank row above the header row in gridview for adding some links and buttons the links will respond to thae data in the grid and the buttons are for login / regisration etc....  if yes how it can be done or how do i achieve it. Its better that u create a table with a single row with columns matching the GridView columns. Set the table width same as the GridView width. This will make the GridView Look as if there is a row above its header.Please do not forget to click Mark As Answer on the post that helped you. Regards,Iam Srikanth Reddy....

Add .Net Control to Web Custom Control
 I want to add .NET Control (like: TextBox, Button...) to Web Custom Control.How i can do it? Alphavn That's called a composite control -- "Mark As Answer" if my reply helped you -- Hello Guys What gunteman said, that is one approach and in most cases the right one.But its also possible to add child controls to a Control thats inherit from WebControl itself. Be sure to implement INamingContainer to that inherited Control too, thats the important point of that approach.--Microsoft MVP - Visual Developer ASP / ASP.NET- http://www.aspnetzone.de/blogs/peterbuch...

how to set focus on a row of a dataGrid from outside the datagrid control.
after a user selects a choice in the dropdownlist, I am in the dropdownlist eventhandler OnSelected_event_handler() based on the choice how can i programmatically set the focus inside another control, ie datagrid control's row. note: the drop down list is OUTSIDE the datagrid, i.e not a template column private void ddl_SelectedIndexChanged(object sender, System.EventArgs e) { dg.SelectedIndex = ddl.SelectedValue; // is this right, i am trying to set focus to the row } What do you mean by "set the focus"? Are you looking to highl...

How to add dynamic row in between 2 existing rows in datagrid?
Is this possible to add dynamic rows in middle of the rows in datagrid?I want to find net total like thisPNo   SNo  status  day1  day 2  day3001     S01   Pack   10     30      20                    Used   05     01      20001     S02   Pack   20     10 ...

Web resources about - Add a second Header-Row to DataGrid - asp.net.presentation-controls

Resources last updated: 12/15/2015 2:42:59 PM