All, I want to add Ajax functionality to my Asp.net project. Currently I just need the basic partial Page update feature. I used ScriptManager and UpdatePanel in the Aspx Pages, the triggers is also set up correctly. However it does not work. I think it is because of the architecture of my application. The architecture is like this:
Assume two pages: Report1.aspx and Report2.aspx,
In the code behind files, Report1.aspx.cs and Report2.aspx.cs only have code like below:
namespace TestProject
{
public partial class Report1: Library.Report
{
}
}
namespace TestProject
{
public partial class Report2: Library.Report
{
}
}
And another file at the \Library\Report.cs have all the codes for the page business logic.
Any suggestion? Thanks!
You need to narrow down your problem. There is nothing wrong with your code structure, unless Library.Report does not inherit from the Page object.