Urgent: Repeater's OnItemCommand Problem
Hi everyone
I've made a user control that contaions a DataRepeater and some other link buttons.
I registered the ItemCommand event's eventHandler like this:
<asp:repeater id="Repeater1" OnItemCommand="Repeater1_ItemCommand" OnItemDataBound="Repeater1_ItemDataBound" runat="server">
and in Code-Behind I've wriiten a method like this:
protected void Repeater1_ItemCommand(Object Sender, RepeaterCommandEventArgs e)
{
....
}
This repeater generate some hyperlinks in runtime.
but when I click the generated links, page do postback but the runtime dose not execute my eventHandler.
Meanwhile, I had a problem like this with datagrid's paging event.
I'm using Framework 1.1 and Vs.NET 2003.
Thanks in advanced
|