[CLOSED] Passwords do not match

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] Passwords do not match

    Last edited by Daniil; Oct 11, 2013 at 4:46 AM. Reason: [CLOSED]
  2. #2
  3. #3
    Attached Thumbnails Click image for larger version. 

Name:	Password.GIF 
Views:	112 
Size:	15.0 KB 
ID:	5080  
  4. #4
    It happens because you are using MasterPage. Try to use following ConfigItem:

    <ext:ConfigItem Name="initialPassField" Value="#{txtPassword.ConfigID}" Mode="Raw" />
    And one more question, why aren't you using FormBind to disable form buttons?
  5. #5
    Excellent, it works well.

    I will start using formbind.

    Baidaly, Thanks for All.!!!!


    Close the Thread
  6. #6
    May I make a suggestion to add this solution to the example, at least as a comment in the code indicating a different implementation is required if there is a master page? I spent hours trying to consider why the example code didn't work before I considered checking the forums.
  7. #7
    Hi @michaeld,

    Thank you for the suggestion.

    Well, if you put any control to a container which implements the INamingContainer interface, e.g. a UserControl or a MasterPage, a control's ClientID doesn't coincide ID anymore (by default). So, you should beware if you access components by its ids and use MasterPages and UserControls.
  8. #8
    I haven't tested this page in awhile, but the code you posted
    <ext:ConfigItem Name="initialPassField" Value="#{txtPassword.ConfigID}" Mode="Raw" />
    breaks in the current trunk. This is a show-stopper for me.
    Last edited by michaeld; Oct 10, 2013 at 4:03 AM.
  9. #9
    Seems this may be working now?
    <ext:ConfigItem Name="initialPassField" Value="#{txtPassword}" Mode="Raw" />
  10. #10
    Quote Originally Posted by michaeld View Post
    I haven't tested this page in awhile, but the code you posted
    <ext:ConfigItem Name="initialPassField" Value="#{txtPassword.ConfigID}" Mode="Raw" />
    breaks in the current trunk. This is a show-stopper for me.
    It appears to be working in the test case below.

    Example
    <%@ Page Language="C#" MasterPageFile="~/Site1.Master" %>
    
    <asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
        <ext:TextField
            ID="TextField1"
            runat="server"
            FieldLabel="Password"
            InputType="Password" />
    
        <ext:TextField
            runat="server"
            FieldLabel="Repeat"
            Vtype="password"
            InputType="Password">
            <CustomConfig>
                <ext:ConfigItem Name="initialPassField" Value="#{TextField1.ConfigID}" Mode="Raw" />
            </CustomConfig>
        </ext:TextField>
    </asp:Content>
    Quote Originally Posted by michaeld View Post
    Seems this may be working now?
    <ext:ConfigItem Name="initialPassField" Value="#{txtPassword}" Mode="Raw" />
    I think it still doesn't work.
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: Jul 01, 2014, 1:45 PM
  2. [CLOSED] ComboBox value resets after typeAhead does not return a match
    By joeRobee in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jan 06, 2011, 2:54 PM
  3. [CLOSED] toggle selection of rows with a column that match a val
    By hillscottc in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: May 12, 2010, 3:44 PM
  4. Replies: 0
    Last Post: May 30, 2009, 10:18 PM
  5. Mix and match TreeNode and AsyncTreeNode?
    By dbassett74 in forum 1.x Help
    Replies: 1
    Last Post: May 05, 2009, 12:36 PM

Tags for this Thread

Posting Permissions