RadControls version |
|
RadControls for ASP.NET AJAX Q3 2009 SP2.NET version |
3.5
|
Visual Studio version |
2008
|
programming language |
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
I need to process combobox-selections doing this client-side on a page postback;
Essentially, I need to show selections followed by "X". Clicking on the "X" should uncheck corresponding value in my combo.
(see attached image)
Everything works fine until I click "Apply selections" to initiate postback.
When page loads, I see that combobox keeps selections (using ViewState).
What is a correct way to hook an event that shoud run after combo renders ?
I tried;
- body onload="process())
- placing script at the bottom of the page
- using JScript
$(document).ready(function()
- Page.ClientScript.RegisterStartupScript server-side
In all the instances, when my javascript executes:
var
combo = $find(comboBoxId);
I'm getting null for combo.
I suspect that I should use ScriptManager.
Is it a known issue? What would you suggest ?