Click here to Skip to main content
15,885,931 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my from when i enter the character .its take reverse order of the character please check..Im using the browser is IE vertion is 11.0.9
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
XML
<head runat="server">
    <title></title>
     <link href="~/Content/base.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/default_jquery_ui.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/Grid.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/Mozilla.css" rel="stylesheet" media="screen, projection" type="text/css" />

    <link href="~/Content/layout.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/MenuStyle.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/treeview.css" rel="stylesheet" type="text/css" />
    <link href='~/Content/MessageBox.css' rel="stylesheet" type="text/css" />

<%--    <script src="Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery-ui.js" type="text/javascript"></script>--%>
    <script src="Scripts/ConstantFooter/jquery.constantfooter.js" type="text/javascript"></script>
    <script src="Scripts/Common.js" type="text/javascript"></script>
    <script src="Scripts/jquery.caret.1.02.min.js" type="text/javascript"></script>
    <script src="../Scripts/Common.js" type="text/javascript"></script>

    <link href="styles/style.css" rel="stylesheet" type="text/css" />
    <link href="styles/new_css.css" rel="stylesheet" type="text/css" />
    <link href="ClientScripts/TMcss.css" rel="stylesheet" type="text/css" />
    <link href="styles/Assetmgt.css" rel="stylesheet" type="text/css" />
    <link href="styles/left.css" rel="stylesheet" type="text/css" />
    <link href="styles/GridViewStyle.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" lang="javascript" src="ClientScripts/CL.js"></script>
    <script type="text/javascript" lang="javascript" src="ClientScripts/AM.js"></script>
    <script type="text/javascript" lang="javascript" src="ClientScripts/ALactb.js"></script>
    <script type="text/javascript" lang="javascript" src="ClientScripts/TMjs.js"></script>

    <script src="JqueryUI/jquery-1.4.1.min.js"></script>
    <script src="JqueryUI/jquery.autocomplete.js" type="text/javascript"></script>
    <link href="styles/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/MainLayout.css" rel="stylesheet" />
    <script type="text/javascript">
        function getPaging(id,level) {
            if (level == 2) {
                var ast = "", proj = "", dpr = "", dprD = "";
                try { ast = document.getElementById("<%=txtAsset.ClientID %>").value; } catch (e) { }
                try { proj = document.getElementById("<%= txtproject.ClientID %>").value; } catch (e) { }
                try { dpr = document.getElementById("<%=txtDprNo.ClientID %>").value; } catch (e) { }
                try {
                    dprD = document.getElementById("<%=txtDprDate.ClientID %>").value;
                } catch (e) { }
                document.getElementById("<%=hdnF.ClientID %>").value = "0";
                if (ast == "") {
                    alert('Please Select Asset...!');
                }
                else if (proj == "") {
                    alert('Please Select Project...!');
                }
                else if (dpr == "") {
                    alert('Please Select DPR Number...!');
                }
                else if (dprD == "") {
                    alert('Please Select DPR Date...!');
                }
                else {
                    document.getElementById("<%=hdnF.ClientID %>").value = "1";
                    parent.mainFrame.location = "RedirectToModule.aspx?modid=" + id + "&ast=" + ast + "&proj=" + proj + "&dpr=" + dpr + "&dprD=" + dprD;
                }
            }
            else if (level == 1){
                parent.mainFrame.location = "RedirectToModule.aspx?modid=" + id;
            }
            parent.topFrame.location = "topFrame.aspx?modid=" + id;
            parent.footerFrame.location = "footer.aspx?modid=" + id;
        }
    </script>
        <style type="text/css">
.classname {
         padding-left:10px; padding-right:10px; cursor:pointer;background-color:#7FAADD;
    border-left-width:2px;
    border-top-width:2px;
    border-right-width:2px;
    border-bottom-width:0px;
    border-color:navy; color:black;
                font-family: arial;
                font-size: 12px;
                font-weight: bold;
                font-style: normal;
                height: 40px;
                line-height: 30px;
                text-decoration: none;
                text-align: center;

                padding-left: 10px;
                padding-right: 10px;
            }
