Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
685
DatePickerProvider
posted

i want to update checkbox and date in webdatagrid i placed checkbox in ItemTemplate and for datetime i used DatePickerProvider, i can find checkbox value but unable to reterive date value from webdatagrid.

i am doing like this

for checkbox

Checkbox chk = (CheckBox)grdProject.Rows[iCount].Items[8].FindControl("chkActive");
        bool bArchive = chk.Checked;

for datepickerprovide

DatePickerProvider datepicker ?????????????????????

Any one have idea what have to do?

 

 

  • 29417
    Suggested Answer
    Offline posted

    Hello Shyam ,

     

    I know it has been a while since you’ve posted your question but if you still need assistance I’d be glad to help.

    You can access the provider’s value like this:

     

    DatePickerProvider datePicker = (DatePickerProvider)WebDataGrid1.EditorProviders["DatePicker1"];

            var value = datePicker.EditorControl.Date;

     

    Where "DatePicker1" is the id of the provider.

     

    Let me know if you have any other questions regarding this.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://ko.infragistics.com/support