protected virtual bool LoadPostData(string postDataKey, NameValueCollection postCollection)
{
this.HasLoadPostData = true;
string val = postCollection[this.ConfigID.ConcatWith("_Pressed")];
if (val.IsNotEmpty())
{
bool pressedState;
if (bool.TryParse(val.ToLowerInvariant(), out pressedState))
{
if (this.Pressed != pressedState)
{
try
{
this.SuspendScripting();
this.Pressed = pressedState;
}
finally
{
this.ResumeScripting();
}
return true;
}
}
}
return false;
}