<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6168599561194312750</atom:id><lastBuildDate>Thu, 16 Feb 2012 14:18:23 +0000</lastBuildDate><category>webservice</category><category>C#</category><category>IPhone</category><category>jquery</category><category>Video IVR</category><category>CheckBox</category><category>IVVR</category><category>javascript</category><category>CheckBoxList</category><category>IE8</category><category>MonoTouch</category><category>Netanel Lev</category><category>נתנאל לב</category><category>Mono</category><category>lnetanel</category><category>prototype</category><category>ASP.NET</category><title>Net@nel - Mobile N' Web</title><description>A blog about Web, Mobile, Technology and Life.</description><link>http://www.mobilenweb.com/</link><managingEditor>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</managingEditor><generator>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/mobilenweb" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="mobilenweb" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-2942643625330451568</guid><pubDate>Thu, 10 Jun 2010 19:44:00 +0000</pubDate><atom:updated>2010-06-10T22:48:14.756+03:00</atom:updated><title>Imitate UIPickerView behavior on safari</title><description>&lt;p&gt;When the user encounter a drop-down box while browsing the web the safari loads a UIPicker view in order to populate the selections and present it to the user.    &lt;br /&gt;On one of my resent projects I needed this same functionality but implemented as a native solution and not as web-view/html solution.    &lt;br /&gt;The solution I found was using the UIActionSheet control that contains a UIPickerView as a subview.&lt;/p&gt;  &lt;p&gt;In the .h file include:&lt;/p&gt;  &lt;p&gt;UIActionSheet * pickerContainer;   &lt;br /&gt;UIPickerView * pickerItems;&lt;/p&gt;  &lt;p&gt;In the .m file include this code on the viewDidLoad method:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;pickerContainer = [[UIActionSheet alloc] init];     &lt;br /&gt;pickerItems = [[UIPickerView alloc] initWithFrame:CGRectMake(0,0,0,0)];      &lt;br /&gt;pickerItems.delegate = self;      &lt;br /&gt;[pickerContainer addSubview:pickerItems];&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;And when you want the picker to appear on screen execute this code:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;[pickerContainer showInView:self.view];     &lt;br /&gt;[pickerContainer setBounds:CGRectMake(0,0,320,400)];&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;This will make the ActionSheet appear on screen in the same way the picker appears when you select a drop-down element on an HTML page.   &lt;br /&gt;You can also add buttons above the UIPickerView in order to mimic the same functionality that happens on web views. &lt;/p&gt;  &lt;p&gt;Happy coding!&lt;/p&gt;  &lt;p&gt;Netanel Lev   &lt;br /&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1ed1bc05-d12f-4560-a416-78efd31879d2" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/IPhone+SDK" rel="tag"&gt;IPhone SDK&lt;/a&gt;,&lt;a href="http://technorati.com/tags/UIPickerView" rel="tag"&gt;UIPickerView&lt;/a&gt;,&lt;a href="http://technorati.com/tags/UIActionSheet" rel="tag"&gt;UIActionSheet&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Netanel+Lev" rel="tag"&gt;Netanel Lev&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-2942643625330451568?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2010/06/imitate-uipicker-behavior-on-safari.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-1265034974497829449</guid><pubDate>Thu, 10 Jun 2010 18:58:00 +0000</pubDate><atom:updated>2010-06-10T21:58:44.595+03:00</atom:updated><title>Facebook streamPublish cross-scripting error on IE8</title><description>&lt;p&gt;For the past week I’ve worked on a big internet campaign that included an website where the users could connect to facebook using facebook connect and publish content from the site to their profile wall.   &lt;br /&gt;When I tried to publish the post on facebook I encountered an error I haven’t seen before and this error occurred only in Internet Explorer 8 , non of the other browsers (chrome, ff etc) produced this error&amp;#160; and the content didn’t appear in the publish box.    &lt;br /&gt;The was the error:    &lt;br /&gt; “ Internet explorer has modified this page to help prevent cross-site scripting “&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_Kx51uY84gjM/TBE132WGlQI/AAAAAAAAAZE/VFedhr4UdYw/s1600-h/PublishError%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="PublishError" border="0" alt="PublishError" src="http://lh6.ggpht.com/_Kx51uY84gjM/TBE14w4B7fI/AAAAAAAAAZI/B4RGEu2w0Ww/PublishError_thumb%5B2%5D.jpg?imgmax=800" width="670" height="374" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;After googeling didn’t give me the answer I tried to modify the content I pass facebook on the FB.Connect.streamPublish function and I discovered that the parameter of the user_text has a limitation of 95 non English characters (my text was in Hebrew) cutting the text to less then the limitation fixed the issue! &lt;/p&gt;  &lt;p&gt;Hope this helps,&lt;/p&gt;  &lt;p&gt;Netanel Lev&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:426c80fe-2033-4735-8fd6-ba8f11a8243b" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/IE8" rel="tag"&gt;IE8&lt;/a&gt;,&lt;a href="http://technorati.com/tags/facebook" rel="tag"&gt;facebook&lt;/a&gt;,&lt;a href="http://technorati.com/tags/cross-scripting" rel="tag"&gt;cross-scripting&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Netanel+Lev" rel="tag"&gt;Netanel Lev&lt;/a&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-1265034974497829449?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2010/06/facebook-streampublish-cross-scripting.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/_Kx51uY84gjM/TBE14w4B7fI/AAAAAAAAAZI/B4RGEu2w0Ww/s72-c/PublishError_thumb%5B2%5D.jpg?imgmax=800" height="72" width="72" /><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-5533924724233187368</guid><pubDate>Wed, 16 Sep 2009 22:17:00 +0000</pubDate><atom:updated>2009-09-17T10:44:54.129+03:00</atom:updated><title>Twitter is my radio station, Google Reader is my disc player!</title><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_Kx51uY84gjM/SrHo8Q3lmjI/AAAAAAAAASc/jeWupT11aIA/s1600-h/TWvsGR%5B2%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="TWvsGR" border="0" alt="TWvsGR" src="http://lh5.ggpht.com/_Kx51uY84gjM/SrHo9cCaFoI/AAAAAAAAASg/8rDAsRmCXvA/TWvsGR_thumb.jpg?imgmax=800" width="244" height="84" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I don't have a single CD in my car (nor an MP3 player for that matter), my wife has about a dozen of CD's that she listen to all the time and she always ask me how can I drive without music? Well, I can't, but I love to listen to the music that is played from the radio and not from a CD.&lt;/p&gt;  &lt;p&gt;You are probably thinking what the heck I'm talking about?! and what CD's or radio stations have to twitter or Google Reader?! So, let me explain.&lt;/p&gt;  &lt;p&gt;Think about it like this, when you listen to the music from the radio you don't really know which song will be played next and if you will like it or not. The anticipation for the next song make the music in the radio somewhat more interesting and not predictable. In the other side when you listen to your favorite CD's or MP3's you basically know which type of songs you will hear and for me this is less interesting.&lt;/p&gt;  &lt;p&gt;Twitter is not predictable, when I wrote these lines I followed around 223 people that are divided to 3-4 groups and have another 3 search columns on various topics on my &lt;a href="http://www.tweetdeck.com/"&gt;TweetDeck&lt;/a&gt;(grate twitter client!). Every new tweet is a song that maybe I like or not but it's not predictable. On my Google Reader I read about 20 blogs on different topics but all my blogs are predictable, I know what to anticipate, I generally know which type of information I will get from those RSS feeds and sometimes it's just plain boring.&lt;/p&gt;  &lt;p&gt;In the last couple of weeks I started to use twitter on a regular basics and found a whole new world of information, information that until know you needed to look for but twitter let you get the information right to your hands, all you need to do is just pay attention and read! Twitter is an huge information index and all you need to do is just know what you are looking for, someone probably already tweet it. I guess twitter will never replace my Google Reader completely because I love my blogs but twitter sure took the first place in the competition on my attention and because we are just humans and we have limited time to spend every day, my GR is now at the second place. I think that every time I'm in the mood to &amp;quot;hear a familiar song&amp;quot; I'll go back to my good old Google Reader.&lt;/p&gt;  &lt;p&gt;What about you?   &lt;br /&gt;Did twitter replaced you disc player?    &lt;br /&gt;    &lt;br /&gt;follow me on twitter &lt;a href="http://www.twitter.com/lnetanel"&gt;@lnetanel&lt;/a&gt;    &lt;br /&gt;Netanel Lev&lt;/p&gt;  &lt;p&gt;&lt;/p&gt; &lt;script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"&gt; &lt;/script&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-5533924724233187368?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2009/09/twitter-is-my-radio-station-google.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_Kx51uY84gjM/SrHo9cCaFoI/AAAAAAAAASg/8rDAsRmCXvA/s72-c/TWvsGR_thumb.jpg?imgmax=800" height="72" width="72" /><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-5158944136691346120</guid><pubDate>Wed, 29 Jul 2009 18:34:00 +0000</pubDate><atom:updated>2009-08-20T00:47:59.787+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">IE8</category><category domain="http://www.blogger.com/atom/ns#">Netanel Lev</category><category domain="http://www.blogger.com/atom/ns#">נתנאל לב</category><title>Want a better IE performance? Kill it's addons!</title><description>The other day I visited a &lt;a href="http://www.eranimation.com/"&gt;friend &lt;/a&gt;of mine that bought a new netbook.&lt;div&gt;After installing windows XP SP3 and IE8 his browser perfomace dropped, web sites were loaded slowly and it took the IE ages to load.&lt;/div&gt;&lt;div&gt;At first he thought it was a malawere of some kind so he installed an antivirus and scanned the computer but the scan showed nothing.&lt;/div&gt;&lt;div&gt;After a little more research he said to me "I think I know who is the virus - the IE itself..." and guess what, he was right.&lt;/div&gt;

