Results 1 to 2 of 2

Thread: Target!!!!!!!!

  1. #1
    Join Date
    Dec 1969

    Default Target!!!!!!!!

    I have the code:<BR><BR>Sub DI_ValueCheck(ByVal sender As Object, ByVal e As EventArgs)<BR> Dim strValue As String<BR> strValue = ddlLoc.DataValueField<BR><BR> Dim Url As String<BR> Url = "CostAdd.aspx?"<BR> Url &= "strValue=" & strValue<BR> Response.Redirect(Url)<BR>End Sub<BR><BR>It works fine, but what do I write so that it will target a frame instead of opening a new page, Thank you for your time and help.

  2. #2
    Join Date
    Dec 1969
    Indianapolis, IN

    Default RE: Target!!!!!!!!

    I don&#039;t think you can do such a thing in server-side code. You may want to consider re-writing that sub as client-side (if possible). With client-side, this has worked for me. Suppose you have an existing frame with a name and id of "myframename". <BR><BR>Dim Url <BR>... (your code)<BR>window.frames.myframename.location.replac e(Url)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts