Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET
i have wrote a method in sample.ascx.cs

ex: GetSubject()
{
//code
}

now i want call this method in sample.aspx.cs


Ans me as soon as posible
------------
Thanks in advance
Posted 11-Feb-13 2:00am
Comments
   
Check this: http://stackoverflow.com/questions/360836/call-function-in-user-control-from-code-behind-of-the-page

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 184
1 Sascha Lefévre 120
2 Abhinav S 104
3 Richard MacCutchan 90
4 Sergey Alexandrovich Kryukov 84
0 Sergey Alexandrovich Kryukov 6,628
1 OriginalGriff 6,298
2 Peter Leow 2,534
3 Maciej Los 2,492
4 Abhinav S 2,378


Advertise | Privacy | Mobile
Web02 | 2.8.150414.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100