When the selected index changes on my RadComboBox, I need to populate various RadTextBoxes with data from the database. I have a blank VB aspx page with code-behind waiting for a request object parameter containing the primary key in the page_load method, but it never arrives from my Javascript function:
What am I doing wrong here? What is the correct syntax to send a parameter from the client and receive data back in an asynchronous way? This seems to be a very basic function, and yet I can find no help in the documentation.
Thanks,
Mark
function indexChanged(sender, args) { |
var id = sender.get_text().trim(); |
$.get( 'User.aspx', { userid:id }, function(data) { |
alert(data); |
}); |
} |
What am I doing wrong here? What is the correct syntax to send a parameter from the client and receive data back in an asynchronous way? This seems to be a very basic function, and yet I can find no help in the documentation.
Thanks,
Mark