Hello,
I've written the code below in c# and i want to convert it to JavaScript
Because i need it in Client-side
is there anyone to convert it for me?
this is my C# code :
Thank you
Hassan
I've written the code below in c# and i want to convert it to JavaScript
Because i need it in Client-side
is there anyone to convert it for me?
this is my C# code :
int
res = 1;
for
(
int
i = 0; i < 15; i++)
{
int
row = 0;
if
(((Telerik.Web.UI.RadButton)GridView1.Rows[i].FindControl(
"btn_1"
)).Checked !=
true
)
{
row += 1;
}
if
(((Telerik.Web.UI.RadButton)GridView1.Rows[i].FindControl(
"btn_2"
)).Checked !=
true
)
{
row += 1;
}
if
(((Telerik.Web.UI.RadButton)GridView1.Rows[i].FindControl(
"btn_3"
)).Checked !=
true
)
{
row += 1;
}
if
(row == 0)
row = 1;
res = res * row;
}
Thank you
Hassan