&lt;div&gt;IE8 comes with a lot of addons that suppose to make your social life easier. I for one would never understand what is the use for those addons and don't know anyone that use them...&lt;/div&gt;&lt;div&gt;Apperentally those addons slow down the performance of the browser and as a result it take ages to make it launch or load websites.&lt;/div&gt;


&lt;div&gt;As I see it if you want a better browsing experiance you have two options:&lt;/div&gt;&lt;div&gt;1. Disable those addons.&lt;/div&gt;&lt;div&gt;2. Use another browser.&lt;/div&gt;&lt;div&gt;Personally I'm a big fan of Google Chrome and use it as my default browser but because I'm a web developer who develop using .Net and Visual Studio technologies I can't just get rid of the IE.&lt;/div&gt;&lt;div&gt;The only choice I had left is to disable those addons and that exactly what I did.&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;


&lt;div&gt;Here is how you do it:&lt;/div&gt;
&lt;div&gt;1. Go to Tools -&gt; Manage add-ons&lt;/div&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Kx51uY84gjM/SnCjgv6gm6I/AAAAAAAAAR0/gopiJJHCdT4/s1600-h/Step1.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 257px; height: 102px;" src="http://1.bp.blogspot.com/_Kx51uY84gjM/SnCjgv6gm6I/AAAAAAAAAR0/gopiJJHCdT4/s320/Step1.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5363966939211275170" /&gt;&lt;/a&gt;
&lt;div&gt;2. On the left side of the window that was opened choose "all add-ons"&lt;/div&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Kx51uY84gjM/SnCj_9YZ1jI/AAAAAAAAASE/Sc9QoB_YZck/s1600-h/Step2.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 215px; height: 107px;" src="http://3.bp.blogspot.com/_Kx51uY84gjM/SnCj_9YZ1jI/AAAAAAAAASE/Sc9QoB_YZck/s320/Step2.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5363967475402266162" /&gt;&lt;/a&gt;
&lt;div&gt;3. Disable irrelevant add-ons by choosing them and press the disable button at the right bottom side of the window.&lt;/div&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Kx51uY84gjM/SnCj1huzprI/AAAAAAAAAR8/gfh0T1lQeRs/s1600-h/Step3.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 129px;" src="http://4.bp.blogspot.com/_Kx51uY84gjM/SnCj1huzprI/AAAAAAAAAR8/gfh0T1lQeRs/s320/Step3.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5363967296181348018" /&gt;&lt;/a&gt;


