Click here to Skip to main content
15,893,790 members

Comments by Member 13952925 (Top 19 by date)

Member 13952925 1-Mar-19 15:16pm View    
@Gerry Schmitz. May I know what exactly is e.Row.Parent in this case?
Member 13952925 1-Mar-19 14:09pm View    
Thanks for the response @Gerry Schmitz. Yeah, I think I understand what that Code does now. BTW, idTitleHdr is a new GridViewRow. Sorry for not mentioning that in the question. :)
Member 13952925 2-Jan-19 10:34am View    
Yes @PriftiConstance. I do have a text tag. But, yeah I figured it out. Thanks for your response though. For some reason, it was'nt working when I use Regex-Pattern="/[^0-9a-zA-Z-_.\:\s]+/g" or Regex="/[^0-9a-zA-Z-_.\:\s]+/g" in the aspx page. So, I declared a RegularExpressionAttribute in the backend and called it in the apsx page using Razor. It worked.
Member 13952925 27-Dec-18 14:57pm View    
That's a great idea! But how do I do that? I mean I'm not at all familiar with the SelectionStart property. Can you please help me?
Member 13952925 27-Dec-18 12:13pm View    
Thanks for the instant response. It's working. The issue now I'm facing is that since I'm doing a text reset using it's .value property, when I type a Special Character in the middle, the Cursor's moving away to the end of the text. Is there any other way where the Cursor stays right there when I type a Special Character in the middle?