M
Matt Jensen
Howdy
Am having a nightmare trying to do what seems should be simple.
Following this article
http://www.codeproject.com/aspnet/DataPassingBtPages.asp but getting an
error 'Classname' is defined in multiple places on the line below with the
****
Here's the offending snippet of code:
<%@ Reference Page="request-job.aspx" %>
RequestJobStep1 fp; //****
protected void Page_Load(Object Src, EventArgs E) {
if (!IsPostBack) {
fp = CType(Context.Handler, RequestJobStep1);
}
}
</script>
on request-job.aspx I've got
<script>
public int WebOption
{
get{return rbl3.SelectedIndex ;}
}
public int PrintOption
{
get{return rbl4.SelectedIndex;}
}
private void btnSubmit_Click(object sender, System.EventArgs e)
{
Server.Transfer("request-job-step2.aspx", true);
}
</script>
Hopefully this is enough code to help identify the problem.
Any help would be greatly appreciated.
Matt
Am having a nightmare trying to do what seems should be simple.
Following this article
http://www.codeproject.com/aspnet/DataPassingBtPages.asp but getting an
error 'Classname' is defined in multiple places on the line below with the
****
Here's the offending snippet of code:
<%@ Reference Page="request-job.aspx" %>
RequestJobStep1 fp; //****
protected void Page_Load(Object Src, EventArgs E) {
if (!IsPostBack) {
fp = CType(Context.Handler, RequestJobStep1);
}
}
</script>
on request-job.aspx I've got
<script>
public int WebOption
{
get{return rbl3.SelectedIndex ;}
}
public int PrintOption
{
get{return rbl4.SelectedIndex;}
}
private void btnSubmit_Click(object sender, System.EventArgs e)
{
Server.Transfer("request-job-step2.aspx", true);
}
</script>
Hopefully this is enough code to help identify the problem.
Any help would be greatly appreciated.
Matt