Hi all I am using the following to find the virtual patrh of the given form name as follows
List<string> lstFormName = new List<string>();
lstFormName.Add("WebForm1.aspx");
lstFormName.Add("WebForm2.aspx");
Page p = BuildManager.CreateInstanceFromVirtualPath("/" + lstFormName[i].ToString(), typeof(Page)) as Page;
((IHttpHandler)p).ProcessRequest(HttpContext.Current);
I am using this method to find the controls in the page every thing works fine but the pages which are in list are also displaying in the current page, how can I stop loading those forms on my form or is there any option to find the controls on the page
dynamically as per the above code
Go to the complete details ...