The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Why doen''''t the SelectAll works when user clicks within the current text. Is there a way to do this ?
When user tabs to the control then the entire text gets selected.. but not when user clicks within the current text..
We are using Sync 3.0
Regards
Yogi
ARAnupama Roy Syncfusion Team March 7, 2006 04:46 AM UTC
Hi Yogi,
Have you tried giving SelectAll() in DoubleTextBox''s GotFocus Event?
this.doubleTextBox1.GotFocus +=new EventHandler(doubleTextBox1_GotFocus);
private void doubleTextBox1_GotFocus(object sender, EventArgs e)
{
this.doubleTextBox1.SelectAll ();
}
Please let me know if this does not satisfy your requirement.
Thank you for choosing Syncfusion.
Regards,
Anu.
ADAdministrator Syncfusion Team March 7, 2006 03:15 PM UTC
Tks for the reply.. the scenario i am describing is
when u tab from field to field, selectall works fine.. but when u explicitly click on the text using mouse then selectall doesn''t work.. looks to me i need to override mouseup,mousedown and mousemove event.. to achieve this flavor..
>
>Hi Yogi,
>
>Have you tried giving SelectAll() in DoubleTextBox''s GotFocus Event?
>
>this.doubleTextBox1.GotFocus +=new EventHandler(doubleTextBox1_GotFocus);
>
>private void doubleTextBox1_GotFocus(object sender, EventArgs e)
> {
> this.doubleTextBox1.SelectAll ();
> }
>
>Please let me know if this does not satisfy your requirement.
>
>Thank you for choosing Syncfusion.
>
>Regards,
>
>Anu.
ARAnupama Roy Syncfusion Team March 8, 2006 02:19 PM UTC
Hi Yogi,
This seems to be working fine with mouse click also in our latest version 4.1.Infact upon a single mouse click within the text will remove the highlight.
Please let me know if you have any questions.
Thanks,
Anu.