title: How we Assign TabId to Tab Content div from Model Value In asp.net MVC
body: <p>This following code for Rendering Tabs</p>
  
  <pre><code>&lt;ul id="myTab" class="nav nav-tabs customTabs"&gt;
                      @foreach (var p in ViewBag.ProductMenu)
                      {
                          if (p.Visible)
                          {
                              if (p.Id == 1)
                              {
                                  &lt;li class="active"&gt;&lt;a data-toggle="tab" href="@("#" + p.TabId)"&gt;@p.Name&lt;/a&gt;&lt;/li&gt;
                              }
                              else
                              {
                                  &lt;li&gt;&lt;a data-toggle="tab" href="@("#" +  p.TabId)"&gt;@p.Name&lt;/a&gt;&lt;/li&gt;
                              }
                          }
                      }
                  &lt;/ul&gt;
  </code></pre>
  
  <p>Above code is well doing work for rendering tabs. Now i want to assign TabId which is coming from model to assign tab-content which is following </p>
  
  <pre><code> &lt;div id="myTabContent" class="tab-content"&gt;
                      &lt;div id="quickDesp" class="tab-pane active"&gt;
                          @Html.Raw(Model.QuickDesription)
                      &lt;/div&gt;
                      &lt;div id="mainDesp" class="tab-pane"&gt;
                          @Html.Raw(Model.MainDescription)
                      &lt;/div&gt;
                      &lt;div id="features" class="tab-pane"&gt;
                          @Html.Raw(Model.Feathures)
                      &lt;/div&gt;
                      &lt;div id="softwares" class="tab-pane"&gt;
                          @Html.Raw(Model.Softwares)
                      &lt;/div&gt;
                      &lt;div id="specification" class="tab-pane"&gt;
                          @Html.Raw(Model.Specification)
                      &lt;/div&gt;
                      &lt;div id="suport" class="tab-pane"&gt;
                          @Html.Raw(Model.Support)
                      &lt;/div&gt;
  
                  &lt;/div&gt;
  </code></pre>
  
  <p>how i can assign dynamically TabId to our div like this one</p>
  
  <pre><code>&lt;div id="suport" class="tab-pane"&gt;
                          @Html.Raw(Model.Support)
                      &lt;/div&gt;
  </code></pre>
  
  <p>id comes from model but i cant understand how i can handle any one can help me</p>