response.redirect
-
I am working in c#. Here is what I am trying to do. I have 3 frames. In frame 1 I read values from a dopdownlist and get the approriate records. I then want to present this information in Frame 3. Now frame 3 is also used to present some very general information as well. In fact Frame 3 may be used to present various bits of information through out the project, thus the contents of frame 3 may be derived from several or more aspx pages. What I think I need to do is set up aspx (or maybe html) pages that are the same size as frame 3 then SOMEHOW get the program to tell the ASP code to present the html page I point to in my code-behind source which will then be presented in frame 3. How do I go about doing this? Thanks
-
I am working in c#. Here is what I am trying to do. I have 3 frames. In frame 1 I read values from a dopdownlist and get the approriate records. I then want to present this information in Frame 3. Now frame 3 is also used to present some very general information as well. In fact Frame 3 may be used to present various bits of information through out the project, thus the contents of frame 3 may be derived from several or more aspx pages. What I think I need to do is set up aspx (or maybe html) pages that are the same size as frame 3 then SOMEHOW get the program to tell the ASP code to present the html page I point to in my code-behind source which will then be presented in frame 3. How do I go about doing this? Thanks
Hi there. Here's an approach you can try. Upon a postback in frame 1, you can retrieve the selected value server-side, then in the same server-side event handler, register some javascript code (using Page.RegisterClientScriptBlock[^] that would change the
href
for frame 3 to the .aspx page you want. The actual line of javascript would look something like this:parent.frame3.location="url.aspx";
-
I am working in c#. Here is what I am trying to do. I have 3 frames. In frame 1 I read values from a dopdownlist and get the approriate records. I then want to present this information in Frame 3. Now frame 3 is also used to present some very general information as well. In fact Frame 3 may be used to present various bits of information through out the project, thus the contents of frame 3 may be derived from several or more aspx pages. What I think I need to do is set up aspx (or maybe html) pages that are the same size as frame 3 then SOMEHOW get the program to tell the ASP code to present the html page I point to in my code-behind source which will then be presented in frame 3. How do I go about doing this? Thanks
Here's maybe another approach -- http://www.codeproject.com/script/comments/forums.asp?msg=1074708&forumid=12076&Page=2&userid=102321&mode=all#xx1074708xx[^]