Ali Shah
asked on
How to add ajax calendar in gridview dynamically
Hi there,
in my gridview i have some textboxes in each row.
on row data bound I want to display an ajaax calendar with the textbox if the a template field contains the value date.
for example
if (isDate == "Date")
{
AjaxControlToolkit.Calenda rExtender CalBolton = new AjaxControlToolkit.Calenda rExtender( );
CalBolton.ID = "calBolton" + i;
CalBolton.Format = "dd/MM/yyyy";
CalBolton.TargetControlID = txtBoltonCCG.ID;
grdStandsrds.Controls.Add( CalBolton) ;
i = i + 1;
}
kind regards,
in my gridview i have some textboxes in each row.
on row data bound I want to display an ajaax calendar with the textbox if the a template field contains the value date.
for example
if (isDate == "Date")
{
AjaxControlToolkit.Calenda
CalBolton.ID = "calBolton" + i;
CalBolton.Format = "dd/MM/yyyy";
CalBolton.TargetControlID = txtBoltonCCG.ID;
grdStandsrds.Controls.Add(
i = i + 1;
}
kind regards,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
regards,