or
'Insert/Update the Adjustment With oCmd .Parameters.Clear() .Connection = oConn .CommandType = CommandType.StoredProcedure .CommandText = "iBill_Dashboard_Insert_Adjustments" With .Parameters .AddWithValue("@DepartmentTab", DepartmentTab) .AddWithValue("@ProjectType", ProjectType) .AddWithValue("@Month", Month) .AddWithValue("@Year", Year) .AddWithValue("@Value", tValue.Text) .AddWithValue("@AdjustmentID", AdjustmentID) .Add("@NewID", SqlDbType.Int) End With .Parameters("@NewID").Direction = ParameterDirection.Output .ExecuteNonQuery() End With AdjustmentID = oCmd.Parameters("@NewID").Value<telerik:RadNumericTextBox ID="edDose" runat="server" DbValue='<%# Bind("PRES_DOSE") %>' Width="40" MaxLength="12" Height="22px" ShowSpinButtons="true"></telerik:RadNumericTextBox><script type="text/javascript">document.write('test');</script>
<telerik:RadNumericTextBox ID="rnt_EmployeeCount" Width="70px" ShowSpinButtons="true" MinValue="0" MaxValue="9999999" Style="text-align: right;" runat="server" NumberFormat-DecimalDigits="0" NumberFormat-ZeroPattern="0" />NumberFormat-ZeroPattern="0" the problem disappears... seems like a bug?Hello,
I am using an html table to populate rows in item template of
radcombobox. my first column in html table is checkbox and later are
label controls. How can I access which checkboxes are checked on a
button click? I am using this code but, it only returns 1 row:
Table mytbl = (Table)ddnInfo.Items[0].FindControl("tblinfo");
Response.Write(mytbl.Rows.Count.ToString());
foreach (TableRow row in mytbl.Rows)
{
var checkBox = (CheckBox)row.Cells[0].Controls[0];
if (checkBox.Checked)
{
Response.Write("checked");
}
}