&lt;div style="display:block"&gt;Now I don't need to be afraid that my pc will freeze every time I click on a link in an email message.&lt;/div&gt;&lt;div&gt;Hope this helps you too!&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;Netaenl&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;
&lt;script type='text/javascript'&gt;
tweetmeme_url = 'http://www.mobilenweb.com/2009/07/want-better-ie-performance-kill-its.html';
&lt;/script&gt;
&lt;script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'&gt; &lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-5158944136691346120?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2009/07/want-better-ie-performance-kill-its.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_Kx51uY84gjM/SnCjgv6gm6I/AAAAAAAAAR0/gopiJJHCdT4/s72-c/Step1.JPG" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-6294929461772202994</guid><pubDate>Mon, 27 Jul 2009 22:29:00 +0000</pubDate><atom:updated>2009-08-03T22:58:34.117+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Netanel Lev</category><category domain="http://www.blogger.com/atom/ns#">IPhone</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">MonoTouch</category><category domain="http://www.blogger.com/atom/ns#">Mono</category><category domain="http://www.blogger.com/atom/ns#">נתנאל לב</category><title>Developing an IPhone app with C#</title><description>Yes, it's possible.&lt;div&gt;A couple of days ago my friend &lt;a href="http://twitter.com/ereze"&gt;Erez Eden&lt;/a&gt; sent me an email with a link to the &lt;a href="http://www.mono-project.com/"&gt;Mono project&lt;/a&gt; web site.&lt;/div&gt;&lt;div&gt;For those of you that aren't familiar with it, mono is a "cross platform, open source .NET development framework" sponsored by Novell and the open source community - that means that you can develop applications to OS's other then Windows using .Net technology.&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;I'm familiar with this project for some time now but what I didn't know is that there is an IPhone OS version of the framework! that means that you can develop IPhone app using C# - How cool is that?&lt;/div&gt;&lt;div&gt;The subproject is called MonoTouch and you can find it &lt;a href="http://www.mono-project.com/MonoTouch"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;Currently it's not open to the public but hopefully it will be in this September.&lt;/div&gt;&lt;div&gt;The down side is that because the IPhone OS doesn't support JIT engines the code you write will be compiled to static native code for the OS.&lt;/div&gt;&lt;div&gt;That generally means no reflection and some more &lt;a href="http://www.mono-project.com/MonoTouch:Limitations"&gt;limitations &lt;/a&gt;for the development. &lt;/div&gt;&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;As a developer in the mobile industry that is a big fan of the .Net technology and espacially C# I was very excited to here about this framework but after I realised I'll still have to develop the application on a mac inorder to test it I started thinking why to bother and start to develop an application that rely on a third party framework, maybe it's better to suck it up and learn the Objective-C syntax and that's it (objective-c is the language that being used do develop applications to the IPhone and Mac) ....&lt;/div&gt;&lt;div&gt;I still don't know if I'll go with the mono or objective-c path but I'll sure give the MonoTouch a try once I'll get my hands on it!&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;BR/&gt;&lt;div&gt;What do you think?&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-6294929461772202994?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2009/07/developing-iphone-app-with-c.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-49582144174017550</guid><pubDate>Sat, 11 Jul 2009 21:40:00 +0000</pubDate><atom:updated>2009-08-03T22:59:15.530+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">javascript</category><category domain="http://www.blogger.com/atom/ns#">CheckBoxList</category><category domain="http://www.blogger.com/atom/ns#">Netanel Lev</category><category domain="http://www.blogger.com/atom/ns#">ASP.NET</category><category domain="http://www.blogger.com/atom/ns#">נתנאל לב</category><title>Getting values of CheckBoxList items from javascript</title><description>On my &lt;a href="http://devblog.lnetanel.com/2009/07/aspnet-get-checkbox-value-from.html" target="_blank"&gt;last post&lt;/a&gt; I wrote on getting CheckBox values from client side.&lt;div&gt;On the same project I needed the same functionality for the CheckBoxList control.
Because CheckBoxList hold ListItem I couldn't access the InputAtributes property of the CheckBox.&lt;/div&gt;&lt;div&gt;After some googling I found &lt;a href="http://evanfreeman.blogspot.com/2008/11/client-side-values-for-checkboxlist.html" target="_blank"&gt;this post&lt;/a&gt; by Evan Freeman that explains how to create a new custom control that renders the server side values into the html code.&lt;/div&gt;&lt;div&gt;In this way you gain server side and client side functionality on the same time.&lt;/div&gt;&lt;div&gt;This is the code for the new ChcekBoxList control:
&lt;pre name="code" class="c#"&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Globalization;
using System.Security.Permissions;

