Hi Andrew!
Have some strange things using ASPxClientButton.
My Code is :
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
<dxe:ASPxButton EnableClientSideAPI="true"
ID="btnEmail"
ClientInstanceName="btnEmailClient"
runat="server"
Text="Email" onclick="btnEmail_Click">
</dxe:ASPxButton>
then in JS handler I call "btnEmailClient.Enabled = (gridDocs.GetSelectedRowCount() > 0" (I know it is possible to us SetEnabled now).
When executed it tells that btnEmailClient is not defined.
When I view html page source I see that it is actually not.
(gridDocs - which also uses ClientInstanceName="gridDocs" is there and works.
like - "var dxo = new ASPxClientGridView('ctl00_cphBody_ctrlQuoteDocs_gridDocs');")
What's with it ?
When I did web search for ASPxClientButton but it didn't found much and nothing in DX help.
Hope on your reply.