Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
WebTextEditor comes up read-only
posted

I have several different variations (controls on ascx, controls on pages, with and without master pages) of using the WebTextEditor, the numeric editors, and buttons and nothing is responding.  The text editors accept focus, but keying into the control produces no text.  The read-only is not set.

I even created a simple project just to see if it reproduces, and it does.  I created an aspx page, no master page, added a ScriptManager and WebPageStyler.  I set the theme to Carribean and EnableAppStyling to True.  I drag and drop a WebTextEditor to the page and run the solution.  I didn't change any properties at all on the WebTextEditor.  The running page doesn't respond to input.  Does anyone have any ideas?  Thank you.

Parents Reply
  • 135
    posted in reply to [Infragistics] Tsvetelina Georgieva

    I believe this is the problem I am having as well. Apologizes for the new thread.

    I am considering purshasing .NETAdvantage 2010.3.  I am using the trial, and have set up a basic login form using your webdropdown and webtexteditors.

    In my web.config I have set the path for the styling:

    I have also set up a WebPageStyler control (with no stylepath or stylename as they are set in web.config)

    In designer, I can see the style applied to the drop down but not the text boxes.   In run-time, the text-boxes change styles (the bg-color is gray) but they do not mimic the windows7 styled text boxes I saw in your sample kit.  They background stays gray, there is no hover or focus changes.Also I noticed when the "style" is applied it breaks the textmode="password" of the password field.

    Unlike inputoverload dI do have write capbility, but none of the styling is working the same as him (hovers, color changes, etc. - looks disabled.)

    I tried Office2007Blue and Office2010 Blue as well - same results with the texteditors.  There is also a weird drop shadow on the drop down that is not on your demo samples.  Pic Attached.

    I am using VS2010 (vb.net) with Windows 7 SP1 x64.

    Any help you can provide is much appreciated.

    -Will

     

    Below is the web.config file and login page source:

    Web.config

    <configuration>

        <configSections>
            <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
        </configSections>

    ~OTHER CODE~

        <infragistics.web stylesetpath="~/is_res/" styleSetName="Windows7" />

    </configuration>

     

    ISMSLogin.ascx (parent page is the default VS2010 Login.aspx page - controls behave the same)

    <%@ Control Language="vb" AutoEventWireup="false" CodeBehind="ISMSLogin.ascx.vb" Inherits="ISMS12_COMPLETE.ISMSLogin" %>

    <%@ Register Assembly="Infragistics4.WebUI.Misc.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
        Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %>
    <%@ Register Assembly="Infragistics4.WebUI.WebDataInput.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
        Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt" %>
    <%@ Register Assembly="Infragistics4.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
        Namespace="Infragistics.Web.UI.ListControls" TagPrefix="ig" %>

    <%@ Register
                 Assembly="AjaxControlToolkit"
                 Namespace="AjaxControlToolkit"
                 TagPrefix="ajaxToolkit" %>

    <script type="text/javascript" language="javascript">
        function EnableIMGLoad() {
            var element = document.getElementById('<%= lblIMGLoad.ClientID %>');
                element.style.display = 'inherit';
        }
    </script>

    <igmisc:WebPageStyler ID="WebPageStyler1" EnableAppStyling="True" runat="server" />

     <div style="float: right; margin-right: 5%">
                    <fieldset style="width: 275px;">
                        <legend>Account Information</legend>
                        <table>
                            <tr>
                                <td width="75" style="text-align: right">
                                    <label for="MainContent_ISMSLogin_ddlDBConnection" id="MainContent_ISMSLogin_lblDBConnection">Connection:</label>
                                </td>
                                <td>
                                    <input type="hidden" id="MainContent_ISMSLogin_ddlDBConnection_clientState" name="MainContent_ISMSLogin_ddlDBConnection_clientState" /><div id="MainContent_ISMSLogin_ddlDBConnection" class="ig_Windows7Control igdd_Windows7Control " style="width:180px;">
            <div id="x:103220697.0:mkr:Target">
                <table id="x:103220697.1:mkr:TargetTable" cellpadding="0" cellspacing="0" class="igdd_Windows7ControlArea ">
                    <tbody>
                        <tr>
                            <td style="width:100%;"><input id="x:103220697.2:mkr:Input" autocomplete="off" type="text" class="igdd_Windows7ValueDisplay " accesskey="" tabindex="0" value="ISMS_12" /></td><td id="x:103220697.3:mkr:Button" class="igdd_Windows7DropDownButton " style="padding-left:0px;padding-right:0px;"><img alt="" id="x:103220697.4:mkr:ButtonImage" src="../ig_res/Windows7/images/igdd_DropDownButton.png" /></td>
                        </tr>
                    </tbody>
                </table>
            </div><div id="x:103220697.5:mkr:DropDown" class="igdd_Windows7DropDownListContainer " style="display:none;visibility:hidden;">
                <div id="x:103220697.6:mkr:DropDownContents" style="overflow:auto;height:200px;width:180px;">
                    <ul id="x:103220697.7:mkr:List:nw:1" class="igdd_Windows7DropDownList ">
                        <li class="igdd_Windows7ListItem " id="x:103220697.8:adr:0"><a href="BLOCKED SCRIPTvoid(0)"></a></li><li class="igdd_Windows7ListItem  igdd_Windows7ListItemSelected" id="x:103220697.9:adr:1"><a href="BLOCKED SCRIPTvoid(0)">ISMS_12</a></li>
                    </ul>
                </div>
            </div>
        </div>
                                </td>
                                
                            </tr>
                            <tr>
                                <td width="75" style="text-align: right">
                                    <label for="MainContent_ISMSLogin_UserName" id="MainContent_ISMSLogin_UserNameLabel">Username:</label>
                                </td>
                                <td>
                                    <input type="hidden" name="ctl00$MainContent$ISMSLogin$UserName" id="MainContent_ISMSLogin_UserName" value="ISMSYSMGR" /><input type="hidden" name="MainContent_ISMSLogin_UserName_p" id="MainContent_ISMSLogin_UserName_p" value="    " /><input type="text" style="width:180px;" class="ig_Windows7Edit igtxt_Windows7Edit ig_da247552_r1" value="ISMSYSMGR" id="igtxtMainContent_ISMSLogin_UserName" readonly="true" />
                                </td>
                            </tr>
                            <tr>
                                <td width="75" style="text-align: right">
                                    <label for="MainContent_ISMSLogin_Office" id="MainContent_ISMSLogin_OfficeLabel">Office:</label>
                                </td>
                                <td>
                                    <input type="hidden" name="ctl00$MainContent$ISMSLogin$Office" id="MainContent_ISMSLogin_Office" value="DCC" /><input type="hidden" name="MainContent_ISMSLogin_Office_p" id="MainContent_ISMSLogin_Office_p" value="    " /><input type="text" style="width:180px;" class="ig_Windows7Edit igtxt_Windows7Edit ig_9c4dfdc5_r1" value="DCC" id="igtxtMainContent_ISMSLogin_Office" readonly="true" />
                                </td>
                            </tr>
                            <tr>
                                <td width="75" style="text-align: right">
                                    <label for="MainContent_ISMSLogin_Password" id="MainContent_ISMSLogin_PasswordLabel">Password:</label>
                                </td>
                                <td>
                                    <input type="hidden" name="ctl00$MainContent$ISMSLogin$Password" id="MainContent_ISMSLogin_Password" value="password" /><input type="hidden" name="MainContent_ISMSLogin_Password_p" id="MainContent_ISMSLogin_Password_p" value="    " /><input type="text" style="width:180px;" class="ig_Windows7Edit igtxt_Windows7Edit ig_49a73bd3_r1" value="password" id="igtxtMainContent_ISMSLogin_Password" readonly="true" TextMode="Password" />
                                </td>
                            </tr>
                        </table>
                        <table style="margin-top: 10px;">
                            <tr>
                                <td width="180"></td>
                                <td class="submitButton">
                                    <table>
                                        <tr style="vertical-align: middle;">
                                            <td width="12">
                                                <span id="MainContent_ISMSLogin_lblIMGLoad" style="display: none;">
                                                    <img src="../../Images/smallloader.gif" />
                                                </span>                                        
                                            </td>
                                            <td>
                                                <input type="submit" name="ctl00$MainContent$ISMSLogin$LoginButton" value="Login" onclick="EnableIMGLoad();" id="MainContent_ISMSLogin_LoginButton" style="width:60px;" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </div>
                <div style="text-align: left; position: absolute; top: 68%; right: 12%; margin-bottom: 10px;">
                    <span id="MainContent_ISMSLogin_lblLoginError" style="color: Red;"></span>
                </div>
            
    </div>

     

     

Children