Developer forum

Forum » Development » ASP.net usercontrol on a subpage question

ASP.net usercontrol on a subpage question

Dmitrij Jazel
Reply

Hello guys,

Was wondering if anyone else had a simmilar issue,

When I am trying to add a user control to a page content (and that page is a child to some other pages) that is a subpage.

user control works only on pages that are in one way or another In the root of site structure.

 

It looks like UserControls postback is attempting to send response to a page that it thinks that should be under the root of the site. like /controlpage.aspx

instead of  /somepage/controlpage.aspx

 


Replies

 
Dmitrij Jazel
Reply

Well you do have a possibility to use UserControls, and if you must use it, why this should be an issue.

Some tips and tricks are always usefull :-)

 

You must be logged in to post in the forum