Hi
I've an asp page with a DevExpress AspRadioButtonList. On Page_Load the SelectedIndex is set, based on a property variable. On ClientSideEvents SelectedIndexChange some info is changed. All works as it's suppoused to up to this point.
In firefox, if a reload it's triggered, selected radio button circles throught all values. Any one has had a similar issue?
<dxe:ASPxRadioButtonList ID="rbl" runat="server" ClientInstanceName="radiobuttonlist">
<ClientSideEvents SelectedIndexChanged="secChecks" />
<Items>
<dxe:ListEditItem Text="Cms" Value="0" />
<dxe:ListEditItem Text="News" Value="1" />
<dxe:ListEditItem Text="Url" Value="3" />
<%--<dxe:ListEditItem Text="Bussines" Value="2" />--%>
</Items>
</dxe:ASPxRadioButtonList>
On Page Load (a is an id parameter)
myClass s = new myClass (a);
this.rbl.SelectedIndex = s.myProp;
if (s.myProp== 3)
{
this.lbUrl.Text = s.Urlpublic;
}
Javascript on load:
$(document).ready(function(){
if (radiobuttonlist.GetSelectedIndex() == 0)
{
$("div.cms").show();
}
else if (radiobuttonlist.GetSelectedIndex() == 3)
{
$("div.bussines").show();
}
else if (radiobuttonlist.GetSelectedIndex() == 1)
{
$("div.news").show();
}
else if (radiobuttonlist.GetSelectedIndex() == 2)
{
$("div.url").show();
}
});
Thanks in advance!