You can access the values of particular page done by this way.Context.Handler handles the page,So we can get the information from this handler
if(!IsPostBack)
{
if(Context.Handler.GetType().Name == "ListPJP_aspx" )
{
ListPJP ltp ;
ltp = (ListPJP)Context.Handler;
hideditid.Value = ltp.hidpkid.Value ;
string pagevalue =ltp.hidpageflag.Value;
}
}
No comments:
Post a Comment