namespace System.Web.UI.WebControls{
[AspNetHostingPermission(SecurityAction.InheritanceDemand,
Level = AspNetHostingPermissionLevel.Minimal),
AspNetHostingPermission(SecurityAction.LinkDemand,
Level = AspNetHostingPermissionLevel.Minimal),
ToolboxData("&lt;{0}:WorkingCheckBoxList runat=\"server\" /&gt;")]
public class CheckBoxListWithClientValues : CheckBoxList
{
private CheckBox _controlToRepeat;
private bool _cachedIsEnabled;
private bool _cachedRegisterEnabled;

public CheckBoxListWithClientValues()
{
    this._controlToRepeat = new CheckBox();
    this._controlToRepeat.EnableViewState = false;
    this._controlToRepeat.ID = "0";
    this.Controls.Add(this._controlToRepeat);
}         

protected override void RenderItem(ListItemType itemType,
    int repeatIndex,
    RepeatInfo repeatInfo,
    System.Web.UI.HtmlTextWriter writer)
{   
    if (repeatIndex == 0)
    {     
        this._cachedIsEnabled = base.IsEnabled;
        this._cachedRegisterEnabled = ((this.Page != null) &amp;amp;&amp;amp; base.IsEnabled);
    }               

    ListItem item = this.Items[repeatIndex];
    this._controlToRepeat.Attributes.Clear();

    if (item.Attributes.Count &gt; 0) //has attributes  
    {       
        foreach (string str in item.Attributes.Keys)
        {          
            this._controlToRepeat.Attributes[str] = item.Attributes[str];
        } 
    }
    this._controlToRepeat.ID = repeatIndex.ToString(NumberFormatInfo.InvariantInfo);
    this._controlToRepeat.Text = item.Text;  
    this._controlToRepeat.Checked = item.Selected;
    this._controlToRepeat.EnableViewState = true;
    this._controlToRepeat.Enabled = this._cachedIsEnabled &amp;amp;&amp;amp; item.Enabled;
    this._controlToRepeat.InputAttributes.Add("value", item.Value); //add the value attribute to be rendered
    this._controlToRepeat.RenderControl(writer);
}
}
}
&lt;/pre&gt;And thanks for Evan for posting this code.&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;Happy coding.&lt;/div&gt;&lt;div&gt;Netanel.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-49582144174017550?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2009/07/client-side-values-for-checkboxlist.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-2959090155526303812</guid><pubDate>Sat, 11 Jul 2009 20:54:00 +0000</pubDate><atom:updated>2009-07-12T01:00:58.665+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">javascript</category><category domain="http://www.blogger.com/atom/ns#">CheckBox</category><category domain="http://www.blogger.com/atom/ns#">Netanel Lev</category><category domain="http://www.blogger.com/atom/ns#">ASP.NET</category><title>ASP.NET Get a CheckBox value from javascript</title><description>Recently I needed to access the value of a CheckBox from javascript.&lt;div&gt;&lt;div&gt;Because CheckBox doesn't have a Value property I tried the following:&lt;/div&gt;&lt;div&gt;&lt;pre name="code" class="c#"&gt;myCheckBox.Attributed.Add("value", "test");&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;And tried to access it from javacstipt:&lt;pre name="code" class="js"&gt;alert($("myCheckBox").value)&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;I was surprised to find out that the message in the alert was "on" and not "test" as I expected so I looked at the source of the page and this is what I saw:&lt;pre name="code" class="html"&gt;&lt;input id="myCheckBox" type="checkbox" name="myCheckBox"&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;As you can see the value I set on the server side code doesn't appear in the result html code.&lt;/div&gt;&lt;div&gt;After a little more research I found out there is a property for the CheckBox that is called "InputAttributes" - this property adds the attributes to the CheckBox input.&lt;/div&gt;&lt;div&gt;This is the correct code:&lt;pre name="code" class="c#"&gt;myCheckBox.InputAttributes.Add("value", "test");&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;That's all I needed.&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;Happy coding.&lt;/div&gt;&lt;div&gt;Netanel&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-2959090155526303812?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2009/07/aspnet-get-checkbox-value-from.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-3980530202699539374</guid><pubDate>Fri, 26 Jun 2009 07:28:00 +0000</pubDate><atom:updated>2009-06-26T12:08:03.971+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">javascript</category><category domain="http://www.blogger.com/atom/ns#">webservice</category><category domain="http://www.blogger.com/atom/ns#">Netanel Lev</category><category domain="http://www.blogger.com/atom/ns#">jquery</category><category domain="http://www.blogger.com/atom/ns#">ASP.NET</category><category domain="http://www.blogger.com/atom/ns#">lnetanel</category><category domain="http://www.blogger.com/atom/ns#">prototype</category><title>ASP.NET calling a web service from javascript</title><description>&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Calling a web service from
        javascript should be a very easy task. &lt;/span&gt;
    &lt;div&gt;
        &lt;span class="Apple-style-span" style="font-family: arial;"&gt;Especially if you are using
        &lt;/span&gt;&lt;a href="http://www.prototypejs.org/"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;
            prototype &lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;or
        &lt;/span&gt;&lt;a href="http://jquery.com/"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;
            jquery &lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;in your
                project.&lt;/span&gt;&lt;/div&gt;
    &lt;div&gt;
        &lt;span class="Apple-style-span" style="font-family: arial;"&gt;The other day I spent too
            much time trying to call a WebService using Prototype js library so I decided to
            post the code here in case anyone else encounter the same problem.&lt;/span&gt;&lt;/div&gt;
    &lt;div&gt;
        &lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div&gt;
        &lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Server side code:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
       &lt;pre name="code" class="c#"&gt;
            [WebService]
            [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
            [System.Web.Script.Services.ScriptService]
            public class WebService : System.Web.Services.WebService
            {
                [WebMethod]
                public string HelloWorld(string testParam)
                {
                    return testParam;
                }
            }
       &lt;/pre&gt;
    &lt;div&gt;
        &lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div&gt;
        &lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Prototype syntax:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
         &lt;pre name="code" class="js"&gt;
            new Ajax.Request('WebServices/WebService.asmx/HelloWorld',
                {
                postBody: "{testParam:'hello'}",
                method: 'post',
                contentType: 'application/json; charset=utf-8',
                onSuccess: function(transport) {
                    alert(transport.responseText);
                    },
                onFailure: function(transport) {
                    alert(transport.responseText);
                    }
            });
         &lt;/pre&gt;
    &lt;div&gt;
        &lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div&gt;
        &lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;JQuery syntax:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
         &lt;pre name="code" class="js"&gt;
            $.ajax({
                    type: "POST",
                    url: "WebServices/WebService.asmx/HelloWorld",
                    data: "{testParam:'hello'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function(result){
                        alert(result.d);
                    }
                });
         &lt;/pre&gt;
    
        &lt;div&gt;
            &lt;span class="Apple-style-span" style="font-family: arial;"&gt;That's it.&lt;/span&gt;&lt;/div&gt;
        &lt;div&gt;
            &lt;span class="Apple-style-span" style="font-family: arial;"&gt;Hope it help someone out
                there.&lt;/span&gt;&lt;/div&gt;
        &lt;div&gt;
            &lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;/span&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;span class="Apple-style-span" style="font-family: arial;"&gt;Happy coding!&lt;/span&gt;&lt;/div&gt;
        &lt;div&gt;
            &lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;/span&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;span class="Apple-style-span" style="font-family: arial;"&gt;Netanel&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-3980530202699539374?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2009/06/aspnet-calling-web-service-from.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-5460213494286215994</guid><pubDate>Sun, 21 Jun 2009 21:18:00 +0000</pubDate><atom:updated>2009-07-28T02:01:34.693+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">IVVR</category><category domain="http://www.blogger.com/atom/ns#">Video IVR</category><category domain="http://www.blogger.com/atom/ns#">Netanel Lev</category><title>IVV What? oh, IVVR...</title><description>&lt;b&gt;So what is IVVR?&lt;/b&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;IVVR (also known as Video IVR or IV2R) Stands for Interactive Video and Voice Response.&lt;/div&gt;&lt;div&gt;This technology (avaliable only for 3G handsets that can carry a video call) is very similar to the traditional IVR technology (Interactive Voice Response).&lt;/div&gt;&lt;div&gt;On IVR services users calls a phone number and interacts with a service using the phone's dial pad. The service plays the users voice menus/records and the user navigates through the service by pressing the the phone's dial pad.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;On an IVVR service instead of just hearing voice menus and records, the user sees a video on his handset screen and interact with the service just like traditional IVR services.&lt;/div&gt;&lt;div&gt;The video can be a graphical menu, a video clip,  or even a live video chat with a customer care representative.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;IVVR technology enables a new kind of services that until know could only be accomplished by native applications or WAP services, both requires a lot of development and maintenance time while an IVVR service is being developed only once and runs on every 3G handset that can carry a video call.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;IVVR v Native app v WAP&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;From a service provide point of view IVVR technology has some advantages and disadvantages over the native app/wap sites market. I'll mention some of them.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Advantages:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;IVVR has a build in business model that comes from the revenue of the incoming calls for the service.&lt;/li&gt;&lt;li&gt;Marketing a phone number/short code is an easier task then marketing a native app that require download or a wap site that require to remember a URL.&lt;/li&gt;&lt;li&gt;Users with 3G handsets doesn't have to buy a data plan from their carriers so they can use wap sites or native apps that requires connectivity to internet. &lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Disadvantages&lt;/b&gt;:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Interacting with an IVVR service is easier then interacting with a wap site but not as intuitive as a native app.&lt;/li&gt;&lt;li&gt;IVVR video quality is poor and can be an issue for some services.&lt;/li&gt;&lt;li&gt;Users aren't familiar with this technology and don't know how to use video calls.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;IVVR in Israel&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Israel is a pioneer in the field of IVVR.&lt;/div&gt;&lt;div&gt;All four major news channels in Israel has lunched an IVVR portal for their video content.&lt;/div&gt;&lt;div&gt;The last one is the Russian channel - Israel Plus (channel 9) that has recently lunched an IVVR portal that was developed by the company I work for as the CTO - &lt;a href="http://www.pocketworlds.co.il/"&gt;Pocket Worlds LTD&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;On this portal that can be reached by calling *909 using a video call users can watch a live streaming from the channel, recent news and programs from the channel etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Several more IVVR services has lunched in Israel, on some of them hopefully I'll post on a different occasion.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;/div&gt;&lt;div&gt;IVVR is a technology that only starts it's rout.&lt;/div&gt;&lt;div&gt;From my point of view it's a very interesting technology that enables new kind of services.&lt;/div&gt;&lt;div&gt;I think that in the near future we will see more and more services based on this technology.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What do you think?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Netanel&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-5460213494286215994?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2009/06/ivv-what-oh-ivvr.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6168599561194312750.post-4183856195534433976</guid><pubDate>Sun, 21 Jun 2009 21:17:00 +0000</pubDate><atom:updated>2009-08-03T23:00:11.935+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Netanel Lev</category><category domain="http://www.blogger.com/atom/ns#">נתנאל לב</category><title>Ready? Set, Go!</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Kx51uY84gjM/Sj6jjyqwy-I/AAAAAAAAAQc/VSuxPwBPgGE/s1600-h/thumbnail.aspx.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 160px; height: 159px;" src="http://4.bp.blogspot.com/_Kx51uY84gjM/Sj6jjyqwy-I/AAAAAAAAAQc/VSuxPwBPgGE/s320/thumbnail.aspx.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5349893242654608354" /&gt;&lt;/a&gt;
