Redirect in a another frame

J

Just D.

All,

How can we redirect to another frame from the C# code? I usually use
Response.Redirect("TargetPage.aspx") to redirect inside the current frame,
but I don't know really how can I change the frame and open a required page
in another frame to leave the active frame in its current condition and
continue working in the second frame? Is it possible at all from the C#
code? Or we need to write a JAVA script and call it from C# code?

Thanks.
Dmitri.
 
S

Steve C. Orr [MVP, MCSD]

This needs to be done with client side JavaScript.
You'll need to execute some code similar to this:

FrameName.document.location='whatever.aspx';
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top