Showing posts with label implement. Show all posts
Showing posts with label implement. Show all posts

Saturday, March 24, 2012

text searching through html/.apx files in .net

I want to implement search engine that inputs from user then search all html or .aspx file and display results.
Kindly guide me how can i do this.
Any help/sample code will be appreciatedHi,
Take a look @.
-Creating Search Pages with Index Server and .NET

-WhatuSeek.com

HTH

text searching a dynamic ASP.NET site?

I want to implement a text search on my website that will look through all
the pages and be able to search them for text someone says, kinda like
google does with the internet, but internally only on the intranet site...
how would i go about doing something like this in ASP.NET?Mmm... I think in this article you will find valuable info:

http://www.codeproject.com/aspnet/Spideroo.asp

Regards
Braulio
--
/// ----------
/// Braulio D*ez Colaborador DNM
///
/// http://www.dotnetmania.com
/// My Site (.net Tips): http://www.bdiez.com
/// ----------

"Brian Henry" wrote:

> I want to implement a text search on my website that will look through all
> the pages and be able to search them for text someone says, kinda like
> google does with the internet, but internally only on the intranet site...
> how would i go about doing something like this in ASP.NET?
>
You'll need MS's Indexing Service
This is a good link: http://idunno.org/dotNet/indexserver.aspx
I have used dtSearch and its pretty sleek (little expensive though)

text searching a dynamic ASP.NET site?

I want to implement a text search on my website that will look through all
the pages and be able to search them for text someone says, kinda like
google does with the internet, but internally only on the intranet site...
how would i go about doing something like this in ASP.NET?Mmm... I think in this article you will find valuable info:
http://www.codeproject.com/aspnet/Spideroo.asp
Regards
Braulio
--
/// --
/// Braulio D_ez Colaborador DNM
///
/// http://www.dotnetmania.com
/// My Site (.net Tips): http://www.bdiez.com
/// --
"Brian Henry" wrote:

> I want to implement a text search on my website that will look through all
> the pages and be able to search them for text someone says, kinda like
> google does with the internet, but internally only on the intranet site...
> how would i go about doing something like this in ASP.NET?
>
>
I have used dtSearch and its pretty sl (little expensive though)

Thursday, March 22, 2012

textarea viewstate formatting

Hello.

What I am trying to do is implement a "preview" function that displays all of the html typed within a textarea onto a webpage with HTML intact. I am using the viewstate to preserve the contents of the textarea. However, I find that doing this replaces all "<" with "<", ">" with ">". As a result, the preview does not render any HTML.

It appears that viewstate with asp.net automatically converts the chars, perhaps as insurance to "sterilize" malicious script. Can someone confirm this?

Is there a way to prevent it from converting the carat characters for the viewState preservation? Or is it a fact of life that I'll need to manually convert them back?

Thanks,
walla118Thanks niceguy.

I just realized that HtmlDecode would work for my purposes. And your idea about using javascript to display preview might be a good way to go!

Thanks again.
Hi walla118,

Have you tried using:


HttpContext.Current.Server.HtmlEncode
HttpContext.Current.Server.HtmlDecode

These may help...?

I found that it is easier to open a pop-up using javascript for a "preview" rather than doing it server side...just a thought.

Hope this helps!

Jason