PDA

Click to See Complete Forum and Search --> : aspx file changed when pressing on design button


ronlahav
Feb 10th, 2005, 07:00 AM
Hello
each time i press on Design view after i write <asp:Some...> tags in a <form> tag the *.aspx file is changed and all the time <table> tags are being added to the aspx file - how can i prevent this change?????
thanks alot

nemaroller
Feb 11th, 2005, 07:37 AM
There are some options in Tools... Options... Text Editor... HTML/XML ...

you can play with those.

IF you want to learn a secret... I never use Design mode on a professional site - just type the html yourself and never switch to design mode.

ronlahav
Feb 14th, 2005, 07:18 AM
I had playied with these options and non of them worked - any more options????
it also change me the properties like that
if i writes

<asp:datagrid Id = "abc"
runat = "server"
Cellpadding="4"
Cellspacing="0"
HeaderStyle-BackColor="Black"
......
/>
it changes to =>

<asp:datagrid Id = "abc" runat = "server" Cellpadding="4" Cellspacing="0" BackColor="Black" ...... />

Less readable......
any ideas???

Magiaus
Feb 14th, 2005, 06:56 PM
that's just the way it is. and i think your multiline tag is less readable lol