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 ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.