Link to home
Start Free TrialLog in
Avatar of ramuar1981
ramuar1981Flag for India

asked on

user control with aspx pages in sharepoint site

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
ASKER CERTIFIED SOLUTION
Avatar of Maulik Modi
Maulik Modi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Maulik Modi
Maulik Modi

Two more steps
you need to sign your assembly, refer Sign assembly brefore you can put in GAC

Add your controls and webparts into sfaecontrols list Safecontrols

Avatar of ramuar1981

ASKER

I've requested that this question be deleted for the following reason:

delete this question no answers were found
This is not fair, let me know if I answered incorrectly.