473,473 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

<EditItemTemplate>

I have defined <ItemTemplate>XXXX</ItemTemplate> and
<EditItemTemplate>XXXX</EditItemTemplate> in an asp page.

How can I make the EditItemTemplate item visible (I mean through the program)
Nov 19 '05 #1
3 1691
Is this in a TemplateColumn?, In a datagrid? You have to set the datagrid's EditItemIndex to the row you want to edit before the EditItemTemplate will show up.

"rkbnair" <rk*****@discussions.microsoft.com> wrote in message news:53**********************************@microsof t.com...
I have defined <ItemTemplate>XXXX</ItemTemplate> and
<EditItemTemplate>XXXX</EditItemTemplate> in an asp page.

How can I make the EditItemTemplate item visible (I mean through the program)

Nov 19 '05 #2
Yes, it is a template column in a datagrid.
I don't want a single row to be able to edit. In fact, I need all 20 rows
editable at the same time.

"Raterus" wrote:
Is this in a TemplateColumn?, In a datagrid? You have to set the datagrid's EditItemIndex to the row you want to edit before the EditItemTemplate will show up.

"rkbnair" <rk*****@discussions.microsoft.com> wrote in message news:53**********************************@microsof t.com...
I have defined <ItemTemplate>XXXX</ItemTemplate> and
<EditItemTemplate>XXXX</EditItemTemplate> in an asp page.

How can I make the EditItemTemplate item visible (I mean through the program)

Nov 19 '05 #3
to enable the editting of a row in a datagrid you will have to set the
EditItemIndex, this can be done programtically or via an EditCommandColumn.

You can't have all the rows in a datagrid editable at the same time, the
atomic level for this is a row. If you want to edit all the rows at the same
time when a button is clicked then you will have to look into a user control
hosted in the datagrid or such like.

HTH

Ollie Riches

"rkbnair" <rk*****@discussions.microsoft.com> wrote in message
news:46**********************************@microsof t.com...
Yes, it is a template column in a datagrid.
I don't want a single row to be able to edit. In fact, I need all 20 rows
editable at the same time.

"Raterus" wrote:
Is this in a TemplateColumn?, In a datagrid? You have to set the datagrid's EditItemIndex to the row you want to edit before the
EditItemTemplate will show up.

"rkbnair" <rk*****@discussions.microsoft.com> wrote in message news:53**********************************@microsof t.com...
I have defined <ItemTemplate>XXXX</ItemTemplate> and
<EditItemTemplate>XXXX</EditItemTemplate> in an asp page.

How can I make the EditItemTemplate item visible (I mean through the

program)

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: WT | last post by:
Hello, I can figure how to set selectIndex or Value, I have tried this <EditItemTemplate> <asp:DropdownList ID="DDLSector3" DataSource='<%#...
2
by: John Smith | last post by:
I have this DataGrid: <asp:datagrid id="dg1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateColumn HeaderText="SM"> <ItemTemplate> <asp:Label id="Label2" runat="server"...
2
by: John Smith | last post by:
I have this DataGrid: <asp:datagrid id="dg1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateColumn HeaderText="SM"> <ItemTemplate> <asp:Label id="Label2" runat="server"...
1
by: dani | last post by:
Hi Everyone, I wanted to create a large text box (a textarea) for displaying some large information for editing. I am using a DetailsView control with an SQL data source, but every time I try to...
1
by: spamguy | last post by:
I have a DataGrid and a column that changes into a DropDownList when edited: <columns> <asp:templatecolumn headertext="Role Type"> <itemtemplate> <asp:hyperlink id="hlinkRoleType"...
1
by: Jim in Arizona | last post by:
On one page I have a datalist where a message is bound to a label. On another page I have the datalist which allows for the insert of new message as well as being able to edit those messages. The...
4
by: justice750 | last post by:
Hi All, I am using a FormView control. The allows me to update records in the database. However, when a database field is null I can not update the field on the form. It works fine when the field...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.