Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Saturday, March 31, 2012

Submitting HTML page data through form.

Hi,

Iam trying to submit data using form.
I have taken Text area in the form.
I want to submit Html page data(data is something like <Html> <body> hello</body></html>)
through this form.

But it is giving error. How to handle this situation

Server Error in '/webs' Application.
------------------------

A potentially dangerous Request.Form value was detected from the client (ta=" <html><head></head><...").Please read the following:
Request Validation - Preventing Script Attacks

It will show you how you can effectively "turn off" this error. However, youmust take notice of the warnings in red text. Do not just turn off the error, without validating the input yourself.
Hi,

.NET 1.1 has built in protection against script injections through textbox, textareas etc., However, if you are sure that your users won't do the hacking, you can remove this checking functionality by adding the ValidateRequest="false" to the @.Page directive of your aspx page.

If you want this for whole of your application, you can specify the same in the web.config

Hope it helps.
Hello
Thanks for help.

It is working fine.

But While printing the result it is printing like
<html><head></head><body>hello</body></html>
How to handle this situation.
Hi there,

You will have to decode the information before actually bind to a control.

for e.g

Text1.text = Server.htmldecode(dr("myHtml).tostring)

HTH
Thanks to all .
It is running fine.

Submitting whole HTML document to Server

Is there a way to return the whole HTML document from the Client to
the Server "as is" so I can use ASP.NET to parse through it and look
for stuff?
I want to see what some client side JavaScript may have done to the
XHTML document."GMartin" <glenn.e.martin@.gmail.com> wrote in message
news:d9443226-88cf-4bb0-b1d6-4f9514c0ab02@.j20g2000hsi.googlegroups.com...
> Is there a way to return the whole HTML document from the Client to
> the Server "as is" so I can use ASP.NET to parse through it and look
> for stuff?
> I want to see what some client side JavaScript may have done to the
> XHTML document.
This doesn't directly answer your question, but it may be what you are
looking for.
http://projects.nikhilk.net/Projects/WebDevHelper.aspx
In addition to its many other features, it will show you the "live" HTML
source for a page (as modified by any javascript).
I'm looking to do it at runtime. Not with a utility while
programming.
On Feb 11, 1:31 pm, "Scott Roberts" <srobe...@.no.spam.here-webworks-
software.com> wrote:
> "GMartin" <glenn.e.mar...@.gmail.com> wrote in message
> news:d9443226-88cf-4bb0-b1d6-4f9514c0ab02@.j20g2000hsi.googlegroups.com...
>
>
> This doesn't directly answer your question, but it may be what you are
> looking for.
> http://projects.nikhilk.net/Projects/WebDevHelper.aspx
> In addition to its many other features, it will show you the "live" HTML
> source for a page (as modified by any javascript).

Monday, March 26, 2012

Suggestion for HTML Editor to get past the crappy IDE one

I am out of my mind fighting with the IDE HTML editor. Beyond the fact that
reformatting the text is brain dead (and I am not just talking about the
switching from design to HTML). I am putting in a filter to provide a
gradient background.

Insert the code into the HTML and switch to design. Voila it shows. Back
to HTML and back to design. It is gone. The worst thing is that I can see
no change to the BODY tag. This is beyond reason. Other pages work
(sometimes).

This IDE does not seem to understand that users can be past the IE 3.0
stage. Does MS not provide its developers with up to date tools? It would
seem that QA does not get them.

Lloyd Sheen"Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
news:nUUQb.19242$iLV.10815@.twister01.bloor.is.net. cable.rogers.com:
> Insert the code into the HTML and switch to design. Voila it shows.
> Back to HTML and back to design. It is gone. The worst thing is that I
> can see no change to the BODY tag. This is beyond reason. Other pages
> work (sometimes).

This is "FrontPage". :)

FrontPAge used to be REALLY nasty about this type of stuff. MS has worked
really hard to get rid of this type of stuff.

It might be that the code that you are entering is not completely valid and
is confusing the parser. However the designer is showing it so...

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

ELKNews - Get your free copy at http://www.atozedsoftware.com
The code is good. I have compared other pages and it works there until I
make any change, even to text. The IDE seems to have some view that it
wants and the designer be dammed.

I have tried the same in FrontPage with no problems. If the IDE is to be
taken seriously then it should help not hinder developers. I keep hearing
wait until the next release. If this is to be MS mantra for the next set of
products then the MS haters will have a case.

Lloyd Sheen

"Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
news:Xns947BEB74BEA35cpub@.127.0.0.1...
> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> news:nUUQb.19242$iLV.10815@.twister01.bloor.is.net. cable.rogers.com:
> > Insert the code into the HTML and switch to design. Voila it shows.
> > Back to HTML and back to design. It is gone. The worst thing is that I
> > can see no change to the BODY tag. This is beyond reason. Other pages
> > work (sometimes).
> This is "FrontPage". :)
> FrontPAge used to be REALLY nasty about this type of stuff. MS has worked
> really hard to get rid of this type of stuff.
> It might be that the code that you are entering is not completely valid
and
> is confusing the parser. However the designer is showing it so...
>
> --
> Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
> "Programming is an art form that fights back"
>
> ELKNews - Get your free copy at http://www.atozedsoftware.com
When I open the code in Dreamweaver it looks correct. For an expensive
product VS2003 is a real dud in HTML design. I had not done this before but
now I can see why people do not want to use VS as the HTML designer.

