Re: Include and Include File

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Thom Little" <thom@xxxxxxxxxx> wrote in
news:#6QQOT8DKHA.1540@xxxxxxxxxxxxxxxxxxxx:

I attempted to put together a simple example that would illustrate the
issue that I have. The need is to easily pass definition information
among levels of include files to minimize the amount of data that must
be transferred between machines.

My need is not to have every page of the website to have the identical
look-and-feel but rather to allow each page to have the ability to
have its look-and-feel customized. In my example loaded-a and
loaded-b would be entirely different presentations.

My need is the ability to substitute variables in the "called included
file" prior to its presentation to the browser.

My supposition (out of ignorance) is that the solution is somehow
associated with the use of .ascx files and user controls.

If you are changing actual pieces shown, as in user a gets a datagrid,
but user b just get's a list, you can control that in a variety of ways.

One example, is setting up login views and setting up views by roles.
User a is anonymous, so he gets nothing here, user b is administrator so
he sees the full grid, user c is regular user, so he just sees a list.

If you are talking user a likes pink and user b likes blue, or even user
a likes the calendar to show up, but user b does not, you can use
themes, if you can group the items, or even use a variation of the login
views by roles.

There is also Profiles, but the default Profile bits have never worked
for me. Fortunately, it is easy enough to create a custom provider.

If you wan the user to completely customize the UI, you can move to web
parts, where individual bits of functionality are contained in a web
part. You set up the default and then link the user's prefs back to
Profile.

The method you are attempting is very work intensive and hard to
maintain. It was necessary in classic ASP, as there was no other model.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
.



Relevant Pages

  • (Trying to debug) Laptop Latency issues off of domain network
    ... screen, login, and gneral while running application latencies. ... UserEnvDebugLevel log files are generated and the records sorted as per ... The GetProfileType function retrieves the type of profile loaded for the ... WMI includes an object repository, which is the database of object ...
    (microsoft.public.windowsxp.setup_deployment)
  • RE: getting Membership userid to use and store in a custom databas
    ... | when you update the Profile, the current user has actually login the web ... | Sub btnUpdatePreferences_Click(ByVal sender As Object, ... | In addition, to use CustomClass in Profile, we can just define a custom ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: getting Membership userid to use and store in a custom databas
    ... when you update the Profile, the current user has actually login the web ... the underlying persistent store. ... Then, we can access the custom class properties in Profile, just as other ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Roaming man profile, 2000 server and xp pro clients
    ... > driver that doesn't ready up or get an IP before the login screen appears. ... > network connection is active at the time, ... When cached credentials are disabled and a DC ... >> roaming profile. ...
    (microsoft.public.win2000.networking)
  • Re: Update
    ... their ntuser.dat, they could login, but got a default profile. ... Rebooted the server, and it's been fine since. ... I checked the UPHClean logs, ... On Monday, I had a user that tried to login, but couldn't. ...
    (microsoft.public.windows.terminal_services)