}\r
}\r
\r
+ [Browsable (false)]
+ [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
protected override HtmlTextWriterTag TagKey\r
{\r
get\r
{\r
string xCoord = postCollection[UniqueID + ".x"];\r
string yCoord = postCollection[UniqueID + ".y"];\r
+ string id = postCollection[UniqueID];
if(xCoord != null && yCoord != null && xCoord.Length > 0 && yCoord.Length > 0)\r
{\r
x = Int32.Parse(xCoord);\r
y = Int32.Parse(yCoord);\r
- Page.RegisterRequiresRaiseEvent(this);\r
- }\r
+ Page.RegisterRequiresRaiseEvent(this);
+ } else if (id != null)
+ {
+ //
+ // This is a workaround for bug #49819. It appears that the .x and .y
+ // values are not being posted, and only the x value is being posted
+ // with the ctrl's id as the key.
+ //
+ x = Int32.Parse (id);
+ Page.RegisterRequiresRaiseEvent (this);
+ }
return false;\r
}\r
\r