Notepad would be better, at least it does not make assumptions about what
the user wants.

Lloyd Sheen

"Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in message
news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com...
> The code is good. I have compared other pages and it works there until I
> make any change, even to text. The IDE seems to have some view that it
> wants and the designer be dammed.
> I have tried the same in FrontPage with no problems. If the IDE is to be
> taken seriously then it should help not hinder developers. I keep hearing
> wait until the next release. If this is to be MS mantra for the next set
of
> products then the MS haters will have a case.
> Lloyd Sheen
>
> "Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
> news:Xns947BEB74BEA35cpub@.127.0.0.1...
> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> > news:nUUQb.19242$iLV.10815@.twister01.bloor.is.net. cable.rogers.com:
> > > Insert the code into the HTML and switch to design. Voila it shows.
> > > Back to HTML and back to design. It is gone. The worst thing is that
I
> > > can see no change to the BODY tag. This is beyond reason. Other
pages
> > > work (sometimes).
> > This is "FrontPage". :)
> > FrontPAge used to be REALLY nasty about this type of stuff. MS has
worked
> > really hard to get rid of this type of stuff.
> > It might be that the code that you are entering is not completely valid
> and
> > is confusing the parser. However the designer is showing it so...
> > --
> > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
> > "Programming is an art form that fights back"
> > ELKNews - Get your free copy at http://www.atozedsoftware.com
"Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com:
> I have tried the same in FrontPage with no problems. If the IDE is to
> be taken seriously then it should help not hinder developers. I keep

For the record - I did not say that. :)

> hearing wait until the next release. If this is to be MS mantra for the
> next set of products then the MS haters will have a case.

Let's just say I have feet on both side of the fence.

VS.net is a HUGE improvement over VS though. To be honest, prior to VS.net,
the IDE was just unusuable. When coming from Delphi (or even VB) it was like
stepping back in time 20 years.

Im not defending the issues you are seeing, but trying to tell you that when
it comes to this type of stuff its taking MS a long time to get their heads
wrapped around it. VS.net IMO is really a "1.1" IDE. For a 1.1, its pretty
darn good.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

ELKNews - Get your free copy at http://www.atozedsoftware.com
Not to be argumentative but this IDE should have some of the underpinnings
of the IDE's that preceded it. Someone said that the HTML designer came
from FrontPage. Well that product is quite old and should have the kinks
worked out.

I cannot figure out why anyone when QA'ing this product would accept the
formatting that happens (and I have turned off what I can in the Options).
I just moved a DIV and all contained controls were put on one line. Since
the designer does not allow for the adding of all needed information at
times you must go to the HTML view. I see absolutely no reason to reformat.
Especially after I just spent 20 mins making the format what I wanted.

MS this is the worst IDE I have ever seen and I have used VB since 1.0 and
VC since it was C 1.52.

Lloyd Sheen

"Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
news:Xns947BEF166F90Acpub@.127.0.0.1...
> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com:
> > I have tried the same in FrontPage with no problems. If the IDE is to
> > be taken seriously then it should help not hinder developers. I keep
> For the record - I did not say that. :)
> > hearing wait until the next release. If this is to be MS mantra for the
> > next set of products then the MS haters will have a case.
> Let's just say I have feet on both side of the fence.
> VS.net is a HUGE improvement over VS though. To be honest, prior to
VS.net,
> the IDE was just unusuable. When coming from Delphi (or even VB) it was
like
> stepping back in time 20 years.
> Im not defending the issues you are seeing, but trying to tell you that
when
> it comes to this type of stuff its taking MS a long time to get their
heads
> wrapped around it. VS.net IMO is really a "1.1" IDE. For a 1.1, its pretty
> darn good.
>
> --
> Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
> "Programming is an art form that fights back"
>
> ELKNews - Get your free copy at http://www.atozedsoftware.com
And even more. At present the designer shows the gradient background. Run
the app and it wants to recompile the page. When it shows the code is
changed, the gradient is gone and another strike for this terrible piece of
crap that MS has presented developers with.

This IDE constantly looses buttons, Intelisence, etc. I spend as much time
stopping and starting the IDE just to get past these problems.

Lloyd Sheen

"Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in message
news:COVQb.20263$iLV.834@.twister01.bloor.is.net.ca ble.rogers.com...
> Not to be argumentative but this IDE should have some of the underpinnings
> of the IDE's that preceded it. Someone said that the HTML designer came
> from FrontPage. Well that product is quite old and should have the kinks
> worked out.
> I cannot figure out why anyone when QA'ing this product would accept the
> formatting that happens (and I have turned off what I can in the Options).
> I just moved a DIV and all contained controls were put on one line. Since
> the designer does not allow for the adding of all needed information at
> times you must go to the HTML view. I see absolutely no reason to
reformat.
> Especially after I just spent 20 mins making the format what I wanted.
> MS this is the worst IDE I have ever seen and I have used VB since 1.0 and
> VC since it was C 1.52.
> Lloyd Sheen
> "Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
> news:Xns947BEF166F90Acpub@.127.0.0.1...
> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> > news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com:
> > > I have tried the same in FrontPage with no problems. If the IDE is to
> > > be taken seriously then it should help not hinder developers. I keep
> > For the record - I did not say that. :)
> > > hearing wait until the next release. If this is to be MS mantra for
the
> > > next set of products then the MS haters will have a case.
> > Let's just say I have feet on both side of the fence.
> > VS.net is a HUGE improvement over VS though. To be honest, prior to
> VS.net,
> > the IDE was just unusuable. When coming from Delphi (or even VB) it was
> like
> > stepping back in time 20 years.
> > Im not defending the issues you are seeing, but trying to tell you that
> when
> > it comes to this type of stuff its taking MS a long time to get their
> heads
> > wrapped around it. VS.net IMO is really a "1.1" IDE. For a 1.1, its
pretty
> > darn good.
> > --
> > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
> > "Programming is an art form that fights back"
> > ELKNews - Get your free copy at http://www.atozedsoftware.com
Do the following:

1. Create a new web form
2. Go to HTML
3. Locate the Body tag
4. Insert after MS_POSITIONING="GridLayout" the following:

style="FILTER:
progid:DXImageTransform.Microsoft.Gradient(endColo rstr='#663333',
startColorstr='#66CCFF', gradientType='0')"

5. Go to Design mode and see the gradient
6. Go to HTML and then back to design and it is gone but the code is still
there.

Go figure.
dont know mate.. think you seem to have a lot of problems. could be the
installation
Have been using vs.net 2003 for 6 months now without any issues. Though i
use it for programming as such and not for html designing.
BTW VS.NET has no links with frontpage. front page is a totally different
product. VS.NET is an ide which also lets you do html.
And dont compare it with dreamweaver. you are comparing all the html
editors with VS when it could be
a. you not doing it right
b. you are doing it right but you installation is messed up.

--
Regards,
HD
Once a Geek... Always a Geek
"Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in message
news:OSVQb.20314$iLV.3080@.twister01.bloor.is.net.c able.rogers.com...
> And even more. At present the designer shows the gradient background.
> Run
> the app and it wants to recompile the page. When it shows the code is
> changed, the gradient is gone and another strike for this terrible piece
> of
> crap that MS has presented developers with.
> This IDE constantly looses buttons, Intelisence, etc. I spend as much
> time
> stopping and starting the IDE just to get past these problems.
> Lloyd Sheen
> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> message
> news:COVQb.20263$iLV.834@.twister01.bloor.is.net.ca ble.rogers.com...
>> Not to be argumentative but this IDE should have some of the
>> underpinnings
>> of the IDE's that preceded it. Someone said that the HTML designer came
>> from FrontPage. Well that product is quite old and should have the kinks
>> worked out.
>>
>> I cannot figure out why anyone when QA'ing this product would accept the
>> formatting that happens (and I have turned off what I can in the
>> Options).
>> I just moved a DIV and all contained controls were put on one line.
>> Since
>> the designer does not allow for the adding of all needed information at
>> times you must go to the HTML view. I see absolutely no reason to
> reformat.
>> Especially after I just spent 20 mins making the format what I wanted.
>>
>> MS this is the worst IDE I have ever seen and I have used VB since 1.0
>> and
>> VC since it was C 1.52.
>>
>> Lloyd Sheen
>>
>> "Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
>> news:Xns947BEF166F90Acpub@.127.0.0.1...
>> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
>> > news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com:
>> > > I have tried the same in FrontPage with no problems. If the IDE is
>> > > to
>> > > be taken seriously then it should help not hinder developers. I keep
>>> > For the record - I did not say that. :)
>>> > > hearing wait until the next release. If this is to be MS mantra for
> the
>> > > next set of products then the MS haters will have a case.
>>> > Let's just say I have feet on both side of the fence.
>>> > VS.net is a HUGE improvement over VS though. To be honest, prior to
>> VS.net,
>> > the IDE was just unusuable. When coming from Delphi (or even VB) it was
>> like
>> > stepping back in time 20 years.
>>> > Im not defending the issues you are seeing, but trying to tell you that
>> when
>> > it comes to this type of stuff its taking MS a long time to get their
>> heads
>> > wrapped around it. VS.net IMO is really a "1.1" IDE. For a 1.1, its
> pretty
>> > darn good.
>>>>> > --
>> > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
>> > "Programming is an art form that fights back"
>>>> > ELKNews - Get your free copy at http://www.atozedsoftware.com
>>>
>>
just copy pasted your code as you said.
and switched between the designer and html views a couple of times
and it still works
if can see the code in html and i can see the gradient in designer

