all groups > asp.net datagrid control > august 2006 > threads for august 1 - 7, 2006
Filter by week: 1 2 3 4 5
Datagird column resizing and reordering
Posted by Baski at 8/7/2006 3:02:03 PM
Anybody find a solution to implement column resizing and column reordering
for datagrid ? ( custom solution , not looking for third party components)?
... more >>
how to set focus on an edititem in a gridview
Posted by Roberto Kohler at 8/6/2006 2:28:57 PM
I have a gridview with an edititem template that contains a textbox.
When I change to edit mode, I would like the focus to be set to the textbox
of the row I selected to edit. The problem I have is that even though the
page is displayed correctly, I need to scroll down to find the row I
se... more >>
Controls In DataGrid?
Posted by Arpan at 8/6/2006 1:46:49 PM
Consider the following code which retrieves data from a SQL Server 2005
DB table & displays it in a DataGrid:
<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
Dim dSet As DataSet
Dim sqlConn As SqlConnection
Dim sqlDapter As SqlDat... more >>
Displaying Headertext of datagrid in vertical Direction
Posted by sreekantp NO[at]SPAM gmail.com at 8/4/2006 1:42:36 PM
Hello,
I have a problem formatting my datagrid which I am using to display
around 35 columns in one single aspx page and wanted to know how can I
tilt or rotate my headertext of datagrid in veritical direction instead
of usually horizontal directions. Is there any other way to squeeze my
data... more >>
Display an Access Memo field in a GridView or DetailsView
Posted by Hanno at 8/4/2006 11:07:09 AM
Hi, I am trying to display a memo field in a grid in. I have tried with the
GridView and DetailsView, but it's treated as text field. Is it possible to
display and edit a memo field in a grid or DetailsView?
I am using VS .net 2005. Many thanks
Hanno
... more >>
Gridview RenderControl
Posted by Philip at 8/4/2006 8:36:02 AM
I need to capture the HTML output from a Gridview control....so I am
executing the following code...
StringBuilder sb = new StringBuilder();
StringWriter sw = new StringWriter(sb);
HtmlTextWriter htw = new HtmlTextWriter(sw);
MyGridview.Render... more >>
Delete Template
Posted by Jeremy Martin at 8/4/2006 12:41:54 AM
Hi,
I am using a datagrid to edit the ItemTemplate and EditItemTemplate
however I was wondering if there was a DeleteItemTemplate.
What I would like to accomplish is when they click the delete button
column it would reload the grid and one of the columns would have a
chkboxlist containing... more >>
Get value if invisible
Posted by ghostwolf at 8/2/2006 12:00:00 AM
Hi,
I'm using the asp:gridview control for displaying the data from SQL Server.
Now, I've found that if the column is invisible
"<asp:BoundField DataField="some_id" HeaderText="some_id"
SortExpression="some_id" Visible="false"/>", I cannot get the value from
that column (just get the null ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
SortCommend event is being fired twice
Posted by Anup at 8/1/2006 4:22:58 AM
Hi Group,
In my application I am using a datagrid, now I m implementing sorting
for that datagrid,
I am changing the flag for ascending and descending when SortCommand
event of datagrid is fired.
Now the problem I am facing is that the Sort Command event is being
fired twice even if I clic... more >>
Set column width in the datagrid in the ItemdataBound event
Posted by Naveen at 8/1/2006 12:00:00 AM
Hello ,
I want to set the column in the datagrid in the ItemDataBound event
e.Item.Cells[0].Width = new Unit("100px"); is not working.
Please suggest alternate solution
... more >>
|