all groups > asp.net datagrid control > december 2004 > threads for december 1 - 7, 2004
Filter by week: 1 2 3 4 5
Underline Hyperlink Column Heading Only
Posted by Alan Z. Scharf at 12/7/2004 1:51:32 PM
1. I have a multi-column datagrid with the first two columns Sortable
Hyperlink columns.
2. Right now, I have the entire two column set to A {TEXT-DECORATION: none}
within HEAD Style because I don't want the hyperlinked items in the rows
underlined..
3. HoweverI want the header text to be ... more >>
Empty row in DataGrid
Posted by tB at 12/7/2004 10:44:49 AM
Hi!
I have DataGrid with five columns.
DataGrid must have every sixth row empty!
Row 1 = DataItem 1
....
Row 5 = DataItem 5
Row 6 = Empty
Row 7 = DataItem 6
Is it possible to make this, I don't have any idea how to accomplish that??
... more >>
Truncate text in column
Posted by Joe at 12/7/2004 10:19:48 AM
Does anyone know a way to truncate the text in a column such that the text
doesn't wrap to a second line? With winform you can MeasureString using the
Font, but I can't find a way to use that with asp.net.
One thought occurred to me - turn off "wrap text within cells", but that
makes the grid... more >>
DataGrid's DataKeyField Value (C#)
Posted by A. Atienza at 12/6/2004 9:06:44 PM
Hi all,
I have a DataGrid control (parent) and a Repeater control (child) in my
webform. In my Repeater_ItemDataBound event, I would like to get the value
of the current DataGrid row's DataKeyField. How can I do this?
Thank you for any help you can provide.
Arlynn
... more >>
DataGrid Question ...
Posted by John McCarthy at 12/6/2004 7:14:47 PM
Please note:
=======================================
I posted this on the other framework board and tested the suggestion
but it did not help.
This is a repost of mine from the other asp.net board ....
=======================================
Question:
I would like to add a ButtonColumn
to ... more >>
I need to run a vb.net or aspx.net file every 10 seconds.
Posted by Steve Jacobs at 12/6/2004 6:49:05 PM
Hi,
I need to run a vb.net or aspx.net file every 10 seconds. The Task Scheduler
in Windows 2003 Server can only do it every 1 minute at the minimum, but I
need it every 10 seconds. Is it possible to write a small program in VB.NET
that would run in the background without using much resources,... more >>
problem in datagrid
Posted by vijay.annan NO[at]SPAM igate.com at 12/6/2004 7:09:05 AM
Hi,
I am facing a problem while binding dataset with more than 2Lakh records
to a datagrid.The server throws an exception as follows,
=====================================================
Server Application Unavailable
The web application you are attempting to access on this web server i... more >>
Displaying number of data items in a Repeater using the DataBinder
Posted by Tomasz Zaniewski at 12/6/2004 7:07:01 AM
Hi,
Does anyone know of a method to read the number of items in a repeater and
display it in each item in the repeater.
I want to display something in the lines of:
Item x of y for each item in the repeater and am not sure how to get this. I
can get the x, but not the y.
Currently I am... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
get xml file from datagird
Posted by Gopal Prabhakaran at 12/6/2004 6:43:17 AM
Hi,
I have Datagrid - and one button by clicking that button
i need to get xml file contains the data which is binded
in datagrid - after the user made some changes in
datagrid.
pls help me
its urgent.
Millions of thanx in advance
Thanx and Regards
Gopal Prabhakaran... more >>
Format Phone Number String in Datagrid Column
Posted by Dave at 12/5/2004 5:09:45 PM
Greetings,
I have a 10 digit phone number stored as a string in a SQL server table. My
datagrid currently displays it as 1234567890, but I would like to format the
column to read:
(123)-456-7890 or even 123.456.7890
Any suggestions for that one?
Thanks,
-Dave
... more >>
Sort on Date Column
Posted by Alan Z. Scharf at 12/5/2004 4:28:53 PM
1. I have sorts on Date and Name column heads
Initial sort is on ORDER BY Date DESC
Date Name
------------------------------
10/05/2004 Charlie
09/30/2004 Baker
10/10/2003 Able
2. After then sorting on Name column, and then... more >>
Hide Columns
Posted by Marwa Bahaa at 12/4/2004 2:30:56 PM
Dar all,
Could any one tell me how to hide columns in datagrid in the run time?
... more >>
page scroll position
Posted by venkat_chellam NO[at]SPAM yahoo.com at 12/3/2004 8:20:39 AM
Hi all,
I have a datagrid in my asp.net webpage. Datagrid can have lot of
rows like
more than 300 so the scroll gets enabled for the page to scroll down.
The datagrid has editing capability. I can edit any row, if i edit the
row at down, page get loaded again and also the rows is put in edit... more >>
Data grid help pls
Posted by Raghu Raman at 12/3/2004 12:04:49 AM
HI,
IS IT POSSIABLE TO EDIT THE DATAGRID,IF I CLICK IT WITH OUT DISPLAYING
THE EDIT ,UPDATE,CANCEL COLUMN.
If so ,please help
With Regards
Raghhu
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Null values in a datagrid checkbox column
Posted by Rock at 12/2/2004 3:58:48 PM
I have a checkbox column in a bound datagrid that returns an error when it
hits a null value: [FormatException: Input string was not in a correct
format.]
I can't modify the sql query to anticipate a null value, how can I do this
programmatically or in html code? Such as in the ItemDataBound... more >>
Data Grid
Posted by Marwa Bahaa at 12/2/2004 11:10:37 AM
Dear all,
I have a dataset contains all data about students,like there contacts info
and education info and so on
I display this data set in a data grid but I want to make an option that to
choose whether to display the contact info or the education info or the job
info,how can I do that
... more >>
Password Column - fill with dots
Posted by Dave at 12/2/2004 11:09:19 AM
Greetings,
I have a datagrid with UserName information, one column is password. I want
to fill this column with astericks or dots. Can you please help me out?
Thank you kindly,
-Dave
... more >>
how to :
Posted by endingman at 12/2/2004 10:05:08 AM
who can tell me how to show datagrid when there is no data bound to it?
... more >>
HyperLinkField Help
Posted by Bruno Alexandre at 12/1/2004 6:26:39 PM
in the form I have:
<asp:TextBox ID="fAte" Runat="server" Width="80px">31-01-2004</asp:TextBox>
in the GridView I have:
<asp:HyperLinkField DataTextField="nC" HeaderText="nome Colab"
SortExpression="nC" DataNavigateUrlFields="idC"
DataNavigateUrlFormatString= "vendas_detalhes.aspx... more >>
Column order and dynamically created columns
Posted by MattB at 12/1/2004 4:09:44 PM
Hi. I have a page with a DataGrid on it that I do not want to make
completely dynamic, but I'd like to be able to dynamically insert a
column under certain circumstances. I don't want to make the DataGrid
completely dynamic because this application gets distributed in a
compiled state (no co... more >>
Using a datafield value as a function argument
Posted by Dave at 12/1/2004 3:52:17 PM
I'm one baffled newbie. I know this is trivial, but I can't figure it out.
Using inline aspx code, I have a function called dbIntegerToString(i as
Integer, s as String) as String
Down in the html code, I have a datagrid, a stub of which follows:
<asp:TemplateColumn>
<ItemTemplate>
... more >>
How to bind to a drop down list in a grid.
Posted by Eric at 12/1/2004 3:15:52 PM
I want to display some drop down lists in a grid. Let's say user Joe is
from Region 1, and I want to get a list of users and bind to the grid, but
want the Region column to be a drop down list displaying all regions with
Joe's current value selected.
I'm using templated columns, but cant get ... more >>
How to keep a DataGrid in sync with a DataSet when sorting
Posted by prichards14 at 12/1/2004 12:15:19 PM
I am working on a project developed by another programmer. Currently,
there is no support for DataGrid sorting. If I set AllowSorting to
True, I can sort by clicking the column headers. However, the sort
order of the data in the underlying DataSet is not altered.
As an example, I have a Dat... more >>
Need help with Datagrid column button
Posted by BrianDH at 12/1/2004 10:33:11 AM
Hi
I have a web form with a Datagrid. Within the data grid I have a Column
button. If the button is of type "Linkbutton" my VB code-behind will catch
the users
"click"
However, if it is set to "Pushbutton" I am unable to trap the users
click. See code Below.
I don't understand what... more >>
|