--
Regards,
HD
Once a Geek... Always a Geek
"Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in message
news:o3WQb.20454$iLV.4171@.twister01.bloor.is.net.c able.rogers.com...
> Do the following:
> 1. Create a new web form
> 2. Go to HTML
> 3. Locate the Body tag
> 4. Insert after MS_POSITIONING="GridLayout" the following:
> style="FILTER:
> progid:DXImageTransform.Microsoft.Gradient(endColo rstr='#663333',
> startColorstr='#66CCFF', gradientType='0')"
> 5. Go to Design mode and see the gradient
> 6. Go to HTML and then back to design and it is gone but the code is
> still
> there.
> Go figure.
It seems to have to do with the reformatting. If you can get the filter to
show on one line you can switch back and forth. I just wish I could totally
turn off the reformatting. It is irritating and poorly done.

To paraphrase what most developers tell others in these forums when people
ask about changing the way things look - "let the user decide". MS has not
done this in the HTML designer and we the developer pay for it.

Lloyd Sheen
"Hermit Dave" <hermitd.REMOVE@.CAPS.AND.DOTS.hotmail.com> wrote in message
news:OfRgeZ44DHA.2440@.tk2msftngp13.phx.gbl...
> dont know mate.. think you seem to have a lot of problems. could be the
> installation
> Have been using vs.net 2003 for 6 months now without any issues. Though i
> use it for programming as such and not for html designing.
> BTW VS.NET has no links with frontpage. front page is a totally different
> product. VS.NET is an ide which also lets you do html.
> And dont compare it with dreamweaver. you are comparing all the html
> editors with VS when it could be
> a. you not doing it right
> b. you are doing it right but you installation is messed up.
> --
> Regards,
> HD
> Once a Geek... Always a Geek
> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
message
> news:OSVQb.20314$iLV.3080@.twister01.bloor.is.net.c able.rogers.com...
> > And even more. At present the designer shows the gradient background.
> > Run
> > the app and it wants to recompile the page. When it shows the code is
> > changed, the gradient is gone and another strike for this terrible piece
> > of
> > crap that MS has presented developers with.
> > This IDE constantly looses buttons, Intelisence, etc. I spend as much
> > time
> > stopping and starting the IDE just to get past these problems.
> > Lloyd Sheen
> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> > message
> > news:COVQb.20263$iLV.834@.twister01.bloor.is.net.ca ble.rogers.com...
> >> Not to be argumentative but this IDE should have some of the
> >> underpinnings
> >> of the IDE's that preceded it. Someone said that the HTML designer
came
> >> from FrontPage. Well that product is quite old and should have the
kinks
> >> worked out.
> >>
> >> I cannot figure out why anyone when QA'ing this product would accept
the
> >> formatting that happens (and I have turned off what I can in the
> >> Options).
> >> I just moved a DIV and all contained controls were put on one line.
> >> Since
> >> the designer does not allow for the adding of all needed information at
> >> times you must go to the HTML view. I see absolutely no reason to
> > reformat.
> >> Especially after I just spent 20 mins making the format what I wanted.
> >>
> >> MS this is the worst IDE I have ever seen and I have used VB since 1.0
> >> and
> >> VC since it was C 1.52.
> >>
> >> Lloyd Sheen
> >>
> >> "Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
> >> news:Xns947BEF166F90Acpub@.127.0.0.1...
> >> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> >> > news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com:
> >> > > I have tried the same in FrontPage with no problems. If the IDE is
> >> > > to
> >> > > be taken seriously then it should help not hinder developers. I
keep
> >> >> > For the record - I did not say that. :)
> >> >> > > hearing wait until the next release. If this is to be MS mantra
for
> > the
> >> > > next set of products then the MS haters will have a case.
> >> >> > Let's just say I have feet on both side of the fence.
> >> >> > VS.net is a HUGE improvement over VS though. To be honest, prior to
> >> VS.net,
> >> > the IDE was just unusuable. When coming from Delphi (or even VB) it
was
> >> like
> >> > stepping back in time 20 years.
> >> >> > Im not defending the issues you are seeing, but trying to tell you
that
> >> when
> >> > it comes to this type of stuff its taking MS a long time to get their
> >> heads
> >> > wrapped around it. VS.net IMO is really a "1.1" IDE. For a 1.1, its
> > pretty
> >> > darn good.
> >> >> >> >> > --
> >> > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
> >> > "Programming is an art form that fights back"
> >> >> >> > ELKNews - Get your free copy at http://www.atozedsoftware.com
> >> >>
> >>
as i told you you line of code worked fine... no issues with reformatting...
you sure you didnt mess about with some settings ?

