I am using this to display a label and value for the label from the Action controller.
@Html.Label("Label to be Displayed:"):
@Html.Action("MyAction", "MyController", new { id =Model.id })
But, Label comes on one line and Value for the Label comes on the other line.
What should I do to display the label and value in a single line;
Like this:
Label to be Displayed: Value from the ActionController
Try this. You can also use
divwith specifying classes