Archive File Search - Finding Alternative

Sep 2, 2010

I am developing a new project to list files and directories under an specified location on disk. I use normal methods like Directory.GetFiles() to achieve this task but the amount of files is getting very big (> 300000) and the site is becoming terrible slow.

I worked with Index server with previous versions of Asp.Net but I was wondering if there is a new way for my website running Asp.Net 4.0.

Also I heard something about Index Server is obsolete to achive file listings and search. Is there any new alternative?

View 2 Replies


Similar Messages:

Finding Alternative To DataPager

Jan 24, 2010

I am using a datapager on a page where different images are shown. Now i am using the following code:-

PHP Code:

<asp:DataPager ID="DataPager1" runat="server"
PagedControlID="lvPhotoViewer" PageSize="1"
onprerender="DataPager1_PreRender">
<Fields>
<asp:NextPreviousPagerField ButtonType="Link"
PreviousPageText="<< Previous" NextPageText="Next >>"/>
</Fields>
</asp:DataPager>

Now this code does run through all the images, but i need to alter the querystring and make it change to match the ID of the photo displayed. I tried adding QueryStringField="String" but this was hopeless.

I have a querystring like so:-

Quote:

[URL]

When i click on next image i need it to change to something like:-

Quote:

[URL]

See the PhotoID has changed. But it currently does not do this. When i arrive on the page the PhotoID stays the same. I have been trying for a while and im starting to give up!

So was wondering if there was an alternative.

View 3 Replies

VS 2008 Finding Alternative To Crystal Reports

May 1, 2010

Is there any alternative of Crystal Reports. I dont want to use it....Crystal Reports are just useless,But I didnt get any other alternative!

View 4 Replies

C# - Finding Session Alternative In Global Scope?

Feb 24, 2011

Quick question: Is there a "per-user" data storage object (similar to Session) that I can store data in the global scope (similar to HttpRuntime.Cache)? Almost as if Session and HttpRuntime.Cache had a baby.

Full Background: I have a ASP.NET website that was originally written for a single thread. Now I changed it so that certain actions will spawn a background thread and the browser polls a service to get status updates.

The problem I am having with this is that certain pieces of data are stored into the HttpContext.Session[] object (membership authentication token, for example). These pieces of data need to be unique to each user and accessible to the background thread. Session is not available to the background thread.

I am aware of HttpRuntime.Cache but that would require micromanagement to segment out the users and to expire it at the same time the session is expired. Session, on the other hand, automatically expires this things at the right times that I want it too and is already used by things like the SqlMembershipProvider.

My question is, is there something that behaves similar to the Session but exists in the global scope?

View 3 Replies

SQL Reporting :: Why Is It Necessary To Use ScriptManager Control / Finding Alternative

Jan 19, 2011

I am working on a Report Module for a DNN website and have found that the reports do not show in the reportviewer control if there is no ScriptManager control on the module. I am not sure where but somewhere I read it was needed. THe problem is when it is on the module so the reportviewer works correctly I am getting some errors with my other controls( mainly drop downs I want to use for selecting the reports) I am not getting an error just the DDL is not showing up on the page when scriptmanager is included but it does show up when its not included of course then the reportviewer shows no report.

View 6 Replies

Finding Alternative Method For Uploading Files

Mar 17, 2010

In uploading files and determining their length, I want to know if there is any alternative to

<code>
file1.PostedFile.ContentLength
</code>

It seems that this quantity is counted up as the actual uploading is taking place.

Once the customer has selected his file-to-be-uploaded and put it in the textbox, is there any

other way for my script immediately to say "This file is 5 Mb and it is therefore too big" ?

View 1 Replies

MVC :: RouteValueDictionary For HtmlAttributes In HTML Helpers - Finding Alternative

Jun 2, 2010

MVC 1.0 source has code like

[Code]....

Was RouteValueDictionary intended for use with htmlAttributes? Is there an alternative? The only 'feature' RouteValueDictionary looks like its got is it has a constructor which accepts an object.

What should I be using in custom helpers?

View 2 Replies

VS 2008 How To Manage Complex State Management / Finding Alternative

Dec 10, 2010

How are you all managing your web page state?

Anyone using complex database methods - so that a user can pick up a web experience that might have accidentally been left?

Anyone doing any complex state management for internal (INTRANET) sites? Where authentication is not an issue?

I'm looking for alternatives to simple SESSION() vbls.

View 6 Replies

