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..
Microsoft SharePoint

Avatar of undefined
Last Comment
Maulik Modi
Avatar of Maulik Modi
Maulik Modi

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
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
Flag of India image


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

delete this question no answers were found
Avatar of Maulik Modi
Maulik Modi

This is not fair, let me know if I answered incorrectly.
Microsoft SharePoint
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.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo