I have an aspx page. On this page datagrid, the last column of the grid has a drop down list.
When the user changes the value of the drop down list I want an event to fire in javascript.
my code behind file has the following code in the itemdatabound event:
Cbo.Attributes.Add("onchange", "SelectedPremium( this );")
When the event fires I get the following error message:Microsoft JScript runtime error: Object expected
The 'This' key word does not want to work. How can I dynamcially reference the control since I won't know the name until the form is rendered on the users screen?
Thank you for your assistance.




Reply With Quote