GridView.DataKeys appear not to be filled

S

sevilsivle

Hi,

I've set up the DataKeyNames attribute for my GridView gridBlackList which
is contained on a control. When I request the gridBlackList.DataKeys on the
PageIndexChanged event, the DataKeys array appears to be empty. However, when
I put a breakpoint on the Page_Load of the control the DataKeys array seems
to be filled out correctly.

Does anyone hav ea clue of what is going on?

Thanks in advance,
Greetings,
Casper
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top