asp.net

Should I create several small application databases or one large one?

We are migrating several old mainframe applications for a customer to newer ASP.NET + SQL Server 2005 applications. Each application is generally thought of as standalone with no shared data between them, and do things like manage specialized inventory needs or vacation policy. The data is small and shouldn't outgrow a single SQL Serve...

LINQ to SQL without VS 2008

In response to one of my previous questions, I was encouraged to check out LINQ to SQL. I like what I see, but I'm struggling to get going with it. I wrote the necessary classes for each database table, but I'm not sure where I'm supposed to put the code. I've been searching the Internet for tutorials, but they all seem to be assuming th...

Problems with ASP.NET recaptcha and JQuery

I want to have a Recaptcha on a JQuery Dialog. Though the line $("#newsletterDialog").dialog({ autoOpen: true, modal: false, resizable: false, draggable: false, width: 400 }) Will break jquery, so that validator.Challenge = Context.Request.Form[RECAPTCHA_CHALLENGE_FIELD]; fails (I.e. some operation with a...

Asp.Net Profile Across Sub-Domains

Is there any way I access Profile information set in one sub-domain across another sub-domain? Or is the Profile information application specific? I am setting profile values in one sub-domain and want to access that Profile on another sub-domain. ...

BreadCrumbs - ASP.NET - VS2008

In my old web app, asp.net 1.1 days, i had custom 'breadcrumbs' for site navigation. I want to redo my website using VS-2008. Does this have a built in breadcrumbs which can be placed on a master page? If so can anyone point me to the right direction? This is what i envision Master Pages has tab like navigation options and when they cl...

Does RichTextBox control internally change page margins of the RTF document?

We're using Microsoft's RichTextBox to manipulate RTF text that we obtain from a 3rd party database. Typical actions we do are : Add additional text to the top of the RTF document Add additional Text to the bottom of the RTFdocument Merge 2 RTF documents. We are noticing that the at the end of the operations the page margins are no ...

Website connectivity issues

We get people complaining about slow loading on our website. It is at a local ISP with pretty good bandwidth. But lately I've been getting a lot of client disconnected errors. I added ping into the error logging so that I can see what kind of response times people that generate the client disconnect errors have. Most of these are comin...

How To Display Messagebox in .net c# ?

Hello Friends, I am designing web application with asp.net c#. I am using gridview control. In the gridview i have add,edit and delete button I have one question is anybody know when user press cancel or update or delete button then massagebox will display and ask "Do you want to Update The Record " and option is YES and NO if user p...

How can i set Policy Url programmatically?

I couldn't find anything in documentations about how to add the policy URL to the request when using the dotnetopenid programmatically? ...

Authenticating And Downloading from rapidshare with ASP.Net/C#

Hi I am looking for a way to authenticate my premium account from rapidshare and then once authenticated start a download. I have seen this done so many times in other languages but it seems its impossible to do in the one language i know (C#). I have taken this entire project and converted it to C# so that i could debug it easier but ...

IIS6 | Application Pools | ASP.NET Framework

In IIS6 it's possible to have more than one ASP.NET application running in the same application pool. This is fine, except that there is nothing in IIS6 that prevents you from running multiple .NET versions in the same pool. When you create application pools in IIS7 you must explicitly state was .NET version will be running in that p...

How to use a custom configuration class for web.config with Linq dbml classes

I have a web project that uses a custom configuration class to store app settings in web.config. I do this to be able to store and access configuration settings in web.config that are based on server name. That way when the project moves from development, to staging, to production, I don't have to remember to change the web.config s...

How to access an object declared in Global.asax outside of the file?

Hi I have declared an object in my global.asax file as follows. <object Id="WFRuntime" RunAt="Server" Class="System.Workflow.Runtime.WorkflowRuntime" Scope="application"> While I'm able to access this object within the global.asax file methods, I'm not able to use it elsewhere in the asp.net web application. I'm using .net 3.5 frame...

Architecture question involving search & session state

I have a grid with several thousand rows that can be filtered and sorted. On each row you can click a details button, which will bring you a new page with detailed information about the page. Because this is a button, you can't middle click or right click and open in a new tab. In addition, when clicking back you lose your filters and se...

ASP.NET WebForms - Session Variables Null

I have an iframe keep alive (iframe that hits a page, defibrillator.aspx, on my site every few minutes to keep the session alive) on my masterpage for an asp.net app. This works most of the time but every so often my session variables return null during the page load on my defibrillator page. At first, I thought the session was being t...

Web-based .resx file editor?

I'm working on a SharePoint site, and the site eventually needs to be localized to many different languages. We can use resource files, but we'd like for the translators to be able to update those files while the site is live, without requiring developer assistance to recompile, redeploy, etc. To me, I think the easiest way to do this w...

Is there a control out there that combines type ahead/auto suggest functionality along with a multi-select? B

Basically, I'm trying to type for something (say 'United' in a country field). I would expect the auto suggest feature to suggest 'United States of America' and 'United Kingdom' for example. On top of this, I would like to select both 'United States of America' and 'United Kingdom' by clicking on a link or button available directly on ...

How do you make a copy of an object?

I created a class called Colors. I am setting certain properties on the Colors object and setting it in a Session variable. When I access the Session variable on another page, I am noticing that if I change properties on objColors below, it changes the Session and does not keep the original properties which is what I want it to do. He...

SEO of asp.net meta tags

Simply wondering if any SEO specialists out there know if Google or other search providers index meta differently because of the id generated by asp.net ...

DateTime and Currency Globalization

I am working on converting an app for a UK customer to deploy on their server. I am trying to figure out the best way to make as few changes as possible to the app but still have the DateTime and currency values convert to UK format? Any ideas? I am looking for something quick and light? ...