CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 10/10/2006 11:21:09 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 47 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
JRoppert
Asp.Net User
Deliver dynamic Content Pages using IHttpHandlerFactory10/10/2006 11:21:09 PM

0/0

I would like to create dynamic content pages in a HttpHandlerFactory while leaving the master pages completely to be defined in web designer (xyz.master / xyz.master.cs / xyz.master.designer.cs). Dynamic means that i want to create the content pages completely in code rather than filling some content into pre-defined (design mode) content pages. The problem is the use of the content object. It's not possible to set the ContentPlaceholderId at runtime. My ideo was to do something like that:

public IHttpHandler GetHandler(HttpContext context, string requestType, String url, String pathTranslated)
{
  // === Create the content page and set the master ===
  Page handler = new Page();
  handler.MasterPageFile = "Default.Master";

  // === Create the content container for placeholder 'ContentPlaceHolder1'
  Content content1 = new Content();
  content1.ContentPlaceHolderID = "ContentPlaceHolder1";

  // === Create any control to be placed in ContentPlaceHolder1 finally ===
  Button b1 = new Button();
  b1.Text = "I'm a button";

  // === Do the plumbing ===
  content1.Controls.Add(b1);
  handler.Controls.Add(content1);

  return (IHttpHandler)handler;
}

Any Ideas how to get this running?

Best Regards,

Joachim


Javier Luna
Asp.Net User
Re: Deliver dynamic Content Pages using IHttpHandlerFactory10/11/2006 3:13:58 PM

0/0

Hi Roppert,

This is very curious issue. I will develope something code for you in free time.

Good Coding!

Javier Luna
http://guydotnetxmlwebservices.blogspot.com/


from Villa El Salvador for world!
jrummell
Asp.Net User
Re: Deliver dynamic Content Pages using IHttpHandlerFactory2/6/2007 9:22:49 PM

0/0

Any progress on this?

John Rummell
Afriklink
Asp.Net User
Re: Deliver dynamic Content Pages using IHttpHandlerFactory1/16/2008 2:12:44 AM

0/0

Hello

did u find any answer to ur question.

I am in nthe same exact situation

thanks

jrummell
Asp.Net User
Re: Deliver dynamic Content Pages using IHttpHandlerFactory1/16/2008 2:23:14 AM

0/0

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Server-side code generation from a dynamic web page content file ... Jan 24, 2006 ... 6622168, Dynamic page generation acceleration using .... rendering the dynamic web page content into a web page response for delivery to the ...... e.g., an IHTTPHandlerFactory class ultimately responsible for creating ...
MSDN Flash TheBetaExperience Get the latest beta versions for free ... Rewriting the URL using IHttpHandlerFactory ... URL and execute an entirely different page instead of using RewritePath. ... In this session, we’ll look at the programming enhancements in SQL Server 2005 that deliver new levels of .... Download the tool for building dynamic Web sites and high-performance Web ...
Safari Books Online - 073561900X - Microsoft® ASP.NET Coding ... Login, Subscribe or Register For a Free Trial to access full content of this book. ... NET IHttpHandlerFactory object ultimately delegates execution to a Page class. ... We'll be using them in examples throughout the book, beginning here. ... SOM enables us to deliver related sections with higher quality results ...
May 2006 - Posts - Karl Seguin Instead, it implements IHttpHandlerFactory. IHttpHandlerFactory defines a method ... Page class (yes, the same one that all your pages inherit from), ... Another common example you’ll run across is using HttpHandlers to generate RSS feeds. .... Despite the fact that server side programming exists to deliver dynamic ...
Microsoft Belgique & Luxembourg - MSDN - Archived news The My Web Pages Starter Kit is a dynamic content management system (CMS). ... As a result, designers can deliver Microsoft Visual Studio-compatible projects to developers, ...... Rewriting the URL using IHttpHandlerFactory ...
*EP001156429A2* Server-side code generation from a dynamic web page content file ...... for specifying server-side control objects within a page, using the following format : .... e.g., an IHTTPHandlerFactory class ultimately responsible for ..... [0086 ] Operation 804 also must determine the proper syntax to deliver to the writer ...
Url rewriting .Pdf Ebook Download Looking for : url rewriting. URL Rewriting using IHttpHandlerFactory ... Tracking the Changes of Dynamic Web Pages in the Existence of URL ... A Complete URL Rewriting Solution for ... Content Delivery(Distribution) Network Introduction ...
.NET ASP Page 91 - Bytes Site Map NET tab on virtual directory's properties · How can I deliver images to the client from a web .... HttpModule read Response without using Response. ... Unable to map the debug start page URL to a machine name ... Do i loose the power of asp.net if i use a custom extension (not .aspx) with IHttpHandlerFactory ...
CodeProject: ASP.NET. Free source code and programming help An IHttpHandler/IHttpHandlerFactory to map requests ...... Write - Changing Dynamic Contents without Corruption - Unedited Updated: 15 May 2008. Changing HTML content of an ASP.Net page using new technique that handle Response. ..... Combine Multiple Files, Cache and Deliver Compressed Output for Faster Page Load ...
Developer guide for Lokad Desktop Sales Forecasting - Lokad Table of Contents [Hide/Show]. Developer guide for Lokad Sales ... MsBuild Community Tasks that we are using to perform custom build .... The worker argument is a bit more tricky, but very useful in order to deliver a slight user experience. ... HttpHandler & dynamic pages. PageFactory.cs is the IHttpHandlerFactory ...




Search This Site:










contentplaceholder rendering spans?!

themes not working in redirectfromlogin page

no build provider for .skin

theme not working on gridview

i have problem with master page

can menu control be animated?

override masterpage

menu setup in a masterpage

accessing master page properties from a web form

data driven hierarchical menu

css and master pages - help!

treeview expanding problem

form tags in a content section

image aliasing with bitmap.save(response.outputstream, imageformat.jpeg)

display web page within iframes in child page contentplaceholder.

master pages and frames....

can't get all the menu to show up using sqlsitemapprovider

external link loaded in content placeholder?

css in content pages

masterpage with contentpages in different folders

treeview selectednodechanged event

tree view control with drag n drop using an object.

facing problem with tree view control after deploying the asp.net app in other machine.

unexpected end of file looking for </iframe> tag

menuitemclick event not firing

cannot load theme when try to call javascript in server side

redirect atomz search result to a page based on a master page

cannot access a custom page/masterpage type from a class file inside app_code

menu and background-image using theme

how can i make a web page/document show up in a panel?

  Privacy | Contact Us
All Times Are GMT