Ask a Question related to ASP.NET General, Design and Development.
-
michelle #1
Dynamic creation of web pages without .aspx files
I am experimenting with dynamically creating pages containing custom
controls in response to http requests caught by an http handler, in
place of writing and requesting aspx files. Specifically, I am doing
the following:
- mapping requests to an http handler
- instantiating a class hierarchy that, retrieves data, parses the URL
and performs some business processing
- instantiating the Page class and adding controls
- rendering the page object to an HtmlTextWriter object
- Response.Write the contents of the HtmlTextWriter back to the
browser
At no point am I using or creating an .aspx file.
The reason why I am investigating doing things this way is that we are
trying to build a very flexible, customisable user interface on top of
a multi-layered data-driven system.
I am successfully rendering controls in this way. However, even though
the web controls explicitly set
EnableViewState = true;
the _VIEWSTATE hidden field is not being rendered to the browser.
The questions I have are:
How can I ensure that the the viewstate field is rendered along with
the control? and,
Is what I am attempting to do possible?
Thanks in advance
michelle Guest
-
Disabling creation of new pages on user's PC
Hello everyone, By editing the various roles' settings, I've managed to restrict my users to creating new pages from only the list of pages I... -
dynamic xml creation
How can I make XML dynamically inside tha Flash using AS? Basicly i need to make structure like these one: <root> <item></item> ...... -
dynamic tag creation
Looking for a way to dynamically evaluate a tag from a string. eg: <cfset tmp = '<cfset myRslt = "Hello">'> <cfoutput> #tmp# </cfoutput> ... -
aspx pages not viewable
We have just purchased .net ent. edition for our company. I have installed .net on my desktop where I do the developing of our aspx, and vb.net... -
why doesn't this script creation, from .aspx.vb work, for this event handler???
where szStartDate, szEndDate, szStatus, szMsgType, szClient, szFilter are all strings declared and containing data as this code executes... '...



Reply With Quote

