A
Anton
asp.net 3.5
From within the Page_Load event of my webpage I'm trying to access the
hidden input below, I do it because i want to programmatically set the
PayPal url (the url is different on development box and on testing box, and
indeed different in production environment, so hope I could specify the URL
in web.config etc)....
I've tryed these without any luck (hidden is null)
HtmlInputHidden hidden =
(HtmlInputHidden)TempStep.ContentTemplateContainer..FindControl("return");
HtmlInputHidden hidden =
(HtmlInputHidden)cuwNewUser.WizardSteps[1].Controls[0].FindControl("return");
<asp:TemplatedWizardStep runat="server" ID="TempStep">
<CustomNavigationTemplate>
<div style="text-align:center; margin-bottom:50px;
margin-top:50px;">
<input type="hidden" runat="server" id="return"
name="return" value="PayPal URL" />
any ideas?
From within the Page_Load event of my webpage I'm trying to access the
hidden input below, I do it because i want to programmatically set the
PayPal url (the url is different on development box and on testing box, and
indeed different in production environment, so hope I could specify the URL
in web.config etc)....
I've tryed these without any luck (hidden is null)
HtmlInputHidden hidden =
(HtmlInputHidden)TempStep.ContentTemplateContainer..FindControl("return");
HtmlInputHidden hidden =
(HtmlInputHidden)cuwNewUser.WizardSteps[1].Controls[0].FindControl("return");
<asp:TemplatedWizardStep runat="server" ID="TempStep">
<CustomNavigationTemplate>
<div style="text-align:center; margin-bottom:50px;
margin-top:50px;">
<input type="hidden" runat="server" id="return"
name="return" value="PayPal URL" />
any ideas?