In my previous blog post comments Chris asked for some Source Code so I’ve put together a sample using the UISearchBar. The App has 2 View Controllers and 2 zibs. HomeScreen.cs | HomeScreen.xib SearchResults.cs | SearchResults.xib You can download the entire MonoDevelop Solution here: UISearchBarSample MonoDevelop Solution What Does It Do? UISearchBarSample accepts a zip code,… Continue reading Post UISearchBar Values to RESTful API from MonoTouch
Category: Developer
UISearchBar BackButton Adventures
In my previous post I wrote about persisting a UISearchBar value so it would be available when pushing the user a new View Controller to display the Search Results. My app has a simple SearchResults UIViewController where some UILabels are populated with various result attributes. Interestingly, the UILabel(s) and other controls maintain their original result… Continue reading UISearchBar BackButton Adventures
Passing UISearchBar Values To Another ViewController in MonoTouch
If you’re migrating your skills from web to mobile development it’s really easy to think in terms of passing user defined values from page to page when entering into a mobile environment. UIViewControllers aren’t web pages though, in the UIViewController world the ViewController is an object so no need to pass anything. Here’s a UISearchBar… Continue reading Passing UISearchBar Values To Another ViewController in MonoTouch
Dismiss the Keyboard When Clicking the UISearchBar Search Button in MonoTouch
Like me, if you’re new to MonoTouch and iOS and you’re coming from a long period in Visual Studio then things are different. If you’ve found this blog post then you know what I mean. If you’re implementing a simple search pattern where ViewController A contains UISearchBar and pushes to ViewController B to display search results… Continue reading Dismiss the Keyboard When Clicking the UISearchBar Search Button in MonoTouch
Remove AutoGenerate Edit Link from GridView at Runtime
I had to figure this out today so I’m sharing in case someone has the same problem. If you’re trying to use GridView.Columns.RemoveAt(0) to drop the AutoGenerate Link Column at runtime and it’s not working you likely need to rewire the AutoGenerate Command. Originally, I had initialized the property directly in the GridView Control setup… Continue reading Remove AutoGenerate Edit Link from GridView at Runtime
Visual Studio 2010 SP1 Upgrade Fiasco: silverlight_sdk.msi is unavailable …
Applying Visual Studio .Net 2010 SP1 is arduous at best. Mostly, I’m likely griping over the amount of time I’ve had to invest to apply a SP. I still love the tools but good grief already! Initially, when downloading the SP via the MSDN Web installer all appeared to be going smooth until this appeared:… Continue reading Visual Studio 2010 SP1 Upgrade Fiasco: silverlight_sdk.msi is unavailable …
WP7 PhotoChooserTask – Hint Remove the Cable
One of the features of an App I’m working on allows users to select a Photo from their WP7 Phone using PhotoChooser and upload it a service on the web. The approach I’m taking is fairly simple: Select photo. Hook event indicating photo selection occurred. Convert photo to byte[]. Note: This is simply proof of… Continue reading WP7 PhotoChooserTask – Hint Remove the Cable
Impressive CSS IntelliSense In Visual Studio 2010
I know this is really minor but for someone that has been using the product since the Visual InterDev days I appreciate this feature. Microsoft finally baked external .css file intellisense into Visual Studio with the 2010 release. Here’s a quick screenshot. What’s more impressive when looking closer is how Visual Studio figures it all… Continue reading Impressive CSS IntelliSense In Visual Studio 2010