Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to refer to a client-side control within a UserControl, if there is more than one UserControl instance on a page

$
0
0

This is an example for article How to refer to a client-side control within a UserControl. There is a UserControl with an ASPxPopupControl control. Two instances of the UserControl are put on a page. Each UserControl instance deals with its own popup control. Note the dynamically generated handler for the button's client-side Click event in WebUserControl.ascx code behind.

Question Comments

Added By: Jay Johnson at: 6/10/2015 2:30:42 PM    

Trying this with an ASPxRadioButton and getting "Databinding expressions are only supported on objects that have a DataBinding event.  DevExpress.Web.CheckEditClientSideEvents does not have a DataBinding event."

Any ideas?

Added By: Jay Johnson at: 6/10/2015 2:31:38 PM    

<dx:ASPxRadioButton ID="optNo" runat="server" Text="No" GroupName="Answer" Layout="Flow" Theme="MetropolisBlue" >
       <ClientSideEvents CheckedChanged= '<%#GetButtonClickHandler()%>' />
   </dx:ASPxRadioButton>

Added By: Larry (DevExpress Support) at: 6/10/2015 11:37:58 PM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T254117: The "Databinding expressions are only supported on objects that have a DataBinding event. DevExpress.Web.CheckEditClientSideEvents does not have a DataBinding event." error occurs. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>