Link to home
Start Free TrialLog in
Avatar of Weller0123
Weller0123

asked on

Radiobuttonlist client side event...

I'm trying to run the function activate() on the onclick event in my code behind.

Any glaring syntax errors here?

rblProj.Items(0).Attributes.Add("onclick", "activate('S');")

Thanks,
Avatar of AerosSaga
AerosSaga

how bout:

rblProj.Attributes.Add("onclick", "activate('S');")

Regards,

Aeros
oops scratch that how bout:

rblProj.Item(0).Attributes.Add("onclick", "activate('S');")
ASKER CERTIFIED SOLUTION
Avatar of raterus
raterus
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Weller0123

ASKER

raterus, You're right....

I'm going to use radiobuttons...

Thx...
Those work great too, I don't know why MS decided not to allow you to render additional attributes to these controls.