Accessing a div tag from codebehind
asp.net, c#
Solution
Give `ID` and attribute `runat='server'` as :
<div class="something" ID="mydiv" runat="server">
//somecode
<div>
Codebehind:
You can modify your `something` styles here.
mydiv.Style.Add("display", "none");
Problem
I am Working in asp.net and c#. I have a `div` tag in my application with `class="something"`.I need to access this something class in codebehind.How can i do that.. Code: ``` <div class="something"> //somecode <div> ``` Note:I want access Something class in codebehind.