Re: Grid Control ItemData event not firing

From: HandA (nospam_at_nospam.com)
Date: 05/12/04


Date: Wed, 12 May 2004 15:47:17 -0500

Well, I checked for that and it seemed to be right.
I am not at the computer that has the code on it at present. I will respond
as soon as I back at that location with the code.

It did have a handles event that appeared right at first glance.

Will get back to you.

Thanks

Shane
"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
news:OqwF76FOEHA.2952@TK2MSFTNGP12.phx.gbl...
> Could you post the code that isn't working? The event handler should look
> like this:
>
> Private Sub DataGrid1_ItemDataBound _
> (ByVal sender As Object, _
> ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) _
> Handles DataGrid1.ItemDataBound
> ' Your code goes here
> End Sub
>
> VS.NET used to play tricks by removing the Handles clause.
>
>
> "HandA" <nospam@nospam.com> wrote in message
> news:eg4c00FOEHA.128@TK2MSFTNGP12.phx.gbl...
> >I have a grid control on a page that I copied from another page and
> > modified.
> > For some reason it seem my ItemData event never fires.
> >
> > I even put a break point in it and it doesn't get there.
> > I tried response.write and response.end in that event and it doesn't
> > output
> > anything.
> >
> > Any ideas?
> >
> > Thanks
> >
> >
> >
>



Relevant Pages

  • Re: Which anime characters would you NOT want to wake up in bed with?
    ... if sober" clause, not on the "oh shit I'm gonna die" clause, because I ... Same reason as above, and also because I'd ... Because my mind would COMPLETELY ... S'LITTLES: Feel the loli. ...
    (rec.arts.anime.misc)
  • Re: PyGUI as a standard GUI API for Python?
    ... There are lots of references to PyGTK classes in there. ... removing them:) ... and the pyjamas ui.HTMLclass is based on a Qt.QLabel. ... then there's a fair good reason to continue. ...
    (comp.lang.python)
  • Re: UPDATE using params, again, deosnt work
    ... If those values are correct and the where clause value is ... I just mention this b/c this is very weird and it's getting weirder. ... Sending an update command is standard far and there's no reason that it ... did you run the Select statement beforehand? ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Enforcing Christian values on others?
    ... termination no matter what the reason. ... That would be covered under a different clause: ... You will be given notification and you will be ...
    (uk.religion.christian)
  • Re: Calif speed camera coming?
    ... are removing them for the reason you stated? ... I actually don't recall, but it must have been late '70s as the floor ...
    (rec.outdoors.rv-travel)