Questions tagged [edititemtemplate]
71 questions
0
votes
1 answer
Dropdownlist disappear when put it in EditItemTemplate
If I put my dropdownlist column in ItemTemplate, it appear but I can't change the value. When I put it in EditItemTemplate like this:

user2500561
- 133
- 1
- 2
- 14
0
votes
2 answers
ASP.Net - DropDownList used in EditItemTemplate in DetailsView
I have a problem with DetailsView. I need to use DropDownList for update values in databaze. These values I've got in a different table. I use an ObjectDataSource and it works properly. My problem is how to use the DropDownList when I cannot bind…

Jenda Matejicek
- 151
- 3
- 14
0
votes
1 answer
Nested Control Accordion < Accordion < ListView ItemEditing Issue
Got a question, and I'm quite baffled as to why it is not working. I have a ListView control nested within an AJAX Accordion, which is nested inside another AJAX Accordion.
i.e. Accordion1 < Accordion2 < ListView
All of these controls are databound…

BobbyDazzler
- 1,193
- 8
- 21
0
votes
2 answers
How to disable "Edit" button in Gridview?
Iam using Item Template field in my gridview to update the values inside particular column.
The ItemTemplate field contains "label" control and EditItemTemplate contains "DropDownList". Now the problem is I need to disable the "Edit" button based on…

ognale88
- 169
- 3
- 7
- 19
0
votes
0 answers
Referencing webcontrols in an UpdatePanel in EditItemTemplate of a Gridview
I am getting null reference exception when trying to reference a web control which is within an AJAX UpdatePanel, which itself is within and EditItemTemplate of a Gridview. I am doing this in the RowDataBound event handler of the gridview as…

Aamir
- 791
- 3
- 15
- 28
0
votes
1 answer
Edit Item Template TextBox value in a Gridview Confusion
I have a gridview with Edit commandfield.
In one of the templatefield of the gridview,I have a textbox inside edit item template.
In the RowUpdating event, I try to get the value of the textbox.
TextBox text =…

Rajiv Prathapan
- 75
- 1
- 10
0
votes
1 answer
Finding drop down list control from a stored procedure in edit item template of gridview in asp.net c#
I am trying to find a DropDownList control on the EditItemTemplate of a grid view, to populate it with results from a query before it is drawn, but the control is never found.
ddlParent == null
Always!
I may be missing something very obvious but i…

Adam Garner
- 1,235
- 10
- 17
0
votes
1 answer
0
votes
1 answer
How to differentiate updating or inserting in GridView OnUpdating Event?
I'm working on my Web Application using ASP.NET, I came into a situation where I need to differentiate UPDATIng and INSERTING on GridView Updating Event.
protected void GridView_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
…

sams5817
- 1,037
- 10
- 34
- 49
0
votes
2 answers
Using jquery with EditItemTemplate of Datalist control
Is it possible to access controls inside EditItemTemplate of Datalist control using jquery. I have difficult time doing it, because "Edit" row is not rendered in html.
The only alternative I thanked of is not using DataList EditItemTemplate, but…

mko
- 6,638
- 12
- 67
- 118
-1
votes
1 answer
how do you preselect checkboxlist items in edititemtemplate in vb.net
I have a checkboxlist in a formview itemtemplate. In edit mode I want to select the items that are in a datatable. I cannot find how to do this. I am using VB.NET.
ASP.NET code:

Robin Gentry
- 1
- 1