--
Regards,
HD
Once a Geek... Always a Geek
"Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in message
news:UfXQb.21387$iLV.13845@.twister01.bloor.is.net. cable.rogers.com...
> It seems to have to do with the reformatting. If you can get the filter
> to
> show on one line you can switch back and forth. I just wish I could
> totally
> turn off the reformatting. It is irritating and poorly done.
> To paraphrase what most developers tell others in these forums when people
> ask about changing the way things look - "let the user decide". MS has
> not
> done this in the HTML designer and we the developer pay for it.
> Lloyd Sheen
> "Hermit Dave" <hermitd.REMOVE@.CAPS.AND.DOTS.hotmail.com> wrote in message
> news:OfRgeZ44DHA.2440@.tk2msftngp13.phx.gbl...
>> dont know mate.. think you seem to have a lot of problems. could be the
>> installation
>> Have been using vs.net 2003 for 6 months now without any issues. Though i
>> use it for programming as such and not for html designing.
>> BTW VS.NET has no links with frontpage. front page is a totally different
>> product. VS.NET is an ide which also lets you do html.
>> And dont compare it with dreamweaver. you are comparing all the html
>> editors with VS when it could be
>> a. you not doing it right
>> b. you are doing it right but you installation is messed up.
>>
>> --
>> Regards,
>> HD
>> Once a Geek... Always a Geek
>> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> message
>> news:OSVQb.20314$iLV.3080@.twister01.bloor.is.net.c able.rogers.com...
>> > And even more. At present the designer shows the gradient background.
>> > Run
>> > the app and it wants to recompile the page. When it shows the code is
>> > changed, the gradient is gone and another strike for this terrible
>> > piece
>> > of
>> > crap that MS has presented developers with.
>>> > This IDE constantly looses buttons, Intelisence, etc. I spend as much
>> > time
>> > stopping and starting the IDE just to get past these problems.
>>> > Lloyd Sheen
>>> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
>> > message
>> > news:COVQb.20263$iLV.834@.twister01.bloor.is.net.ca ble.rogers.com...
>> >> Not to be argumentative but this IDE should have some of the
>> >> underpinnings
>> >> of the IDE's that preceded it. Someone said that the HTML designer
> came
>> >> from FrontPage. Well that product is quite old and should have the
> kinks
>> >> worked out.
>> >>
>> >> I cannot figure out why anyone when QA'ing this product would accept
> the
>> >> formatting that happens (and I have turned off what I can in the
>> >> Options).
>> >> I just moved a DIV and all contained controls were put on one line.
>> >> Since
>> >> the designer does not allow for the adding of all needed information
>> >> at
>> >> times you must go to the HTML view. I see absolutely no reason to
>> > reformat.
>> >> Especially after I just spent 20 mins making the format what I wanted.
>> >>
>> >> MS this is the worst IDE I have ever seen and I have used VB since 1.0
>> >> and
>> >> VC since it was C 1.52.
>> >>
>> >> Lloyd Sheen
>> >>
>> >> "Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
>> >> news:Xns947BEF166F90Acpub@.127.0.0.1...
>> >> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
>> >> > news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com:
>> >> > > I have tried the same in FrontPage with no problems. If the IDE
>> >> > > is
>> >> > > to
>> >> > > be taken seriously then it should help not hinder developers. I
> keep
>> >>> >> > For the record - I did not say that. :)
>> >>> >> > > hearing wait until the next release. If this is to be MS mantra
> for
>> > the
>> >> > > next set of products then the MS haters will have a case.
>> >>> >> > Let's just say I have feet on both side of the fence.
>> >>> >> > VS.net is a HUGE improvement over VS though. To be honest, prior to
>> >> VS.net,
>> >> > the IDE was just unusuable. When coming from Delphi (or even VB) it
> was
>> >> like
>> >> > stepping back in time 20 years.
>> >>> >> > Im not defending the issues you are seeing, but trying to tell you
> that
>> >> when
>> >> > it comes to this type of stuff its taking MS a long time to get
>> >> > their
>> >> heads
>> >> > wrapped around it. VS.net IMO is really a "1.1" IDE. For a 1.1, its
>> > pretty
>> >> > darn good.
>> >>> >>> >>> >> > --
>> >> > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
>> >> > "Programming is an art form that fights back"
>> >>> >>> >> > ELKNews - Get your free copy at http://www.atozedsoftware.com
>> >>> >>
>> >>
>>>>
>>
As I said, add the code switch views and after a couple of switches the
gradient is gone.

