How can I call method from one page to other page
-
How can I call method from one page to other page? Thanks
-
How can I call method from one page to other page? Thanks
Can you explain your question in more detail? This might make it easier to answer :) Regards, --Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia Introduction to Object-Oriented JavaScript
-
Can you explain your question in more detail? This might make it easier to answer :) Regards, --Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia Introduction to Object-Oriented JavaScript
yes sir, I have one method in one page,There are 2 pages(_Default and _Default2) in one webapplication . one has already built method calcuatbalance() Now i want to call from page2 this is page1 one.
Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load call calcuatbalance() End Sub public sub calcuatbalance() .... .... .... End sub End Class
this is page2Partial Class _Default2 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load call calcuatbalance() End Sub
How can I call calcualte balance from _Default2 page. Thanks -
yes sir, I have one method in one page,There are 2 pages(_Default and _Default2) in one webapplication . one has already built method calcuatbalance() Now i want to call from page2 this is page1 one.
Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load call calcuatbalance() End Sub public sub calcuatbalance() .... .... .... End sub End Class
this is page2Partial Class _Default2 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load call calcuatbalance() End Sub
How can I call calcualte balance from _Default2 page. ThanksBest thing to do would be to take the function out into it's own class and put it inside the app_code folder and use it from both the pages. HTH
Nirandas, a developer from India. http://www.nirandas.com