bool LoadPostData (string postDataKey, NameValueCollection postCollection)
{
string x, y;
string unique = UniqueID;
x = postCollection [unique + ".x"];
y = postCollection [unique + ".y"];
if (x != null && x != "" && y != null && y != "") {
pos_x = Int32.Parse(x);
pos_y = Int32.Parse(y);
Page.RegisterRequiresRaiseEvent (this);
return true;
} else {
x = postCollection [unique];
if (x != null && x != "") {
pos_x = Int32.Parse (x);
pos_y = 0;
Page.RegisterRequiresRaiseEvent (this);
return true;
}
}
return false;
}
#if NET_2_0