1

i need to pass a javascript value named $.galleria.current to a linkbutton's CommandArgument declared so :

< asp:linkbutton id="prevBut" runat="server" OnCommand="load_com" CommandArgument=place_javascript_value Text="previous" />

How can i do it ?

Alex
  • 10,869
  • 28
  • 93
  • 165

1 Answers1

0

You can't. If you set a linkbutton with a command argument and then examine the HTML... there's nothing there to carry the "command argument". So it's not in the page. Well I suppose it may be in the encrypted ViewState, but that's no use, so you can't get to it I think.

philw
  • 661
  • 10
  • 20