The "json" variable in this example is a JavaScriptSerializer type. The e in the signature of myCallBackPanel_Callback will have some properties hanging off of it which may be automatically assigned to a type precrafted to expect certain values. This type is FooClientParams in my example. "Button" ends up in clientParams.ControlType and "MatchMeUpInCallBack" ends up in clientParams.ControlFunction in my example. In order for this to work, the FooClientParams type must hold string getsetters for ControlType and ControlFunction.
No comments:
Post a Comment