Ext.NET & Codebehind

Page 1 of 2 12 LastLast
  1. #1

    Ext.NET & Codebehind

    I have noticed quite a few developers requests samples on to use Ext.NET in codebehind
    I have started a series of article on how to accomplish this
    http://looksharp.dk/?tag=/ExtNET

    Samples are coded for Ext.NET ver 2.0 Beta

    hth /Peter
  2. #2
    Excellent posts. Thanks for sharing!
    Geoffrey McGill
    Founder
  3. #3
    Hi Peter,

    Do you have a Twitter account, or any other social profile/url/business/service you would like to promote... other than your http://looksharp.dk/ website?
    Geoffrey McGill
    Founder
  4. #4
    Like eg a proper signature? ;-)

    - Peter
    Last edited by plykkegaard; May 23, 2012 at 6:40 PM.
  5. #5

    Thanks, Peter. The Example is very good.

    Can you add some controls (buttons command) to the gridpanel in the same codebehind? Or give us some address to see it

    Best Regards,

    Marcos Mejia.
  6. #6
    Quote Originally Posted by marcosmejia View Post
    Can you add some controls (buttons command) to the gridpanel in the same codebehind?
    Like in a statusbar or toolbar?
    It's quite easy, I will see what I can do this weekend

    My next examples would have been around generic http handlers and also how to build a dynamic grid based on data layout, I can postpone those
    Interesting with the generic approach as this really explains why you want to use code behind

    Quote Originally Posted by marcosmejia View Post
    Or give us some address to see it .
    Sorry no live preview atm
    When more complex examples comes around I need to do something about this part and also let you download full solution except for ext.net, but this belongs to the future ;-)

    rgds /Peter
  7. #7
    Quote Originally Posted by plykkegaard View Post
    Like in a statusbar or toolbar?
    Quite forgot, you can add buttons to the gridpanel
    Eg
    Buttons = {
        new ext.Button()
        {
            Text = "Refresh",
            Icon = ext.Icon.ArrowRefresh,
            OnClientClick = "#{store}.load();"
        }
    }
    rgds
  8. #8

    Excellent Peter! Thanks a lot.

    Dear Peter!

    I think I have more control of programming from the code behind.
    I think Geoffrey should focus on MVC 3 or 4, and drive users in that way. It is a comfortable way to communicate Client Side and Server Side.

    If you were to choose one of 4 methods for CRUD program which are in the example2/gridpanel/SavingVariation: HttpHandler, Web Services, StoreEvent or StoreCustumLogic, Which Do you prefer? What is more easy?

    Best Regards,

    Marcos Mejia
  9. #9
    Currently I am using store events when saving data but httphandlers to retrieve
    Our main app coded using ext.net is from 09, it's more historic reasons than anything else

    Down the road I have changed all data load to use httphandlers
    I started to change all my combos is I have quite a few in my gridpanel

    I have been looking at webservices but cross site it's difficult to handle as you need to use special query string and httpmodules
    http://forums.ext.net/showthread.php...neric-Handlers

    As you said MFC/MVC is so much easier eg JSONP is supported out of the box

    rgds
  10. #10
    Quote Originally Posted by marcosmejia View Post
    I think Geoffrey should focus on MVC 3 or 4, and drive users in that way.
    If you haven't done any apps in MVC and also first timer with Ext.Net you're in for a ball
    Imo it's a steep learning curve for both ;-)

    rgds
Page 1 of 2 12 LastLast

Similar Threads

  1. Get json in codebehind.
    By luiz in forum 1.x Help
    Replies: 0
    Last Post: Apr 19, 2011, 4:14 PM
  2. Codebehind: Best practice
    By plykkegaard in forum Open Discussions
    Replies: 3
    Last Post: Jan 27, 2011, 8:41 PM
  3. RowLayout in CodeBehind
    By Juls in forum 1.x Help
    Replies: 1
    Last Post: Jun 04, 2010, 3:46 PM
  4. AjaxEvent in codebehind
    By Wtower in forum 1.x Help
    Replies: 1
    Last Post: Sep 15, 2009, 5:51 AM
  5. Why use Markup instead of Codebehind?
    By dbassett74 in forum 1.x Help
    Replies: 1
    Last Post: Apr 21, 2009, 7:51 PM

Tags for this Thread

Posting Permissions