Connecting Tech Pros Worldwide Help | Site Map

Why add new item template is showing blank?

Newbie
 
Join Date: Apr 2009
Posts: 21
#1: Sep 10 '09
I want to add new item by right clicking on folder,and add a web page.But add template is showing blank.(ie. nothing)
Newbie
 
Join Date: Apr 2009
Posts: 21
#2: Sep 10 '09

re: Why add new item template is showing blank?


I have created a web site.I am trying to add a web page but add new item is showing blank template.So I am adding other new web site.Now iam giving the physical path of the web page of second web site(that is present under website1) Code written in 1 website:server.transfer("<address of web page in second web site(that is uder 1 st web site)?>")

but it is showing error:child website's address is incorrect or give virtual path of child web site.Where to find virtual path of child web site.I searched inetpub.But did not get?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#3: Sep 10 '09

re: Why add new item template is showing blank?


You cannot use Server.Transfer to move between web pages that exist in different web applications or websites.

You will have to use Response.Redirect instead to move between these pages.

Are these pages supposed to be in different websites/web applications? Or are they supposed to be in the same website/web application?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#4: Sep 10 '09

re: Why add new item template is showing blank?


I don't understand what you've done.

Open your Solution Explorer, right click on the WebSite (or WebApplication) name at the very top of the listing in the Solution Explorer.....

Choose Add -> New Item

This will open the "Add New Item" dialogue box.

It will show you 2 panes a "Categories" pane and a "Templates" pane.

Click "Web" in the "Categories" pane.....the pick from the items listed in the "Templates" pane.
Newbie
 
Join Date: Apr 2009
Posts: 21
#5: Sep 14 '09

re: Why add new item template is showing blank?


Same web site.I have already mentioned it
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#6: Sep 14 '09

re: Why add new item template is showing blank?


I've merged your questions together into one thread since they are they same problem.

Please see my reply in post number 4.
Reply