Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Datagrid Event Handlers

Reply
Thread Tools

Datagrid Event Handlers

 
 
Michael Albanese
Guest
Posts: n/a
 
      06-30-2003
I am building an event calendar in ASP.Net (VB) which
binds a datagrid to data in an SQL database.

For each event i display summary data with a "Details"
button for more information on that event. The event
handler for the "OnItemCommand" event is set to a sub
called detailsClicked and it works fine.

I also have Paging enabled, with the "OnPageIndexChanged"
event handler set to a sub called pageGrid, but when i try
to page it throws an "argumentout of range" exception and
identifies code in my detailsClicked sub as the culprit.

I have NO CLUE as to why this is happening. The stack
trace information shows that when i attempt to page
the "onItemCommand" is being fired. Short of excorcism, I
am stumped! Does anyone have a guess as to what is going
on here?

Michael


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DATAGRID EVENT HANDLERS - NOT FIRING? Frank Walsh ASP .Net Datagrid Control 1 05-07-2005 11:34 AM
datagrid event handlers not being called in IIS 6 Edward Bills ASP .Net 0 08-25-2004 07:01 PM
About Event Handlers, Delegates and Scopes Alex MCSD 6 05-21-2004 01:49 AM
Re: crazy event handlers! Trevor Hartman ASP .Net 2 06-26-2003 01:53 AM
Dynamic Buttons and Event Handlers, revisited Boban Dragojlovic ASP .Net 0 06-24-2003 01:51 PM



Advertisments