Questions tagged [edititemtemplate]

71 questions
0
votes
1 answer

How to change values of Fields in GridView/RadGrid EditTemplate when a chkBox is checked?

When a 'Update' is clicked the row shows the Edititem mode. I have a check box that when it is 'clicked' I want the other fields to dissapear/become read-only. How can this be done client or server side? My best guess is for server side I have…
punkouter
  • 5,170
  • 15
  • 71
  • 116
0
votes
1 answer

How to change a value of a control in EditItemTemplate in GridView

Hi I have a GridView control and in it a TextBox control inside an EditItemTemplate Field. Now I need to change the textbox text when the user enters the edit mode. When I run the program the textbox will take the value of the label that was in the…
Rokni
  • 67
  • 13
0
votes
0 answers

EditItemTemplate and InsertItemTemplate wont allow dropdownlist designer entry

I'm working on an aspx page where I'm trying to reference a dropdownlist from my code behind, now I add the dropdownlist to the page (ddlProgram) and its fine but soon as I move it into the InsertItemTemplate or EditItemTemplate or my GridView where…
0
votes
0 answers

DropDownCheckBoxes in EditItemTemplate

I want to use DropDownCheckBoxes control in EditItemTemplate of my TemplateField. When I put it in normal ItemTemplate - it works. But when DropDownCheckBoxes is in EditItemTemplate - it doesn't appears... "Select" is the only word that appears in…
R18100
  • 1
  • 1
0
votes
1 answer

Read Textboxes inside EditItemTemplate of Gridview and validate using jQuery

I have asp.net gridview control on a webform, which i used to add, edit and delete records of invoice list with four fields of AgreementNO(txtRANO), Invoice No(txtInvNo),Dispute Date(txtDisputeDate), Amount(txtInvAmount).User can add, edit and…
0
votes
1 answer

In Edit template Upload file in GridView on c#

I my GridView in c# I need upload one file in EditItemTemplatemode:
Antonio Mailtraq
  • 1,397
  • 5
  • 34
  • 82
0
votes
1 answer

C# - How to populate a DropDownList in EditItemTemplate

Here, I have a DropDownList in the EditItemTemplate:
Kristin Vernon
  • 155
  • 1
  • 2
  • 20
0
votes
0 answers

In javascript get focus on control inside FormView within InsertItemTemplate within Table?

I believe the title says it all. How do you get focus on a control inside FormView within InsertItemTemplate within a Table from javascript? The asp code looks like this
0
votes
2 answers

DropDownList in EditIemTemplate does not update table

So I have a GridView that display loaning information, my Loans table has the ID for Laptop, User, Location, etc. When I display on the GridView, instead I use names instead of ID numbers. My problem is when I put a dropdownlist in the…
Kristin Vernon
  • 155
  • 1
  • 2
  • 20
0
votes
1 answer

RowUpdating not firing in EditItemTemplate

I'm binding an array to GridView. Below is my template field and it doesn't fire RowUpdating when I click on update.
user966398
  • 59
  • 3
  • 12
0
votes
1 answer

tinyMCE does not work in FormView with Edit mode in ASP.NET

Need your help, I have implemented tinyMCE in my asp.net page with FormView, it is ok with Insert (InsertItemTemplate) and ReadOnly (ItemTemplate) mode, but the problem is when Edit (EditItemTemplate) mode, tinyMCE doesn't work and fire. Below my…
0
votes
0 answers

Update a checkbox inside a gridview edit itemtemplate

My itemTemplate displays a picture of a check or a cross depending on the bool value. But when I try to update the edit template using a checkbox, the new value isn't accepted. Clicking on update refreshed the page and nothing happens. If I remove…
user3647943
  • 17
  • 1
  • 5
0
votes
1 answer

RadGrid EditColumn Insert Data to an Edit Field from a RadGrid in a RadWindow

I have a telerik:RadGrid that contains Bound Data, I am calling Popup Edit Control Of RadGrid, I am getting all the fields and edit works fine. What I want to do is from the Edit Popup, Edit one of the fields (Which is a RadTextBox) by clicking a…
user2996084
  • 31
  • 1
  • 1
  • 4
0
votes
0 answers

Don't change from Edit link to Update and Cancel in gridview when bind data in code behind insteaf of in asp.net page

I test the demo on link: http://csharpdotnetfreak.blogspot.com/2009/05/gridview-sqldatasource-insert-edit.html It worked fine. But when I get data from a function in code behind, instead of use DataSourceID="SqlDataSource1" like demo, by bind data…
PhamMinh
  • 2,515
  • 3
  • 20
  • 18
0
votes
1 answer

Update TimeRecorded on edititemtemplate label vb.net

I'm trying to have a label in the edititemtemplate of my gridview show the current date and time when the user clicks the edit linkbutton. When I put date.now in the data binding box, I can see the result I want, but when I click update, I get an…
Tonigafa
  • 1
  • 1