Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to make a popup window or independent form in asp.net?

user-image
Question added by mahmoud Gamal , Solutions Manager , We - Telecom Egypt
Date Posted: 2013/07/18
Osama Gamal
by Osama Gamal , Software Consultant , Ministry of Interior

hyper link and set url and _blank property, java script window.open(url,'_blank') method

Deepak Mishra
by Deepak Mishra , Lead Developer , Chevron

button.attributes.add("onclick", window.open(url,"popup","width=x,height=y"); return false;"

Melroy Coelho
by Melroy Coelho , Principal Software Engineer , Epicor

You've got a lot of options. The classic form approach method lets you use the Ajax Control Toolkit from Microsoft that has a lot of useful AJAX .NET controls inside it. This approach works pretty well but in my experience lacks a lot of fine points that you'll discover the more you use it. An alternative approach is to touch on tool sets from companies like Telerik that offer some nifty AJAX .NET tools to do most of the work you are trying to accomplish. Their RadWindow and RadWindowManager might help you out with your issue if that is the approach you want to take. The downside here is that you are going to get cornered into redesigning approaches based on what the plugin manufacturer deems is the 'right' way to tackle a problem. It's just something to be weary of and if you are in the accessibility domain or wish to be there one day then I would stay clear of this approach. If you're still toying with the idea of complete control then I suggest doing some research on using Web/User Controls in .NET and then building the forms and using a modal even to let he window load. It seems a bit too trivial to implement but the best part of it all is that you get complete control on all the events of the window firing thus leaving room for testing, optimization and even the ability to change the behavior of what you expect at the end of the day. Some links that will help you with any of the above mentioned methods http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/ http://www.telerik.com/products/aspnet-ajax/controls.aspx

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.