nm. Scratch that. In the code behind why not:
 string strQueryString = Request.QueryString["QueryString"];
 private void PageLoad(object sender, EventArgs e)
{
 SubmitButton.CommandArgument = strQueryString;
}
 Ryan

 On 7/27/05, Ryan Olshan <[EMAIL PROTECTED]> wrote: 
> 
> What about <%# %>
>  Ryan
> 
>  On 7/27/05, Falls, Travis D (HTSC, CASD) <[EMAIL PROTECTED]> 
> wrote: 
> > 
> > I am collecting a querystring in the onPageLoad and I want to supply 
> > that to
> > the CommandArgument. I have a protected variable named methodInput in 
> > the 
> > codebehind I assign the query string to. I know we can't use <%%> in a
> > server tag... is there a way to accomplish this?
> > 
> > <asp:LinkButton id="SubmitButton" CommandName="submit"
> > CommandArgument='<%=methodInput%>' OnCommand="DoSubmit"
> > runat="server">Submit</asp:LinkButton>
> > 
> > Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > *************************************************************************
> > PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, 
> > is
> > for the exclusive use of addressee and may contain proprietary, 
> > confidential and/or privileged information. If you are not the intended
> > recipient, any use, copying, disclosure, dissemination or distribution 
> > is
> > strictly prohibited. If you are not the intended recipient, please 
> > notify 
> > the sender immediately by return e-mail, delete this communication and
> > destroy all copies.
> > 
> > *************************************************************************
> > 
> > 
> >  ------------------------------
> > YAHOO! GROUPS LINKS 
> > 
> > 
> >    - Visit your group 
> > "AspNetAnyQuestionIsOk<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk>"
> >  
> >    on the web.
> >     - To unsubscribe from this group, send an email to:
> >     [EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >     - Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> >    Service <http://docs.yahoo.com/info/terms/>.
> > 
> > 
> >  ------------------------------
> > 
> 
> 
> 
> -- 
> Thank you,
> Ryan Olshan
> <asp:Web Programmer, Owner />
> TeraNet Systems
> http://www.teranetsystems.com
> 
> 
> ----------Internet E-Mail Confidentiality Statement----------
> The content of and attachment(s) to this electronic transmission are 
> intended for the use of the person, firm or entity to which it is directed, 
> and may contain information that is private, confidential, exempt from 
> disclosure under applicable law, and/or proprietary to TeraNet Systems. If 
> you are not the intended recipient, or the employee or agent responsible for 
> delivering this message to the intended recipient, any dissemination, 
> distribution or copying of this communication is strictly prohibited. If you 
> have received this message in error, please kindly destroy it and notify the 
> sender, [EMAIL PROTECTED], immediately by reply e-mail. Thank you 
> for your cooperation. 
> -------------------------------------------------------------------------------
>  
> 




-- 
Thank you,
Ryan Olshan
<asp:Web Programmer, Owner />
TeraNet Systems
http://www.teranetsystems.com


----------Internet E-Mail Confidentiality Statement----------
The content of and attachment(s) to this electronic transmission are 
intended for the use of the person, firm or entity to which it is directed, 
and may contain information that is private, confidential, exempt from 
disclosure under applicable law, and/or proprietary to TeraNet Systems. If 
you are not the intended recipient, or the employee or agent responsible for 
delivering this message to the intended recipient, any dissemination, 
distribution or copying of this communication is strictly prohibited. If you 
have received this message in error, please kindly destroy it and notify the 
sender, [EMAIL PROTECTED], immediately by reply e-mail. Thank you for 
your cooperation. 
-------------------------------------------------------------------------------


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to