I am setting certain controls using this
divCorporateId.Style.Add(\"Visibility\", \"hidden\");
How do i check what the value is in another meth
Something like:
if (divCorporateId.Style[HtmlTextWriterStyle.Visibility] == "hidden") { do something }
You can get Css property value in C# like this
string value = divCorporateId.Style["Key"]
then you can apply your conditions based on this value.