Contents tagged with VB.Net
-
Regex to find URL within text and make them as link
Some time back on the form somebody was looking for some help in searching URL within text and make those URLs as link. Me and that guy tried various regex but the one that worked out I thought to put it on the blog so that it can help me and others later. Regex itself is:
-
Login through cookies
Different forums are filled with the questions regarding how to manually implement cookies for login or in other words how to implement "Remeber me" option.
-
Javascript Enable/Disable Dropdown in Gridview using Checkboxes
If you come up with some requirement in which you have a Checkbox and a DropDownList in GridView control and you are requried to enable disable the DropDownList on the basis of the CheckBox value you can use following Code.
-
Reading file content from different webserver using HttpWebRequest
I was replying to one of the post on the ASP.Net forum in which the requirement was like reading txt file contents from different webservers. When he got satisfied with the solution then I thought to put the piece of code in my blog as well for others and my future reference.
-
Passing value from popup window to parent form's TextBox
Once again seen lot of questions on the forum related to passing values from popup window to the parent form textbox. Specially when they have some GridView type control in the popup. In the following example I will be using two forms, parent form will be parent.aspx and popup will be popup.aspx. Also note that my parent.aspx form is derived from some MasterPage. Code is provided both in VB.Net and C#.Net.
-
Check/Uncheck checkboxes in GridView using javascript
----------------------------------------- .cs file if C#.Net is the language ------------------------------------------
C#.Net Code