<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Forms</title><link>http://forums.asp.net/18.aspx</link><description>All about building ASP.NET Pages - server controls, events, validation, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Call a function on another page</title><link>http://forums.asp.net/thread/2361338.aspx</link><pubDate>Fri, 16 May 2008 04:10:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2361338</guid><dc:creator>Ivan Xin - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2361338.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2361338</wfw:commentRss><description>&lt;p&gt;As the previous post&amp;#39;s example, I think you can write some static member functions if insist using a page class to do your job. Because using static member function of a class don&amp;#39;t require to initialize an instance of that class.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ivan.&lt;/p&gt;</description></item><item><title>Re: Call a function on another page</title><link>http://forums.asp.net/thread/2361333.aspx</link><pubDate>Fri, 16 May 2008 04:07:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2361333</guid><dc:creator>Ivan Xin - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2361333.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2361333</wfw:commentRss><description>&lt;p&gt;Hi abupapa,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here is a demo about using a&amp;nbsp;class written inside the App_Code folder.&lt;/p&gt;
&lt;p&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;&amp;nbsp; CodeFile=&amp;quot;Default.aspx.cs&amp;quot; Inherits=&amp;quot;_Default&amp;quot; %&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;&lt;a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/a&gt;&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot; &amp;gt;&lt;br /&gt;&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot; defaultbutton =&amp;quot;LinkButton1&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:TextBox ID=&amp;quot;TextBox1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;amp;nbsp+&amp;amp;nbsp&amp;lt;asp:TextBox ID=&amp;quot;TextBox2&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runat=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;amp;nbsp=&amp;amp;nbsp&amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:LinkButton ID=&amp;quot;LinkButton1&amp;quot; runat=&amp;quot;server&amp;quot; OnClick=&amp;quot;LinkButton1_Click&amp;quot;&amp;gt;Add&amp;lt;/asp:LinkButton&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:CompareValidator ID=&amp;quot;CompareValidator1&amp;quot; runat=&amp;quot;server&amp;quot; Operator =&amp;quot;DataTypeCheck&amp;quot; Type=&amp;quot;Integer&amp;quot; ControlToValidate =&amp;quot;TextBox1&amp;quot; Display =&amp;quot;None&amp;quot;&amp;nbsp;&amp;nbsp; ErrorMessage=&amp;quot;Only integer value allowed&amp;quot;&amp;gt;&amp;lt;/asp:CompareValidator&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:CompareValidator ID=&amp;quot;CompareValidator2&amp;quot; runat=&amp;quot;server&amp;quot; Operator =&amp;quot;DataTypeCheck&amp;quot; Type=&amp;quot;Integer&amp;quot; ControlToValidate=&amp;quot;TextBox2&amp;quot; Display =&amp;quot;None&amp;quot;&amp;nbsp; ErrorMessage=&amp;quot;Only integer value allowed&amp;quot;&amp;gt;&amp;lt;/asp:CompareValidator&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:ValidationSummary ID=&amp;quot;ValidationSummary1&amp;quot; DisplayMode=&amp;quot;List&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;-----------App_Code/calculator.cs&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;/p&gt;
&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;/// Summary description for calculator&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;public class calculator&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;public calculator()&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;//&lt;br /&gt;&amp;nbsp;&amp;nbsp;// TODO: Add constructor logic here&lt;br /&gt;&amp;nbsp;&amp;nbsp;//&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static string Add(string input1, string input2)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int result = (int.Parse(input1) + int.Parse(input2));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return result.ToString();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static int Add(int input1,int input2)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return input1+input2;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static int Minus(string input1, string input2)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //To Do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;------------------default.aspx.cs---------------------------&lt;/p&gt;
&lt;p&gt;using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;/p&gt;
&lt;p&gt;public partial class _Default : System.Web.UI.Page &lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void LinkButton1_Click(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label1.Text = calculator.Add(TextBox1.Text, TextBox2.Text);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ivan.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Call a function on another page</title><link>http://forums.asp.net/thread/2361309.aspx</link><pubDate>Fri, 16 May 2008 03:38:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2361309</guid><dc:creator>abupapa</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2361309.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2361309</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;Ivan Xin - MSFT:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Hi abupapa,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Based on my knowledge, from the programming aspect of view, I don&amp;#39;t think what you want is achieveable. Because object of&amp;nbsp;page1.aspx and editrmrks.aspx don&amp;#39;t exist the same time at the server side. So you can&amp;#39;t call some function that just dont exist. But a work around would be creating a class at the App_code folder, this way every page of your application can call the member function of the class in that folder.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ivan.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ivan,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. But I don&amp;#39;t really get what you mean. Do you have some samples?&lt;/p&gt;</description></item><item><title>Re: Call a function on another page</title><link>http://forums.asp.net/thread/2361200.aspx</link><pubDate>Fri, 16 May 2008 01:49:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2361200</guid><dc:creator>Ivan Xin - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2361200.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2361200</wfw:commentRss><description>&lt;p&gt;Hi abupapa,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Based on my knowledge, from the programming aspect of view, I don&amp;#39;t think what you want is achieveable. Because object of&amp;nbsp;page1.aspx and editrmrks.aspx don&amp;#39;t exist the same time at the server side. So you can&amp;#39;t call some function that just dont exist. But a work around would be creating a class at the App_code folder, this way every page of your application can call the member function of the class in that folder.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ivan.&lt;/p&gt;</description></item><item><title>Re: Call a function on another page</title><link>http://forums.asp.net/thread/2356133.aspx</link><pubDate>Wed, 14 May 2008 05:12:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2356133</guid><dc:creator>Avinash Desai</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2356133.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2356133</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;abupapa after close code it will not close the&amp;nbsp; Form it will remain upto Closing Bracket } and before that i.,e after your&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;abupapa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;font size="2"&gt;&lt;font color="#0000ff" size="2"&gt;private&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; btnSave_Click(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, System.EventArgs e)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;{&lt;/font&gt;&lt;br /&gt;&lt;/p&gt;&lt;font size="2"&gt;

&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; jScript;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;jScript=&amp;quot;&amp;lt;script&amp;gt;successSave();&amp;lt;/script&amp;gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt;Page.RegisterClientScriptBlock(&amp;quot;keyClientBlock&amp;quot;,jScript);&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Code above you&amp;nbsp; can Call the Function&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Call a function on another page</title><link>http://forums.asp.net/thread/2356126.aspx</link><pubDate>Wed, 14 May 2008 05:04:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2356126</guid><dc:creator>abupapa</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2356126.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2356126</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;enableDeepak:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;http://www.codeproject.com/KB/scripting/share_parent_childorpopup.aspx&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hi, &lt;/p&gt;
&lt;p&gt;The function that I want to call is in a code behind. Not a javascript function that was shown in your given example. May I know whether this is achievable? &lt;/p&gt;
&lt;p&gt;Anyway here&amp;#39;s my code: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;page1.aspx&lt;/strong&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;private&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; btnRemarks_Click(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, System.EventArgs e)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;String nric = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;null&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;String jScript;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&lt;font color="#008000" size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;jScript=&amp;quot;&amp;lt;script&amp;gt;window.showModalDialog(&amp;#39;editremarks.aspx?activation_id=&amp;#39; + &amp;#39;&amp;quot;+&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.tbxActivationID.Text+&amp;quot;&amp;amp;nric=&amp;#39; + &amp;#39;&amp;quot;+&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.tbxNricNo.Text+&amp;quot;&amp;#39;);&amp;lt;/script&amp;gt;&amp;quot;; 
&lt;p&gt;Page.RegisterClientScriptBlock(&amp;quot;clientScriptBlock&amp;quot;,jScript);&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.GetPersonnelList(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;int&lt;/font&gt;&lt;font size="2"&gt;.Parse(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.tbxPageNo.Text),&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;int&lt;/font&gt;&lt;font size="2"&gt;.Parse(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.ddlFilterOptions.SelectedValue),&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.tbxKeyWord.Text); &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;editremarks.aspx&lt;/strong&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;private&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; btnSave_Click(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, System.EventArgs e)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/font&gt;&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; jScript;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;jScript=&amp;quot;&amp;lt;script&amp;gt;successSave();&amp;lt;/script&amp;gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt;Page.RegisterClientScriptBlock(&amp;quot;keyClientBlock&amp;quot;,jScript);&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;After the successSave(); function is executed, the editremarks.aspx will close. Upon closing, I want to call GetPersonnelList function in page1.aspx. How do I go about achieving this?&lt;/p&gt;
&lt;p&gt;Thanks for the help. &lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Call a function on another page</title><link>http://forums.asp.net/thread/2356095.aspx</link><pubDate>Wed, 14 May 2008 04:46:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2356095</guid><dc:creator>enableDeepak</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2356095.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2356095</wfw:commentRss><description>&lt;p&gt;http://www.codeproject.com/KB/scripting/share_parent_childorpopup.aspx&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Call a function on another page</title><link>http://forums.asp.net/thread/2356089.aspx</link><pubDate>Wed, 14 May 2008 04:40:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2356089</guid><dc:creator>Avinash Desai</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2356089.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2356089</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;What you are saying is Possible and you can call the Function after the Java script&amp;nbsp;&lt;/p&gt;</description></item><item><title>Call a function on another page</title><link>http://forums.asp.net/thread/2356056.aspx</link><pubDate>Wed, 14 May 2008 03:59:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2356056</guid><dc:creator>abupapa</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2356056.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2356056</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Currently I use &lt;font size="2"&gt;window.showModalDialog on page1.aspx&amp;nbsp;to call another &lt;/font&gt;page, editremarks.aspx. When users click on the button on&amp;nbsp;editremarks.aspx&amp;nbsp;and the information gets saved the editremarks.aspx is closed using javascript.&amp;nbsp;Upon closing, I want to call another function on the page1.aspx. I wonder whether this is possible? &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>