[CLOSED] [Razor] Add GridView to GridPanel in razor

  1. #1

    [CLOSED] [Razor] Add GridView to GridPanel in razor

    Hi, I have code from my old project which have View, GridView, HeaderRows, ... and other components in GridPanel. Does this exists in razor syntax?
    Here is example of aspx code:

    <ext:GridPanel ID="gp1"    runat="server">
    ...
                            <View>
                                <ext:GridView ID="GridView1" runat="server" >
                                    <HeaderRows>
                                        <ext:HeaderRow>
                                            <Columns> 
                                                <ext:HeaderColumn>
                                                    <Component>
                                                        <ext:Label ID="Label1" runat="server"></ext:Label>
                                                    </Component>
                                                </ext:HeaderColumn>                                                                                                                               
                                            </Columns>
                                        </ext:HeaderRow>
                                        <ext:HeaderRow>
                                            <Columns>   
                                                <ext:HeaderColumn>
                                                    <Component>
                                                        <ext:Label ID="Label2" runat="server"></ext:Label>
                                                    </Component>
                                                </ext:HeaderColumn>                                    
                                            </Columns>
                                        </ext:HeaderRow>
                                    </HeaderRows>
                                </ext:GridView>
                            </View>
                        </ext:GridPanel>
    Can I transform this in razor?
    Thanks.
    Last edited by Daniil; May 09, 2012 at 9:40 PM. Reason: [CLOSED]
  2. #2
  3. #3
    Thanks!
    For some reasons I cant see examples but that is solution for my problem!
  4. #4
    For some reasons I cant see examples
    Just clear cache of browser, i guess script of Ext.Net.Examples main page is cached and wrong

Similar Threads

  1. [CLOSED] [RAZOR] DraggablePanelConfig doesn't have StartDrag in Razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 28, 2012, 2:37 PM
  2. [CLOSED] [Razor] HyperLink Text in Razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 20, 2012, 12:16 PM
  3. [CLOSED] MVC/Razor Configure a Renderer in a GridPanel
    By adelaney in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: May 10, 2012, 7:51 PM
  4. [CLOSED] [Razor] Setup Auto load panel in razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2012, 10:54 AM
  5. Replies: 1
    Last Post: Apr 13, 2012, 3:15 PM

Tags for this Thread

Posting Permissions