Questions tagged [itemcommand]

69 questions
0
votes
2 answers

Firing different linkbuttons in a Repeater and saving the value of each in an arraylist

Im using a repeater to display some products in an online shop for a school project. This is how the front end looks with the repeater
lmsa
  • 3
  • 1
0
votes
2 answers

c# itemCommand goes to aspx.vb

just got a really nub question, I am in the process of following a tutorial on how to make a shopping cart demo with c#, for some reason when i double click on the 'itemCommand' on the events tab in the properties instead of getting normal code…
NubmcNub
  • 105
  • 1
  • 11
0
votes
3 answers

ASP Repeater item command doesn't work

i'm working on asp repeater control which have one or more link button, the problem is the item command never fired when i click the link button ! i spent the last 2 days searching about solution but i got nothing !
coctile
  • 83
  • 2
  • 5
0
votes
1 answer

Why DataItem in my custom template databound control is null in ItemCommand event?

Here is my custom control code: namespace MyControlNameSpace { public class MyControlItemCommandEventArgs : CommandEventArgs { private MyControlItem _item; private object _commandSource; public…
Dabbas
  • 3,112
  • 7
  • 42
  • 75
0
votes
1 answer

Item command not firing in lazy load control

I have a repeater, which is dynamically created on tab index change of AJAX tabcontainer. But, when I try to delete the item from the repeater, it doesn't fire the item command of the repeater. Dynamically binding of repeater public void…
user1509
  • 1,151
  • 5
  • 17
  • 45
0
votes
1 answer

ItemCommand not being processed because of Response.Redirect in PostBack?

I'm having a problem concerning my website not running the code behind an ItemCommand run by my Repeater. Here are some snippets of what I have in my C# code: protected void Page_Load() { if (!Page.IsPostBack) { …
Namstel
  • 53
  • 4
0
votes
3 answers

MasterPage Page_Load hits before Grid_ItemCommand

I am using the session object to store success/error messages based on user actions. On each postback, the message is set on ItemCommend and retrieved on the Page_Load of the master page. Once retrieved, the message is deleted from the session. The…
Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
-1
votes
1 answer

Run Jquery code on Repeater ItemCommand

I have a jquery code and i have to run this code for all items in my repeater In my repeater i have a button and label what i want is when click a button in repeater send the label parameter to jquery function and run it. My Jquery code is below. it…
ercan
  • 825
  • 3
  • 16
  • 27
-1
votes
1 answer

DataGridCommandEventArgs Item.ItemIndex = -1?

Hello I have a DataGrid, which is defined like this: .... Now, I in the DG_XYZ_ItemCommand method, I am trying to do this: int id =…
grady
  • 12,281
  • 28
  • 71
  • 110
1 2 3 4
5