..ascx is an extension for a user control, not for a page. You are loading a
page called "admin.aspx".
Also & ddlManager.selectedvalue looks very suspicious.
Eliyahu
"Reeve" <ja****@jslocum.com> wrote in message
news:11*********************@y41g2000cwy.googlegro ups.com...
Mark Rae wrote:
"Reeve" <ja****@jslocum.com> wrote in message
news:11**********************@c74g2000cwc.googlegr oups.com...
I have a hyperlink control redirecting to another page within my site.
The URL is passed with the correct parameters, however the page won't
load.
I'm fairly new to this so I copied an existing web page that was
similar and made changes to the new context. The problem is that the
new page, when be called, doesn't get to the page_load method. Is there
some type of configuration that I missed?
If this is v1.1, check that the modifications you've made haven't erased
the
contents of the InitializeComponent() method in the Web Form Designer
generated code region - it's an extremely annoying bug which, thankfully,
is
fixed in v2.
The URL passes different parameters each time I click the link. I have
also cleared out the cache and tried it again. Same effect.
Also, the contents of the InitializeComponent() method were not erased.
The page isn't even being loaded.
The name of the page I want to load is ManagerAccountTableEdit.ascx.
The navigateurl variable of the hyperlink I want to take me there is
...
"admin.aspx?Function=Administration&Action=Manager AccountTableEdit&MgrAccou*ntID=0&ManagerID="
& ddlManager.selectedvalue
...
This follows the same format used on existing pages. Is there
something I need to do in order to "attach" the new page to the project
or should it automatically be recognized?
Thanks again.