J
Jeff
Hey
asp.net 2.0
I have a Repeater control consisting of linkbuttons on my webpage. when a
linkbutton is clicked I need to get the info about the linkbutton clicked
and put that info in a session variable so it can be accessed from another
webpage in the same application (the webpage opened by the linkbutton)
I tryed using this script, but it gives me compile error: wrong parameter
protected void rptOnline_OnItemCommand(RepeaterCommandEventArgs e)
{
}
<asp:Repeater ID="rptOnline" runat="server"
OnItemCommand="rptOnline_ItemDataBound" >
But I get error telling that this
"rptOnline_OnItemCommand(RepeaterCommandEventArgs e)" method don't contain
the correct parameters, but I copied it from the documentation....
Maybe there is a better way to do this? I've used a PostBackValue on another
project. But I don't know how to use PostBackValue to this one, because I
haven't found the PostBackValue property in the LinkButton class...
Any suggestions?
Best Regards!
Jeff
asp.net 2.0
I have a Repeater control consisting of linkbuttons on my webpage. when a
linkbutton is clicked I need to get the info about the linkbutton clicked
and put that info in a session variable so it can be accessed from another
webpage in the same application (the webpage opened by the linkbutton)
I tryed using this script, but it gives me compile error: wrong parameter
protected void rptOnline_OnItemCommand(RepeaterCommandEventArgs e)
{
}
<asp:Repeater ID="rptOnline" runat="server"
OnItemCommand="rptOnline_ItemDataBound" >
But I get error telling that this
"rptOnline_OnItemCommand(RepeaterCommandEventArgs e)" method don't contain
the correct parameters, but I copied it from the documentation....
Maybe there is a better way to do this? I've used a PostBackValue on another
project. But I don't know how to use PostBackValue to this one, because I
haven't found the PostBackValue property in the LinkButton class...
Any suggestions?
Best Regards!
Jeff