Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4110
UltraWebGrid-initialize radio button list
posted

I have an Ultrawebgrid with two Divs in the RowEditTemplate, with a radiobutton list in each Div. One Div is displayed if any row but the last row is selected, the other is displayed only if the last row is selected. DivA has the radiobuttonlist only. DivB has a radiobuttonlist and a textbox. I have the javascript to determine which div opens. My problem is that no matter which Div is opened the radiobuttonlist always shows the selection of the last row. I've tried to write javascript function to initialize each control like I would an IG control, but visual studio expects their  oninit methods to be in the code behind. These are standard ajax radiobuttonlists. How can I initialize them in javascript? Thanks.