Showing posts with label prevent. Show all posts
Showing posts with label prevent. Show all posts

Wednesday, March 28, 2012

The command MoveNext is not valid for the previous step, how to prevent this?

I am using WizardControl, on the first page, I have a validator, when user click next button or press enter, the validator will check the data and decide which step is the next step. But if I let it move to the last page, I will get error "The command 'MoveNext' is not valid for the previous step,...",I think it is because the last step doesn't have movenext button, and the validate event happens before nextbutton event, after it moves to the last step by code in the validator event, the nextbutton event need to be attached, but it could not find the object to attach. So I think I need a way to cancel the nextbutton event, any suggestion?

thanks!I am not sure what do you mean by "validator will check the data and decide which step is the next step." Can you post your code?
To cancel the nextbutton event you can do something like

protectedvoid Wizard1_NextButtonClick(object sender,WizardNavigationEventArgs e){
if(Wizard1.WizardSteps[e.CurrentStepIndex].StepType ==WizardStepType.Finish)
e.Cancel =true;
}


Thanks for reply.

On my first step page, there is a TextBox, user will type in their areacode, so I put a validator there to make sure user type in an areacode, and check if the areacode is valid, if it is valid, it will control which step is the next according the areacode. It looks like if I should put the code to decide which step to go into the NextButtonClick handler, but the validator event raises before the NextButtonClick event.
I saw that NextButtonClick event gets fired and saw the exception.
Canceling inside the event handler would not work in this scenario. So to avoid the firing of next button event completely wizardStep need to be templated. So you can get more control over the behavior of nextButton in the start step. Here is one example where next button click event doesnt get fired as the nextButton the the StartNavigationTemplate doesnt have the Command defined. I think that will server your purpose.

<asp:WizardID="Wizard1"runat="server">
<WizardSteps>
<asp:WizardSteprunat="server"Title="Step 1">
<asp:TextBoxID="TextBox1"runat="server"></asp:TextBox>
<asp:CustomValidatorID="CustomValidator1"runat="server"ErrorMessage="CustomValidator"OnServerValidate="CustomValidator1_ServerValidate"></asp:CustomValidator>
</asp:WizardStep>
<asp:WizardSteprunat="server"Title="Step 2">
</asp:WizardStep>
<asp:WizardStepID="Step3"runat="server">
</asp:WizardStep>
</WizardSteps>
<StartNavigationTemplate>
<asp:ButtonID="StartNextButton"runat="server"Text="Next"/>
</StartNavigationTemplate>
</asp:Wizard>

HTH,
Vishal

Saturday, March 24, 2012

the development environment is overzealously formatting my html when switching from design

Please tell me there is a way to prevent this annoyance ; - )

I'm into writing perfectly indented html, but the .net dev environment is
being overzealous and messing up my html formatting.

for example, I originally write:

<table>
<tr>
<td>
<asp:label id="lblSuccess" runat="server">
</asp:/label>
</td>
</tr>
</table
then the dev environment switches it to something like:

<table>
<tr>
<td><asp:label id="lblSuccess" runat="server"></asp:/label>
</td></tr></table
I'm running the latest version of .net --version 7.1.3088
I've run through the tools/options and placed the envirionment to do the
least amount of microsoftesque-preemptive formatting.

Please HELP!!! If there is no solution I think I'm gonna code .net stuff in
notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an MS
developer for years!it's a setting in the options of VS....

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> Please tell me there is a way to prevent this annoyance ; - )
> I'm into writing perfectly indented html, but the .net dev environment is
> being overzealous and messing up my html formatting.
> for example, I originally write:
> <table>
> <tr>
> <td>
> <asp:label id="lblSuccess" runat="server">
> </asp:/label>
> </td>
> </tr>
> </table>
> then the dev environment switches it to something like:
> <table>
> <tr>
> <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> </td></tr></table>
>
> I'm running the latest version of .net --version 7.1.3088
> I've run through the tools/options and placed the envirionment to do the
> least amount of microsoftesque-preemptive formatting.
> Please HELP!!! If there is no solution I think I'm gonna code .net stuff
in
> notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
MS
> developer for years!
which setting? I've tried them all!

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> it's a setting in the options of VS....
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > Please tell me there is a way to prevent this annoyance ; - )
> > I'm into writing perfectly indented html, but the .net dev environment
is
> > being overzealous and messing up my html formatting.
> > for example, I originally write:
> > <table>
> > <tr>
> > <td>
> > <asp:label id="lblSuccess" runat="server">
> > </asp:/label>
> > </td>
> > </tr>
> > </table>
> > then the dev environment switches it to something like:
> > <table>
> > <tr>
> > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > </td></tr></table>
> > I'm running the latest version of .net --version 7.1.3088
> > I've run through the tools/options and placed the envirionment to do the
> > least amount of microsoftesque-preemptive formatting.
> > Please HELP!!! If there is no solution I think I'm gonna code .net
stuff
> in
> > notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
> MS
> > developer for years!
Tools
Options
Text Editor
HTML/XML
Format

Try the settings there.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> which setting? I've tried them all!
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > it's a setting in the options of VS....
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > Site: http://www.Darkfalz.com
> > Blog: http://blog.Darkfalz.com
> > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > Please tell me there is a way to prevent this annoyance ; - )
> > > > I'm into writing perfectly indented html, but the .net dev environment
> is
> > > being overzealous and messing up my html formatting.
> > > > for example, I originally write:
> > > > <table>
> > > <tr>
> > > <td>
> > > <asp:label id="lblSuccess" runat="server">
> > > </asp:/label>
> > > </td>
> > > </tr>
> > > </table>
> > > > then the dev environment switches it to something like:
> > > > <table>
> > > <tr>
> > > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > > </td></tr></table>
> > > > > I'm running the latest version of .net --version 7.1.3088
> > > I've run through the tools/options and placed the envirionment to do
the
> > > least amount of microsoftesque-preemptive formatting.
> > > > Please HELP!!! If there is no solution I think I'm gonna code .net
> stuff
> > in
> > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've been
an
> > MS
> > > developer for years!
> > >
You are wrong. You are just guessing. Its best not to answer questions
unless you have a specific and tested answer. Please excuse my bluntness.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> Tools
> Options
> Text Editor
> HTML/XML
> Format
> Try the settings there.
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > which setting? I've tried them all!
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > it's a setting in the options of VS....
> > > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > Site: http://www.Darkfalz.com
> > > Blog: http://blog.Darkfalz.com
> > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > I'm into writing perfectly indented html, but the .net dev
environment
> > is
> > > > being overzealous and messing up my html formatting.
> > > > > > for example, I originally write:
> > > > > > <table>
> > > > <tr>
> > > > <td>
> > > > <asp:label id="lblSuccess" runat="server">
> > > > </asp:/label>
> > > > </td>
> > > > </tr>
> > > > </table>
> > > > > > then the dev environment switches it to something like:
> > > > > > <table>
> > > > <tr>
> > > > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > > > </td></tr></table>
> > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > I've run through the tools/options and placed the envirionment to do
> the
> > > > least amount of microsoftesque-preemptive formatting.
> > > > > > Please HELP!!! If there is no solution I think I'm gonna code .net
> > stuff
> > > in
> > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
been
> an
> > > MS
> > > > developer for years!
> > > > > > > >
it's a setting in the options of VS....

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> Please tell me there is a way to prevent this annoyance ; - )
> I'm into writing perfectly indented html, but the .net dev environment is
> being overzealous and messing up my html formatting.
> for example, I originally write:
> <table>
> <tr>
> <td>
> <asp:label id="lblSuccess" runat="server">
> </asp:/label>
> </td>
> </tr>
> </table>
> then the dev environment switches it to something like:
> <table>
> <tr>
> <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> </td></tr></table>
>
> I'm running the latest version of .net --version 7.1.3088
> I've run through the tools/options and placed the envirionment to do the
> least amount of microsoftesque-preemptive formatting.
> Please HELP!!! If there is no solution I think I'm gonna code .net stuff
in
> notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
MS
> developer for years!
which setting? I've tried them all!

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> it's a setting in the options of VS....
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > Please tell me there is a way to prevent this annoyance ; - )
> > I'm into writing perfectly indented html, but the .net dev environment
is
> > being overzealous and messing up my html formatting.
> > for example, I originally write:
> > <table>
> > <tr>
> > <td>
> > <asp:label id="lblSuccess" runat="server">
> > </asp:/label>
> > </td>
> > </tr>
> > </table>
> > then the dev environment switches it to something like:
> > <table>
> > <tr>
> > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > </td></tr></table>
> > I'm running the latest version of .net --version 7.1.3088
> > I've run through the tools/options and placed the envirionment to do the
> > least amount of microsoftesque-preemptive formatting.
> > Please HELP!!! If there is no solution I think I'm gonna code .net
stuff
> in
> > notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
> MS
> > developer for years!
Yeah, whatever you say.

