Saturday, March 31, 2012
Themes/skins with multiple browsers
We're developing an application that should render well on both IE and
Firefox and should be based on Themes. Does anyone have any good tips on how
to maintain different CSS-files for different browsers and still use themes?
How/where do you select the CSS to use as this is autogenerated?
Thanks,
MansoOn Wed, 29 Mar 2006 08:45:02 -0800, Manso wrote:
> Does anyone have any good tips on how to maintain different CSS-files
> for different browsers and still use themes?
Yes, don't do it. There is (almost) no reason to maintain different CSS
files for different browsers. The one real exception here is NN4, but
using the @.import hack is common practice.
Unless you have a very complex design, you can design a site with only
minimal hacks to work on multiple browsers. You should just stay away from
features that are problematic.
It's very difficult to accurately sniff which browser is which, and serve
the correct CSS. You can't rely on browser agent strings, because many
people have their non-IE browsers configured to report that they are IE.
Themes/skins with multiple browsers
We're developing an application that should render well on both IE and
Firefox and should be based on Themes. Does anyone have any good tips on how
to maintain different CSS-files for different browsers and still use themes?
How/where do you select the CSS to use as this is autogenerated?
Thanks,
MansoOn Wed, 29 Mar 2006 08:45:02 -0800, Manso wrote:
> Does anyone have any good tips on how to maintain different CSS-files
> for different browsers and still use themes?
Yes, don't do it. There is (almost) no reason to maintain different CSS
files for different browsers. The one real exception here is NN4, but
using the @.import hack is common practice.
Unless you have a very complex design, you can design a site with only
minimal hacks to work on multiple browsers. You should just stay away from
features that are problematic.
It's very difficult to accurately sniff which browser is which, and serve
the correct CSS. You can't rely on browser agent strings, because many
people have their non-IE browsers configured to report that they are IE.
Wednesday, March 28, 2012
Third-Part Cookies blocked by IE
we are developing a webapplication which let user create their own
virtual website on their real domain.
in other word, users could create their virtual web-sites by this
application and app will recognize each website
by its domain.
we needed a passport system (like .Net Passport) to identify users in
all of these virtual web-sites (& various domains)
we build this system upon third-party cookies by making request from
each site to passportserver using import script tags.
now the problem is : IE 6.0, 7.0 won't let the web-applciation to
create thirdparty cookies by default and users have to add passport
server domain to TrustedZone,i heared that p3p could solve this
problem but id don't know how !? should we register our domains in
some database ? is it free ?
Thanks in advanceHi,
We only have this problem with IIS 6.0.
We configure the p3p.xml and the p3pconfig.xml correctly in the root
domain of our server.
We configured the P3P in the application begin request in
global.asax :
Context.Response.AddHeader("P3P", @."CP=""CAO PSA OUR""");
But the problem persist we have no solution, please tell me if you
find one.
Thanks,
Johnny
On 2 fv, 19:52, "Khafancoder" <khafanco...@.gmail.comwrote:
Quote:
Originally Posted by
Hi guys,
>
we are developing a webapplication which let user create their own
virtual website on their real domain.
in other word, users could create their virtual web-sites by this
application and app will recognize each website
by its domain.
>
we needed a passport system (like .Net Passport) to identify users in
all of these virtual web-sites (& various domains)
we build this system upon third-party cookies by making request from
each site to passportserver using import script tags.
>
now the problem is : IE 6.0, 7.0 won't let the web-applciation to
create thirdparty cookies by default and users have to add passport
server domain to TrustedZone,i heared that p3p could solve this
problem but id don't know how !? should we register our domains in
some database ? is it free ?
>
Thanks in advance
Hi Everybody,
The HTTP HEADERS were remove by IIS 6.0.
To solve the problem go to :
1) Properties on the web root
2) Click HTTP HEADERS tab
3) Custom Headers panel
4) Click Add...
Key : P3P
Value : CP="CAO PSA OUR"
Hope that will help some one.
Johnny
On 26 mar, 16:45, "JohnnyKnoblauch" <jknobla...@.ttinteractive.com>
wrote:
Quote:
Originally Posted by
Hi,
>
We only have this problem with IIS 6.0.
>
We configure the p3p.xml and the p3pconfig.xml correctly in the root
domain of our server.
We configured the P3P in the application begin request in
global.asax :
Context.Response.AddHeader("P3P", @."CP=""CAO PSA OUR""");
>
But the problem persist we have no solution, please tell me if you
find one.
>
Thanks,
Johnny
>
On 2 fv, 19:52, "Khafancoder" <khafanco...@.gmail.comwrote:
>
>
>
Quote:
Originally Posted by
Hi guys,
>
Quote:
Originally Posted by
we are developing a webapplication which let user create their own
virtual website on their real domain.
in other word, users could create their virtual web-sites by this
application and app will recognize each website
by its domain.
>
Quote:
Originally Posted by
we needed a passport system (like .Net Passport) to identify users in
all of these virtual web-sites (& various domains)
we build this system upon third-party cookies by making request from
each site to passportserver using import script tags.
>
Quote:
Originally Posted by
now the problem is : IE 6.0, 7.0 won't let the web-applciation to
create thirdparty cookies by default and users have to add passport
server domain to TrustedZone,i heared that p3p could solve this
problem but id don't know how !? should we register our domains in
some database ? is it free ?
>
Quote:
Originally Posted by
Thanks in advance- Masquer le texte des messages prcdents -
>
- Afficher le texte des messages prcdents -
Better, just look at this url : http://support.microsoft.com/kb/324013/en-us
On 27 mar, 15:38, "JohnnyKnoblauch" <jknobla...@.ttinteractive.com>
wrote:
Quote:
Originally Posted by
Hi Everybody,
>
The HTTP HEADERS were remove by IIS 6.0.
>
To solve the problem go to :
1) Properties on the web root
2) Click HTTP HEADERS tab
3) Custom Headers panel
4) Click Add...
Key : P3P
Value : CP="CAO PSA OUR"
>
Hope that will help some one.
Johnny
>
On 26 mar, 16:45, "JohnnyKnoblauch" <jknobla...@.ttinteractive.com>
wrote:
>
>
>
Quote:
Originally Posted by
Hi,
>
Quote:
Originally Posted by
We only have this problem with IIS 6.0.
>
Quote:
Originally Posted by
We configure the p3p.xml and the p3pconfig.xml correctly in the root
domain of our server.
We configured the P3P in the application begin request in
global.asax :
Context.Response.AddHeader("P3P", @."CP=""CAO PSA OUR""");
>
Quote:
Originally Posted by
But the problem persist we have no solution, please tell me if you
find one.
>
Quote:
Originally Posted by
Thanks,
Johnny
>
Quote:
Originally Posted by
On 2 fv, 19:52, "Khafancoder" <khafanco...@.gmail.comwrote:
>
Quote:
Originally Posted by
Quote:
Originally Posted by
Hi guys,
>
Quote:
Originally Posted by
Quote:
Originally Posted by
we are developing a webapplication which let user create their own
virtual website on their real domain.
in other word, users could create their virtual web-sites by this
application and app will recognize each website
by its domain.
>
Quote:
Originally Posted by
Quote:
Originally Posted by
we needed a passport system (like .Net Passport) to identify users in
all of these virtual web-sites (& various domains)
we build this system upon third-party cookies by making request from
each site to passportserver using import script tags.
>
Quote:
Originally Posted by
Quote:
Originally Posted by
now the problem is : IE 6.0, 7.0 won't let the web-applciation to
create thirdparty cookies by default and users have to add passport
server domain to TrustedZone,i heared that p3p could solve this
problem but id don't know how !? should we register our domains in
some database ? is it free ?
>
Quote:
Originally Posted by
Quote:
Originally Posted by
Thanks in advance- Masquer le texte des messages prcdents -
>
Quote:
Originally Posted by
- Afficher le texte des messages prcdents -- Masquer le texte desmessages prcdents -
>
- Afficher le texte des messages prcdents -
Well, I am doing it same way you did on my site
Response.AddHeader("P3P", @."CP=\"CAO PSA OUR\"");
And nothing gets removed by IIS. I have IIS 6.0 on Win2003
I was a bit confused when you said it's not working but had no idea why. You
can download tool called fiddler (www.fiddlertool.com/ )
This is Microsoft tool to spy on browser requests and watch what is actually
your server sends to browser (or vise versa)
George
"JohnnyKnoblauch" <jknoblauch@.ttinteractive.comwrote in message
news:1175002706.897361.89220@.b75g2000hsg.googlegro ups.com...
Hi Everybody,
The HTTP HEADERS were remove by IIS 6.0.
To solve the problem go to :
1) Properties on the web root
2) Click HTTP HEADERS tab
3) Custom Headers panel
4) Click Add...
Key : P3P
Value : CP="CAO PSA OUR"
Hope that will help some one.
Johnny
On 26 mar, 16:45, "JohnnyKnoblauch" <jknobla...@.ttinteractive.com>
wrote:
Quote:
Originally Posted by
Hi,
>
We only have this problem with IIS 6.0.
>
We configure the p3p.xml and the p3pconfig.xml correctly in the root
domain of our server.
We configured the P3P in the application begin request in
global.asax :
Context.Response.AddHeader("P3P", @."CP=""CAO PSA OUR""");
>
But the problem persist we have no solution, please tell me if you
find one.
>
Thanks,
Johnny
>
On 2 fv, 19:52, "Khafancoder" <khafanco...@.gmail.comwrote:
>
>
>
Quote:
Originally Posted by
Hi guys,
>
Quote:
Originally Posted by
we are developing a webapplication which let user create their own
virtual website on their real domain.
in other word, users could create their virtual web-sites by this
application and app will recognize each website
by its domain.
>
Quote:
Originally Posted by
we needed a passport system (like .Net Passport) to identify users in
all of these virtual web-sites (& various domains)
we build this system upon third-party cookies by making request from
each site to passportserver using import script tags.
>
Quote:
Originally Posted by
now the problem is : IE 6.0, 7.0 won't let the web-applciation to
create thirdparty cookies by default and users have to add passport
server domain to TrustedZone,i heared that p3p could solve this
problem but id don't know how !? should we register our domains in
some database ? is it free ?
>
Quote:
Originally Posted by
Thanks in advance- Masquer le texte des messages prcdents -
>
- Afficher le texte des messages prcdents -
Third-Part Cookies blocked by IE
we are developing a webapplication which let user create their own
virtual website on their real domain.
in other word, users could create their virtual web-sites by this
application and app will recognize each website
by its domain.
we needed a passport system (like .Net Passport) to identify users in
all of these virtual web-sites (& various domains)
we build this system upon third-party cookies by making request from
each site to passportserver using import script tags.
now the problem is : IE 6.0, 7.0 won't let the web-applciation to
create thirdparty cookies by default and users have to add passport
server domain to TrustedZone,i heared that p3p could solve this
problem but id don't know how !? should we register our domains in
some database ? is it free ?
Thanks in advanceHi,
We only have this problem with IIS 6.0.
We configure the p3p.xml and the p3pconfig.xml correctly in the root
domain of our server.
We configured the P3P in the application begin request in
global.asax :
Context.Response.AddHeader("P3P", @."CP=3D""CAO PSA OUR""");
But the problem persist we have no solution, please tell me if you
find one.
Thanks,
Johnny
On 2 f=E9v, 19:52, "Khafancoder" <khafanco...@.gmail.com> wrote:
> Hi guys,
> we are developing a webapplication which let user create their own
> virtual website on their real domain.
> in other word, users could create their virtual web-sites by this
> application and app will recognize each website
> by its domain.
> we needed a passport system (like .Net Passport) to identify users in
> all of these virtual web-sites (& various domains)
> we build this system upon third-party cookies by making request from
> each site to passportserver using import script tags.
> now the problem is : IE 6.0, 7.0 won't let the web-applciation to
> create thirdparty cookies by default and users have to add passport
> server domain to TrustedZone,i heared that p3p could solve this
> problem but id don't know how !? should we register our domains in
> some database ? is it free ?
> Thanks in advance
Hi Everybody,
The HTTP HEADERS were remove by IIS 6.0.
To solve the problem go to :
1) Properties on the web root
2) Click HTTP HEADERS tab
3) Custom Headers panel
4) Click Add...
Key : P3P
Value : CP=3D"CAO PSA OUR"
Hope that will help some one.
Johnny
On 26 mar, 16:45, "JohnnyKnoblauch" <jknobla...@.ttinteractive.com>
wrote:
> Hi,
> We only have this problem with IIS 6.0.
> We configure the p3p.xml and the p3pconfig.xml correctly in the root
> domain of our server.
> We configured the P3P in the application begin request in
> global.asax :
> Context.Response.AddHeader("P3P", @."CP=3D""CAO PSA OUR""");
> But the problem persist we have no solution, please tell me if you
> find one.
> Thanks,
> Johnny
> On 2 f=E9v, 19:52, "Khafancoder" <khafanco...@.gmail.com> wrote:
>
>
>
>
>
>
> - Afficher le texte des messages pr=E9c=E9dents -
Better, just look at this url : http://support.microsoft.com/kb/324013/en-us
On 27 mar, 15:38, "JohnnyKnoblauch" <jknobla...@.ttinteractive.com>
wrote:
> Hi Everybody,
> The HTTP HEADERS were remove by IIS 6.0.
> To solve the problem go to :
> 1) Properties on the web root
> 2) Click HTTP HEADERS tab
> 3) Custom Headers panel
> 4) Click Add...
> Key : P3P
> Value : CP=3D"CAO PSA OUR"
> Hope that will help some one.
> Johnny
> On 26 mar, 16:45, "JohnnyKnoblauch" <jknobla...@.ttinteractive.com>
> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
messages pr=E9c=E9dents -
> - Afficher le texte des messages pr=E9c=E9dents -
Well, I am doing it same way you did on my site
Response.AddHeader("P3P", @."CP=\"CAO PSA OUR\"");
And nothing gets removed by IIS. I have IIS 6.0 on Win2003
I was a bit
can download tool called fiddler (www.fiddlertool.com/ )
This is Microsoft tool to spy on browser requests and watch what is actually
your server sends to browser (or vise versa)
George
"JohnnyKnoblauch" <jknoblauch@.ttinteractive.com> wrote in message
news:1175002706.897361.89220@.b75g2000hsg.googlegroups.com...
Hi Everybody,
The HTTP HEADERS were remove by IIS 6.0.
To solve the problem go to :
1) Properties on the web root
2) Click HTTP HEADERS tab
3) Custom Headers panel
4) Click Add...
Key : P3P
Value : CP="CAO PSA OUR"
Hope that will help some one.
Johnny
On 26 mar, 16:45, "JohnnyKnoblauch" <jknobla...@.ttinteractive.com>
wrote:
> Hi,
> We only have this problem with IIS 6.0.
> We configure the p3p.xml and the p3pconfig.xml correctly in the root
> domain of our server.
> We configured the P3P in the application begin request in
> global.asax :
> Context.Response.AddHeader("P3P", @."CP=""CAO PSA OUR""");
> But the problem persist we have no solution, please tell me if you
> find one.
> Thanks,
> Johnny
> On 2 fv, 19:52, "Khafancoder" <khafanco...@.gmail.com> wrote:
>
>
>
>
>
>
> - Afficher le texte des messages prcdents -
Saturday, March 24, 2012
This Object in Javascript Causes Error
I'm developing an website using ASP .NET. I have developed a menu
structure based on JavaScript. This JavaScript file is called by an
UserControl to generate the menus.
It works fine for the WebPage that lies in the same folder. But when i
use the same control in another page (another directory) it's not
working property. It shows an error "Object Required".
The statement is as given below,
this.css= "/scripts/intranet.css"
Also I'm not able to access the document object from Javascript.
TIAI think the problem is with the following statement,
this.css=
bw.dom?document.getElementById(obj).style:bw.ie4?d ocument.all[obj].style:bw.ns4?eval(nest+"document.layers."
+obj):0;
This statement set css value based on the Browser type. Is there any
problem in declaration?
This Object in Javascript Causes Error
I'm developing an website using ASP .NET. I have developed a menu
structure based on JavaScript. This JavaScript file is called by an
UserControl to generate the menus.
It works fine for the WebPage that lies in the same folder. But when i
use the same control in another page (another directory) it's not
working property. It shows an error "Object Required".
The statement is as given below,
this.css= "/scripts/intranet.css"
Also I'm not able to access the document object from Javascript.
TIAI think the problem is with the following statement,
this.css=
bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?e
val(nest+"document.layers."
+obj):0;
This statement set css value based on the Browser type. Is there any
problem in declaration?
this.Controls.Add()
added to a parent aspx container using the instruction
this.Controls.Add( myControl ). The parent application
creates an html table dynamically, and for each table row,
adds upwards of seven custom controls per row, which are
initially hidden. Custom controls are displayed based on
buttons the user clicks on a given row. When the
application processes renders table rows in an amount
greater than thirty, the application takes over 30 seconds
to render the entire page. We have used .NET profiler and
have determined the instruction this.Controls.Add(
myCustomControl ) is where execution time is being
consumed. My custom controls are simply c-sharp classes
with a Page_Load handler. These custom classes in turn
render a series of web-based .NET controls.
Why is the instruction this.Controls.Add() performing
slow? I have 1 gig of memory on my workstation.
SteveHi Steve,
Did this problem occur with a particualr custom control? For example, when
you add it with this.Controls.Add, it run slowly? If you add 30 same custom
controls, will this problem also occur?
Luke
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Hi Luke,
Nope. The problem is apparent with all custom controls
added I've implemented. There are three main
this.Controls.Add( myControl ) calls in the top level
page_load. These calls are executed for each table row
rendered. There are thirty table rows in all. Each of the
custom controls added, may in turn nest other custom
controls which are added using this.Controls.Add(
myControl2 ). The .Net profiler has determined that these
calls are suspect and responsible for most of the
execution time. Ultimately the custom controls are
rendering a series of web controls. Now all of the custom
controls have a page_load event which gets called when the
control is added (i.e this.Controls.Add() ). Can I send
you an attachment of a sample custom control? How would I
direct an e-mail of this type using the web-client.
Steve Gagliardo
>--Original Message--
>Hi Steve,
>Did this problem occur with a particualr custom control?
For example, when
>you add it with this.Controls.Add, it run slowly? If you
add 30 same custom
>controls, will this problem also occur?
>Luke
>Microsoft Online Support
>Get Secure! www.microsoft.com/security
>(This posting is provided "AS IS", with no warranties,
and confers no
>rights.)
>.
Hi Steve,
With web-client, it is not be able to attach such a big project. To protect
your private code, I recommend you may submit a technial support incodent
for this issue. I think we need to analyst the source code of your custom
web control to find the problem. With a support incodent, this issue may be
resoved in a timely way. For detail, you may browse to:
support.microsoft.com.
Luke
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Tuesday, March 13, 2012
Thread was being aborted
"Thread was being aborted"
any body know how can i know what the problem is.
Best regards.
WafiNETAre you using Try/Catch blocks? If so, do you have a Response.Redirect inside a Catch block?
Yes, Iam uisng Try Catch and i am using Respone.Redirect