"Hermit Dave" <hermitd.REMOVE@.CAPS.AND.DOTS.hotmail.com> wrote in message
news:OTUMrJ54DHA.2496@.TK2MSFTNGP09.phx.gbl...
> as i told you you line of code worked fine... no issues with
reformatting...
> you sure you didnt mess about with some settings ?
> --
> Regards,
> HD
> Once a Geek... Always a Geek
> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
message
> news:UfXQb.21387$iLV.13845@.twister01.bloor.is.net. cable.rogers.com...
> > It seems to have to do with the reformatting. If you can get the filter
> > to
> > show on one line you can switch back and forth. I just wish I could
> > totally
> > turn off the reformatting. It is irritating and poorly done.
> > To paraphrase what most developers tell others in these forums when
people
> > ask about changing the way things look - "let the user decide". MS has
> > not
> > done this in the HTML designer and we the developer pay for it.
> > Lloyd Sheen
> > "Hermit Dave" <hermitd.REMOVE@.CAPS.AND.DOTS.hotmail.com> wrote in
message
> > news:OfRgeZ44DHA.2440@.tk2msftngp13.phx.gbl...
> >> dont know mate.. think you seem to have a lot of problems. could be the
> >> installation
> >> Have been using vs.net 2003 for 6 months now without any issues. Though
i
> >> use it for programming as such and not for html designing.
> >> BTW VS.NET has no links with frontpage. front page is a totally
different
> >> product. VS.NET is an ide which also lets you do html.
> >> And dont compare it with dreamweaver. you are comparing all the html
> >> editors with VS when it could be
> >> a. you not doing it right
> >> b. you are doing it right but you installation is messed up.
> >>
> >> --
> >> Regards,
> >> HD
> >> Once a Geek... Always a Geek
> >> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> > message
> >> news:OSVQb.20314$iLV.3080@.twister01.bloor.is.net.c able.rogers.com...
> >> > And even more. At present the designer shows the gradient
background.
> >> > Run
> >> > the app and it wants to recompile the page. When it shows the code
is
> >> > changed, the gradient is gone and another strike for this terrible
> >> > piece
> >> > of
> >> > crap that MS has presented developers with.
> >> >> > This IDE constantly looses buttons, Intelisence, etc. I spend as
much
> >> > time
> >> > stopping and starting the IDE just to get past these problems.
> >> >> > Lloyd Sheen
> >> >> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> >> > message
> >> > news:COVQb.20263$iLV.834@.twister01.bloor.is.net.ca ble.rogers.com...
> >> >> Not to be argumentative but this IDE should have some of the
> >> >> underpinnings
> >> >> of the IDE's that preceded it. Someone said that the HTML designer
> > came
> >> >> from FrontPage. Well that product is quite old and should have the
> > kinks
> >> >> worked out.
> >> >>
> >> >> I cannot figure out why anyone when QA'ing this product would accept
> > the
> >> >> formatting that happens (and I have turned off what I can in the
> >> >> Options).
> >> >> I just moved a DIV and all contained controls were put on one line.
> >> >> Since
> >> >> the designer does not allow for the adding of all needed information
> >> >> at
> >> >> times you must go to the HTML view. I see absolutely no reason to
> >> > reformat.
> >> >> Especially after I just spent 20 mins making the format what I
wanted.
> >> >>
> >> >> MS this is the worst IDE I have ever seen and I have used VB since
1.0
> >> >> and
> >> >> VC since it was C 1.52.
> >> >>
> >> >> Lloyd Sheen
> >> >>
> >> >> "Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
> >> >> news:Xns947BEF166F90Acpub@.127.0.0.1...
> >> >> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote
in
> >> >news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com:
> >> >> > > I have tried the same in FrontPage with no problems. If the IDE
> >> >> > > is
> >> >> > > to
> >> >> > > be taken seriously then it should help not hinder developers. I
> > keep
> >> >> >> >> > For the record - I did not say that. :)
> >> >> >> >> > > hearing wait until the next release. If this is to be MS mantra
> > for
> >> > the
> >> >> > > next set of products then the MS haters will have a case.
> >> >> >> >> > Let's just say I have feet on both side of the fence.
> >> >> >> >> > VS.net is a HUGE improvement over VS though. To be honest, prior
to
> >> >> VS.net,
> >> >> > the IDE was just unusuable. When coming from Delphi (or even VB)
it
> > was
> >> >> like
> >> >> > stepping back in time 20 years.
> >> >> >> >> > Im not defending the issues you are seeing, but trying to tell you
> > that
> >> >> when
> >> >> > it comes to this type of stuff its taking MS a long time to get
> >> >> > their
> >> >> heads
> >> >> > wrapped around it. VS.net IMO is really a "1.1" IDE. For a 1.1,
its
> >> > pretty
> >> >> > darn good.
> >> >> >> >> >> >> >> >> > --
> >> >> > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
> >> >> > "Programming is an art form that fights back"
> >> >> >> >> >> >> > ELKNews - Get your free copy at http://www.atozedsoftware.com
> >> >> >> >>
> >> >>
> >> >> >>
> >>
swtiched 20 times with a couple of saves
so far so good
added a line save
switched 10 times
so far so good
restart the application
so far so good
make another change
switched 10 times... still good
so it cannot be visual studio cause i am also using vs.net and this is
indeed VS.NET 2003. btw... define couple... more than 40 times is good
enough.

