Author: alex.basarab | Posted on: 3/9/2009 12:06:24 AM | Views : 280

 Hello all,

 I want to rewrite a part of a URL, I have some problems doing this.

I'm using VWD 2008 EE in C# and I have write the following code.

This string gives me the part that will change.


        DateTime tDate = DateTime.Today;
        string DT = string.Format("{0:yyMM}", tDate).ToString();

 In this JavaScript I need to modify (The part that need to be updated) with the DT string.


        string popupScript = "<script language='javascript'>"
            + "window.open('First part of the URL The part that need to be updated Second part of the URL', 'popup.aspx?', "
            ...

Go to the complete details ...