Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > asp.net datagrid control > march 2006 > threads for march 8 - 14, 2006

Filter by week: 1 2 3 4 5

Can't use datagrid pager with javascript onbeforeupdate event
Posted by James at 3/14/2006 5:04:18 PM
Hi The standard datagrid pager is rendered as a hyperlink e.g. <a href="javascript:__doPostBack('...', '...')"> Apparently use of this javascript pseudo-protocol is bad practice, and it was introduced to allow people to generate pages using javascript. So of course it is all over ASP.Net an...more >>

GridView and DDL
Posted by Mike Robbins at 3/14/2006 12:20:42 PM
I'm trying to find an article that will help me use a dropdownlist in a GridView and have the selecteditem set appropriately in the ddl. <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="odsRooms"> <Columns> <as...more >>

URGENT: Template Control always show empty value
Posted by Antonio at 3/14/2006 12:00:00 AM
Hi, I have been spending two full days to get this problem resolved but failed. After successfully finding the label control, the Label.Text is always having an empty string. But when the DataGrid finish rendered, all the values are there, why??? Please refer to my code below: Private Su...more >>

Cant get user-entered values in GridView
Posted by Arthur Dent at 3/13/2006 2:41:58 PM
Okay, this should be really simple, and maybe im just missing something totally obvious, but i cannot figure this out. I did this all the time in ASP.NET 1.1 with no problems. I have a GridView which has a column that is a template column, and has a textbox in the itemtemplate. There is one...more >>

button in footer doesnt work?
Posted by Arthur Dent at 3/13/2006 12:49:57 PM
I have a datagrid, with a save button in the footer. I gave the footer a commandname and expected i could use the grid_RowCommand event to trap this button click. However, while the page does actually post back, the RowCommand event never gets called. Not only that, but clicking the button t...more >>

DataGrid And Positioning
Posted by Shaqman at 3/12/2006 2:44:13 PM
Simple problem. I have a datagrid positioned one below another. Problem is this first grid rows when populated runs into the second grid. Is the way to position the 2nd grid so that it position is dynamic from the first grid.. Thanks ...more >>

Change Control Property in Header
Posted by SEGACO at 3/10/2006 1:16:31 PM
Hi, I have a datagrid with a checkbox control in it's header, but I need to change it from runtime (to check or uncheck it). It's that possible. Thanks....more >>

Custom Paging in asp.net Datgrid Using Sql
Posted by Dev Geek Raj at 3/9/2006 11:25:16 PM
All you devgeeks on .net, Can you please help me on this. I have a table ( tbl_emp).I allow users to search the record on this table. I have three filter conditions Fname,Lname,Title.When user enters these values into Textboxes on Asp.net page and click on search Button. I Show the results...more >>



GridView, DataSource, RowUpdating, e.OldValues and e.NewValues collections
Posted by Andrew Robinson at 3/9/2006 9:06:03 PM
A friend asked me to help him out on this and frankly it has me completely stumped as well. I have a GridView control and use old style manual binding with a DataSource property and invoke the DataBind() method. If you don't use one of the Data Source controls, you are required to handle th...more >>

Editing a data row
Posted by David Thielen at 3/9/2006 4:26:26 PM
Hi; I have a table where the data in each row has several columns where depending in if column A is 0 or 1, then they need to fill out columns A, B, C, & D or X, Y, and Z. And for A-D, they actually need to fill out B & C or D. Can this be handled by DetailsView? If so, how (not specifi...more >>

How to create a row in the database?
Posted by David Thielen at 3/9/2006 4:25:27 PM
Hi; The video at http://msdn.microsoft.com/asp.net/learning/learn/newtodevelopment/default.aspx shows how to view, edit, & delete rows in a dataset. But it doesn't show how to create a row. I have a form that the user fills out to create a row. Do I still have to access the database th...more >>


DevelopmentNow Blog