Solved

ASP.Net calling functions from different pages

Posted on 2013-05-20
1
358 Views
Last Modified: 2013-05-20
I have a function in an asp.net code behind page (C#). Can I call that function from a different page within the same application? If so, how can you do it?
0
Comment
Question by:dodgerfan
1 Comment
 
LVL 21

Accepted Solution

by:
Dale Burrell earned 500 total points
Comment Utility
Create a class with your function, put it in app_code, then instanciate/call it from both pages.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
optimize  c# code 7 48
Set cookies HttpOnly and Secure 4 50
Expando 4 33
JavaScript error 1 33
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now