Home All Groups Group Topic Archive Search About

.NET DataGrid Control

microsoft.public.dotnet.framework.aspnet.datagridcontrol
Score problem exporting datagrid to excel
Dave Bailey via DotNetMonster.com - 25 Mar 2005 6:45 PM - 2 messages
I am using the following code to export a datagrid to excel from an asp page: private void exportButton_Click(object sender, System.EventArgs e)         {             Response.Clear(); ...
Score How can I display hashtable key values in a web page?
Chuck Insight - 25 Mar 2005 1:39 PM - 6 messages
Here is my first attempt at populating the hashtable. dim t as hashtable = new hashtable() dim k as integer = t.key dim v as integer = t.value v = 0   for k = 1 to 200     on error goto bottom ...
Score Move bound column to right of dynamic column in datagrid?
John E. - 24 Mar 2005 11:23 PM - 4 messages
I have a datatable that I am binding to a C# ASP.NET 1.1 web page.  I also want to put an "Edit" column on the datagrid.  However, whenever I use the following code, it puts the Edit column on the left.  I cannot figure out ...
Score User Control
anonymous - 24 Mar 2005 7:45 PM - 3 messages
I have a user control on my form. How do I loop thought user control to find out what controls are used and the value of controls? On user control there is some textbox, label etc. depending on a passing value to a user control different ...
Score SortCommand and PageIndexChange event not firing
sa siva via .NET 247 - 24 Mar 2005 1:55 PM - 3 messages
hi, I have a datagrid in which I have enabled sorting and paging. I have specified event handlers for sorting and pageindexchange events. I have disabled the viewstate of the grid. Now those 2 events are not getting fired when i try to sort by clicking on the column header link or when trying to change the page by using the 'next' link automatically provided by the grid. Only when the grid's viewstate is enabled, those events are getting fired. But I want to capture those events even when the grid's viewstate is disabled. pls provide me a solution. ...
Score ASP .Net Message box help Needed Very urgent
Thankaraj U via DotNetMonster.com - 24 Mar 2005 7:20 AM - 3 messages
Hello Group, This is my code. butPrev.Attributes.Add("OnClick", "return confirm('Do you want to SAVE this item?');") How to capture whether the user is click "OK" or "CANCEL" button. I want the javascript returning value. If the user click "OK" then what is the returning value. ...
Score Print WebForm DataGrid
Dave Bailey via DotNetMonster.com - 23 Mar 2005 6:25 PM - 5 messages
Is it possible to print a webfor datagrid and if so how? Thanks, Dave ...
Score Collection
anonymous - 23 Mar 2005 5:29 PM - 2 messages
who to bind Collection to a data grid? ...
Score To Eliyahu
jijis - 23 Mar 2005 11:47 AM - 5 messages
"Build item template as a table with as many rows as you wish" Would you mind tell me how to build the item template table? I can only create a "Template Column" in Datagrid Property Builder Or any one can help me please ...
Score Dynamically Add Validation to Datagrid
dave - 23 Mar 2005 7:09 AM - 3 messages
I have a dgrid with some edit boxes for entry which i need to validate. When i input the validation within the bound columns in the .aspx page it works fine, but if try and add the validation dynamically in the code behind ...
Score Add text from listbox into datagrid column
Melson - 23 Mar 2005 3:42 AM - 5 messages
Hi Can anyone help me. I've a datagrid with 3 columns which are employeeID, name and age in form1. I've another form, form2 which list the employeeID in the listbox. I would like the employeeID in the listbox(form2) insert into ...
Score Add row to datagrid?
Luis Esteban Valencia - 23 Mar 2005 3:24 AM - 2 messages
my datagrid and code behind code  and help me if possible. I am making asingle sales system and I need to add a new row with a linkbutton that I put on the footer of the datagrid. My datagrid has a product column (dropdownlist), quanitity( the user can ...
Score Back Button
anonymous - 22 Mar 2005 8:24 PM - 4 messages
How do I Disable the Back Button on the page? That the user can' go back to the previuos page they can stay only on a current page. ...
Score Dataset
anonymous - 22 Mar 2005 4:11 PM - 3 messages
How do store text from text boxes in dataset? ...
Score Help
jijis - 22 Mar 2005 11:30 AM - 3 messages
Hello I want to know how can I make the datagrid display not only as a rectangular table format. For example, row 1 data in the datagrid i want to display the column of "row 1" in the first row of output, ...
Score EditItemTemplae and Postback
Scott Friedrich - 21 Mar 2005 8:01 PM - 2 messages
I have a dropdownlist in the EditItemTemplate. I have AutoPostBack set to True.  The page does post back on SelectedIndexChanged but I can't seem to add a handler to grab it.  Anyone have a sample?  Scott ...
Score Compact code
anonymous - 21 Mar 2005 5:15 PM - 4 messages
I have mycontrol as custom control and I need to get some data from a control on a different page. My code is below. It is working perfectly fine, but since I have 10 more label to check is it some how I can make ...
Score Datagrid column width
David Webb - 21 Mar 2005 3:49 PM - 2 messages
Hi, I am having real trouble changing the width of a column on a datagrid. I have tried changing the size of an existing column and adding a new column with the width predefined but nothing seems to have any effect and its ...
Score Different FontColors depending on Value
Jörg Reinhardt - 21 Mar 2005 1:27 PM - 2 messages
I want to display the text in a different color if a value in an other column ist False. How can I realice this? Many thanks in advance Joerg Reinhardt ...
Score UserControl inside of datagrid - loses its viewstate when datagrid is re-bound on postback
DotNetJunky - 21 Mar 2005 11:26 AM - 8 messages
I have a simple usercontrol, a datepicker which contains 3 dropdownlist , it resides inside a datagrid column and i set the selecteddate property of the usercontrol from one of the DataBinder.Eval 's ... everythign works fine. The datepicker also works fine on a regular page, and will normally persist ...
Score Can't get text value of hidden (visible = false) column..
jef - 20 Mar 2005 6:32 PM - 4 messages
I'm trying to get the value of a cell in my DataGrid_UpdateColumn() event handler.  I have a datagrid with 4 columns: 1 - Name, 2 - Description, 3- Button Column (Edit,Update,Cancel), 4- Primary Key Value for row The 4th column is hidden as I need the data for subsequent update to ...
Score DataGrid doesn't do HTML entity encoding.
Chris Mumford - 20 Mar 2005 1:39 PM - 2 messages
I have a DataGrid bound to a table where one of the strings is "<Unknown>". When this is sent out via the DataGrid control as HTML it is not encoded and therefore it looks like a tag in the HTML stream. What I would expect is ...
Next » 2 3 4 5 6 7 8 9 10