Hello,
I have a page that contains a DataList and several nested Repeaters and an XMLDataSource. Outside of the nested Repeaters, I have a linkbutton associated with the DataList with a CommandName and CommandArgument.
The problem is, when I click on the linkbutton, the first event to fire is the DataList_OnItemCreated and the linkbutton event(Link_OnCommand) or the DataList event (DataList_Command) never triggers.
The page also has a MasterPageFile.
My Linkbutton code is:
The basic layout of the page is:
If anyone can shed some light on this, I would be greatful!
Cheers,
G.
Oxigen - Next generation business solutions
-----------------------------
Components/Tools/Forums/Software/Web Services
I have a page that contains a DataList and several nested Repeaters and an XMLDataSource. Outside of the nested Repeaters, I have a linkbutton associated with the DataList with a CommandName and CommandArgument.
The problem is, when I click on the linkbutton, the first event to fire is the DataList_OnItemCreated and the linkbutton event(Link_OnCommand) or the DataList event (DataList_Command) never triggers.
The page also has a MasterPageFile.
My Linkbutton code is:
Code:
<asp:LinkButton runat=server OnCommand="Link_OnCommand" CommandName="ShowMoreTimes" CommandArgument='<%# Eval("AvailFareID") %>' ID="MoreTimes" Text="More Times"></asp:LinkButton>
The basic layout of the page is:
Code:
<DATALIST>
<ITEMTEMPATE>
[b] <LINKBUTTON> [/b] <-- ** Event doesn't fire
<XMLDATASOURCE>
<REPEATER>
<ITEMTEMPLATE>
<REPEATER>
<ITEMTEMPLATE>.....</ITEMTEMPLATE>
</REPEATER>
</ITEMTEMPLATE>
</REPEATER>
</ITEMTEMPLATE>
</DATALIST>
If anyone can shed some light on this, I would be greatful!
Cheers,
G.
Oxigen - Next generation business solutions
-----------------------------
Components/Tools/Forums/Software/Web Services