with a Server-sided call, which method is faster in hiding the Control?
Control.Hide();
or
Control.hidden = true;
Given the case we have something like:
<ext:Button runat="server">
<DirectEvents>
<Click OnEvent="hidethis"/>
</DirectEvent>
</ext:Button>
and:
public void hidethis(object sender, DirectEventArgs e)
{
var Control = sender;
// above Choice
}
Digging into Ext.Net Documentation, I found :
So calling
Hide()is faster since theHiddenproperty calls the methodHide()anyway.