This is a migrated thread and some comments may be shown as answers.

Monitor RadCombo box selectedIndex changed

1 Answer 24 Views
Monitor integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Wired_Nerve
Top achievements
Rank 2
Wired_Nerve asked on 10 Apr 2015, 07:43 PM

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));
5. 
6. hardwareActions.Attributes.Add("OnClientSelectedIndexChanged", hardwareActionsclientScript);

1 Answer, 1 is accepted

Sort by
0
Richard Flamsholt
Telerik team
answered on 13 Apr 2015, 02:16 PM
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?

Regards,
Richard Flamsholt
Telerik
 

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

 
Tags
Monitor integration
Asked by
Wired_Nerve
Top achievements
Rank 2
Answers by
Richard Flamsholt
Telerik team
Share this question
or