Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8091239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:00:00+00:00 2026-06-05T20:00:00+00:00

I created Aspx login page and ext js login form in it ExtJs code

  • 0

I created Aspx login page and ext js login form in it

ExtJs code

 Ext.onReady(function () {

            var loginForm = Ext.create('Ext.FormPanel', {
                id: 'login-form',
                url:"Login.aspx",
                method: 'POST',
                renderTo: container,
                frame: true,
                title: 'Login to EvalueX',
                bodyPadding: '5px 5px 0',
                bodyStyle: 'padding:15px;background:transparent',
                width: 450,
                fieldDefaults: {
                    labelWidth: 125,
                    msgTarget: 'side',
                    autoFitErrors: false
                },
                defaults: {
                    width: 300
                },
                defaultType: 'textfield',
                items: [
                    {
                        fieldLabel: 'User Name',
                        name: 'user',
                        id: 'user',
                        allowBlank: false
                    },
                    {
                        fieldLabel: 'Password',
                        name: 'pass',

                        allowBlank: false // id of the initial password field
                    }
                ]
                 ,
                buttons: [{
                    text: 'Login',
                    id: 'btnLogin',
                    handler: function () {
                        if (loginForm.getForm().isValid()) {
                            url: "Login.aspx",

                            Ext.getCmp('btnLogin').disable();
                            loginForm.getForm().submit({
                                method: 'POST',

                                // waitMsg: 'Uploading your file...',

                                // or using a progress bar

                                failure: function (form, action) {
                                    Ext.getCmp('btnLogin').enable();
                                    showLoadingImage(false);
                                    alert(action.result.errors.reason);
                                }

                            });
                        }
                        // Ext.getCmp('login-form').getForm().submit({ waitMsg: 'Please wait...' });
                    }
                }
                ]
            });


        });

Aspx. Code it’s simple Server.Transer.

I receive an error .”You are trying to decode invalid json “

Sumbit Request does not arrive to server

But when I referrence to different aspx page that the page the load form is placed
it’s working

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:00:01+00:00Added an answer on June 5, 2026 at 8:00 pm

    I created a separate asp and submit the file and it’s worked ok

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just starting out in asp.net. Have just created a login.aspx page in my site
here is the login page that created for you when you create a default
I have created one aspx Page from that i need to access the property
I am using FckEditor in Create.aspx page in asp.net mvc application. Since I need
I have created a user login page and am using Forms Authentication. Users are
I have created this login page. <asp:Label id=Label2 style=Z-INDEX: 103; LEFT: 112px; POSITION: absolute;
I am trying to create a login form on my ASP.NET website. Currently, there's
I have created a blank asp.net website consisting of a blank default.aspx page, its
I have a login page (login.aspx) that is currently indexed in google when somebody
I have created a simple login page for asp.net which takes in user name

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.