PLONK - Killfile

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:6IJxc.410$yR5.204@.fe25.usenetserver.com...
> You are wrong. You are just guessing. Its best not to answer questions
> unless you have a specific and tested answer. Please excuse my bluntness.
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> > Tools
> > Options
> > Text Editor
> > HTML/XML
> > Format
> > Try the settings there.
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > Site: http://www.Darkfalz.com
> > Blog: http://blog.Darkfalz.com
> > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > > which setting? I've tried them all!
> > > > > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > > it's a setting in the options of VS....
> > > > > > --
> > > > Curt Christianson
> > > > Owner/Lead Developer, DF-Software
> > > > Site: http://www.Darkfalz.com
> > > > Blog: http://blog.Darkfalz.com
> > > > > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > > > I'm into writing perfectly indented html, but the .net dev
> environment
> > > is
> > > > > being overzealous and messing up my html formatting.
> > > > > > > > for example, I originally write:
> > > > > > > > <table>
> > > > > <tr>
> > > > > <td>
> > > > > <asp:label id="lblSuccess" runat="server">
> > > > > </asp:/label>
> > > > > </td>
> > > > > </tr>
> > > > > </table>
> > > > > > > > then the dev environment switches it to something like:
> > > > > > > > <table>
> > > > > <tr>
> > > > > <td><asp:label id="lblSuccess"
runat="server"></asp:/label>
> > > > > </td></tr></table>
> > > > > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > > I've run through the tools/options and placed the envirionment to
do
> > the
> > > > > least amount of microsoftesque-preemptive formatting.
> > > > > > > > Please HELP!!! If there is no solution I think I'm gonna code
..net
> > > stuff
> > > > in
> > > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
> been
> > an
> > > > MS
> > > > > developer for years!
> > > > > > > > > > > > > > > >
Tools
Options
Text Editor
HTML/XML
Format

Try the settings there.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> which setting? I've tried them all!
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > it's a setting in the options of VS....
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > Site: http://www.Darkfalz.com
> > Blog: http://blog.Darkfalz.com
> > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > Please tell me there is a way to prevent this annoyance ; - )
> > > > I'm into writing perfectly indented html, but the .net dev environment
> is
> > > being overzealous and messing up my html formatting.
> > > > for example, I originally write:
> > > > <table>
> > > <tr>
> > > <td>
> > > <asp:label id="lblSuccess" runat="server">
> > > </asp:/label>
> > > </td>
> > > </tr>
> > > </table>
> > > > then the dev environment switches it to something like:
> > > > <table>
> > > <tr>
> > > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > > </td></tr></table>
> > > > > I'm running the latest version of .net --version 7.1.3088
> > > I've run through the tools/options and placed the envirionment to do
the
> > > least amount of microsoftesque-preemptive formatting.
> > > > Please HELP!!! If there is no solution I think I'm gonna code .net
> stuff
> > in
> > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've been
an
> > MS
> > > developer for years!
> > >
You are wrong. You are just guessing. Its best not to answer questions
unless you have a specific and tested answer. Please excuse my bluntness.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> Tools
> Options
> Text Editor
> HTML/XML
> Format
> Try the settings there.
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > which setting? I've tried them all!
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > it's a setting in the options of VS....
> > > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > Site: http://www.Darkfalz.com
> > > Blog: http://blog.Darkfalz.com
> > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > I'm into writing perfectly indented html, but the .net dev
environment
> > is
> > > > being overzealous and messing up my html formatting.
> > > > > > for example, I originally write:
> > > > > > <table>
> > > > <tr>
> > > > <td>
> > > > <asp:label id="lblSuccess" runat="server">
> > > > </asp:/label>
> > > > </td>
> > > > </tr>
> > > > </table>
> > > > > > then the dev environment switches it to something like:
> > > > > > <table>
> > > > <tr>
> > > > <td><asp:label id="lblSuccess" runat="server"></asp:/label>
> > > > </td></tr></table>
> > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > I've run through the tools/options and placed the envirionment to do
> the
> > > > least amount of microsoftesque-preemptive formatting.
> > > > > > Please HELP!!! If there is no solution I think I'm gonna code .net
> > stuff
> > > in
> > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
been
> an
> > > MS
> > > > developer for years!
> > > > > > > >
See the problem is that you acted like you know the answer, so now a
microsoft employee monitoring this board will assume that my question was
answered. At the bottom of my initial post I mentioned I had already run
through the tools /options. of VS and put them all on settings that do the
least amount of work.

