"Within the Visual Studio .NET integrated development environment (IDE), the
targetSchema property determines which items are available from the HTML
Toolbox tab, from Insert Item dialog boxes, and from automatic statement
completion pop-ups."

Na gut ich verbessere meine Aussage nicht nur mit Intellisense.

So und nu mach mal die SDK nur vom Framework auf ... und such mal nach 
targetSchema und sag mir mal wieviele Einträge du da findest.
targetSchema ist nur eine Sache für Visual Studio.

Ist in keiner hinsicht bösartig gemeint.

Gruss Hermann

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 18. Juni 2003 16:43
An: [EMAIL PROTECTED]
Betreff: RE : [Asp.net] AW: Netscape und Postback ?


Mit IntelliSense hat das nichts zu tun...

The targetSchema property of an HTML or XML document selects the Web browser
for which an HTML document will be designed. To use CSS styles, you must
select a Web browser that supports HTML 4.0 or later. 

You can set the targetSchema property either from the Properties window or
from the DOCUMENT Property Pages dialog box. For more information, see
Setting the targetSchema Property of an HTML Document.

Within the Visual Studio .NET integrated development environment (IDE), the
targetSchema property determines which items are available from the HTML
Toolbox tab, from Insert Item dialog boxes, and from automatic statement
completion pop-ups. This setting also determines how elements are positioned
by the HTML editor, and which DOCUMENT properties are displayed in the
Properties window. 

The Document Object Model (DOM) of the targeted Web browser determines how
you can configure elements and their attributes or properties, and the
syntax that event handlers must use to interact with elements and
properties. 

Note   The targetSchema property specifies the targetNamespace URI of the
schema. In an HTML or Web Form document, this adds a <meta> element. In an
XML file, setting this property adds an xmlns attribute to the root element.
In an ASP .NET user control, this adds a targetSchema attribute to the
directive.

-----Message d'origine-----
De : "Geißler, Hermann" [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 18 juin 2003 16:38
À : [EMAIL PROTECTED]
Objet : AW: [Asp.net] AW: Netscape und Postback ?

Ich vermute mal du benutzt VS.Net , oder? 
Das targetSchema hat nur was mit dem Intellisense vom VS zu tun.
Es hat soweit ich weis keinerlei Auswirkungen auf das Rendering.

Aber ich habs mal getestet .. und ... es geht nicht.

Trotzdem Danke :)

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 18. Juni 2003 16:20
An: [EMAIL PROTECTED]
Betreff: RE : [Asp.net] AW: Netscape und Postback ?


Setz mal das TargetSchema auf Komatibel mit Netscape....

-----Message d'origine-----
De : "Geißler, Hermann" [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 18 juin 2003 16:07
À : ASP. NET Mailist (E-Mail)
Objet : [Asp.net] AW: Netscape und Postback ?

Super ist doch auch mal was, ich beantworte meine Frage selber. ;)

Also nur falls sich mal jemand wundert warum beim Netscape etwas im
Zusamenhang
mit Postback nicht funktioniert.
Ich habe das mal getest. 
IE verwendet die ID und Netscape den Namen. Und da aus mir unerfindlichen
Gründen .Net den Namem eines Controls mit ":" anstelle von "_" rendert
kann man da auf ein Postback warten bis die nächste Eiszeit kommt.

Na gut jetzt hab ich den Grund, nun bräucht ich ne Lösung!

Hat jemand ne Idee wie ich entweder das "__doPostBack" ändere oder den Namen
richtig gerendert bekommen?

Gruss Hermann

-----Ursprüngliche Nachricht-----
Von: Geißler, Hermann 
Gesendet: Mittwoch, 18. Juni 2003 13:17
An: ASP. NET Mailist (E-Mail)
Betreff: Netscape und Postback ?


Hallo Liste,

Ich habe ein DataGrid das über eine Datenbank befüllt wird usw.
Dieses DG ist sortierbar über die üblichen LinkButtons im Header jeder
Spalte,
sowohl aufsteigend als absteigend.
Das ganze funktioniert im IE reibungslos und ohne Beanstandung, allerdings
auch nur im IE.
Netscape(7.01) führt den Postback erst gar nicht durch.
Ich habe mir das mal über die integrierte Javakonsole angeschaut und bekomme
als Fehler :

Fehler: theform has no properties
Zeile: 17

dann habe ich mir das vom Framework generierte Javascript angesehen was der 
Seite beim rendern hinzugefügt wird :
<!--
        function __doPostBack(eventTarget, eventArgument) {
                var theform = document._ctl0_SiteForm;
                theform.__EVENTTARGET.value = eventTarget;
                theform.__EVENTARGUMENT.value = eventArgument;
                theform.submit();
        }
// -->

nun bin ich kein Javascript Profi aber ich würde doch behaupten das richtig
ist.

Das <form> Tag auf welches er sich bezieht sieht nach dem rendern wie folgt
aus :

<form name="_ctl0:SiteForm" method="post"
action="phonelist_user_list.aspx?node=1" id="_ctl0_SiteForm">

Die "hidden" Felder für EVENTTARGET und EVENTARGUMENT wurden auf gerendert.

Kann es seien das Netscape über das Name-Attribute zugreift und IE über das
ID-Attribute?
Oder kommt Netscape mit dem Unterstrich nach dem Punkt nicht klar bei
document._ctl0_SiteForm; ?
Kann man das ClientScript ändern?
Hat irgendjemand da eine Idee?

Danke im voraus!

Mit freundliche Grüssen
Hermann Geissler

_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an