About the author

Vijay Kodali
E-mail me Send mail

Recent comments



The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2024

Rad Editor loses its value on page postback


RadEditor Content not saved on page postback.



Add UseSubmitBehavior="false" to the button that’s causing page postback.

<asp:Button ID="Button1" runat="server" 
OnClick="Button1_Click" Text="Button1"  UseSubmitBehavior="false"  />

Posted by vijay on Monday, November 26, 2012 5:30 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Asp.Net Security ebook

If you want to read one book about Asp.Net security, read OWASP Top 10 for .NET developer by Troy Hunt

                There’s a harsh reality web application developers need to face up to; we don’t do security very well. A report from WhiteHat Security last year reported “83% of websites have had a high, critical or urgent issue”. That is, quite simply, a staggeringly high number and it’s only once you start to delve into to depths of web security that you begin to understand just how easy it is to inadvertently produce vulnerable code.

Posted by vijay on Thursday, December 29, 2011 6:05 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Make sure AjaxControlToolkit. Properties. Resources. NET4.resources was correctly embedded

Error Message:

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "AjaxControlToolkit.Properties.Resources.NET4.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed.


AjaxControlToolkit’s control load reference refers to the base System.Web.UI.Control method which is present as a part of the ASP.NET AJAX Libraries and those libraries are referenced only when the ScriptManager is referenced in the page.


Add ScriptManager in the page and this error would be resolved.

            <asp:ScriptManager ID="ScriptManager1" runat="server">

Posted by vijay on Sunday, November 6, 2011 9:16 PM
Permalink | Comments (58) | Post RSSRSS comment feed

Asp.Net Listbox–Get Selected items to List

   List<string> liItems= (from ListItem item in ListBox1.Items where item.Selected select item.Value).ToList();

Categories: LINQ | Asp.Net 4.0
Posted by vijay on Wednesday, November 2, 2011 2:27 PM
Permalink | Comments (0) | Post RSSRSS comment feed