Nothing against you personally, but please don't give unspecific answers
that don't work. That diminishes the quality of the board for the rest of
us. Also be sure to read the full thread before answering. If you'd have
done that in this case, you'd have known that even your third attempt to
answer was inadequate. Were you such a pain in the a## to your teachers when
you were in school--always wanting cheap credit for rushing to give the
obvious answer that all the other students knew, but not exactly what the
teacher asked for?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:eZMpnCmTEHA.3420@.TK2MSFTNGP12.phx.gbl...
> Yeah, whatever you say.
> PLONK - Killfile
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:6IJxc.410$yR5.204@.fe25.usenetserver.com...
> > You are wrong. You are just guessing. Its best not to answer questions
> > unless you have a specific and tested answer. Please excuse my
bluntness.
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> > > Tools
> > > Options
> > > Text Editor
> > > HTML/XML
> > > Format
> > > > Try the settings there.
> > > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > Site: http://www.Darkfalz.com
> > > Blog: http://blog.Darkfalz.com
> > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > > > which setting? I've tried them all!
> > > > > > > > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > > > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > > > it's a setting in the options of VS....
> > > > > > > > --
> > > > > Curt Christianson
> > > > > Owner/Lead Developer, DF-Software
> > > > > Site: http://www.Darkfalz.com
> > > > > Blog: http://blog.Darkfalz.com
> > > > > > > > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > > > > > I'm into writing perfectly indented html, but the .net dev
> > environment
> > > > is
> > > > > > being overzealous and messing up my html formatting.
> > > > > > > > > > for example, I originally write:
> > > > > > > > > > <table>
> > > > > > <tr>
> > > > > > <td>
> > > > > > <asp:label id="lblSuccess" runat="server">
> > > > > > </asp:/label>
> > > > > > </td>
> > > > > > </tr>
> > > > > > </table>
> > > > > > > > > > then the dev environment switches it to something like:
> > > > > > > > > > <table>
> > > > > > <tr>
> > > > > > <td><asp:label id="lblSuccess"
> runat="server"></asp:/label>
> > > > > > </td></tr></table>
> > > > > > > > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > > > I've run through the tools/options and placed the envirionment
to
> do
> > > the
> > > > > > least amount of microsoftesque-preemptive formatting.
> > > > > > > > > > Please HELP!!! If there is no solution I think I'm gonna code
> .net
> > > > stuff
> > > > > in
> > > > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
> > been
> > > an
> > > > > MS
> > > > > > developer for years!
> > > > > > > > > > > > > > > > > > > > > > > > > >
Yeah, whatever you say.

