Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Specify page for WebParts to load for

Reply
Thread Tools

Specify page for WebParts to load for

 
 
nothingsoriginalontheinternet@gmail.com
Guest
Posts: n/a
 
      09-29-2007
Hi. I'd like to set up a folder full of "imaginary" pages that users
can modify with WebParts. My plan was to do this in Global.asax:

Sub Application_BeginRequest(...)
If Request.Path.StartsWith("/whatever/") Then
Server.Transfer("/whatever/ImaginaryPage.aspx", True)
End If
End Sub

And then set up /whatever/ImaginaryPage.aspx with the usual
WebPartZones and such. I hoped that the WebPartManager or the Web
Parts related objects would allow me to choose the page for which the
data is loaded so that I can specify the imaginary page's name and it
would load for that rather than the same data for all of them as
ImaginaryPage.aspx. I researched that on MSDN and I can't find any way
to do it without extending a class or two relating to Web Parts
Personalization.

Anyone know of an easier way to do it?

-Mike Placentra II

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Javascript function upon Page Load from Page Load event handle Matcon ASP .Net 3 05-28-2008 05:15 PM
Can the Webparts Catalog be implemented on a separate page? Jude ASP .Net 0 10-20-2006 04:37 PM
ASP.NET Webparts application + Publish site = loose page content ryan.mclean@gmail.com ASP .Net 1 06-16-2006 09:12 PM
Page Load and webcontrol page load venky ASP .Net 5 07-11-2005 03:16 PM
Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page Larry Woods ASP General 16 07-11-2004 09:10 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57