(Normal) HtmlHelper in tabpanel

  1. #1

    (Normal) HtmlHelper in tabpanel

    Hey all,

    Would it be possible to add a non ext.net partial view to a tabpanel?

    I.E. I have the following partial view:

    @model ReleaseManager.Models.ReleaseModel
    
    @using (Html.BeginForm("PublishSave", "Release", FormMethod.Post, new { id = "ReleasePublishForm" }))
    {    
        @Html.HiddenFor(model => model.Release.Id)
        @Html.HiddenFor(model => model.Release.Description)
        @Html.HiddenFor(model => model.Release.ReleaseDate)
    
        @Html.HiddenFor(model => model.Release.Checklist.Id)
        @Html.HiddenFor(model => model.Release.Checklist.Status)
        <table class="checklist">
            <thead>
                <tr>
                    <th>#</th>
                    <th>Description</th>
                    <th>Duration</th>
                    <th>Start</th>
                    <th>End</th>
                    <th>Status</th>
                </tr>
            </thead>
            <tbody>
                @Html.EditorFor(model => model.Release.Checklist.Points)
            </tbody>
        </table>
        <div class="buttonbar">
            <input type="submit" value="Save" />
        </div>    
    }
    And want to add that view into a tab:
    @Html.X().Panel().ID("panelcontainer").MarginSpec("10 10 10 10").TopBar(topbar => topbar.Add(Html.X().Toolbar().Items(toolbar =>
            {
                toolbar.Add(Html.X().TabStrip().ID("ReleaseTabs").Items(tabs =>
                    {
                        
                        tabs.Add(Html.X().Tab().TabID("ChecklistTab").ActionItemID("Checklist").Text("Checklist"));                    
                    }));
                
                
            }))).Items(panelitems =>
                {
                    panelitems.Add(Html.X().Container().ID("Checklist").ItemsFromPartial("Checklist", Model));
                    
                })
    This works however the content from the partial view is loaded outside of the Ext.Panel and therefor is not inside the tab.

    Thanks in advance!
  2. #2
    Please use ContentFromPartial instead ItemsFromPartial

Similar Threads

  1. [CLOSED] FireFox 18 can not show Ext.net form normal
    By gs_user in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 14, 2013, 11:50 PM
  2. MVC Form HtmlHelper DateTime
    By Iguion in forum 2.x Help
    Replies: 2
    Last Post: Nov 28, 2012, 4:03 PM
  3. Enter Click for normal asp textbox
    By Nagaraju in forum 1.x Help
    Replies: 1
    Last Post: May 17, 2011, 3:36 PM
  4. Use "normal" anchor tags <a href ...
    By plykkegaard in forum 1.x Help
    Replies: 1
    Last Post: May 14, 2009, 10:37 AM
  5. TextArea:use IE6 not show,use IE7 normal
    By wkcode in forum 1.x Help
    Replies: 2
    Last Post: May 11, 2009, 4:26 AM

Posting Permissions