Asp.Net News
Free Tech Magazines
Asp.Net Web Hosting
Suggest Us
Link to Us
Feeds Subscription
Questions & Answers
Tips & Tricks
Posted by Sandeep S Jadhav on  10/12/2010 12:36:55 PM Category: Asp.Net 2.0
Add to my favorites
Email to friend
Hi I m new to ASP.NET...
I am working on Customer Module..where I should do Adding new customer with ASCX file.. and search and view Customer in ASPX where i am going to import my Manage ASCX file to ASPX. So i want to know how can i relate ASCX.CS and ASPX.CS code to access data between these two files. Pls Help me out... I m very new to ASP.NET..
Thank You

Post Your Reply Post New Question

 Viewer's Reply
Accessing Properties of Web User Control from Code-Behind
Answered By Moderator1 on 1/16/2011 2:10:14 AM
You need to create public property accessors in the code-behind of the ASCX and after including the ASCX in ASPX, you can easily access the properties of web user control from the code-behinds of the main page.
Post Your Reply If you still have problem, post it again under this reply for better response.

Sponsored by
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks - Free 158 Page Preview
Washington Technology
Everything You Know About CSS Is Wrong! - Free 37 Page Preview!