Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Multiview but add steps numbers

Posted on 2010-08-20
4
Medium Priority
?
385 Views
Last Modified: 2012-05-10
I followed this example
http://www.beansoftware.com/ASP.NET-Tutorials/MultiView-Control.aspx

My multiview works fine but my manager wants me to add "step 1 of x" to it. For example, step 1 of 10. Not sure where that fits in...
0
Comment
Question by:Camillia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
sammySeltzer earned 1000 total points
ID: 33485660
If it was me, I would do it manually.

For instance, we added Page1, Page2, Page3...up to page 5 to our own use of multiview simply because we know there are 5 total pages.
0
 
LVL 22

Assisted Solution

by:Mrunal
Mrunal earned 1000 total points
ID: 33485888
0
 
LVL 7

Author Comment

by:Camillia
ID: 33485960
i have the activeviewindex , below. But i just need to display "step 1 of x".

Let me look at your links
protected void btnBack_Click(object sender, EventArgs e)
    {
        mvApplication.ActiveViewIndex--;
    }

    protected void btnNext_Click(object sender, EventArgs e)
    {
        mvApplication.ActiveViewIndex++;
    }

Open in new window

0
 
LVL 7

Author Comment

by:Camillia
ID: 33486048
Yeah, not sure how to display the index on the page. For example, this is my multiview below.
I first display the first view. The active index = 0. So, when page load, i should get the ActiveViewIndex??

<asp:MultiView runat="server"  ID="mvApplication" ActiveViewIndex="0">
             
      <asp:View runat="server" ID="vPersonalInfo">
         <asp:Label runat="server" Text="Step" />
     </asp:View>

     <asp:View runat="server" Id="vEducation">
      <asp:Label runat="server" Text="Step" />
     </asp:view>

</Multiview>

     
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question