Search

You searched for the word(s): userid:806407

Matching Posts

  • Re: Can you open a new window from a post back?

    I found a way to do this using JavaScript. I've tested it with the ImageButton control using ASP.NET 2.0. The approach is to add an onClick attribute to the tag that changes the form's target to the new target: MyImageButton.Attributes.Add("onClick","this.form.target='" & Target & "'") where Target is the target you want (eg. "_self","_top","PrintPreview", etc.) I would think this would also work for Hyperlinks, etc
    Posted to FAQ - Frequently Asked Questions (Forum) by aiasso on 6/9/2008
    Filed under: asp.net 2.0 and Javascript
Page 1 of 1 (1 items)