asp.net open new page without popup blocker

Hello,
I am trying to open a new page(on a new window) on button click from client site using
ScriptManager.RegisterStartupScript(m_Page, m_Page.GetType(), "JSScript", window.open("url"), True)

Open in new window

.
I am getting a popup blocker on the browser .
is there a way to avoid this popup?
ProgrammerAtAIMSAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chinmay PatelChief Technical NinjaCommented:
Hi ProgrammerAtAIMS,

I do not think there is a way you can do it unless our site is in the exception list on client side.
People do use certain tricks to bypass popups but those tricks are patched sooner than later. I suggest you do not try going in that direction.

Regards,
Chinmay.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ProgrammerAtAIMSAuthor Commented:
Hi Chinmay Patel,
Thank you for your reply.
Can you propose something else if i need to open a new web page in my web application? because clients did not like the fact that they are getting a popup.
I have a menu screen from where I choose to go to an option. this option must open in another tab or window.

(I know that if i write javascript function directly on "onclick" event it will not popup but i need to do it from code behind since I have lot of validation to do)
thank you in advance.
0
Chinmay PatelChief Technical NinjaCommented:
Hi ProgrammerAtAIMS,

I am not sure exactly what you are trying to do with this popup but how about using AJAX and loading that page/content in a Blocking Layer(Div) in the same page?

Regards,
Chinmay.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

ProgrammerAtAIMSAuthor Commented:
Hi Chinmay,
I need to keep the  menu screen  open so the user can open multiple option at the same. I can not block the interface.
0
Chinmay PatelChief Technical NinjaCommented:
Hi ProgrammerAtAIMS,

In that case do not make your divs blocking, just let them render on your page side by side.
PS : In my opinion, this is a bad UX. Users have to be educated on the same.

Regards,
Chinmay.
0
ProgrammerAtAIMSAuthor Commented:
Sorry Chinmay but I did not get your idea about
In that case do not make your divs blocking, just let them render on your page side by side.
what do you mean by this? Can you give me an example of this? (I am a bit new to asp.net world).
And why it is a bad UX? If I have a page where user can create or add a new customer and on another page he can make an invoice for him and in another I can add items and..... I need this multiple window here no?
If I put  all these on the same screen my page size would be large and it will cause performance issue no?
0
Chinmay PatelChief Technical NinjaCommented:
Hi ProgrammerAtAIMS,

If you read my comment, I am actually in favor of opening new pages as per the function but as you said your end users are not happy with that I have suggested opening these screens on the same page in a div.

I am not asking to merge all these pages, rather I am saying you load these pages in Iframes in a Div that is embedded in your page using lazy loading technique.

Ideally separate windows should be used unless there is a demand to meet end user requirements.

Regards,
Chinmay.
0
ProgrammerAtAIMSAuthor Commented:
Thank you for your time Chinmay I will try your suggestion and will ask if I face problem.

Regards,
ProgrammerAtAIMS
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.