Click here to Skip to main content
16,011,815 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow do I send an aspx file to a particular frame location Pin
Vernware7-Mar-07 9:37
Vernware7-Mar-07 9:37 
AnswerRe: How do I send an aspx file to a particular frame location Pin
Arindam Tewary7-Mar-07 22:45
professionalArindam Tewary7-Mar-07 22:45 
GeneralRe: How do I send an aspx file to a particular frame location Pin
Vernware9-Mar-07 2:54
Vernware9-Mar-07 2:54 
GeneralRe: How do I send an aspx file to a particular frame location Pin
Vernware9-Mar-07 10:44
Vernware9-Mar-07 10:44 
QuestionDatabase Pin
Tyrone_whitey7-Mar-07 9:30
Tyrone_whitey7-Mar-07 9:30 
AnswerRe: Database Pin
Naveed Kamboh8-Mar-07 0:35
Naveed Kamboh8-Mar-07 0:35 
QuestionOpening a new Window when Log In/Sign In is success Pin
blitz2bleach7-Mar-07 9:18
blitz2bleach7-Mar-07 9:18 
QuestionPages created from data Pin
grantg7-Mar-07 9:07
grantg7-Mar-07 9:07 
Confused | :confused: This has to be a problem that's been solved a million times.

I need my website to create pages on the fly from a database.

Because I want Google to like my site, I don't want to use arguments: www.sitename.com\thePage.aspx?Arg1&arg2

So if you will imagine that I have a link to a page that looks like: www.sitename.com\page_arg1_arg2.aspx...

That page doesn't exist, but it looks like a real page to the search engines.

The two options that I've tried are:

1. Use 404 error trapping - but I get the error message in the browser which is ugly and probably disdained by Google. Perhaps there is a combination of transferring and setting environment settings that would make this work.

2. Use virtualPathProvider, and virtualFile. I like this solution, but I can't get it to work. Specifically, the virtualfile.getfile function is never accessed for the aspx. It is only accessed after an aspx file is interpreted (say for a jpg). Apparently the 404 error supercedes this call.

To complicate this further, I'd like to use an existing page, but pass it arguments. I'm supposing that I would have a line of code like this:

new LikeThisPage(arg1,arg2)  ' from arg1_arg2.aspx<br />


then somehow used an htmltextwriter to render it to a stream?

Any ideas?

Thanks,
Grant

Everyone else's job looks easy

Everyone else's job looks easy

AnswerRe: Pages created from data Pin
Sam Heller7-Mar-07 13:00
Sam Heller7-Mar-07 13:00 
QuestionExport asp.net page to Word with Image Pin
BAO THANH7-Mar-07 5:58
BAO THANH7-Mar-07 5:58 
QuestionGrouping ASP.NET controls together Pin
mail5723527-Mar-07 5:40
mail5723527-Mar-07 5:40 
AnswerRe: Grouping ASP.NET controls together Pin
kubben7-Mar-07 6:42
kubben7-Mar-07 6:42 
AnswerRe: Grouping ASP.NET controls together Pin
Jon Sagara7-Mar-07 11:43
Jon Sagara7-Mar-07 11:43 
Questionwindow opening Pin
netJP12L7-Mar-07 5:39
netJP12L7-Mar-07 5:39 
AnswerRe: window opening Pin
Carmine_XX7-Mar-07 9:32
Carmine_XX7-Mar-07 9:32 
QuestionPing in C# Pin
Marwa Bahaa7-Mar-07 5:34
Marwa Bahaa7-Mar-07 5:34 
AnswerRe: Ping in C# Pin
Vasudevan Deepak Kumar7-Mar-07 6:13
Vasudevan Deepak Kumar7-Mar-07 6:13 
QuestionMaster and Page Requests ! Pin
Jagga_Jatt7-Mar-07 4:04
Jagga_Jatt7-Mar-07 4:04 
AnswerRe: Master and Page Requests ! Pin
badgrs7-Mar-07 4:50
badgrs7-Mar-07 4:50 
GeneralRe: Master and Page Requests ! Pin
Jagga_Jatt8-Mar-07 16:57
Jagga_Jatt8-Mar-07 16:57 
Questionasp:Table and InnerHtml Pin
Leo Smith7-Mar-07 3:30
Leo Smith7-Mar-07 3:30 
QuestionImage Caching problem Pin
dasumohan7-Mar-07 3:21
dasumohan7-Mar-07 3:21 
QuestionInclude Aps.net USercotnrol in XSLT File Pin
GaryWoodfine 7-Mar-07 2:58
professionalGaryWoodfine 7-Mar-07 2:58 
Questiongenerate encrypted key Pin
monuSaini7-Mar-07 2:27
monuSaini7-Mar-07 2:27 
AnswerRe: generate encrypted key Pin
Not Active7-Mar-07 3:39
mentorNot Active7-Mar-07 3:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.