This is a migrated thread and some comments may be shown as answers.

[Solved] Error with Grid inside TabStrip

0 Answers 33 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
farajnew
Top achievements
Rank 1
farajnew asked on 15 Jun 2011, 01:00 AM
Hey guys i made a tab strip to contain a grid
but when i load the content of the grid the tab strip adds a value by it self
can you plz help me fix why that is happening?

@{ Html.Telerik().TabStrip()
        .Name("TabStrip")
        .Items(tabstrip =>
        {
            tabstrip.Add()
               .Text("User IPhoneDevices")
               .ImageUrl("~/Content/edit.png")
               .LoadContentFrom("Show", "IPhoneDevice", new { iUserID = ViewData["iUserID"] });
            tabstrip.Add()
                .Text("User Details")
                .ImageUrl("~/Content/edit.png")
                .LoadContentFrom("Edit","User",new {iUserID=ViewData["iUserID"]});
            
        })
        .SelectedIndex(0)
        .Render();
}

 and when the request is sent it gives a 500 error because 
GET http://localhost:20706/IPhoneDevice/Show?iUserID=1&_=1308095586506 500 (Internal Server Error)
and there is nothing in my system that adds the number , and when i load the user edit view it loads smoothly
Thanks
Tags
TabStrip
Asked by
farajnew
Top achievements
Rank 1
Share this question
or