Bug Report T296660
Visible to All Users

ASPxBinaryImage - "ASPx.SEClick is not a function" JavaScript error if the ASPxClientBinaryImage.Click event is handled

created 9 years ago

Hi,

We are ASPxBinaryImage control in our project. Till devexpress v15.1.6, the client click event of ASPxBinaryImage control is working fine. But after i upgrade to devexpress v15.1.7, the client click event is not working. It thows the following error.

Uncaught TypeError: ASPx.SEClick is not a function

We have bind the following code in server side.

DevExpress.Web.ASPxBinaryImage img = new DevExpress.Web.ASPxBinaryImage();
img.ContentBytes = l_dashboardInfo.DashboardSnapshot;
img.CssClass = "panelImages";
img.AlternateText = l_dashboardInfo.DashboardName;
img.ID = l_dashboardInfo.DashboardId.ToString();
img.ToolTip = l_dashboardInfo.DashboardDescription;
img.ClientSideEvents.Click = "function(s,e) { loadSelectedDashboard('" + index.ToString() + "'); }";

But when i see in client side (after it renders in browser), it looks like as follows.

<img class="dxeImage_Moderno panelImages" id="4" onclick="return ASPx.SEClick('4', event)" src="/DXB.axd?DXCache=d7ec7c61-5806-482d-a2e4-ee5fbf6ab837" alt="Test Dashboard with 14.2" style="opacity: 0.4;">

Please help us to solve this issue.

Thanks & Regards,
Pradeepkumar.M

Comments (1)
Artem (DevExpress Support) 9 years ago

    I've reproduced the issue and passed it to our R&D team for further research. Please bear with us.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.