1. #301
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    368
    Vote Rating
    3
    ttbgwt is on a distinguished road

      0  

    Default


    Everything was going fine with development on my project and then I started getting a null reference exception error on the first line of my index.aspx. My computer did reboot with some windows updates. Has anyone seen this?


    nullreferenceexceptionerror1.png

  2. #302
    Sencha User
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    28
    Vote Rating
    0
    Cloetn is on a distinguished road

      0  

    Default


    Hi , I'm currently trying your dll and going through your example you posted but I have some questions.

    For the 'EmployeeGridView' example.
    Is there any reason why you extend your GridPanel?

    It is possible to just make a new GridPanel & render it into a div and get the same results?
    I'm currently trying this but directFn doesn't go in my method in my controller.

  3. #303
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    I see you're new here, so welcome to the community. No, there's no particular reason in this case to extent GridPanel, this is just a standard practice when writing big applications, so I'm used to it. However, since this has nothing to do with my implementation of Ext.Direct for MVC, if you have more general questions about Ext JS, I would appreciate if you post them in corresponding forums. Here's also a good place to start with Ext JS: http://www.sencha.com/learn/
    Good luck.

  4. #304
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Quote Originally Posted by ttbgwt View Post
    Everything was going fine with development on my project and then I started getting a null reference exception error on the first line of my index.aspx. My computer did reboot with some windows updates. Has anyone seen this?


    Attachment 24670
    Never seen this before.

  5. #305
    Sencha User
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    28
    Vote Rating
    0
    Cloetn is on a distinguished road

      0  

    Default


    Quote Originally Posted by elishnevsky View Post
    I see you're new here, so welcome to the community. No, there's no particular reason in this case to extent GridPanel, this is just a standard practice when writing big applications, so I'm used to it. However, since this has nothing to do with my implementation of Ext.Direct for MVC, if you have more general questions about Ext JS, I would appreciate if you post them in corresponding forums. Here's also a good place to start with Ext JS: http://www.sencha.com/learn/
    Good luck.
    Thanks for the quick answer. I was a bit confused why you did it and thought it was meant to be that way but clearly not, so thanks for clearing that. I got my own example without the extent working now !



    Quote Originally Posted by ttbgwt View Post
    Everything was going fine with development on my project and then I started getting a null reference exception error on the first line of my index.aspx. My computer did reboot with some windows updates. Has anyone seen this?


    Attachment 24670
    NullReference, check if your files are still in the right place or try rebuilding. Just a wild quess

  6. #306
    Sencha User
    Join Date
    Feb 2011
    Posts
    1
    Vote Rating
    0
    novascape is on a distinguished road

      0  

    Default


    Hi all,

    I'm new to ExtJS and want to use it with a .NET back-end. Ext.Direct for ASP.NET MVC seems really interesting and perfect for what I want to do. Obviously with ExtJS 4.0 now in preview release I would want to start with version 4.0.

    My question is does the current release of Ext.Direct for ASP.NET MVC work with version 4.0?

    Thanks in advance
    Xander

  7. #307
    Sencha User
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    28
    Vote Rating
    0
    Cloetn is on a distinguished road

      0  

    Default


    Hi again ,
    I'm looking at your form example and I see you are using the 'CRUD' thingy.

    Your Example:
    Code:
    api: {
                    load: Test.LoadPerson,
                    submit: Test.SavePerson
                },
    
    handler: function () {
                        this.getForm().load();
                    },
    I'm trying to use it myself but I want to pass a param with the load function.

    I have tried this but it doesnt seem to work.
    Code:
    api: {
                    load: Ticket.GetTicketById
                },
    Code:
    afterRender:function(){
    		this.getForm().load({params:{id:'1'}});
    		Ext.ux.TicketDetail.superclass.afterRender.apply(this,arguments);
    	}
    Any feedback?

    Edit Post:

    I can simply do this:
    Code:
    	api: {
                    load: Ticket.GetTicketById(1)
                },
    and it will pass me the params but it gives me the

    this.form.api.load is undefined

    Line 45126


    error. If I look into firebug I see he passes the param and I receive the data but the form doesn't get filled.

    Edit 2:

    Ok I feel dumb
    Just pass the params like you would pass them with a Store:

    Code:
    baseParams:{
    				id:'1'
    			},
    			paramOrder:'id'
    Still need 2 learn quite a lot.

  8. #308
    Sencha Premium Member
    Join Date
    Aug 2009
    Location
    Glasgow, Scotland, UK
    Posts
    61
    Vote Rating
    0
    swarm is on a distinguished road

      0  

    Default


    Hi Eugene,

    Just wanted to say nice work! Integrated this the other day with an MVC 1.0 app and it works perfectly and didn't take much effort.

    Your documentation wiki page on Google Code was invaluable.


    Thanks again.
    SwarmOnline.com - Web & Mobile App Development and Consultancy

    Check out our book Ext JS 4 Web Application Development Cookbook

    @andrewmduncan
    @SwarmOnline

  9. #309
    Sencha User
    Join Date
    Feb 2011
    Posts
    106
    Vote Rating
    2
    wizkid is on a distinguished road

      0  

    Default


    I am also very interested in what would change for 4.0 of EXT JS... I am new to the MVC Ext.Direct but I assume it has no support for EXT JS 4.0's new models with data validation?

    Has anybody started playing with the beta of EXT JS and the MVC Ext.Direct?

    I would be very interested in what people have done with both as I am starting a new project and would like to start with EXTjs 4.0 from the start.

  10. #310
    Sencha User
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    28
    Vote Rating
    0
    Cloetn is on a distinguished road

      0  

    Default


    I'm getting a bit frustrated about the speed my JSON requests are handled.
    I'm getting an average of 1 sec per request to the server. This is too much in my opinion.

    Is this because of Ext.Direct ASP.net or is this a common problem with every Ext.Direct?

    I'm going to deploy my application tonight on my server and see if the speed changes , maybe it's because I'm working with the development server.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar