Hi,
I have a page that represents a Person.
The different categories of data that belong to a person are displayed in different "Tabs" of a "TabView":
basic data (first name, last name, and so on) special data, e. g. the keys that were handed over to this person
I have realized the TabView with a MultiView. Each view contains a User Control:
BasicDataForm.ascx SpecialDataForm.ascx
When the main page is loaded, it receives the index (int) of the person in the querystring.
This index is used to load the two forms:
protected void load (int idx)
{
basicDataForm.load(idx);
specialDataForm.load(idx);
}
Both forms store the index in a HiddenField in their corresponding load method. so when the user clicks a button (e. g. "Save"), each user form should know the index.
So far, so good.
...
Go to the complete details ...