Gridview server events stopped firing

There's a regular Gridview with a template column

<ItemTemplate>
    "lbOpen" Text='Select' runat="server" OnCommand="lbOpen_Command"
    CommandName="open" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "OrderID") %>'  />                                    

      

Suddenly and for some unknown reason, "lbOpen_Command" stopped firing. After stopping on the OnInit () page, the breakpoint at "lbOpen_Command" is not hit. There weren't even minimal changes to the .aspx page and the event chain.

What is the reason? Any suggestions?

early.

0


a source to share


1 answer


At what point in the page execution timeline do you bind data to the datagrid? Perhaps if you do this before the lbOpen_Command event is fired, you wipe the event.



0


a source







All Articles