--
Regards,
HD
Once a Geek... Always a Geek
"Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in message
news:ayXQb.21512$iLV.12586@.twister01.bloor.is.net. cable.rogers.com...
> As I said, add the code switch views and after a couple of switches the
> gradient is gone.
>
> "Hermit Dave" <hermitd.REMOVE@.CAPS.AND.DOTS.hotmail.com> wrote in message
> news:OTUMrJ54DHA.2496@.TK2MSFTNGP09.phx.gbl...
>> as i told you you line of code worked fine... no issues with
> reformatting...
>> you sure you didnt mess about with some settings ?
>>
>> --
>> Regards,
>> HD
>> Once a Geek... Always a Geek
>> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
> message
>> news:UfXQb.21387$iLV.13845@.twister01.bloor.is.net. cable.rogers.com...
>> > It seems to have to do with the reformatting. If you can get the
>> > filter
>> > to
>> > show on one line you can switch back and forth. I just wish I could
>> > totally
>> > turn off the reformatting. It is irritating and poorly done.
>>> > To paraphrase what most developers tell others in these forums when
> people
>> > ask about changing the way things look - "let the user decide". MS has
>> > not
>> > done this in the HTML designer and we the developer pay for it.
>>> > Lloyd Sheen
>> > "Hermit Dave" <hermitd.REMOVE@.CAPS.AND.DOTS.hotmail.com> wrote in
> message
>> > news:OfRgeZ44DHA.2440@.tk2msftngp13.phx.gbl...
>> >> dont know mate.. think you seem to have a lot of problems. could be
>> >> the
>> >> installation
>> >> Have been using vs.net 2003 for 6 months now without any issues.
>> >> Though
> i
>> >> use it for programming as such and not for html designing.
>> >> BTW VS.NET has no links with frontpage. front page is a totally
> different
>> >> product. VS.NET is an ide which also lets you do html.
>> >> And dont compare it with dreamweaver. you are comparing all the html
>> >> editors with VS when it could be
>> >> a. you not doing it right
>> >> b. you are doing it right but you installation is messed up.
>> >>
>> >> --
>> >> Regards,
>> >> HD
>> >> Once a Geek... Always a Geek
>> >> "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
>> > message
>> >> news:OSVQb.20314$iLV.3080@.twister01.bloor.is.net.c able.rogers.com...
>> >> > And even more. At present the designer shows the gradient
> background.
>> >> > Run
>> >> > the app and it wants to recompile the page. When it shows the code
> is
>> >> > changed, the gradient is gone and another strike for this terrible
>> >> > piece
>> >> > of
>> >> > crap that MS has presented developers with.
>> >>> >> > This IDE constantly looses buttons, Intelisence, etc. I spend as
> much
>> >> > time
>> >> > stopping and starting the IDE just to get past these problems.
>> >>> >> > Lloyd Sheen
>> >>> >> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote in
>> >> > message
>> >> > news:COVQb.20263$iLV.834@.twister01.bloor.is.net.ca ble.rogers.com...
>> >> >> Not to be argumentative but this IDE should have some of the
>> >> >> underpinnings
>> >> >> of the IDE's that preceded it. Someone said that the HTML designer
>> > came
>> >> >> from FrontPage. Well that product is quite old and should have the
>> > kinks
>> >> >> worked out.
>> >> >>
>> >> >> I cannot figure out why anyone when QA'ing this product would
>> >> >> accept
>> > the
>> >> >> formatting that happens (and I have turned off what I can in the
>> >> >> Options).
>> >> >> I just moved a DIV and all contained controls were put on one line.
>> >> >> Since
>> >> >> the designer does not allow for the adding of all needed
>> >> >> information
>> >> >> at
>> >> >> times you must go to the HTML view. I see absolutely no reason to
>> >> > reformat.
>> >> >> Especially after I just spent 20 mins making the format what I
> wanted.
>> >> >>
>> >> >> MS this is the worst IDE I have ever seen and I have used VB since
> 1.0
>> >> >> and
>> >> >> VC since it was C 1.52.
>> >> >>
>> >> >> Lloyd Sheen
>> >> >>
>> >> >> "Chad Z. Hower aka Kudzu" <cpub@.hower.org> wrote in message
>> >> >> news:Xns947BEF166F90Acpub@.127.0.0.1...
>> >> >> > "Lloyd Sheen" <sqlguyremoveallofthis@.tostopspamhotmail.com> wrote
> in
>> >> >> news:ysVQb.19981$iLV.19585@.twister01.bloor.is.net. cable.rogers.com:
>> >> >> > > I have tried the same in FrontPage with no problems. If the
>> >> >> > > IDE
>> >> >> > > is
>> >> >> > > to
>> >> >> > > be taken seriously then it should help not hinder developers.
>> >> >> > > I
>> > keep
>> >> >>> >> >> > For the record - I did not say that. :)
>> >> >>> >> >> > > hearing wait until the next release. If this is to be MS
>> >> >> > > mantra
>> > for
>> >> > the
>> >> >> > > next set of products then the MS haters will have a case.
>> >> >>> >> >> > Let's just say I have feet on both side of the fence.
>> >> >>> >> >> > VS.net is a HUGE improvement over VS though. To be honest, prior
> to
>> >> >> VS.net,
>> >> >> > the IDE was just unusuable. When coming from Delphi (or even VB)
> it
>> > was
>> >> >> like
>> >> >> > stepping back in time 20 years.
>> >> >>> >> >> > Im not defending the issues you are seeing, but trying to tell
>> >> >> > you
>> > that
>> >> >> when
>> >> >> > it comes to this type of stuff its taking MS a long time to get
>> >> >> > their
>> >> >> heads
>> >> >> > wrapped around it. VS.net IMO is really a "1.1" IDE. For a 1.1,
> its
>> >> > pretty
>> >> >> > darn good.
>> >> >>> >> >>> >> >>> >> >> > --
>> >> >> > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
>> >> >> > "Programming is an art form that fights back"
>> >> >>> >> >>> >> >> > ELKNews - Get your free copy at http://www.atozedsoftware.com
>> >> >>> >> >>
>> >> >>
>> >>> >>> >>
>> >>
>>>>
>>

