Urgent Help needed !! Website creation. ASP.net

Waffl3s

Well-Known Member
Joined
May 9, 2011
Messages
103
Reaction score
14
Need to create a new window for a website(using asp.net) and set the width for this new window.

Also I seem to be having a problem adding the backend code to the new windows, can anyone assist?
 
Yep, the site was created in Expressions Web 4 and is now in Visual Studio 2010 to add the code.
 
Geez, it sounds like you have never developed before; your question is vague.
 
Need to create a new window for a website(using asp.net) and set the width for this new window.

Also I seem to be having a problem adding the backend code to the new windows, can anyone assist?

You cannot open a new browser window with server side code, you have to use a client side script:

http://forums.asp.net/t/1161626.aspx

Same goes for sizing the window once it is opened.

Suggest you look into jQuery: http://jquery.com/ it is included by default in VS 2010.
 
This looks like pure client side. Would not matter if you are using ASP.NET or PHP or anything else for that matter.

However, once the "popup" does happen the page that gets served from there can be a .aspx file but that would still have nothing to do with the code that makes the popup.
 
New window?

I'm assuming you either mean a <div>,
or when you click a link, the page pops up in a new window?
 
Top
Sign up to the MyBroadband newsletter
X