I have created one usercontrol to deploy as a webpart.Iam developing one simple application with sharepoint site.In the usercontrol iam placing 3 text boxes and 3 bottons.(Imagine that County,State list,City)in a button click event i have to retrive data from Sqlserver DB and showing in Lookup window by catching in gridview whic has more than 200 records of patients details.this process applicable for 3 buttons.. So here i have taken user control as a parent and all 3 (Coutry,state,Name) child as a ASPX pages.iam unble to retrieve the aspx pages in a site when i cilck the button. I tried to give the path in Layout folder ..but no go..i tried with different folder still no go...pls guide me how to call aspx page in usercontrol to deploy as a webpart or any other ways to do with this issue.. please check the one.jpeg image which shows of solution explorer structrure. and in second image by clicking button how it will display the lookup window. in third image is usercontrol page..
pls give me the suitable answers and solutions.. one.jpg two.jpg usercontrol.jpg
This is not fair, let me know if I answered incorrectly.
Microsoft SharePoint
Microsoft Sharepoint is a software platform and family of software products used for collaboration and web publishing combined. These capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence and collaboration. SharePoint has a Microsoft Office-like interface, and it is closely integrated with the Office suite.
you need to sign your assembly, refer Sign assembly brefore you can put in GAC
Add your controls and webparts into sfaecontrols list Safecontrols