?
Solved

Multiview but add steps numbers

Posted on 2010-08-20
4
Medium Priority
?
384 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

Technology Partners: 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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

765 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