Users Pricing

forum

Home Forums Saving data from multiple tabs in a tab control – MindStick

Saving data from multiple tabs in a tab control

Anonymous User 2195 23 Sep 2013

I've been tasked with making a few changes to an existing program.

One of those changes is implementing a 'save' button. When clicked, it will iterate through each tab and save the contents to a database, but I can't figure out how to access the data properly.

The tabs being added are separate views, each with their own viewmodel - the main view containing the tabcontrol also has its own viewmodel.

How would I go about accessing the tabcontrol, iterating through each tab and saving the data in an orderly fashion? (At this point I'm not sure if it's relevant to show any code, but please do request whatever you'd need)


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md