Its time to learn JavaScript again folks. If you are a web developer like me there is no escape, you were using it in the past, you are using it more today and chances are that you will be using it a lot tomorrow. Web is getting highly interactive, and everyone is focusing on delivering web based systems that are close to behaviour as desktop applications. I think it makes perfect sense, there were times …
5 articles Tag ajax
JSON Serialization and Circular Reference Error !
I have a table that references a child table with reference to parent (!), I am using LINQ to SQL, for a paricular scenario, when I want to serialize my result using Json(obj) in my controller code, I got an error saying.. “A circular reference was detected while serializing an object of type..” This issue is very well explained by Rick Strahl in his blog (link here) If we are using WCF services, setting SerializationMode …
Ajax and ASP.Net EventValidation
By default in an ASP.Net webform, Event validation is turned ON. This is a security feature aimed at preventing injection attacks. But consider this scenario, your asp.net page is rendered with a drop down list with certain values, depending on some user selections, you did an AJAX call and modified the contents of this drop down list, when you do a postback on this page, asp.net will throw this error: Invalid postback or callback argument. …
Ajax Control Toolkit FAQ
Other day someone asked me why do we get many folders along with AjaxControlToolkit dll when we do site build. Simple answer is these are resource folders for the toolkit that enables it to support localization. If you do not wish to use them, you could simply delete all these folders and just keep the main dll in the root level. If you want to read a little bit more about this, go here. Here …
Using Popup Extender – Some tips
Popup extender is a very useful control included in AJAX Control tool kit. You can find many articles and blogs if you search internet for this. You can download toolkit from here. and you can see controls in action live from here. Here is some of my observations: When you use Popup Extender, if there is any dropdown list controls in your parent page, when popup is displayes, extender will automatically make the dropdowns invisible. …


Recent Comments