examples of using code from code behind ie .cs page

  1. #1

    examples of using code from code behind ie .cs page

    need a sample for gridpanel binding with rowcommand so that the details can be populated on row click to controls from code behind in c#
    an sample for gridpanel binding with sql db & populating it with data from .cs page instead of script
  2. #2
    Check this demo
    https://examples2.ext.net/#/GridPane...vent_Creation/

    Hopefully it will get you started ;-)

    One of my main problems was how to define the store
    I couldn't get it to work when defined in codebehind
    The example above shows how to do it

    EDIT: I have noticed that quite a few developers are asking for examples in codebehind. Obviously there is a some quirks but appart from those the conversion from markup to codebehind is really straight forward

    I have created a small example based on the DataSource Controls -> SqlDataSource found on the demo pages
    Have a look at it and please let me know if have any questions

    http://looksharp.dk/post/2012/05/13/...odebehind.aspx
    (NB! Code is for Ext.NET ver 2.0 Beta 1)

    hth /Peter
    Last edited by plykkegaard; May 13, 2012 at 11:28 AM.

Similar Threads

  1. Can't build Ext.NET.Examples source code.
    By howardyin in forum 2.x Help
    Replies: 11
    Last Post: Apr 10, 2012, 8:22 AM
  2. Replies: 2
    Last Post: Feb 01, 2012, 6:56 AM
  3. Replies: 1
    Last Post: Jul 07, 2011, 8:34 PM
  4. Examples.Ext.Net missing code
    By GijsZePa in forum Examples and Extras
    Replies: 1
    Last Post: Aug 04, 2010, 6:05 PM
  5. Are there any how to's and code examples?
    By Sugaks in forum 1.x Help
    Replies: 2
    Last Post: Apr 24, 2010, 4:58 AM

Posting Permissions