thanks .. but my link buttons r within gridview .. im binding my GV on run time pls go through my code..
The reason you might not think the posted solution will work is because link buttons are "smoke and mirrors". It's not a "normal" link. When your page is rendered, the link simply calls javascript when clicked, and that javascript submits the form. Making
the form submit to a new window will solve your issue. However you might have a problem if other controls on the page also submit (buttons etc) but you don't want those to open in a new window.
AidyF
Star
9204 Points
1570 Posts
Re: opening page in New Window
Apr 30, 2012 01:53 PM|LINK
The reason you might not think the posted solution will work is because link buttons are "smoke and mirrors". It's not a "normal" link. When your page is rendered, the link simply calls javascript when clicked, and that javascript submits the form. Making the form submit to a new window will solve your issue. However you might have a problem if other controls on the page also submit (buttons etc) but you don't want those to open in a new window.