VS 2005 Finding Alternative To Declare Output Cache In All 200 Pages

Jan 20, 2010

I create a menu control in a user contol, named as RightUserrControl.ascx.

and i kept this RightUserrControl.ascx in nearly in 200 pages.

every thing is working fine , but when ever i am going to any page the page loading is very slow, nearly each page is taking 1 minute to load.

set caching for the user control, if this is the case , do i need to declare output cache in all 200 pages or is there any alternative way to resolve this issue.

View 8 Replies

Creating Dynamic DataList Controls With ID's Based On Bound Data - Finding Alternative

Jun 28, 2010

As a workaround for the fact that asp:Checkboxes don't have values, I am attempting to dynamically create the ID's of checkboxes in a DataList so that it inserts the primary keys into the control ID. This is surprisingly difficult.

I have placed a PlaceHolder in my DataList ItemTemplate, then in the ItemCreated I create the checkboxes using string.Format("Checkbox{0}", DataBinder(e.Item.DataItem, "ID")). The problem is that this only works in a non-postback condition, as on postback the DataItem is null. And of course ItemDataBound isn't called on PostBack so that won't work either.

I can't seem to find a good way to handle this short of if (IsPostback) dataList.Bind(), which i don't think is a good way to do it.

Can anyone provide me with any alternatives here?

View 1 Replies

Alternative To Sql Difference Coding, Search Engine Stuff?

May 20, 2010

i am desire need of google search engine like search in a list of strings. I got list of around 1000 different text i need to basically catch type-o mistakes and give a good suggested search result.

In example is in db "apple on tree" and person searches "aplle"

or "city of los angeles" person searches "city of Angles" and results would be "city of angeles" not "city of somewhere else"sql like or difference just wont work on cases like this. Any suggestion how to do get around spelling mistakes and give reduced list of options. Not sure sql can handle this. but i am willing to go .net code methods as well.

View 3 Replies

AJAX :: Modal Popup Extender And Link Button In Item Template Of GridView - Finding Alternative

Jun 25, 2010

In my Application I am using one Modal popup extender. I have one Grid View with Item Template containing Link button. I want to set Target Control Id of Popup extender to link Button of the Item Template. As it is inside the Item Template I can not access it directly in the page.

So Is there any alternative to achieve the same functionality.

View 1 Replies

DataSource Controls :: Full Text Search In Sql Server 2005 Alternative?

Feb 7, 2010

I have a website which uses full text search. It was working fine on my web host. LAst month, I changed hosting to godaddy.com. They dont support full text search and now my website is not working properly. what change should i make in my stored procedures that they work same as they work with full text. what is alternative to full text search. I tried using LIKE but it doesnt work same way.

View 1 Replies

Web Forms :: FindControl("id"); Does Not Work - Finding Another Alternative?

Jan 4, 2011

I have a problem with selecting a control from codebehind.

This is my scenario:

1. i get a string from a webservice (session): string boxstring = "<input type="text" id="MainContent_TextBoxStopRoadName01" name="ctl00$MainContent$TextBoxStopRoadName01">";

2. i insert this string to a <div id="boxcontainer"> from codebehind like this:

boxcontainer.InnerHtml=boxstring;

3. Page loads

4. User types text in the box, and clicks a button to submit it

5. How do i find this textfield from codebehind from its id? I would like to get the field as an TextBox control, but the text value is the most important.

I´ve tried several things, like Findcontrol("id") and Findcontrol("id").Findcontrol("id") and so on. But it doesent work.

Another thing does work though, if instead of a string I create the textfield as an TextBox control, and then insert it: BoxContainer.Controls.Add(TextBox); - then it works! But it is not a possible solution in my situation. I only have the textbox (among many other elements) in a string.

View 4 Replies

"File Not Found Exception" Can Try To Extract Zip Archive With DotNetZip

Feb 18, 2011

public void ZipExtract(string zipfilename, string outputDirectory)
{
using (ZipFile zip = ZipFile.Read(zipfilename))//file not found exception
{
Directory.CreateDirectory(outputDirectory);
zip.ExtractSelectedEntries("name=*.jpg,*.jpeg,*.png,*.gif,*.bmp", " ",
outputDirectory, ExtractExistingFileAction.OverwriteSilently);
}
}
[code]...

View 1 Replies

Web Forms :: Finding SearchBox Control Search

Mar 15, 2010

