Hi Ranu,
Thank you for your details.
When the Style property of the dateTimePickerAdv is set to Office XP, the border color of the control is not set properly.
How ever you can draw a rectangle border around the dateTimePickerAdv as a work around and the code snippet is shown below.
private void Form1_Paint(object sender, PaintEventArgs e)
{
Rectangle rect = (Rectangle)this.dateTimePickerAdv1.Bounds;
Graphics grpx = this.CreateGraphics();
grpx.DrawRectangle(Pens.Black, rect);
}
We are filing a defect report on this issue and we will appreciate if you Could please create a Direct-Trac incident with the subject "dateTimePickerAdv drop down button-F66728" so that we could give more details regarding the fix.
Thank you for using Syncfusion Products.
Regards
Vignesh
NewDTP.zip