asp.net-3.5

IIS 7 Applications and asp.net - newbie question

Just getting started on a project to migrate from win 2003 iis6 to win 2008 / IIS7, and after reading the MS documentation and also various articles I am a little confused, as it states a site needs to have one or more applications. However I have setup a new site pointed at my .Net 3.5 directory and it works. This means that .... A...

objectdatasource and delete

hey all, I'm trying to use the ObjectDataSource on my GridView but am having a problem with the delete method. I'm adding Delete parms to the ODS but when I try to delete a record it passes the entire business object instead of the int like the method is expecting. Please see link below for a better picture of what I'm getting at: http...

Create ASP.net 3.5 web form application derived from Excel Workbook

Good Afternoon, A customer has provided me with a spreadsheet file his team uses to provide quotes for a product. The spreadsheet has extensive data in underlying sheets and calls those sheets as part of the numerous formulas on the quote sheet. I've been tasked with web-enabling this tool such that the quotes can be generated on the ...

Microsoft Application Center Test

Hi I am using Microsoft Visual Studio 2008 Professional Edition for development of ASP.NET website. I would like to do a load testing but as i read that ACT doesn't work with Professional edition, it requires Enterprise edition. Is there any alternative way of doing the same. I have found mant free tools but they have limitation of con...

"Validation of viewstate MAC failed" on postback to a different page

I'm working on a web form which works fine as long as it posts back to itself. In Reports.aspx I have: <form runat="server" method="post"> but, when I try to get it to post to a different page: <form runat="server" method="post" action="DisplayReport.aspx"> I get the "Validation of viewstate MAX failed" error. I've tried setting th...

Why can't my WCF Web Service see it's own web.config Connectionstrings?

I have written an ASP.Net 3.5 WCF service and when I created this project VS gave me a web.config file to go with it. Having done this the app now seems entirely blind to connectionstrings, a big problem as the app will be heavily reliant on reformatting and spitting out SQL Server DB data in various web friendly formats. Most of the re...

Asp.Net Ajax change user control properties

First, I'm really new to Asp.Net Ajax I got an user control that have a propertie named Year. <uc:MyUserControl ID="myUserControl1" runat="server" Year="200" /> I also got some Html like that : <a href="MyPage.Aspx?Year=2009"> < </a> 2009 <a href="MyPage.Aspx?Year=2010"> > </a> In my Page_Load event, I take the year url par...

How to AJAXify ASP:Wizard Control

Happy Friday All, I have an ASP.net 2.0 website that I'm updating to .Net 3.5. The site uses a master page and I've placed asp:UpdatePanel in it. One of the pages has a 3-step wizard control that I'd like to "Ajaxify" in some way. Are there better controls in the AJAX control toolkit that provide an improved user experience over th...

ASP.net 3.5 Website Using ASP:Wizard Control and SMTPClient does not send Email

Hello, I have a asp:Wizard control on a site running Framework 3.5. I acquired the settings from the web host and have entered them into the Web Configuration Utility. Here's the code behind file: Protected Sub Wizard1_FinishButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wi...

Listview/Datapager on URL rewritten pages

I am using a ListView and DataPager on a page that is url rewritten. It works fine using PostBacks, but if I use the QueryStringField property, the URL's that are generated by the DataPager do not display the "friendly" URL, but the path to the actual page it is on. So if I have the DataPager on a page with a URL of: http://www.url.com...

devexpress aspxgridview - setting label with page number

Hi, I am using devexpress aspxgridview in asp.net 3.5 web application. on pageload, I have a label control on top of the page whose text for example is "abc". I am trying to set the value of the label with the page number selected by the user from the grid using onpageindexchanged event. But the label values is not changing. it is st...

Reccomend Free Database to use for commercial purposes in .net app

I am looking for a free/opensource relational database to use on a commercial asp.net 3.5 project. Any recommendations? ...

Is it possible to run an ASP.NET project and an ASP.NET MVC project side-by-site on the same website?

I have an existing ASP.NET website with some custom routing, within a Solution that also contains Business Logic projects. I want to create a new project within the Solution, which is an ASP.NET MVC website. This website will also call the Business logic, and the ultimate aim is to port most of the code from ASP.NET to ASP.NET MVC. Bu...

JQuery Validator Plugin Asp.Net call server method

I use the JQuery Validation plugin to validate a form (http://docs.jquery.com/Plugins/Validation/) For example, I can validate an email in a form. What I would like to do is to validate if the username chosen already exists. So, I need to call a server method that query the database. How can I do that ? UPDATE From balexandre answer,...

TinyMCE and Viewstate verification failed. Reason: Viewstate was invalid.

Visual Studio 2008 .NET 3.5 I'm using the built in web server to test, and everything works fine. My TinyMCE code is the following: <!-- TinyMCE --> <script type="text/javascript" src="/tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ // General options mode: "textareas", theme:...

Code Behing update web.config mapping issue

Hello, I from the code behind I need to update my web.config. This has never been a problem before, however I am getting an error recently. The errors say "Failed to map the path '/'." The lines commented out were different variations of what i tried. //Configuration myWebConfig = WebConfigurationManager.OpenWebConfiguration(Server.MapP...

Asp.Net JQuery Validation Custom Rule

i try to customize the rule of the JQuery validation plugin and I'm almost done. The only problem I got is that the function $("<%=txtUserl.UniqueID %>").val() return undefined. How can I get the value of that textbox ? $("#aspnetForm").validate ( { rules: { <%=txtUser.UniqueID %>: { ...

Update Panel and Drop Down List databinding twice - lifecycle

I think this is an asp.net page life cycle question, but none the less, i can't quite figure it out. I have a drop down list in an update panel that lists users and then shows details below it (update or delete). When the I click delete, the code behind goes and clears the ddl (to remove the deleted user), and then rebinds it. All fin...

How to debug remote website?

I have a online website and i have locally on my PC all its source code "c#/asp.net3.5" i want to debug the online version using the current local source code i have inside my Visual studio 2008. Anyone have an idea how to do that or its not possible? ...

Unable to load client print control from ASP.NET Website?

The other day we installed SQL Server 2005 SP3 on our reporting server. Since that point our ASP.NET 3.5 website, which uses the Report Viewer web control, is giving the error message "Unable to load client print control" whenever someone tries to print. The reports and printing work fine if we go to the Report Manager directly, it i...