How do you send data to the Detail View from Master View in iOS 5 iPad app? - arrays

I am trying to make an extremely simple app that using a split view. I would like a list of checklists on the left that you can click on and display more detailed information on the right side of the screen. It seems that split view is the right view controller but I am having some trouble. I am very new to iOS programming. I understand how to add items to the Master View on the left using the inspector options. I am not using arrays to populate my cells in Master View. I simply added more cells through inspector and just renamed the label of each. I do not however understand how to connect each cell with the Detail View. I have searched far and wide on the internet and come up with nothing. All information is outdated and doesn't work for Xcode 4.2 or iOS 5. If you have any information at all please help. I am a total noob with this so please be as descriptive and basic as possible. Thank you so much!

Look at the MultipleDetailsViews.xcodeproj provided by Apple. It supports iOS 5 and also runs fine on iOS 6.

Related

ExtJS 4 smartphone size

I had very simple appication written for old (24x80) terminals
working in production company. My client ask me to transfer it
as a web application and I use ExtJS 4 to do it. It looks like
this:
and its working on pc stations without any problem.
But next question of my client is to modify this application to
work also on tablets and smartphones. And only problem we see
is proportion, on smartphone this screens are to small. What is
the best way to do it? How can I resize fields and fonts and buttons depending on screen size?
What you need is a Responsive Application.
The problem is that the responsiveConfig was introduced in ExtJS 5.
So if you cannot move to extjs 5.0 or above take a look at this answer.
Another aproach is to use multiple instances for the view. Create three different view instances, one for desktop, one for tablet and one for mobile, keep the same Controller, Model, Store etc and when you initialize your application display the correct view according to the screen size.

MVVM DESIGN PATTERN

Am very much new to this MVVM DESIGN PATTERN.Am doing a small project in this pattern
In my project i have a button,if i click on that button it will create a new button at run time and we can create any number of buttons there.
Creating mutliple buttons is working and now am trying to move that controls at runtime where ever we want in the same window only.
I implemented some methods and now controls are moving with my mouse point as i want but now what is the problem is::
if one button is created it is moving fine when the second button is created
then it is coming attached to the first button now both the buttons are moving together and third and so on..
i cant able to understand whats happening over there?
Can Any one help me plz ??
Thanks In Advance
i dont know how to post code over here
if anyone give me your mail id then i wil send whole project to them
ThanQ Once Again
You might be interested in Laurent Bugnion's "Understanding the Model-View-ViewModel Pattern" session at MIX10 http://channel9.msdn.com/Events/MIX/MIX10/EX14

How would I create a silverlight control for tagging content similar to StackOverflow?

I am new to Silverlight. How would I go about creating a control for users to tag content.
I would like it to work like it does it StackOverflow i.e. Autocomplete and when you press space it inserts the tag in a box with a remove button. I want the control to be bindable to a collection of strings.
If someone can just point me in the right direction to get me started I would be very grateful.
You need to start with an AutoComplete Textbox, there is already one available in the Silverlight Toolkit. Tim Heuer has several examples using it (he actually creates one himself in one of his posts somewhere), you can find one sample here. Once you have this in place, the rest of the control is pretty simple.

How to display the report icon in Firefox for the SQL Server Reporting Services Report Viewer control

It seems that due to ActiveX that Firefox can't display the print icon/button on the Report Viewer control in SQL Server Reporting services. Has anybody figured out a way to work around this or gotten this to work?
If it's not possible, does anybody know of a way to add a standard button that would trigger the print behavior on the report viewer control?
As you state, the print functionality is ActiveX, so it will not work in Firefox.
You could place a button in the "msrs-buttonHeaderBackground" div using a javascript button.
I found the div using the firebug firefox extension - it's great.
You could possibly find the other divs you'd like to hide and put them in a print style sheet, so they don't show up when going to print.
http://www.456bereastreet.com/archive/200709/how_to_create_an_unobtrusive_print_this_page_link_with_javascript/
I agree with the author that ctrl-p could simply be pressed for a similar result instead of adding a button - but the print style would still help in that.
You know what...I just realized something. You will not be able to print a page that is more than one page! Ouch.
I know this is a very old questions, but we came across this and chose the following solution.
We downloaded an IE Tab extension(this is one there are several more) for FireFox and then configured that extension to use IE to render the report server URL by default.
You could easily create a how-to web page,pdf, or maybe even create a dummy report that shows the instructions on how to do this to your end users and then you're all set.
So now every time the report server website is accessed it's being rendered in IE so the print button shows up. Every windows machine already has IE so no compatibility issue there, unless you're not using windows. :)
My best suggestion would be from within Firefox export it to PDF and then print it from your PDF viewer. In my experience this is a better way to print the reports anyway.
Hope that helps!

Where can I find an AutoComplete TextBox code sample for Silverlight?

I've searched around for a while today, but I haven't been able to come up with an AutoComplete TextBox code sample for Silverlight 2 Beta 2. The most promising reference was found on nikhilk.net but the online demo doesn't currently render and after downloading a getting the code to compile with Beta 2, I couldn't get the Silverlight plugin it to render either. I think it is fair to say it is a compatibility issue, but I'm not sure. Does anyone have any alternate sample code or implementation suggestions?
You may want to take a look at my blog: http://weblogs.manas.com.ar/ary/2008/09/26/autocomplete-in-silverlight/
You simply write in your XAML:
manas:Autocomplete.Suggest="DoSuggest"
and then in the class file, you need to implement that method, which report suggestions to a delegate. The options can be hardcoded, requested to a web service, or whaterver.
Take a look at the combobox(very close to a autocomplete text box) at worksight's blog Silverlight ComboBox
There is also another good example here:
http://silvermail.com.au
This is a Silverlight based mail client that looks a little like Outlook. When I go to send mail and start typing in the "To" text box, an auto-complete pops up and populates the control for me based on values in a list... I think it automatically stores the addresses in isolated storage, but that's just a guess.
This is a really handy tool for checking mail while away from my home PC... at work for example... and it is loaded with impressive Silverlight functionality.
S.

Resources