Bonjour tout le monde
J'ai decouvert il y a peu Dojo toolkit dont on me vanter les mérites alor sj me suis dit waouuuuuuuu facile à integrer la chose.
Bon alors je voulais juste faire les onglets et la je m'arrache les cheveux depuis un sacré bout de temps
Donc je fais exactement ce qui est dit :
J'ai cree dans mon projet ASP.NET 2.0 un répertoire dojo qui contient les fichiers nécessaires
et dans ma page aspx: voila ce que je fait :
<!
DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><
htmlxmlns="http://www.w3.org/1999/xhtml"><
headrunat="server"><titleid="titlepage"></title><metacontent="Cityzens"name="Author-Corporate"/><metacontent="ALL"name="Robots"/><linkhref="../../CSS/layouttest.css"type="text/css"rel="STYLESHEET"/><linkhref="../../CSS/styletest.css"type="text/css"rel="STYLESHEET"/><scripttype="text/javascript">var djConfig = { isDebug: true };</script><scripttype="text/javascript"src="../../dojo/dojo.js"></script><scripttype="text/javascript">dojo.
require("dojo.widget.TabContainer");dojo.
require("dojo.widget.LinkPane");dojo.
require("dojo.widget.ContentPane");dojo.
require("dojo.widget.LayoutContainer");</script><styletype="text/css">.dojoTabPaneWrapper
{padding : 10px10px10px10px;}
</
style></
head><
body><formid="form1"runat="server"><divid="global"><header:headerID="top"runat="server"></header:header><divclass="content"><divclass="col_left_home"><divid="mainTabContainer"dojotype="TabContainer"style="width: 100%; height: 70%"selectedtab="tab1"><divid="tabDiv"style="width: 300px; height: 600px;"></div><divid="tab1"dojotype="ContentPane"label="Pr,sentation"><h1>Pr,sentation
</h1>I'm the first tab and my content is local. Try clicking tab#2. It's loading remotely.
</div><divdojotype="ContentPane"label="Tab 3"><h1>I am tab 3</h1><p>Did you know that the children of a TabContainer can be any widget, such as a SplitContainer
or LayoutContainer? The next tab is itself a TabContainer...
</p></div></div>
Et bien vous savez quoi , j'ai aucune erreur mais mes onglet ne s'affiche pas , j'ai l'impression qu'i ne charge pasle js avez vous une idée ? Quelqu'un a deja fait ??