.classname:hover {
    /*background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #ffffff) );
    background:-moz-linear-gradient( center top, #ffffff 5%, #ffffff 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff');*/
    background-color:white; padding-left:10px; padding-right:10px;cursor:pointer;
}.classname:active {
    position:relative;
    top:1px; padding-left:10px; padding-right:10px;
}
        .classnameAll {

            background-color: #D7E5EE;
                text-indent: 0;
                border-left-width: 0px;
                border-top-width: 0px;
                border-right-width: 0px;
                display: inline-block;
                color: #777777;
                font-family: arial;
                font-size: 12px;
                font-weight: bold;
                font-style: normal;
                height: 40px;
                line-height: 30px;
                text-decoration: none;
                text-align: center;

                padding-left: 10px;
                padding-right: 10px;
            }
 .classnameAll:hover{

    padding-left:10px; padding-right:10px; cursor:pointer;background-color:#7FAADD;
    border-left-width:2px;
    border-top-width:2px;
    border-right-width:2px;
    border-bottom-width:0px;
    border-color:navy; color:black;
                font-family: arial;
                font-size: 12px;
                font-weight: bold;
                font-style: normal;
                height: 40px;
                line-height: 30px;
                text-decoration: none;
                text-align: center;

                padding-left: 10px;
                padding-right: 10px;
}
 .btn{

    padding-left:10px; padding-right:10px; cursor:pointer;background-color:#1D487B;
     color:white;
                font-family: arial;
                font-size: 12px;
                font-weight: bold;
                font-style: normal;
                line-height: 20px;
                text-decoration: none;
                text-align: center;

                padding-left: 10px;
                padding-right: 10px;

                border:none;
}
        .TableCss {
            border-bottom: 1px solid #dcdcdc;
                border-left-width: 0px;
                border-top-width: 0px;
                border-right-width: 0px;
                background-image: linear-gradient(to bottom, #F0F7FE, #DCE6F5);
            }
    </style>

     <script type="text/javascript">
         //$(document).ready(function () {
         //    Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(PageLoaded)
         //});

         //function PageLoaded(sender, args) {
            $(document).ready(function () {
             $("#<%=txtAsset.ClientID%>").autocomplete('Search.ashx');
              });
         //}

         function showdiv(cntrl) {
             var WinSettings = "center:yes;resizable:no;dialogHeight:580px;help:no;dialogWidth:740px;help:no;scroll:no";
             if (cntrl == 'txtasset') {
                 retval = window.showModalDialog("AddAsset.aspx", null, WinSettings);
             }
             if (retval == 'success') {
                 document.form1.submit();
             }
             if (retval == null)
                 return false;
             document.form1.submit();
             return false;
             document.getElementById("<%=this.txtAsset.ClientID%>").value = "";
    }
</script>
</head>


XML
<body >
    <form id="form1" runat="server">
        <asp:ScriptManager ID="scriptmgr" runat="server"></asp:ScriptManager>

        <asp:Panel ID="pnlmain1" runat="server" Visible="true">
            <asp:HiddenField ID="hdnF" runat="server" Value="1" />
            <div>
                <uc1:header runat="server" ID="header" />
                <div id="menu">
                    <div id="menuContent">
                        <div class="modules">
                            <asp:DataList ID="DataList2" runat="server" RepeatDirection="Horizontal">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkMain" runat="server" Text='<%#Bind("ModuleFullName") %>' OnClick="lnkMain_Click" OnClientClick='<%# Eval("moduleno", "getPaging(\"{0}\",\"1\")") %>'></asp:LinkButton>
                                    <asp:Label ID="dsd" runat="server" Text=" | "></asp:Label>
                                </ItemTemplate>
                            </asp:DataList>
                        </div>
                    </div>
                    <div id="DPRContent" runat="server" style="background-color: #D7E5EE;">
                        <table style="width: 100%; background-color: #D7E5EE;">
                            <tr>
                                <td style="width: 5%"></td>
                                <td>
                                    <asp:Label ID="lblAssest" runat="server" Text="Asset" OnTextChanged="txtAsset_TextChanged" AutoPostBackFlags-ValueChanged="On"></asp:Label>&nbsp;
                        <ig:WebTextEditor ID="txtAsset" runat="server" OnTextChanged="txtAsset_TextChanged"></ig:WebTextEditor>
                                </td>
                                <td></td>
                                <td>
                                    <asp:Label ID="lblProject" runat="server" Text="Project" OnTextChanged="txtproject_TextChanged" AutoPostBackFlags-ValueChanged="On"></asp:Label>&nbsp;
                        <ig:WebTextEditor ID="txtproject" runat="server" Width="119px" OnTextChanged="txtproject_TextChanged"></ig:WebTextEditor>
                                </td>
                                <td>DPR No.</td>
                                <td>
                                    <ig:WebTextEditor ID="txtDprNo" runat="server" Width="71px" ReadOnly="true"></ig:WebTextEditor>
                                </td>
                                <td>Date</td>
                                <td>
                                    <ig:WebTextEditor ID="txtDprDate" runat="server" Width="70px" ReadOnly="true"></ig:WebTextEditor>
                                    <%--<ig:WebDatePicker ID="WebDatePicker1" runat="server" Width="105px" ReadOnly="true">
                        </ig:WebDatePicker>--%>
                                </td>
                                <td>
                                    <asp:Button ID="btnGo" runat="server" CssClass="btn" OnClientClick="javascript:getPaging(4,2);" Text="Go" CommandName="DPR" OnClick="btnGo_Click" />
                                    &nbsp;
                        <asp:Button ID="btnApproveDPR" runat="server" CssClass="btn" Text="Approved DPR" />
                                    &nbsp;
                        <asp:Button ID="btnSendDPRAppr" runat="server" CssClass="btn" Text="Send DPR for Approval" />
                                </td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                            </tr>
                        </table>
                        <%--background-color:#D7E5EE;--%>
                        <table style="border-width: 0px; width: 100%; height: 100%">
                            <%--class="TableCss">--%>
                            <tr>
                                <td valign="bottom">
                                    <asp:DataList ID="DataList1" runat="server" RepeatDirection="Horizontal">
                                        <ItemTemplate>
                                            <asp:Button ID="btnMenu" runat="server" CssClass="classnameAll" OnClick="btnMenu_Click" OnClientClick='<%# Eval("moduleno", "getPaging(\"{0}\",\"2\")") %>' Text='<%#Bind("ModuleFullName") %>' />
                                            <asp:Label ID="lblMenu" runat="server" Text='<%#Bind("moduleno") %>' Visible="false" />
                                        </ItemTemplate>
                                    </asp:DataList>
                                </td>
                                <td>&nbsp;</td>
                            </tr>

                        </table>

                    </div>
                </div>

            </div>

        </asp:Panel>
     </form>
</body>
Posted
Updated 29-Aug-19 8:55am
v2
Comments
Harsh Athalye 18-Dec-14 5:17am    
What do you mean by "reverse order of the character"?
Member 10928697 18-Dec-14 5:24am    
reverse order mean...when i enter Computer its taken retupmoc sir.
Richard MacCutchan 18-Dec-14 5:29am    
What form, what code are you using? We cannot guess what your form does.
Member 10928697 18-Dec-14 5:35am    
<head runat="server">
<title></title>
<link href="~/Content/base.css" rel="stylesheet" type="text/css" />
<link href="~/Content/default_jquery_ui.css" rel="stylesheet" type="text/css" />
<link href="~/Content/Grid.css" rel="stylesheet" type="text/css" />
<link href="~/Content/Mozilla.css" rel="stylesheet" media="screen, projection" type="text/css" />

<link href="~/Content/layout.css" rel="stylesheet" type="text/css" />
<link href="~/Content/MenuStyle.css" rel="stylesheet" type="text/css" />
<link href="~/Content/treeview.css" rel="stylesheet" type="text/css" />
<link href='~/Content/MessageBox.css' rel="stylesheet" type="text/css" />

<%-- <script src="Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="Scripts/jquery-ui.js" type="text/javascript"></script>--%>
<script src="Scripts/ConstantFooter/jquery.constantfooter.js" type="text/javascript"></script>
<script src="Scripts/Common.js" type="text/javascript"></script>
<script src="Scripts/jquery.caret.1.02.min.js" type="text/javascript"></script>
<script src="../Scripts/Common.js" type="text/javascript"></script>

<link href="styles/style.css" rel="stylesheet" type="text/css" />
<link href="styles/new_css.css" rel="stylesheet" type="text/css" />
<link href="ClientScripts/TMcss.css" rel="stylesheet" type="text/css" />
<link href="styles/Assetmgt.css" rel="stylesheet" type="text/css" />
<link href="styles/left.css" rel="stylesheet" type="text/css" />
<link href="styles/GridViewStyle.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" lang="javascript" src="ClientScripts/CL.js"></script>
<script type="text/javascript" lang="javascript" src="ClientScripts/AM.js"></script>
<script type="text/javascript" lang="javascript" src="ClientScripts/ALactb.js"></script>
<script type="text/javascript" lang="javascript" src="ClientScripts/TMjs.js"></script>

<script src="JqueryUI/jquery-1.4.1.min.js"></script>
<script src="JqueryUI/jquery.autocomplete.js" type="text/javascript"></script>
<link href="styles/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
<link href="~/Content/MainLayout.css" rel="stylesheet" />
<script type="text/javascript">
function getPaging(id,level) {
if (level == 2) {
var ast = "", proj = "", dpr = "", dprD = "";
try { ast = document.getElementById("<%=txtAsset.ClientID %>").value; } catch (e) { }
try { proj = document.getElementById("<%= txtproject.ClientID %>").value; } catch (e) { }
try { dpr = document.getElementById("<%=txtDprNo.ClientID %>").value; } catch (e) { }
try {
dprD = document.getElementById("<%=txtDprDate.ClientID %>").value;
} catch (e) { }
document.getElementById("<%=hdnF.ClientID %>").value = "0";
if (ast == "") {
alert('Please Select Asset...!');
}
else if (proj == "") {
alert('Please Select Project...!');
}
else if (dpr == "") {
alert('Please Select DPR Number...!');
}
else if (dprD == "") {
alert('Please Select DPR Date...!');
}
else {
document.getElementById("<%=hdnF.ClientID %>").value = "1";
parent.mainFrame.location = "RedirectToModule.aspx?modid=" + id + "&ast=" + ast + "&proj=" + proj + "&dpr=" + dpr + "&dprD=" + dprD;
}
}
else if (level == 1){
parent.mainFrame.location = "RedirectToModule.aspx?modid=" + id;
Member 10928697 18-Dec-14 5:35am    
im using infragestic

1 solution

Not sure why this showed up recently, but it was fixed by looking at article http://support.microsoft.com/kb/555940[^]
 
Share this answer
 
Comments
Richard MacCutchan 29-Aug-19 16:56pm    
Adding that as a Solution does not help because it just moves higher up the queue. It was probably 'activated' by a spammer, or attempted spammer.
ZurdoDev 29-Aug-19 16:58pm    
It was already up in the queue.
Richard MacCutchan 30-Aug-19 2:40am    
Exactly, because it was the target of a spam message. But the way to deal with it is to ignore it. You may like to delete this thread now.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900