In ASP is there a searchbox control like asp:Search? Or are you having to create a textbox with a button and then executing the SQL query with the OnClick event handler.

View 2 Replies

Finding Website Search Engine Function

Jan 28, 2010

what I'm looking to do is to get a web site search function where I can enter the URLs and body text myself rather than running a spider unless the spider can handle my url querystring structure. Obviously, something automatic would be best but I'm not too choosy as long as it is free.

View 2 Replies

Web Forms :: Finding Best Algorithm For Search Page

Mar 30, 2010

I am creating a search page where we can find the product by entering the text.

ex: Brings on the night.

My query bring the records which contain atleast word from this.

Needs: 1. First row should contains the record with the given sentence. 2. second row next most matching. 3. Third row next matching ...etc

How to achieve this. Is there any algorithm for this.

View 11 Replies

Finding Code Of Resume Search Feature In Website

Jan 21, 2011

I want to do a job portal where thousands of jobseekers will upload their resumes. If the employer comes and search for any keyword, say "3 year experienced java professional". It should fetch the resumes of all the job seekers who match the above creteria.

Technically it should search thousands of word documents(resumes) uploaded by the job seekers for the employer given key word and fetch all those records..I googled but didn't get any proper link.

View 6 Replies

Finding How To Write Cgi Perl Website To Have Search Capapbilities

Mar 11, 2010

We are rewriting a CGI Perl website to .NET and need to have site search capability. In the former site, we use the open source "Perlfect". Does anyone know if there is something similar for .NET or could make any recommendations?

View 4 Replies

DataSource Controls :: Finding Free Text Search Utility

Feb 18, 2010

I wants to implement free text search utility for my web project,

to implement greate search utility for free text.

Also i have some knowledge of SQL SERVER 2005's FULL Text utility.

View 2 Replies

Visual Studio :: Clear The File Type To Search From The Search Box?

Feb 22, 2010

I have Visual Studio 2005 and 2008 installed on my machine. When I bring up the Find and Replace box in 2008 in any project the 'Look at these file types:' option is blank however in 2005 it keeps defaulting to the file type of RemoveFile. If I don't remember to clear it then it causes my search to fail. Does any one know how do I reset this value or remove this default option so the file type is not set and it looks at every file type when I search for a word.

View 1 Replies

C# - Possible Alternative Location A Sitemap File Can Be Included In A .net Solution

Mar 10, 2011

I took over a rather large C# .NET 2.0 legacy web application from a colleague who is no longer available. This web application consists out of multiple projects in one solution. And I ran into a problem that I simply do not understand and hopefully somebody here will. The application has multiple .sitemap files included in a sitemap subfolder. So far so good. But I found one .sitemap file that was floating around in the root of the web project and is not used anywhere in the application (it's not included in the web.config).

I excluded this file. The web application runs fine without it. All menu's load correctly. Until I hit a method that uses recursion to look for certain controls (NOT the sitemap!). This method runs down through all controls from a given point and then crashes on the fact that the XMLSitemapProvider is missing this one file. This method is called many times without issues, but when the user logs out it somehow runs through a hierachical path of controls that eventually end up at the missing .sitemap file. The file also needs to be at this exact location in the root. Moving it somewhere else will cause the same crash. The file web.sitemap required by XmlSiteMapProvider does not exist.

I have searched for this filename and all ".sitemap" files but can not find it anywhere in the solution. 0 results found. I've ran past all the code leading up to the crash and it seems arbitrary (it has nothing to do with the sitemaps). The crash just happens because it hits the XmlSiteMapProvider looking for another control when it's going through all controls. In short, I can find no references what so ever to this file!

Since this web application is huge I can not manually go past every section of code. There is hundreds of thousands of lines of code. Does anybody know any other way then through the web.config to include a sitemap or how a sitemap file could be registered and where I should look? Final note: this application used localization. The sitemap's are localized and I found resources for this one sitemap. I hoped excluding those would solve the problem. Unfortunately it didn't.

View 1 Replies

Mobiles :: Alternative To Mobile Device Browser File?

Jan 27, 2011

Since the mobile device browser file is no longer support, what is an alternative to it that requires minimum code changes?

View 2 Replies

How To Create News Archive

Jun 4, 2010

I am creating a web user control to display News Archive to display News. I am displaying it like this:

Year
Months
eg 2009
Jan
Feb
2010
Jan
Feb

This i had done. My problem is that initially I want to display only Years. And when one click on Year, corresponding Months should display.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved