how to getObject of usercontrol class in app_code--->XYX.Cs file
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi... I have created one class file XYX.cs under app_code directory... and One usercontrol ABC.ascx file under usercontrol directory.... Now i want to get object of ABC.ascx file in XYX.cs file.... here both file namespace are similar... But my problem is i cannot get object of that .ascx file in .cs file.. If i put that usercontrol file in .cs file than i am getting object... but i dont want to put that user control in app_code....directory... Is there any Solution for this.... ? ? ? Please help me... Thankyou Hemant Patel