Click here to Skip to main content
15,924,318 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionupdating from from gridview is soooo confusing Pin
dream_liner_7e723-Aug-08 1:22
dream_liner_7e723-Aug-08 1:22 
AnswerRe: updating from from gridview is soooo confusing Pin
Subin Alex23-Aug-08 22:19
Subin Alex23-Aug-08 22:19 
QuestionCSS Pin
Subin Alex23-Aug-08 1:00
Subin Alex23-Aug-08 1:00 
AnswerRe: CSS Pin
dream_liner_7e723-Aug-08 1:27
dream_liner_7e723-Aug-08 1:27 
AnswerRe: CSS Pin
Brij23-Aug-08 3:46
mentorBrij23-Aug-08 3:46 
GeneralRe: CSS Pin
doWhileSomething23-Aug-08 5:37
doWhileSomething23-Aug-08 5:37 
AnswerRe: CSS Pin
Samer Aburabie24-Aug-08 9:03
Samer Aburabie24-Aug-08 9:03 
QuestionWizard Control problem Pin
perrin486923-Aug-08 0:27
perrin486923-Aug-08 0:27 
Hi, I'm working with the wizard control in a page I am building, and suddenly I realized that for some reason the viewstate of many of the controls inside the wizard's TemplatedWizardSteps CustomNavigationTemplates wasn't being saved. But not only wasn't it being saved, the stuff became pretty much random. I made a simple test:



ASPX:

]]>





<title>





<asp:wizard id="Wizard1" runat="server" enableviewstate="true" xmlns:asp="#unknown">
<wizardsteps>
<asp:templatedwizardstep id="Step1" runat="server" enableviewstate="true">
<customnavigationtemplate>
<asp:button id="Button1" runat="server" commandname="MoveNext">
Text="Button Not Visible" Visible="False" EnableViewState="true" />
<asp:button id="Button2" runat="server" onclick="Button2_Click">
Text="Button Visible" EnableViewState="true" />


<asp:templatedwizardstep id="Step2" runat="server" enableviewstate="true">
<customnavigationtemplate>
<asp:button id="Button3" runat="server" commandname="MovePrevious">
Text="Prev" EnableViewState="true" />


<asp:templatedwizardstep id="Step3" runat="server">









ASPX.CS:

public partial class test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}

protected void Button2_Click(object sender, EventArgs e)
{
// Wizard1.ActiveStepIndex = 1;
Step1.CustomNavigationTemplateContainer.FindControl("Button1").Visible = true;
}
}

Now, when randomly navigating the wizard, even though I clicked Button2, and Button1's visibility should stay visible, for no reason at all it becomes invisible randomly, and in weird occations it may become visible again, for no apparent reason at all. I'm very confused. Does someone know how to fix this behaviour?

Thanks. Perrin.
QuestionJava script Problem Pin
Rameez Raja22-Aug-08 23:49
Rameez Raja22-Aug-08 23:49 
QuestionRe: Java script Problem Pin
Perspx23-Aug-08 0:21
Perspx23-Aug-08 0:21 
AnswerRe: Java script Problem Pin
Rameez Raja23-Aug-08 16:49
Rameez Raja23-Aug-08 16:49 
Questionplaying audio continuously without interruption Pin
needhi_p22-Aug-08 22:13
needhi_p22-Aug-08 22:13 
AnswerRe: playing audio continuously without interruption Pin
needhi_p24-Aug-08 22:42
needhi_p24-Aug-08 22:42 
QuestionASP.Net website deployment for customers Pin
Mayur Kotlikar22-Aug-08 22:12
Mayur Kotlikar22-Aug-08 22:12 
AnswerRe: ASP.Net website deployment for customers Pin
Abhijit Jana22-Aug-08 22:29
professionalAbhijit Jana22-Aug-08 22:29 
AnswerRe: ASP.Net website deployment for customers Pin
Samer Aburabie24-Aug-08 9:19
Samer Aburabie24-Aug-08 9:19 
GeneralRe: ASP.Net website deployment for customers Pin
Mayur Kotlikar24-Aug-08 18:24
Mayur Kotlikar24-Aug-08 18:24 
GeneralRe: ASP.Net website deployment for customers Pin
Mayur Kotlikar25-Aug-08 20:16
Mayur Kotlikar25-Aug-08 20:16 
Questionhow to play all type of video files in my web application Pin
reogeo200822-Aug-08 21:55
reogeo200822-Aug-08 21:55 
AnswerRe: how to play all type of video files in my web application Pin
needhi_p22-Aug-08 22:06
needhi_p22-Aug-08 22:06 
Questionautorefresh Pin
nithydurai22-Aug-08 21:10
nithydurai22-Aug-08 21:10 
AnswerRe: autorefresh Pin
Abhijit Jana22-Aug-08 21:20
professionalAbhijit Jana22-Aug-08 21:20 
GeneralRe: autorefresh Pin
nithydurai22-Aug-08 22:14
nithydurai22-Aug-08 22:14 
GeneralRe: autorefresh Pin
Abhijit Jana22-Aug-08 22:30
professionalAbhijit Jana22-Aug-08 22:30 
AnswerRe: autorefresh Pin
GgAben23-Aug-08 4:51
GgAben23-Aug-08 4:51 

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.