Click here to Skip to main content
15,898,134 members

Comments by Ashad25 (Top 11 by date)

Ashad25 21-Feb-15 12:23pm View    
I am not using any Javascript code for that, but it is the default behavior of my browser(My browser is using Webkit engine) which is selecting the textbox value automatically.
Ashad25 21-Feb-15 12:10pm View    
I have a textbox with a value, so on page load the textbox value is selected by default.My requirement is on page load the textbox value shouldn't be selected in web forms not winforms
Ashad25 21-Feb-15 11:56am View    
No, my textbox shouldn't be readonly, i can able to edit the textbox.For Winforms we have SelectionLength but for webforms how can we achieve this.
Ashad25 16-Feb-15 14:58pm View    
Hi Afzaal thanks for ur post. As i told before i need to check the browser engine not browser type. So from the Request.Browser it is not possible. I need to check if the Browser engine is WebKit then i want to execute some codes in code behind.
Ashad25 16-Feb-15 14:19pm View    
In the second option if u register the javascript file in your ascx page, then how you will call the method in code behind file.