There is a function in Codebehind c# The Code is Like :
private static void ReceiveCallback(IAsyncResult ar)
{
// ...
}
In this Function i have to set the visibility of a button to true :
Runrc.IsEnabled = true;
But I get no intellisense for this button in that function, and it's giving me a error.
Pravesh Singh
27-Jan-2014That is because the method is static. You cannot access a instance member in static method without its object reference.