RegisterStartupScript() and I have used this method in the past, but what I am trying to do with the results of the dialog are a little different and I hit a road block.
Here is the scenario:
RadCombobox and RadGrid on the page.
User makes a selection in the combobox which populates the grid.
Based on the selection of the griditem, the codebhind looks at the combobox to see if there are any other similar items in the combobox.
At this point, if the combobox contains similar items, I want to prompt the user and ask if the same selection should be applied to those as well. This will be a confirm dialog.
What I am running into an issue of is how to handle the confirm dialog. If the user clicks yes, how do I make a call into codebehind to update my objects (custom class) and update the combobox and grid controls respectively. All of the examples I can find are for clientside programming and nothing that would allow me to take the results of a RadConfirm dialog and make use of the return value in codebehind. All of this of course is being managed by RadAjaxManager to add another layer of complexity.
For example, the radcombobox has an icon associated with each item that is updated based on whether or not that particular item has a grid selection associated with it. So, if the user chooses to apply that grid selection to the similiar items, I would need to update the controls visibly.
Thanks,
Jim