asp.net-3.5

Is it advisable to implement url routing for an asp.net(webforms) website which is one year old..

Is it advisable to implement url routing for an asp.net(webforms) website which is one year old... What are the factors to be considered before implementing.... Edit: It is a web based product website developed my company and users should pay for using it... ...

Calling an HTML table from code behind

Hi, I am trying to access an HTML table from code behind, and set its visible="false" property (depending on what value the user has selected). The table has an id value and a runat=server attribute. How can I call the table from the code behind in C# 2008 and set its display? ...

Asp.Net 3.5 Routing to Webservice?

I was looking for a way to route http://www.example.com/WebService.asmx to http://www.example.com/service/ using only the ASP.NET 3.5 Routing framework without needing to configure the IIS server. Until now I have done what most tutorials told me, added a reference to the routing assembly, configured stuff in the web.config, added this ...

Issue with asp.net web pages being cached

Hi, I want to prevent my asp.net / c# 2008 web pages from being cached on the client side or the server side. How can I go about doing that? ...

Refreshing the asp.net web page after validation

Hi, I have an asp.net web page (C# 2008) where the user would enter an EmployeeID, and when they tab out of the textbox (the page executes a validation code block in the codebehind), they get a messagebox prompting them to select one of two values from a dropdown listbox. The code for the message prompt in the codebehind is : Response...

System.IndexOutOfRange Exception Sending Gridview Values to DataTable

Hello, I am writing an ASP.NET 3.5 application and need to send gridview values to a datatable for use in a listbox control as part of a quote process. I have written the following VB code in my Page_Load: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim dtSelParts As DataTable = Ne...

Optional parameters in Visual Studio 2008 Crystal Reports

I am developing a Crystal Report in Visual Studio 2008. I am trying to implement optional parameters so that a user does not have to specify a value or range for a particular field. Essentially, this means there is no filtering done on that field if the user wishes. However, I can't seem to figure out how to do this. Does anyone have a...

Error Message: Could not load type 'Global.Apps.Forms.NewVehicleRegistration.NewVehicleReg'.

I am getting an error message, and I not quite sure where the issue would be; Any ideas? Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not...

How do I set up Ninject with ASP.NET 3.5?

I want to use Ninject to use in a non MVC ASP.NET 3.5 web application. Can someone write please what do I need to download from ninject home site and what steps I need to take (what ddls I need to reference etc.)? I also want to use Moq objects. ...

GUI output differs from local vs production

I am having a weird experience. I am dynamically creating a row of textboxes at runtime when the user clicks a button. However, on my local machine the text boxes appear correctly (example [TextBox1] [TextBox2] [TextBox3] [TextBox4] [TextBox5] [TextBox1] [TextBox2] [TextBox3] [TextBox4] [TextBox5] [TextBox1] [TextBox2] [TextBox3] [Text...

ListBox Items Not Visible after DataBinding

Hello All, I am writing a page that allows users to search a parts table, select quantities and a listbox is to be populated with gridview values. Here's a snippet of my aspx page: <asp:ListBox runat="server" ID="lbItems" Width="155px"> <asp:ListItem></asp:ListItem> <asp:ListItem></asp:ListItem> <asp:ListItem></asp:ListItem> <asp:List...

How to check if a DateTime range is within another 3 month DateTime range

Hi I have a Start Date and End Date per record in a db. I need to check to see where the time period falls in a 2 year period broken into two lots of quarters then display what quarters each record falls into. Quarter 1 includes June 09, Jul 09, Aug 09 Quarter 2 includes Sept 09, Oct 09, Nov 09 Quarter 3 includes Dec 09, Jan 10, Feb 10...

How to make new project and website into only one solution?

How to make new project and website into only one solution? ...

Data Binding Gridview to a Second Gridview

Good Morning, I am developing a quote request functionality as part of a website. The idea here is for the user to search for parts, update the textbox field in the first gridview for items they wish to select, click Add to Quote embedded in the first gridview, and send those rows to a second gridview wherein they can edit quantities o...

DefaultSchedulerService in ASP.NET application

Hi, My project has a requirement to implement look-ahead caching i.e. triggering another request on invokation of a specific request. The following details in short the implementation - HttpModule parses the SOAPRequest and matches entry in a configuration file for look-ahead candidate. If the request matches, it prepares the Parameter...

RegisterStartupScript not working after upgrading to framework 3.5

I'm trying to upgrade an asp.net c# web project from framework 2.0 to 3.5. When I do this, the client side script that gets written using RegisterStartupScript isn't rendered on the client page. This works perfectly when I compile for 2.0, and for 3.0, but not when I compile for 3.5. Here is the code that isn't getting rendered: Pa...

How to make per- http Request cache in ASP.NET 3.5

We using ASP.NET 3.5 (Controls-based approach) and need to have storage specific for one http request only. Thread-specific cache with keys from session id won't work because threads are supposed to be pooled and therefore I have a chance to have data from some previous request in cache, which is undesirable in my case. I always need to...

"Register My Computer" on a website

I am working on a secure web site, that will allow the user to register their computer, to avoid answering the primary security questions. Is this just placing a cookie on their machine, and checking to see if the cookie exists? Or do I need to retrieve the client machines ID data? ...

URL Navigation and SQL Insertion After RadioButtonList Selection

Good Morning, I have a radiobuttonlist in my ASP.NET webforms application that is used as a voting tool. The concept is as follows: Users will vote for the blurb in the contentplaceholder using the radiobuttonlist. My list item values are 1 through 3 and my list item text is something like low, medium and high. Questions: 1. I wan...

3-tier architecture

Why do we use three tier architecture? ...