Saturday, March 24, 2012

Suggestions visual studio - switch between design and html takes from 15 to 20 seconds - h

I am having this issue when i try to switch between the design view and source view ( the raw html view) or viceverse is taking from 15 to 20 seconds for the switch to happen.

if I take out all the html out of the page it switches back and forth right away. I have about 200 lines of html code

Is is always or just for one application. Did u try to restart your visual studio or kill the worker process or even restart your comp.

Super Annoying ! Character in my HTML Email!!

I have a web form that allows emailing of a predefined HTML body. I have tried different formatting and deleting of certain text, but when the Email is received, there is always a '!' (exclamation mark) or two within the text.

How do I get around this annoying feature! What am I doing wrong?

Your help will be greatly appreciated.I have been perusing tons of documentation and even rewrote my code, but still nothing.

I am thinking of this: is there any way to display the contents of a HTML page on the body? Essentially, this is what I'm doing. I just had a bunch of HTML tags in my body of the mailMessage.

Your help will be greatly appreciated.
Hi,


Dim objMM As New System.Web.Mail.MailMessage
objMM.BodyFormat = Mail.MailFormat.Html

More info

HTH
shaji:

Thanks for your reply. I already have that code in my page. How can I include a URL has the whole body of the email message, that is what I am looking for.

Can anyone help?
OK -- this is what I've been noticing with my mail application. When I attach an HTML body to my MailMessage .Body section and the email retrieves email addresses from a database via a datareader, the emails themselves come back with 'garbage' displayed as random '!' marks in my text.

If I put the same HTML Body in an HTML document by itself, the format is beautiful, clean, and what I'm looking for.

So this brings me to conclude that somehow, the server is throwing in some 'garbage' into the body of my MailMessage .Body. Thus now, I have come to the conclusion that I can't alleviate this problem since it seems to be out of my hands.

I was thinking there must be a way to have the Body of the email to display the web page, i.e. that HTML document.

Please help.
Hi net123,

Try String.Replace() function.

YourMailBody.Replace("!", "")

HTH
Maybe your server is converting some caracter he does'nt understand to a "!"
Can you see a pattern on where those "!" are added ?

Thursday, March 22, 2012

Superscript

I have a TM (trademark) superscript in a javascript menu creation script. The TM superscript renders fine in html pages but shows up as a square in aspx pages. Anyone seen this before?Is this in Netscape?
I've seem this in Netscape before: unicode works fine for anything not dynamic in older versions of the browser. Never found a workaround.
How are you showing the trademark symbol? Are you using™? If so, apparently this does not map to the trademark symbol in many fonts. Instead, try™.