Subscribe: tek-works.com
http://feeds.feedburner.com/Tek-workscom
Added By: Feedage Forager Feedage Grade B rated
Language: Malay
Tags:
byval  google maps  identity isauthenticated  indent  level indent  net  passwords  string byval  system web  system  web mail  web 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: tek-works.com

tek-works.com



Hacking WordPress & Plugins



Last Build Date: Tue, 15 Mar 2016 14:41:23 +0000

 



.NET Bind/update not always working or Update Panel hides errors

Tue, 15 Mar 2016 14:41:23 +0000

While at first, the titles may not seem related to each other but they are. I fought this for a couple days. I have multiple listboxes, If you click an item in one, it changes the items in the second. 9 out of 10 times this would work but there were a few instances where […](image)



Indent Items in a Web Forms ListBox or Adding   to ListBox

Wed, 24 Feb 2016 13:22:08 +0000

Today I needed to create a listbox that had 3 levels of indent, with dynamic data. I didn’t want 3 columns but something like this: This is level1 with no indent This is level2 with indent This is level 3 with indent Using Listbox, if you add spaces they will just smash together because of […](image)



User.Identity.IsAuthenticated always False

Tue, 09 Feb 2016 13:49:02 +0000

After many hours and trying every example on the web, I finally found out why User.Identity.IsAuthenticated was always False. This was in the web.config: Remove the “remove name” line and User.Identity.IsAuthenticated will finally be True  (image)



.net DropDownList (DDL) Not showing correct or showing first item everytime

Thu, 14 Jan 2016 14:23:22 +0000

Just a note about something I came across yesterday. I had a DDL that the selecteditem would be incorrect and many times no matter what I chose, the first item would show. After many hours of trying to figure out what was happening, I cam across this for the SelectedValue Property https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listcontrol.selectedvalue(v=vs.110).aspx This property returns the […](image)



Adding Multiple CollapsiblePanelExtender dynamically (in code behind)

Mon, 24 Aug 2015 12:37:03 +0000

Using Multiple CollapsiblePanelExtender’s My task today was to create something that looked like an Accordion control but you could open multiple accordions (sections) at one time. While many online claim this is doable with the Accordion control, I couldn’t get it to work from the code behind so I decided to go with creating multiple Collapsible Panels. There’s […](image)



Adding Styles to Subgurim’s Google Maps Control (Code Behind)

Fri, 19 Jun 2015 15:26:20 +0000

The current version of Subgurim’s Google Maps Control has the ability to add styles to your Google Maps, but I wanted to go deeper and create a map style like seen at Snazzy Maps. There were a few hints on the Subgurim Forums but nothing with a complete answer. The map style I liked was Subtle Grayscale […](image)



.Net Convert Your Site From PlainText Passwords to Salted Hashes

Mon, 18 May 2015 16:04:31 +0000

Why Change your passwords to Salted Hashes I’ve had a site that for a long time has been on my TODO list to convert the site from using plaintext passwords to using passwords that are hashed and salted. No matter what the excuse, the truth is, it’s not really just your data that you’re protecting […](image)



Can’t use TextBoxWatermarkExtender on Password Textbox in ASP.NET

Fri, 27 Jun 2014 17:28:58 +0000

On my new site I wanted to have the “fancy” text in the textbox that would clear once someone clicks in the box to start typing. In ASP.NET there’s a nice AJAX extender called TextBoxWatermarkExtender that allows for this to happen, except if you set your textbox to type “password”, what ever work you add […](image)



System.Web.Mail The classes in this namespace have been deprecated

Fri, 27 Jun 2014 17:16:07 +0000

Switching from system.web.mail to System.Net.Mail is pretty easy and straight forward, the syntax is a little different and instead of having the server declared in the class you declare it in the web.config. Old System.Web.Mail version Function SendEmail(ByVal strEmailTo As String, ByVal strEmailFrom As String, ByVal strSubject As String, ByVal strBody As String, ByVal strBodyFormat […](image)



Creating an Unordered List for a MultiLevel Menu in Code Behind vb.net

Fri, 27 Jun 2014 15:31:23 +0000

As mentioned in New Series: Completely Redoing the Company Website, I’m creating our members website from scratch. One of the items on my to do list is the menu, since I’ll be using master pages, the menu will be placed on every page and will be a big part of the website. Since our website […](image)