SharePoint Control Overrides My JavaScript “Keypress” Event

Monday, December 3, 2012

When you want to bind an event handler to the "keypress" JavaScript event, or trigger that event on an element, you can achieve this using JQuery  handler like .keypress( handler(eventObject) ) . For example, binding "keypress" event to a text box on your custom control : $("#input").keypress(function (event) { var code = (event.keyCode ? event.keyCode : event.which); if(code == 13) //Enter keycode // your logic here... } });   As you can see, the task is very simple and straightforward, but when dealing with SharePoint , sometimes things get pretty messy. Scenario:  You developed a custom control with a text box and used a "keypress" JavaScript event...

SharePoint 2010: Long Polling technique using JQuery and WCF rest services example

Friday, June 15, 2012

Hi guys, In the world of web 2.0 we need to make our application (in our case SharePoint) more collaborative, interactive and responsive. that’s why I created a nice example that uses the Long Polling pattern to get us the real-time web applications experience like Gmail or Facebook has. In our example we’ll create a simple Like button that updates our custom list number field and increases it every time we click our button. below we create a label div that shows in real-time the number of likes. (in the end of my post you can download the sample...

First Time For Everything :))

Monday, September 12, 2011

Hi guys, For my first blog post i would like to introduce my self...My name is Alex Choroshin i have Over 2 years of development experience with the SharePoint  2007\2010 platform ,Encompassing all the aspects of SharePoint development.Also knowledge in developing ASP.Net /Silverlight / Wpf Applications. currently i work at a bank,  developing  portal based on  2010 sharepoint platform. my Specialties :ASP.NET| WSS | C# | SharePoint 2010 | MOSS 2007 | .NET | Silverlight | WPF | MSSQL | Custom Controls | Web Parts| BCS | WCF | CSS | HTML | Javascript I'm sure we gonna have a lot of fun...