&lt;div dir="ltr" style="text-align: left; direction: ltr; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;So, I finally decided to write my own blog.&lt;/span&gt;&lt;/div&gt;&lt;div dir="ltr" style="text-align: left; direction: ltr; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;I don't really know what I'm going to write about just yet,&lt;/span&gt;&lt;/div&gt;&lt;div dir="ltr" style="text-align: left; direction: ltr; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;I'll probably write a little about mobile, web development and life in general.&lt;/span&gt;&lt;/div&gt;&lt;div dir="ltr" style="text-align: left; direction: ltr; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;I think I'll just go with the flow and see whats comes up.&lt;/span&gt;&lt;/div&gt;&lt;div dir="ltr" style="text-align: left; direction: ltr; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div dir="ltr" style="text-align: left; direction: ltr; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;So ready?&lt;/span&gt;&lt;/div&gt;&lt;div dir="ltr" style="text-align: left; direction: ltr; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Here we go!&lt;/span&gt;&lt;/div&gt;&lt;div dir="ltr" style="text-align: left; direction: ltr; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Netanel Lev.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6168599561194312750-4183856195534433976?l=www.mobilenweb.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.mobilenweb.com/2009/06/ready-set-go.html</link><author>noreply@blogger.com (&lt;a href="http://www.mobilenweb.com"&gt;Netanel Lev&lt;/a&gt;)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_Kx51uY84gjM/Sj6jjyqwy-I/AAAAAAAAAQc/VSuxPwBPgGE/s72-c/thumbnail.aspx.jpg" height="72" width="72" /><thr:total>0</thr:total></item></channel></rss>

