Bonjour tout le monde.
Je cherche a creer un formulaire dans une page aspx via l'utilisation de XForms. Mais je ne comprend pas pourquoi meme en mettant tous les namespaces qu'il faut, VS2005 me dit que mes tags ne sont pas supportes.
Voici mon code
Est ce que quelqu'un a une idee?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns:xf="http://www.w3.org/2002/xforms"> <head> <xf:model> <xf:instance> <person> <fname/> <lname/> </person> </xf:instance> <xf:submission id="form1" method="get" action="submit.asp"/> </xf:model> </head> <body> <xf:input ref="fname"> <xf:label>First Name</xf:label></xf:input> <br /> <xf:input ref="lname"> <xf:label>Last Name</xf:label></xf:input> <br /> <br /> <xf:submit submission="form1"> <xf:label>Submit</xf:label></xf:submit> </body> </html>
Cordialement MrCyprom.
Partager