Monitor RadCombo box selectedIndex changed

2 posts, 0 answers
  1. Wired_Nerve
    Wired_Nerve avatar
    163 posts
    Member since:
    Oct 2007

    Posted 10 Apr 2015 Link to this post

    We would like to monitor a radcombobox selected index changed event.

    The combo causes a postback which then renders a report with a response.end event.


    In my server side code I am trying to attach to the OnClientSelectedIndexChangedEvent.

    The startTrack event does not seem to get hit.  I think the postback (auto) event is causing an issue.. 


    Any ideas?


    1.// Populate RadComboBoxStudentActions
    2. var hardwareActions = (RadComboBox)e.Item.FindControl("RadComboBoxHardwareActions");
    3.// Determine how often users access the reports dropdown
    4. String hardwareActionsclientScript = String.Format("startTrack('{0}.{1}.RadGridHardware.selectReport');", HttpUtility.HtmlEncode(oUser.DistrictName.Replace(" ", "")), HttpUtility.HtmlEncode(oUser.LoginName));
    6. hardwareActions.Attributes.Add("OnClientSelectedIndexChanged", hardwareActionsclientScript);

  2. Richard Flamsholt
    Richard Flamsholt avatar
    28 posts

    Posted 13 Apr 2015 Link to this post

    Hi Warren,

    It would be useful to know where the issue lies; in the RadComboBox control events or in the usage of the analytics monitor. Could I ask you what happens if your hardwareActionsclientScript simply calls alert() or console.log() instead of startTrack() - just to see if the script code gets executed at all?

    Richard Flamsholt

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top