PLONK - Killfile

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
news:6IJxc.410$yR5.204@.fe25.usenetserver.com...
> You are wrong. You are just guessing. Its best not to answer questions
> unless you have a specific and tested answer. Please excuse my bluntness.
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> > Tools
> > Options
> > Text Editor
> > HTML/XML
> > Format
> > Try the settings there.
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > Site: http://www.Darkfalz.com
> > Blog: http://blog.Darkfalz.com
> > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > > which setting? I've tried them all!
> > > > > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > > it's a setting in the options of VS....
> > > > > > --
> > > > Curt Christianson
> > > > Owner/Lead Developer, DF-Software
> > > > Site: http://www.Darkfalz.com
> > > > Blog: http://blog.Darkfalz.com
> > > > > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > > > I'm into writing perfectly indented html, but the .net dev
> environment
> > > is
> > > > > being overzealous and messing up my html formatting.
> > > > > > > > for example, I originally write:
> > > > > > > > <table>
> > > > > <tr>
> > > > > <td>
> > > > > <asp:label id="lblSuccess" runat="server">
> > > > > </asp:/label>
> > > > > </td>
> > > > > </tr>
> > > > > </table>
> > > > > > > > then the dev environment switches it to something like:
> > > > > > > > <table>
> > > > > <tr>
> > > > > <td><asp:label id="lblSuccess"
runat="server"></asp:/label>
> > > > > </td></tr></table>
> > > > > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > > I've run through the tools/options and placed the envirionment to
do
> > the
> > > > > least amount of microsoftesque-preemptive formatting.
> > > > > > > > Please HELP!!! If there is no solution I think I'm gonna code
..net
> > > stuff
> > > > in
> > > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
> been
> > an
> > > > MS
> > > > > developer for years!
> > > > > > > > > > > > > > > >
See the problem is that you acted like you know the answer, so now a
microsoft employee monitoring this board will assume that my question was
answered. At the bottom of my initial post I mentioned I had already run
through the tools /options. of VS and put them all on settings that do the
least amount of work.

Nothing against you personally, but please don't give unspecific answers
that don't work. That diminishes the quality of the board for the rest of
us. Also be sure to read the full thread before answering. If you'd have
done that in this case, you'd have known that even your third attempt to
answer was inadequate. Were you such a pain in the a## to your teachers when
you were in school--always wanting cheap credit for rushing to give the
obvious answer that all the other students knew, but not exactly what the
teacher asked for?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:eZMpnCmTEHA.3420@.TK2MSFTNGP12.phx.gbl...
> Yeah, whatever you say.
> PLONK - Killfile
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> news:6IJxc.410$yR5.204@.fe25.usenetserver.com...
> > You are wrong. You are just guessing. Its best not to answer questions
> > unless you have a specific and tested answer. Please excuse my
bluntness.
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:%23pDqTglTEHA.3988@.tk2msftngp13.phx.gbl...
> > > Tools
> > > Options
> > > Text Editor
> > > HTML/XML
> > > Format
> > > > Try the settings there.
> > > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > Site: http://www.Darkfalz.com
> > > Blog: http://blog.Darkfalz.com
> > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > news:_7Jxc.408$yR5.196@.fe25.usenetserver.com...
> > > > which setting? I've tried them all!
> > > > > > > > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > > > news:erCz9AlTEHA.1284@.TK2MSFTNGP10.phx.gbl...
> > > > > it's a setting in the options of VS....
> > > > > > > > --
> > > > > Curt Christianson
> > > > > Owner/Lead Developer, DF-Software
> > > > > Site: http://www.Darkfalz.com
> > > > > Blog: http://blog.Darkfalz.com
> > > > > > > > > > > "Jacob Crossley" <jacobcrossley@.hotmail.com> wrote in message
> > > > > news:dTHxc.405$yR5.148@.fe25.usenetserver.com...
> > > > > > Please tell me there is a way to prevent this annoyance ; - )
> > > > > > > > > > I'm into writing perfectly indented html, but the .net dev
> > environment
> > > > is
> > > > > > being overzealous and messing up my html formatting.
> > > > > > > > > > for example, I originally write:
> > > > > > > > > > <table>
> > > > > > <tr>
> > > > > > <td>
> > > > > > <asp:label id="lblSuccess" runat="server">
> > > > > > </asp:/label>
> > > > > > </td>
> > > > > > </tr>
> > > > > > </table>
> > > > > > > > > > then the dev environment switches it to something like:
> > > > > > > > > > <table>
> > > > > > <tr>
> > > > > > <td><asp:label id="lblSuccess"
> runat="server"></asp:/label>
> > > > > > </td></tr></table>
> > > > > > > > > > > > > > I'm running the latest version of .net --version 7.1.3088
> > > > > > I've run through the tools/options and placed the envirionment
to
> do
> > > the
> > > > > > least amount of microsoftesque-preemptive formatting.
> > > > > > > > > > Please HELP!!! If there is no solution I think I'm gonna code
> .net
> > > > stuff
> > > > > in
> > > > > > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
> > been
> > > an
> > > > > MS
> > > > > > developer for years!
> > > > > > > > > > > > > > > > > > > > > > > > > >