|
A variable was declared in the background code, and now the same variable is also required in the JavaScript code of aspx. I don't want to declare one in the background and then declare one in the foreground. I want to get this in the background directly.
Explore it for yourself:
...
private int _size1 = 30;
...
[AjaxPro.AjaxProperty]
public int Size1
{
get {return _size1;}
}
Use the space name.class name.PageSize in the foreground; the call is found to be undefined
Searching AjaxProperty on the Internet for Baidu has only one result, google does, but the website is basically unable to open. I have to trouble everyone.
Please master help. Thank you. |
|