May 07, 2014, 1:28 AM
[CLOSED] is there any way to add other control to ext.net formpanel?
i want to add obout CaptchaImage contrl to ext.net's formpanel , is there any way to do it?
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm36.aspx.cs" Inherits="extdemo.test.WebForm36" %>
<%@ Register TagPrefix="obout" Namespace="Obout.Ajax.UI.Captcha" Assembly="Obout.Ajax.UI, Version=2.13.925.2, Culture=neutral, PublicKeyToken=24f3c5cea456f322" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" SourceFormatting="True" />
<ext:Viewport runat="server">
<Items>
<ext:FormPanel runat="server">
<Items>
<ext:TextField ID="password1" MinLength="6" runat="server" Vtype="password" InputType="Password" MsgTarget="Side">
<Listeners>
<ValidityChange Handler="this.next().validate();" />
<Blur Handler="this.next().validate();" />
</Listeners>
</ext:TextField>
<ext:TextField ID="password2" VtypeText="密码不一致" MinLength="6" runat="server" Vtype="password" InputType="Password" MsgTarget="Side">
<CustomConfig>
<ext:ConfigItem Name="initialPassField" Value="password1" Mode="Value" />
</CustomConfig>
</ext:TextField>
<obout:CaptchaImage ID="Captcha1" runat="server" RelativeImageUrl="false" />//i want to add this control here
</Items>
<Buttons>
<ext:Button runat="server" Text="确认" FormBind="true"></ext:Button>
</Buttons>
</ext:FormPanel>
</Items>
</ext:Viewport>
</form>
</body>
</html>
Last edited by Daniil; May 13, 2014 at 4:16 PM.
Reason: [CLOSED]