Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
How to call WebPage 1 method in WebPage 2
April 08, 2010
I have one method in WebPage 1 and i want to call this method in WebPage 2 in asp.net. Is it possible?
I am using C# as my code language.
Venkatesh Babu K M
Posted Date: April 19, 2010 Points: 5
Since this method is getting used in both the WebPages's, as a best practice:
1. Create a new class
2. Have your common method in that class
3. Inherit that class in your pages.
To post reply
Related Questions Related Questions
How to add media player to my asp.net webpage
How to read the text from index of webpage
How to call a method containing out parameter using reflection?
How to open New WebPage from c#.net Code
Image store to Database and restore from database and display on webpage
how to open new webpage using c#.net
How to extract tally files in a webpage
convert webpage to PDF
Showing Word File on webpage as a web page content
Change the Background image of webpage erverytime user visits.
Latest Forum Questions From The Same Category
how to learn and Where can i Learn about ASP .Net
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend