Click here to Skip to main content
15,887,936 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: give me lots of best Ideas Pin
Dominic Burford11-Nov-14 4:33
professionalDominic Burford11-Nov-14 4:33 
AnswerRe: give me lots of best Ideas Pin
Jameel VM11-Nov-14 20:33
Jameel VM11-Nov-14 20:33 
AnswerRe: give me lots of best Ideas Pin
Shweta N Mishra11-Nov-14 22:31
professionalShweta N Mishra11-Nov-14 22:31 
AnswerRe: give me lots of best Ideas Pin
Dusara Maulik12-Nov-14 2:46
Dusara Maulik12-Nov-14 2:46 
QuestionWith MultiView control, page is blank Pin
samflex10-Nov-14 3:02
samflex10-Nov-14 3:02 
AnswerRe: With MultiView control, page is blank Pin
Richard Deeming10-Nov-14 4:27
mveRichard Deeming10-Nov-14 4:27 
GeneralRe: With MultiView control, page is blank Pin
samflex10-Nov-14 8:22
samflex10-Nov-14 8:22 
GeneralRe: With MultiView control, page is blank Pin
Richard Deeming10-Nov-14 8:43
mveRichard Deeming10-Nov-14 8:43 
I think you've got your handlers the wrong way round:

vwUserInput (index 0):
aspx
<asp:Button id="SubmitDonate" runat = "server" Text="Coninue>>"  onclick="SubmitDonate_Click" />

VB.NET
Protected Sub SubmitDonate_Click(ByVal sender As Object, ByVal e As EventArgs)
    myMultiView.ActiveViewIndex = 0
End Sub


vwPreview (index 1):
aspx
<asp:Button runat="server" ID="finsub" Text="OK" Width="100" onclick="SubmitDonate1_Click" />

VB.NET
Protected Sub SubmitDonate1_Click(ByVal sender As Object, ByVal e As EventArgs)
    myMultiView.ActiveViewIndex = 1
    lblPreviewDate.Text = txtDate.Text
End Sub


When you click the button on the first page, the event handler sets the active view to the first page, which is already active. Similarly, when you click the button on the second page, it sets the active view to the second page.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: With MultiView control, page is blank Pin
samflex10-Nov-14 9:17
samflex10-Nov-14 9:17 
GeneralRe: With MultiView control, page is blank Pin
Richard Deeming10-Nov-14 10:16
mveRichard Deeming10-Nov-14 10:16 
GeneralRe: With MultiView control, page is blank Pin
samflex10-Nov-14 10:51
samflex10-Nov-14 10:51 
QuestionAdvice on moving towards .NET 4.0+ Pin
Danpeking9-Nov-14 22:29
Danpeking9-Nov-14 22:29 
AnswerRe: Advice on moving towards .NET 4.0+ Pin
Richard Deeming10-Nov-14 4:21
mveRichard Deeming10-Nov-14 4:21 
GeneralRe: Advice on moving towards .NET 4.0+ Pin
Danpeking10-Nov-14 4:40
Danpeking10-Nov-14 4:40 
AnswerRe: Advice on moving towards .NET 4.0+ Pin
jkirkerx10-Nov-14 9:42
professionaljkirkerx10-Nov-14 9:42 
GeneralRe: Advice on moving towards .NET 4.0+ Pin
Danpeking14-Nov-14 5:45
Danpeking14-Nov-14 5:45 
QuestionURL Re-writting in MVC4 Pin
Binod Kumar Mahto9-Nov-14 20:16
Binod Kumar Mahto9-Nov-14 20:16 
AnswerRe: URL Re-writting in MVC4 Pin
Matt U.11-Nov-14 7:51
Matt U.11-Nov-14 7:51 
Questionasp.net mvc and news Pin
Member 105297329-Nov-14 7:40
Member 105297329-Nov-14 7:40 
AnswerRe: asp.net mvc and news Pin
Anurag Gandhi13-Nov-14 17:00
professionalAnurag Gandhi13-Nov-14 17:00 
QuestionAsp.net (Vb.net ) post to Facebook page (not user status ) Pin
ccrccrdk9-Nov-14 6:40
ccrccrdk9-Nov-14 6:40 
QuestionTo display data of multiple tables Pin
Member 111616259-Nov-14 4:08
Member 111616259-Nov-14 4:08 
AnswerRe: To display data of multiple tables Pin
Kornfeld Eliyahu Peter10-Nov-14 0:20
professionalKornfeld Eliyahu Peter10-Nov-14 0:20 
AnswerRe: To display data of multiple tables Pin
Shweta N Mishra11-Nov-14 22:39
professionalShweta N Mishra11-Nov-14 22:39 
AnswerRe: To display data of multiple tables Pin
Dusara Maulik12-Nov-14 2:52
Dusara Maulik12-Nov-14 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.