Home All Groups Group Topic Archive Search About

.NET DataGrid Control

microsoft.public.dotnet.framework.aspnet.datagridcontrol
Score search function on different page selected
Esperanza - 11 Mar 2005 9:38 PM - 2 messages
Hello .net expert !! Here is my problem, I made a litle function to do a search on a dataGrid It works fine if I do the search while page 1 is selected. Otherwise (if page 5 is selected example) I got the following error : ...
Score Handling events for Checkbox in Data Grid
Abhijit Salvi via .NET 247 - 11 Mar 2005 7:59 PM - 2 messages
(Type your message here) -------------------------------- From: Abhijit Salvi Hi All,     I am working on a DataGrid that has a column of Checkbox Controls. There is some Business Functionality that I need to accomplish when the Checkboxes in the column are checked or unchecked, basically on the 'onCheckChanged' Event of the checkbox. ...
Score How to capture CheckChanged event from Radiobutton in Datagrid?
David Hearn - 11 Mar 2005 7:30 PM - 4 messages
I have a radio button that I have inserted into a datagrid via a TemplateColumn. I need to know when the checked property of the radiobutton has changed so that I can do something. I have named a sub in the ...
Score radiobutton and datagrid
Joe Abou Jaoude - 11 Mar 2005 11:56 AM - 3 messages
hi, I have a datagrid. i want the user to select a row, and only one row. so i created a template column where i placed a radiobutton... Unfortunately this is not working, because the name of the radiobutton is changing according to the datagrid row, so when i select a ...
Score How to put the result of 2 DataReader in a DataList??
ola - 11 Mar 2005 9:16 AM - 2 messages
Hi to all, I am working on an e-commerce site , and Im trying to show a documents historic to the user.So the idea is to have a table like this: Orders    Deliveries          Invoices ... ...
Score 5th Re-Post with NO RESPONSE FROM MS!
Scott M. - 10 Mar 2005 10:07 PM - 11 messages
I have an asp:DataGrid control with EnableViewState=False.  I am calling DataBind on both the non-postback and the postback.  I am persisting the state of the grid myself and restoring the state (selectedItem, editItem, sortCommand, etc.).  Everything is working just fine EXCEPT the ...
Score Problem with Top And Bottom Paging
rhungund - 9 Mar 2005 4:01 PM - 4 messages
Hey guys and gals, I have a paging problem.  I have my datagrid paging set to Top and Bottom.  And for some reason, when I click next on the bottom pager, it goes back to page one.  If I set it to only bottom, ...
Score e.item.dataitem
anonymous - 9 Mar 2005 3:05 PM - 2 messages
hey,     I have created a datalist and added some data into it, via a dataset. Each row contains an +/- button, which has a commandname associated to it. Now whenever somebody presses the +/- button, I need to get the data from that ...
Score Can't get a reference to user control in datagrid
Don - 9 Mar 2005 2:03 PM - 5 messages
I created a Web User Control in my project and need to use it in a datagrid.  The data in this control needs to be updated and the control has several properties that need to be databound. Using the designer I created a a dataGrid with an Edit, Update, Cancel ...
Score DataGrid sort when Editing
Steve - 9 Mar 2005 12:37 PM - 3 messages
This may be a common question, however I didn't find any posts on the issue. When you are editing a row of a datagrid, and then you sort the datagrid, the edititemindex stays the same, which means that you are now editing a ...
Score email validation
anonymous - 8 Mar 2005 3:30 PM - 5 messages
The following expression I am using to validate an email. However when empty spaces entered at the end of email it is recognized as invalid email. How do I fix this problem? ^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@(([0-9a-zA-Z])+([-\w]* ...
Score Hyperlink Format
chuckdfoster - 8 Mar 2005 3:06 PM - 5 messages
I have a hyperlink column in my datagrid.  I want my hyperlink to be green or red (depending on in/out status) no matter if the link has been visited or not.  How can I accomplish this?  I have tried using CSS but that doesn't ...
Score Sorting Datagrid With Hyphen / Dash
Chris Mayers via .NET 247 - 7 Mar 2005 7:42 PM - 3 messages
Hi, I have an dotNet Windows Forms application with a DataGrid. One of the columns is 'Part Number' When sorting by this column, the sequence is somthing like: 30-2 30-3 303-1 30-4 ie, for the purposes of the search, the '-' has a very low weighting. ...
Score textbox.value
OneSupaSam via .NET 247 - 7 Mar 2005 7:42 PM - 2 messages
(Type your message here) Hi Can anyone here give me an insight on how textboxes work in ASP.Net. After converting over my VBScript to ASP.Net i now find that none of my textboxes work. The values in the textboxes are not "found" by the code when doing the following: ...
Score How can I format a telephone # in the datagrid
Jeff Thur - 7 Mar 2005 7:38 PM - 3 messages
The telephone # is my database is in nnnnnnnnnn format. When I bind it, it shows the same hard to read format in the datagrid. How can I make it more user friendly and show as nnn-nnn-nnnn. Thanks for any help. ...
Score DataGrid Export to Excel
Mike Lord via .NET 247 - 7 Mar 2005 7:21 PM - 6 messages
Hi all, This site and all its users have been a huge help, and now I need a little help. I've got a page with a DataGrid on it that is formatted and beautiful the way I like it, and I'm trying to export the DataGrid to excel, but not having any luck. On this particular page I'm not using a code behind page, so I've the put the export routine in a Sub that's called by a button to export the data. I'm not getting any errors, but when you click the button the entire page goes blank. ...
Score Thanks
Ancy Ann via .NET 247 - 7 Mar 2005 7:14 PM - 2 messages
(Thanks) -------------------------------- From: Ancy Ann ----------------------- Posted by a user from .NET 247 ([link]) <Id>EAZ7rwrcekyU4qLSkWWCaQ==</Id> ...
Score Changing text to a textbox control in row 5 of a datagrid
William Pulling via .NET 247 - 7 Mar 2005 7:11 PM - 2 messages
I have a 13 x 13 datagrid that stores values.  The user will be allowed to edit only 1 row of the datagrid depending on the month of the year.  I want to be able to set the contents of each cell in row 5 to be a textbox and none of the cells in any other row to be a textbox to help direct the user in where to enter values. ...
Score Modify rows in DataTable
Steve Delia via .NET 247 - 7 Mar 2005 7:08 PM - 2 messages
ASP.NET 1.1, Web Forms : In my code I create a DataSet, then a DataTable within it. I want to loop through the rows of the DataTable and modify the columns of each row. For example, I create a table that gets bound to a DataGrid, to show upcoming events form my club.  If the event is today, I want to alter the text to say "Today!" and change the color. ...
Score How to read Column0 from DataGrid
brian yeo via .NET 247 - 7 Mar 2005 7:02 PM - 2 messages
I could not get the User ID/Column0 from the datagrid. As illustrated below, I was able to retrieve the ItemIndex when I click the Edit button. What is the best method to get the User ID/Column0 (primary key) from the ItemIndex and pass the User ID to KeyValue? DataKeyField is not used due to date formatting reason. ...
Score Newbie Question on Web DataGrid Focus
rlaws - 7 Mar 2005 4:17 PM - 10 messages
I have a datagrid that is being populated in edit mode on load (I didn't come up with the requirements, I'm just trying to make it work). Any change or entry in the datagrid causes a postback to the server (not a database ...
Score Row Span in a grid?
et - 6 Mar 2005 4:59 PM - 2 messages
How can I have a column that would span 2 rows.  For instance, I have 2 rows of data, the user may fill out one or both rows, then do a calculation to result in the first column, which ideally would span the 2 rows as it's the ...
Next » 2 3 4 5 6 7 8