Ask a Question related to ASP.NET General, Design and Development.
-
Udupa #1
Re: How to move between pages
Is it possible to refresh a page from within codebehind when Response
object is not available (say, from a user thread?). If so, can you please
let me
know how this can be done, with some code?
Thanks,
Udupa.
"Leif" <l_falk1@hotmail.com> wrote in message
news:02f501c339af$e8ae8f80$a301280a@phx.gbl...> asp.net pages post back to themselves.
> you can use Response.Redirect(URL) in the code behind or
> scripting (whichever you're using). that will call a new
> aspx page.
>> thing that i can't> >-----Original Message-----
> >Hi all,
> >
> >I am new to ASP.NET and i had try some things but one> submit button in a> >understand is how to move between two aspx pages.
> >for example i have one page with some text fields and> page and there the> >form .
> >when i should press submit button it should move to next> second page where> >values of text boxes are read.
> >but insted it remain in same page . how can i move it to> >the values are read and displayed.
> >bye,
> > shahzad.
> >
> >
> >.
> >
Udupa Guest
-
Move pages inside the PDF file
I am tryinn to relocate several pages inside the same PDF file. Some TIPs say I can do it by moving Page Thumbnails. However there is no Page... -
Move pages?
Some editors have active draft pages in a directory that no longer exists (to launch a part of the website I moved all the files from an old/... -
how to move pages between the docoments
how to move pages between the docoments, Becouse now i do it layer by layer by coping the objects from spreads of one document to the blank spreads... -
How to print 3 small pages wide by 5 pages tall in one spread?
Hi Vincent, I'm having a similar problem. My dilemma is that I've created a raffle ticket design and to save paper have tiled them 5 to an A4... -
Best way to move data across multiple pages?
I am trying to build a few pages basically emulating a wizard that you might find in a Windows product. A few fields to fill out on one page, move... -
Robin Day #2
Re: How to move between pages
Ideally, always keep a reference to the Page that you are using, then you
can always access Page.Response etc.
However, if this is not possible, you can obtain the Response object from
the current context. This is also true for other objects such as Session and
Application. Very useful when writing assemblies that have a sole use for
within web applications.
HttpResponse Response = HttpContext.Current.Response;
You can then proceed to use Response as you would normally.
Robin
"Udupa" <udupa@email.com> wrote in message
news:eXcfYAxODHA.2224@TK2MSFTNGP10.phx.gbl...> Is it possible to refresh a page from within codebehind when Response
> object is not available (say, from a user thread?). If so, can you please
> let me
> know how this can be done, with some code?
>
> Thanks,
> Udupa.
>
> "Leif" <l_falk1@hotmail.com> wrote in message
> news:02f501c339af$e8ae8f80$a301280a@phx.gbl...>> > asp.net pages post back to themselves.
> > you can use Response.Redirect(URL) in the code behind or
> > scripting (whichever you're using). that will call a new
> > aspx page.
> >> > thing that i can't> > >-----Original Message-----
> > >Hi all,
> > >
> > >I am new to ASP.NET and i had try some things but one> > submit button in a> > >understand is how to move between two aspx pages.
> > >for example i have one page with some text fields and> > page and there the> > >form .
> > >when i should press submit button it should move to next> > second page where> > >values of text boxes are read.
> > >but insted it remain in same page . how can i move it to> > >the values are read and displayed.
> > >bye,
> > > shahzad.
> > >
> > >
> > >.
> > >
>
>
Robin Day Guest
-
Sam #3
Re: How to move between pages
I tried it. But the problem is, once the server event is done with, the
current response object is invalid
and even if I keep a reference to the page/object, in my thread,
IsClientConnected flag is false and hence
I am unable to use the Response object there. Is there some way for the
server side code to reload the
page?
Thanks in advance,
Udupa.
"Robin Day" <robin.day@advorto.com> wrote in message
news:O0saJ0yODHA.560@TK2MSFTNGP10.phx.gbl...and> Ideally, always keep a reference to the Page that you are using, then you
> can always access Page.Response etc.
> However, if this is not possible, you can obtain the Response object from
> the current context. This is also true for other objects such as Sessionplease> Application. Very useful when writing assemblies that have a sole use for
> within web applications.
>
> HttpResponse Response = HttpContext.Current.Response;
>
> You can then proceed to use Response as you would normally.
>
> Robin
>
> "Udupa" <udupa@email.com> wrote in message
> news:eXcfYAxODHA.2224@TK2MSFTNGP10.phx.gbl...> > Is it possible to refresh a page from within codebehind when Response
> > object is not available (say, from a user thread?). If so, can you>> > let me
> > know how this can be done, with some code?
> >
> > Thanks,
> > Udupa.
> >
> > "Leif" <l_falk1@hotmail.com> wrote in message
> > news:02f501c339af$e8ae8f80$a301280a@phx.gbl...> >> > > asp.net pages post back to themselves.
> > > you can use Response.Redirect(URL) in the code behind or
> > > scripting (whichever you're using). that will call a new
> > > aspx page.
> > >
> > > >-----Original Message-----
> > > >Hi all,
> > > >
> > > >I am new to ASP.NET and i had try some things but one
> > > thing that i can't
> > > >understand is how to move between two aspx pages.
> > > >for example i have one page with some text fields and
> > > submit button in a
> > > >form .
> > > >when i should press submit button it should move to next
> > > page and there the
> > > >values of text boxes are read.
> > > >but insted it remain in same page . how can i move it to
> > > second page where
> > > >the values are read and displayed.
> > > >bye,
> > > > shahzad.
> > > >
> > > >
> > > >.
> > > >
> >
> >
>
Sam Guest



Reply With Quote

