I want a method like webform.show(), How can I call a webform from
another application without using
Response.Redirect("http://www.xyz.com") or
Server.Transfer("http://www.xyz.com"),
I want to alter a webform control from another application and display
the webform from the application that made the alteration.
In windows we have form.show, how do we do it for web. If we use,
Response.Redirect("http://www.xyz.com") or
Server.Transfer("http://www.xyz.com")
the alteration made is not shown.
On Jan 4, 2:27 am, Kaarthik Padmanabhan <[email protected]> wrote:
> From your initial post, I guess you have it mixed up between Form.Show
> on a Windows Application versus a Page in ASP.Net.
> I have never heard of a Page.Show(). You might probably need to Google
> ASP.Net Page Life Cycle to understand how a web page works?
>
> Also, it is really not clear on what your requirement is, from the
> example you have given -
> "so I create a dll of the application that contains the page " ??
>
> If you want the page to behave differently when called from multiple
> places, you could probably pass in some querystring values through the
> URL and code your page accordingly.
>
> Thanks,
> Kaarthikhttp://coding-passion.blogspot.com
>
> On Jan 3, 12:04 pm, Clyde <[email protected]> wrote:
>
>
>
> > If I use Response.Redirect("http://www.xyz.com") or
> > Server.Transfer("http://www.xyz.com"), I cannot have the textbox with
> > the Hello message,
> > it will just redirect to the url with the blank texbox!
>
> > On Jan 3, 1:07 pm, sriguru pattanayak <[email protected]> wrote:
>
> > > Hello Clyde,
>
> > > if you want to display the page from windows based application then you
> > > can
> > > use
> > > Process process=new Process();
> > > process.Start("http://www.xyz.com");
>
> > > or else if you want to display the page from Web application then you can
> > > use either Server.Transfer("http://www.xyz.com"); or
> > > Response.Redirect("http://www.xyz.com");
>
> > > *Thanks And Regards,
> > > Sriguru Pattanayak
> > > *
>
> > > On Sun, Jan 2, 2011 at 11:22 PM, Clyde <[email protected]> wrote:
> > > > In windows we can show a page frm another page by using Page.show(),
> > > > in web there is no such
> > > > method so how to that.
> > > > I am making change to a page from another application and then
> > > > displaying that page.
> > > > For eg. A page has a textbox, from an application of another
> > > > application I want to write hello in it so I create a dll of the
> > > > application that contains the page with the textbox. Now I add this
> > > > application's reference to another application. From this other
> > > > application I write hello in the texbox. Now I want to show this page
> > > > with the textbox in which hello is written.
> > > > I cannot use response. redirect or server. transfer because when the
> > > > 1st application displays it wont show the textbox with Hello written
> > > > in it.
> > > > So how can I implement Page.show in web.
> > > > Thanx in advance!- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -