logo       

Re: Customizing web page appearance: msg#00115

windows.devel.dotnet.web

Subject: Re: Customizing web page appearance

It does help, thank you. My thoughts were similar (user controls, maybe web
parts in 2.0).

-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-WEB@xxxxxxxxxxxxxxxxxxx] On Behalf Of Christopher Reed
Sent: Tuesday, June 21, 2005 13:19
To: DOTNET-WEB@xxxxxxxxxxxxxxxxxxx
Subject: Re: [DOTNET-WEB] Customizing web page appearance

Just because the cliff exists doesn't mean you have to jump off of it every
time.

You're asking about display flexibility. XSLT gives you that. CSS, through
maybe a little more difficult, can work using the various data server
controls that exist, the most flexible being the Repeater. Apart from this,
I would say that you have to build multiple composite controls and
dynamically present them based on your display need. While this is more
complex, it will reduce the amount of HTML that will be rendered.

You can also create a user control that consumes your XML/XSLT and then
place the user control on your ASPX page.

If this doesn't help, please elaborate your needs further.

Christopher Reed
Web Applications Supervisor
Information Technology
City of Lubbock
creed@xxxxxxxxxxxxxxxxxxxxx
"The oxen are slow, but the earth is patient."

>>> aivanoff@xxxxxxxxxxxxx 12:56:05 PM 6/21/2005 >>>
With XML+XSLT I you loose all the server controls/code-behind functionality.


-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-WEB@xxxxxxxxxxxxxxxxxxx] On Behalf Of Christopher Reed
Sent: Tuesday, June 21, 2005 12:25
To: DOTNET-WEB@xxxxxxxxxxxxxxxxxxx
Subject: Re: [DOTNET-WEB] Customizing web page appearance

For the sake of flexibility, XML + XSLT is a good way to go. You can also
look at the Repeater control using highly manipulative CSS files.

Christopher Reed
Web Applications Supervisor
Information Technology
City of Lubbock
creed@xxxxxxxxxxxxxxxxxxxxx
"The oxen are slow, but the earth is patient."

>>> aivanoff@xxxxxxxxxxxxx 11:40:14 AM 6/21/2005 >>>
Lets say I have a need to display some data in different ways (LastName,
FirstName vs FirstName, LastName etc). The way data is displayed is
customizable (layout, position, etc). In the old ASP days we used XML+XSLT
approach in this case. What is a .NET way of doing it?

Alex

===================================
This list is hosted by DevelopMentor. http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise