Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uhhh...How does the data grid work again?

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
OMG, I cannot believe I have to ask this, but...

I've got a datagrid, which has a delete button column. Its command property is set to Delete.

In my code behind, i have my datagrid's _DeleteCommand sub, and I have some code in it.

Problem: I can't get the code to fire!!!

I've totally done this before, but a month of straight analysis modeling has drained all my knowledge! AAARRGGHH!!!
;)

Thanks guys,

Very sheepish, humbled Jack
 
Ha! Ok, nevermind. There's something buggy with my page that is causing the deletecommand and itemcommand subs not to fire, I just have to figure out what it is.

:)

Jack
 
Did you check your initializeComponent and see if the magic "Eraser" has been at work? That is the first thing I check when something is failing to fire. Crystal
crystalized_s@yahoo.com

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Hey Crys,

I was working off of some code i found on the net, and teh author had stuck all of the code in the page load (wasn't using a datagrid, I added that myself).

When I moved the code from teh Form Load to its own sub that is just called by the form load, it worked like a charm.

So everythings all good.
:)

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top