Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
How to add dynamic row in a grid
When I load the page, I need to add a row in the code behind?
Dave
Guest
-
Dynamic Advanced Data Grid
Hello, I am having problems to populate my advanced datagrid. Though the grid is getting headers, it is not getting the data from my datasource... -
Data Grid Dynamic Cell Colors
I would like to create a Data Grid where the individual cell colors change based on the number in the cell. For example, numbers between 0 and 1... -
grid and subobjects dynamic creation
Dear all, I have to create an "Outlook like" Calendar view for a whole week. I think (I am a newby) about creating a Grid and to populate it with... -
Dynamic Scrollable Grid
I have a scrollable datagrid which is created by having DataGrid (Header only) <div Overflow=auto> DetailGrid (without header) </div> My... -
Dynamic height and pagesize adjustment of Grid
Hey All, I have an application that uses DATAGRID control. The current grid have remarks field for each row, which can actually take upto 500... -
Elton Wang #2
Re: How to add dynamic row in a grid
Hi Dave,
Suppose you are using a datatable as your datagrid's data source, you can
add one row to the datatable, then bind the datatable to datagrid.
HTH
<davef@helixpoint.com> wrote in message
news:ePZBm15tFHA.3252@TK2MSFTNGP10.phx.gbl...> When I load the page, I need to add a row in the code behind?
>
>
> Dave
>
>
>
Elton Wang Guest
-
Sachin Saki #3
Re: How to add dynamic row in a grid
Hi,
Solution provided by Dave is good one, but you can do it without making
postback or binding again the datagrid to datatable.
Add column elements in datagrid footer and on page load set the footer
property to visible. if your are specific to add one row only.
For. Example. Datagrid contains three column ie. ItemTemplate column
contains textboxes you can add it to datagrid footer and set its visible
property to true on pageload.
"Elton Wang" wrote:
> Hi Dave,
>
> Suppose you are using a datatable as your datagrid's data source, you can
> add one row to the datatable, then bind the datatable to datagrid.
>
>
>
> HTH
>
>
>
> <davef@helixpoint.com> wrote in message
> news:ePZBm15tFHA.3252@TK2MSFTNGP10.phx.gbl...>> > When I load the page, I need to add a row in the code behind?
> >
> >
> > Dave
> >
> >
> >
>
>Sachin Saki Guest



Reply With Quote

