Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Juan T. Llibre #1
How about giving www.aspnetfaq.com a test ride ?
Hey, guys.
How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
Especially, check out the search facility.
Make sure that you hit the Search button, though.
I have not yet set the default behavior to Submit when you hit enter.
Also, check the selection by category and the FAQ selection by clicking on it.
I will appreciate all feedback, as the site is going live within 24 hours.
Thanks!
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
Juan T. Llibre Guest
-
Getting ride of Line Feeds
I have code that reads data from a text document. Here is one name it returned: Sweeny, Katherine Michell e Notice there is a break in 'Michelle'... -
Test::Unit non-auto-run test case?
I'm getting a handle on the Test::Unit library, and the automatically-running test case example was extremely simple to get running, but now I want... -
Test::Unit -- multiple errors in test method ???
Hi ! I have been writing some unit tests with Test::Unit. I've noted that when an assertion fails in a test method, the remaining assertions... -
Method test::unit::TestSuite#<<(test)
Hi, I suggest to change the definition of this method slightly: current: # Adds the test to the suite. def <<(test) @tests << test end -
The server response was: 550 5.7.1 <test@test.com>... we do not relay
Your web server is set (as it should be) to not send email from domains it doesn't belong to. That's the "we don not relay" part of the message. ... -
Curt_C [MVP] #2
RE: How about giving www.aspnetfaq.com a test ride ?
Juan, you mastering this site?
--
Curt Christianson
site: [url]http://www.darkfalz.com[/url]
blog: [url]http://blog.darkfalz.com[/url]
"Juan T. Llibre" wrote:
> Hey, guys.
>
> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>
> Especially, check out the search facility.
> Make sure that you hit the Search button, though.
> I have not yet set the default behavior to Submit when you hit enter.
>
> Also, check the selection by category and the FAQ selection by clicking on it.
>
> I will appreciate all feedback, as the site is going live within 24 hours.
>
> Thanks!
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
> ======================================
>
>
>Curt_C [MVP] Guest
-
Juan T. Llibre #3
Re: How about giving www.aspnetfaq.com a test ride ?
Yes.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Curt_C [MVP]" <software_at_darkfalz.com> wrote in message
news:A36400E1-86D8-4C12-B842-5E34BD7072F9@microsoft.com...> Juan, you mastering this site?
>
> --
> Curt Christianson
> site: [url]http://www.darkfalz.com[/url]
> blog: [url]http://blog.darkfalz.com[/url]> "Juan T. Llibre" wrote:
>>> Hey, guys.
>>
>> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>>
>> Especially, check out the search facility.
>> Make sure that you hit the Search button, though.
>> I have not yet set the default behavior to Submit when you hit enter.
>>
>> Also, check the selection by category and the FAQ selection by clicking on it.
>>
>> I will appreciate all feedback, as the site is going live within 24 hours.
>>
>> Thanks!
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>> ======================================
>>
>>
>>
Juan T. Llibre Guest
-
Joe #4
RE: How about giving www.aspnetfaq.com a test ride ?
Juan,
Question about setting default behavior to Submit. Do you do this with
JavaScript of is there a .NET way of accomplishing this behavior?
--
Joe
VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
"Juan T. Llibre" wrote:
> Hey, guys.
>
> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>
> Especially, check out the search facility.
> Make sure that you hit the Search button, though.
> I have not yet set the default behavior to Submit when you hit enter.
>
> Also, check the selection by category and the FAQ selection by clicking on it.
>
> I will appreciate all feedback, as the site is going live within 24 hours.
>
> Thanks!
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
> ======================================
>
>
>Joe Guest
-
Brian Henry #5
Re: How about giving www.aspnetfaq.com a test ride ?
You got one large view state there taking up a lot of bandwidth
"Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...> Hey, guys.
>
> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>
> Especially, check out the search facility.
> Make sure that you hit the Search button, though.
> I have not yet set the default behavior to Submit when you hit enter.
>
> Also, check the selection by category and the FAQ selection by clicking on
> it.
>
> I will appreciate all feedback, as the site is going live within 24 hours.
>
> Thanks!
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
> ======================================
>
Brian Henry Guest
-
Juan T. Llibre #6
Re: How about giving www.aspnetfaq.com a test ride ?
JavaScript works fine.
See : [url]http://www.allasp.net/enterkey.aspx[/url]
You can use a slightly more native way to do this with :
SomeTextBox.Attributes.Add("onKeyPress",
"javascript:if (event.keyCode == 13) __doPostBack('" +
YourSubmitButton.UniqueID + "','')");
That should all go on one line...
"SomeTextBox" is the text box control,
while "YourSubmitButton" is the submit button.
The easiest way to get this behavior to work is to
include a hidden submit button anywhere in the page:
<input type="text" style="display:none">
Then, you don't need any Javascript at all.
I just added that line to the ASPNETFAQ.COM Search button.
Try it now. You'll see that hitting enter instead of clicking the "Search Now" works.
[url]http://www.aspnetfaq.com/[/url]
It's just that I was swamped with more pressing issues.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Joe" <joeherro@donotspam.yahoo.com> wrote in message
news:C61D3915-FB29-414A-BF9C-0B844A733447@microsoft.com...> Juan,
>
> Question about setting default behavior to Submit. Do you do this with
> JavaScript of is there a .NET way of accomplishing this behavior?
> --
> Joe
>
> VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
>
>
> "Juan T. Llibre" wrote:
>>> Hey, guys.
>>
>> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>>
>> Especially, check out the search facility.
>> Make sure that you hit the Search button, though.
>> I have not yet set the default behavior to Submit when you hit enter.
>>
>> Also, check the selection by category and the FAQ selection by clicking on it.
>>
>> I will appreciate all feedback, as the site is going live within 24 hours.
>>
>> Thanks!
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>> ======================================
>>
>>
>>
Juan T. Llibre Guest
-
Joe #7
Re: How about giving www.aspnetfaq.com a test ride ?
Thanks.
--
Joe
VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
"Juan T. Llibre" wrote:
> JavaScript works fine.
>
> See : [url]http://www.allasp.net/enterkey.aspx[/url]
>
> You can use a slightly more native way to do this with :
>
> SomeTextBox.Attributes.Add("onKeyPress",
> "javascript:if (event.keyCode == 13) __doPostBack('" +
> YourSubmitButton.UniqueID + "','')");
>
> That should all go on one line...
>
> "SomeTextBox" is the text box control,
> while "YourSubmitButton" is the submit button.
>
> The easiest way to get this behavior to work is to
> include a hidden submit button anywhere in the page:
>
> <input type="text" style="display:none">
>
> Then, you don't need any Javascript at all.
>
> I just added that line to the ASPNETFAQ.COM Search button.
>
> Try it now. You'll see that hitting enter instead of clicking the "Search Now" works.
>
> [url]http://www.aspnetfaq.com/[/url]
>
> It's just that I was swamped with more pressing issues.
>
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
> ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
> ======================================
> "Joe" <joeherro@donotspam.yahoo.com> wrote in message
> news:C61D3915-FB29-414A-BF9C-0B844A733447@microsoft.com...>> > Juan,
> >
> > Question about setting default behavior to Submit. Do you do this with
> > JavaScript of is there a .NET way of accomplishing this behavior?
> > --
> > Joe
> >
> > VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
> >
> >
> > "Juan T. Llibre" wrote:
> >> >> Hey, guys.
> >>
> >> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
> >>
> >> Especially, check out the search facility.
> >> Make sure that you hit the Search button, though.
> >> I have not yet set the default behavior to Submit when you hit enter.
> >>
> >> Also, check the selection by category and the FAQ selection by clicking on it.
> >>
> >> I will appreciate all feedback, as the site is going live within 24 hours.
> >>
> >> Thanks!
> >>
> >>
> >>
> >> Juan T. Llibre, ASP.NET MVP
> >> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
> >> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
> >> ======================================
> >>
> >>
> >>
>
>Joe Guest
-
Juan T. Llibre #8
Re: How about giving www.aspnetfaq.com a test ride ?
re:
>How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>Especially, check out the search facility.No opinions, good or bad ?>Also, check the selection by category and the FAQ selection by clicking on it.
>I will appreciate all feedback, as the site is going live within 24 hours.
Thanks!
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...> Hey, guys.
>
> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>
> Especially, check out the search facility.
>
> Also, check the selection by category and the FAQ selection by clicking on it.
>
> I will appreciate all feedback, as the site is going live within 24 hours.
>
> Thanks!
Juan T. Llibre Guest
-
Sreejith Ram #9
Re: How about giving www.aspnetfaq.com a test ride ?
may be this is alreday known .. :)
When no match found in the search, no message is displayed to indicate it..
"Juan T. Llibre" wrote:
> re:>> >How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
> >Especially, check out the search facility.>> >Also, check the selection by category and the FAQ selection by clicking on it.
> >I will appreciate all feedback, as the site is going live within 24 hours.
> No opinions, good or bad ?
>
> Thanks!
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
> ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
> ======================================
> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
> news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...>> > Hey, guys.
> >
> > How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
> >
> > Especially, check out the search facility.
> >
> > Also, check the selection by category and the FAQ selection by clicking on it.
> >
> > I will appreciate all feedback, as the site is going live within 24 hours.
> >
> > Thanks!
>
>Sreejith Ram Guest
-
Greg Burns #10
Re: How about giving www.aspnetfaq.com a test ride ?
In IE your font is Verdana as your stylesheet says. Buy in Firefox it is
smaller and something else ...Arial?
Greg
"Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...> Hey, guys.
>
> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>
> Especially, check out the search facility.
> Make sure that you hit the Search button, though.
> I have not yet set the default behavior to Submit when you hit enter.
>
> Also, check the selection by category and the FAQ selection by clicking on
> it.
>
> I will appreciate all feedback, as the site is going live within 24 hours.
>
> Thanks!
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
> ======================================
>
Greg Burns Guest
-
Greg Burns #11
Re: How about giving www.aspnetfaq.com a test ride ?
Not Arial, it is definately Times New Roman in Firefox. Not very pretty. :)
"Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
news:%23wXdeI%234FHA.3192@TK2MSFTNGP12.phx.gbl...> In IE your font is Verdana as your stylesheet says. Buy in Firefox it is
> smaller and something else ...Arial?
>
> Greg
>
> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
> news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...>>> Hey, guys.
>>
>> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>>
>> Especially, check out the search facility.
>> Make sure that you hit the Search button, though.
>> I have not yet set the default behavior to Submit when you hit enter.
>>
>> Also, check the selection by category and the FAQ selection by clicking
>> on it.
>>
>> I will appreciate all feedback, as the site is going live within 24
>> hours.
>>
>> Thanks!
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>> ======================================
>>
>
Greg Burns Guest
-
Juan T. Llibre #12
Re: How about giving www.aspnetfaq.com a test ride ?
Thanks!
I'll check it out and fix it.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
news:eVdNUK%234FHA.3400@tk2msftngp13.phx.gbl...> Not Arial, it is definately Times New Roman in Firefox. Not very pretty. :)
>
> "Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
> news:%23wXdeI%234FHA.3192@TK2MSFTNGP12.phx.gbl...>>> In IE your font is Verdana as your stylesheet says. Buy in Firefox it is smaller and
>> something else ...Arial?
>>
>> Greg
>>
>> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
>> news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...>>>>> Hey, guys.
>>>
>>> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>>>
>>> Especially, check out the search facility.
>>> Make sure that you hit the Search button, though.
>>> I have not yet set the default behavior to Submit when you hit enter.
>>>
>>> Also, check the selection by category and the FAQ selection by clicking on it.
>>>
>>> I will appreciate all feedback, as the site is going live within 24 hours.
>>>
>>> Thanks!
>>>
>>>
>>>
>>> Juan T. Llibre, ASP.NET MVP
>>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>>> ======================================
>>>
>>
>
Juan T. Llibre Guest
-
Juan T. Llibre #13
Re: How about giving www.aspnetfaq.com a test ride ?
Thanks, Sreejith.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Sreejith Ram" <SreejithRam@discussions.microsoft.com> wrote in message
news:48C83367-8A76-4749-83E1-6A2336F6306B@microsoft.com...> may be this is already known .. :)
> When no match found in the search, no message is displayed to indicate it..> "Juan T. Llibre" wrote:>> re:>>>> >How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>> >Especially, check out the search facility.>>>> >Also, check the selection by category and the FAQ selection by clicking on it.
>> >I will appreciate all feedback, as the site is going live within 24 hours.
>> No opinions, good or bad ?
>>
>> Thanks!
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>> ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>> ======================================
>> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
>> news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...>>>> > Hey, guys.
>> >
>> > How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>> >
>> > Especially, check out the search facility.
>> >
>> > Also, check the selection by category and the FAQ selection by clicking on it.
>> >
>> > I will appreciate all feedback, as the site is going live within 24 hours.
>> >
>> > Thanks!
>>
>>
Juan T. Llibre Guest
-
Juan T. Llibre #14
Re: How about giving www.aspnetfaq.com a test ride ?
Thanks for the tip, Greg.
I had tested the site with Opera and IE, which rendered it well,
but had forgotten to test it with Firefox.
Apparently, Firefox has problems rendering the Verdana font.
Changing the default font to Arial 10 pt. makes it palatable to Firefox.
Look at it now : [url]http://www.aspnetfaq.com/[/url]
It's not quite perfect in Firefox (the tables have some extra space at the top),
but at least it's far more readable.
Thanks!
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
news:eVdNUK%234FHA.3400@tk2msftngp13.phx.gbl...> Not Arial, it is definately Times New Roman in Firefox. Not very pretty. :)
>
> "Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
> news:%23wXdeI%234FHA.3192@TK2MSFTNGP12.phx.gbl...>>> In IE your font is Verdana as your stylesheet says. Buy in Firefox it is smaller and
>> something else ...Arial?
>>
>> Greg
>>
>> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
>> news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...>>>>> Hey, guys.
>>>
>>> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>>>
>>> Especially, check out the search facility.
>>> Make sure that you hit the Search button, though.
>>> I have not yet set the default behavior to Submit when you hit enter.
>>>
>>> Also, check the selection by category and the FAQ selection by clicking on it.
>>>
>>> I will appreciate all feedback, as the site is going live within 24 hours.
>>>
>>> Thanks!
>>>
>>>
>>>
>>> Juan T. Llibre, ASP.NET MVP
>>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>>> ======================================
>>>
>>
>
Juan T. Llibre Guest
-
Jason Kester #15
Re: How about giving www.aspnetfaq.com a test ride ?
Pretty rough, but seems like a good idea. You might want to actually
link up the links in your FAQ answers!
And yeah, as somebody else mentioned, please please please set
enableviewstate to false! There's nothing there that could even
trigger a postback. Why tack on an extra 300k to each page load?
Jason Kester Guest
-
Juan T. Llibre #16
Re: How about giving www.aspnetfaq.com a test ride ?
Jason,
re:Yikes! I totally forgot about that.> please please please set enableviewstate to false
Done ! It's shrunk down to almost nothing.
Thanks...
re:The links in the "link to more information" are live.> You might want to actually link up the links in your FAQ answers!
I don't want the links inside the "answer" table to be live.
The reason for that is that I'm HTMLEncoding the answer field, so that
I can display script tags in the answers when sample code is required.
That's quite important for FAQs.
Naturally, that prevents HTML links from being active.
What I've tried to do is post the text for *additional* links in the answer TD,
over and above the principal link in the "link to more information" TD,
so that at least they are available for copy/paste.
Thank you for your very helpful comments,
particularly the Viewstate suggestion.
I've got my work cut out for me now,
inserting about 300 FAQs I've got squirreled away.
;-)
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Jason Kester" <jasonkester@gmail.com> wrote in message
news:1131428443.490772.323640@g14g2000cwa.googlegr oups.com...> Pretty rough, but seems like a good idea. You might want to actually
> link up the links in your FAQ answers!
>
> And yeah, as somebody else mentioned, please please please set
> enableviewstate to false! There's nothing there that could even
> trigger a postback. Why tack on an extra 300k to each page load?
Juan T. Llibre Guest
-
Greg Burns #17
Re: How about giving www.aspnetfaq.com a test ride ?
I just copied your page source and stylesheet to my machine. Changed both
font's back to verdana
body { font-family:verdana,arial,helvetica; font-size:10pt;
background-color:#FFFFE6; }
td { font-family:verdana,arial,helvetica; font-size:10pt;
background-color:#FFFFE6; }
Seems to be working fine in Firefox. You probably need to clear your cache
in Firefox if you are not seeing the change.
Tools->Options->Privacy->Cache->Clear button
I assume adding the td tag is what got it working. I am no CSS expert by any
means!
Greg
"Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
news:%231Qhkc%234FHA.400@TK2MSFTNGP09.phx.gbl...> Thanks for the tip, Greg.
>
> I had tested the site with Opera and IE, which rendered it well,
> but had forgotten to test it with Firefox.
>
> Apparently, Firefox has problems rendering the Verdana font.
> Changing the default font to Arial 10 pt. makes it palatable to Firefox.
>
> Look at it now : [url]http://www.aspnetfaq.com/[/url]
>
> It's not quite perfect in Firefox (the tables have some extra space at the
> top),
> but at least it's far more readable.
>
> Thanks!
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
> ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
> ======================================
> "Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
> news:eVdNUK%234FHA.3400@tk2msftngp13.phx.gbl...>>> Not Arial, it is definately Times New Roman in Firefox. Not very pretty.
>> :)
>>
>> "Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
>> news:%23wXdeI%234FHA.3192@TK2MSFTNGP12.phx.gbl...>>>>> In IE your font is Verdana as your stylesheet says. Buy in Firefox it
>>> is smaller and something else ...Arial?
>>>
>>> Greg
>>>
>>> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
>>> news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...
>>>> Hey, guys.
>>>>
>>>> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>>>>
>>>> Especially, check out the search facility.
>>>> Make sure that you hit the Search button, though.
>>>> I have not yet set the default behavior to Submit when you hit enter.
>>>>
>>>> Also, check the selection by category and the FAQ selection by clicking
>>>> on it.
>>>>
>>>> I will appreciate all feedback, as the site is going live within 24
>>>> hours.
>>>>
>>>> Thanks!
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, ASP.NET MVP
>>>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>>>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>>>> ======================================
>>>>
>>>
>>>
>>
>
Greg Burns Guest
-
Juan T. Llibre #18
Re: How about giving www.aspnetfaq.com a test ride ?
Thanks, Greg.
I think what happened is that the css td setting was set for an IE-only font.
IE would use it, but Firefox would substitute Times New Roman for it.
When I changed it to Arial, all browsers displayed it well.
I just changed it to Verdana, in my dev site ( not the live one )
and all browsers display it OK, too, so you're right.
But, I think I'll stick with Arial at the live site.
Changing it again won't make it look any better.
Both Verdana and Arial are quire readable.
The Times New Roman which was subbed
by Firefox was sure for the birds, though.
;-)
Thanks!
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
news:e5Xl9mG5FHA.1956@TK2MSFTNGP09.phx.gbl...>I just copied your page source and stylesheet to my machine. Changed both font's back to
>verdana
>
> body { font-family:verdana,arial,helvetica; font-size:10pt; background-color:#FFFFE6; }
> td { font-family:verdana,arial,helvetica; font-size:10pt; background-color:#FFFFE6; }
>
> Seems to be working fine in Firefox. You probably need to clear your cache in Firefox
> if you are not seeing the change.
> Tools->Options->Privacy->Cache->Clear button
>
> I assume adding the td tag is what got it working. I am no CSS expert by any means!
>
> Greg
>
>
>
> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
> news:%231Qhkc%234FHA.400@TK2MSFTNGP09.phx.gbl...>>> Thanks for the tip, Greg.
>>
>> I had tested the site with Opera and IE, which rendered it well,
>> but had forgotten to test it with Firefox.
>>
>> Apparently, Firefox has problems rendering the Verdana font.
>> Changing the default font to Arial 10 pt. makes it palatable to Firefox.
>>
>> Look at it now : [url]http://www.aspnetfaq.com/[/url]
>>
>> It's not quite perfect in Firefox (the tables have some extra space at the top),
>> but at least it's far more readable.
>>
>> Thanks!
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>> ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>> ======================================
>> "Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
>> news:eVdNUK%234FHA.3400@tk2msftngp13.phx.gbl...>>>>> Not Arial, it is definately Times New Roman in Firefox. Not very pretty. :)
>>>
>>> "Greg Burns" <bluebunny@newsgroups.nospam> wrote in message
>>> news:%23wXdeI%234FHA.3192@TK2MSFTNGP12.phx.gbl...
>>>> In IE your font is Verdana as your stylesheet says. Buy in Firefox it is smaller and
>>>> something else ...Arial?
>>>>
>>>> Greg
>>>>
>>>> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
>>>> news:uoV%23PR74FHA.1536@TK2MSFTNGP12.phx.gbl...
>>>>> Hey, guys.
>>>>>
>>>>> How about giving [url]http://www.aspnetfaq.com/[/url] a test ride ?
>>>>>
>>>>> Especially, check out the search facility.
>>>>> Make sure that you hit the Search button, though.
>>>>> I have not yet set the default behavior to Submit when you hit enter.
>>>>>
>>>>> Also, check the selection by category and the FAQ selection by clicking on it.
>>>>>
>>>>> I will appreciate all feedback, as the site is going live within 24 hours.
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, ASP.NET MVP
>>>>> ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
>>>>> Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
>>>>> ======================================
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
Juan T. Llibre Guest
-
Jason Kester #19
Re: How about giving www.aspnetfaq.com a test ride ?
Juan T. Llibre wrote:
How do you figure? It's easy enough to write a Regex to sniff out> The reason for that is that I'm HTMLEncoding the answer field, so that
> I can display script tags in the answers when sample code is required.
> Naturally, that prevents HTML links from being active.
anything that might be a potential link and link it up. Even if you're
HTMLEncoding before you store them, it's still a trivial pattern. It
doesn't even require any hand intervention, just a simple
Regex.Replace().
I assume you already have some sort of PrepForHTMLOutput method that
you run everything through on the way to the page. Why not do your
link wrapping there?
Jason Kester
Expat Software Consulting Services
[url]http://www.expatsoftware.com/[/url]
---
Get your own Travel Blog, with itinerary maps and photos!
[url]http://www.blogabond.com/[/url]
Jason Kester Guest
-
Juan T. Llibre #20
Re: How about giving www.aspnetfaq.com a test ride ?
Using IIS 6.0 and .Net Framework 2.0, please show me
how I could "sniff" links from the following SQL field content,
and display the two links as enabled HTML links :
-------------
Screen-scraping is the process of grabbing HTML
from a remote URL and processing the results in your code.
Here are two links to examples:
[url]http://www.123aspx.com/redir.aspx?res=28884[/url]
[url]http://www.4guysfromrolla.com/webtech/070601-1.shtml[/url]
-------------
Remember that I'm using a standard datagrid to show results :
<Fields>
<asp:BoundField DataField="FaqQuestion" HeaderText="Question: " SortExpression="FaqQuestion" />
<asp:TemplateField HeaderText="Answer:" SortExpression="Answer">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Replace(Server.HtmlEncode(Eval("Answer")),VbCrLf," <BR>") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Answer") %>'></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Answer") %>'></asp:TextBox>
</InsertItemTemplate>
</asp:TemplateField>
<asp:HyperLinkField DataNavigateUrlFields="AnswerLink" DataNavigateUrlFormatString="{0}"
DataTextField="AnswerLink" HeaderText="Link to more information:" Target="_blank" />
</Fields>
Please excuse the HTML, but it's the only way to keep these on single lines.
Thanks...
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : [url]http://asp.net.do/faq/[/url]
ASPNETFAQ.COM : [url]http://www.aspnetfaq.com/[/url]
Foros de ASP.NET en Español : [url]http://asp.net.do/foros/[/url]
======================================
"Jason Kester" <jasonkester@gmail.com> wrote in message news:1131466049.712607.321150@z14g2000cwz.googlegr oups.com...> Juan T. Llibre wrote:>>> The reason for that is that I'm HTMLEncoding the answer field, so that
>> I can display script tags in the answers when sample code is required.
>> Naturally, that prevents HTML links from being active.
> How do you figure? It's easy enough to write a Regex to sniff out
> anything that might be a potential link and link it up. Even if you're
> HTMLEncoding before you store them, it's still a trivial pattern. It
> doesn't even require any hand intervention, just a simple
> Regex.Replace().
>
> I assume you already have some sort of PrepForHTMLOutput method that
> you run everything through on the way to the page. Why not do your
> link wrapping there?Juan T. Llibre Guest



Reply With Quote

