asp.net

Add Tooltip to paging link in asp.net GridView

I have a gridview that could end up displaying about 5K records. I currently have it setup to use paging so it displays 200 records at a time. To add usability I'd like to provide the end user with some feedback that will allow them to locate a record easier. I was hoping there was a way that the user could put the mouse over one of the ...

datagrid issue

I hav a datagrid in which the first row comes selected by default.Moreover i make a row visible on the selection of all the rows in a grid thaving the binded data.But due to the selected row i am not even able to do any action s on the first row.Not even selection on my own. Please look forward to this and reply me. ...

DAL desing using DAAB 3.5/4.0

I'm working on a .Net 3.5 web application.It has various modules say for example Customers,Orders,etc.... I need to a design Data Access Layer (DAL) for the same using Enterprise Library 4.0 (using Data Access Application block or DAAB) to connect to SQL Server 2005. Here is how i plan to go about it: • Have an interface called "IData...

Why does ASP.NET show this error?

I have installed Visual Studio .NET 2005. But when I am trying to execute an asp.net application then I am getting the following error: Unable to open the Web 'http://localhost/adiii'. Could not find a Web server at 'localhost' on port 80. Please check to make sure that the Web server name is valid and your proxy settings are set c...

ASP.Net Converting and Merging documents into single PDF.

I need to have the ability to convert and merge various documents into a single Pdf. The documents could be of varying types, such as Word, Open Office, Images, Text, Web pages (by URL) and the PDF would usually consist of 2-3 documents. At the moment, we are using BCL Technologies easyPDF with Microsoft Office installed onto the Serve...

Using SSRS in ASP.NET 1.1

Is it possible to use SSRS for reports in an ASP.NET 1.1 application? Is there a report viewer control for ASP.NET 1.1? If not is there any workaround for this? ...

Error handling/Logging strategy

Could you guys share your knowledge about Error handling/Logging strategy for asp.net 3.5 web based application? ...

Linq to Sql - Select from 1:Many

I'm new to using Linq and just started a side project to learn some of the basics. I'm currently using Linq to Sql and all my DB Table relationships worked very well. Currently I have a Client table and a Project table. Each Client can have 1 or more Projects. Therefore, as you'd expect each Client object has a collection of Project obje...

Can I protect my ASP.NET application against decompilers?

I know also that ASP.NET when published can be precompiled I know that .NET applications are compiled to MSIL that are easily reverted to any .NET language through tools like Red Gate's .NET Reflector. I want to develop and deliver an ASP.NET site where the buyer will host the site and but cannot have access to the code. There is any...

Why is my web application seeing latency?

We have an ASP.Net app, that behaves strangely under IIS6. The app itself is straightforward ASP.Net 2.0 Webforms deal, nothing too weird is going on in there (there are couple HTTP Modules in the pipeline, but I wouldn't consider those weird :) ). The thing I don't understand is the page execution times, or, more specifically, the diffe...

Expose webservice information to SCOM / WMI

What would be the best way to expose information from an ASP.NET webservice to SCOM or WMI? I'm interested in basically exposing performance information so the service can be monitored: ie. get a metric of calls processed per hour, total calls per day, etc. EDIT: This would have to run under standard ASP.NET permissions ...

Alternative to using the OnLoad event in an ASP.Net MVC View?

I'm creating a simple test application so I can see how ASP.Net MVC works for what we deal with on a daily basis. We use 3rd party controls from Developer's Express, and we will continue to use them. If they absolutely do not work in ASP.Net MVC, then we will not use ASP.Net MVC. With that said, someone has found a way to make it work. ...

Intermittent Problems loading type

I have a SharePoint site that I have added a few extra pages to in order to handle some custom AJAX requests. Every now and then, about once a week, I get a call saying it's not working. When I look into it, the error I'm receiving is: Could not load type 'My_Controls.Control_Name' . Where My_Controls.Control_Name is the name of the...

What is the best c# wiki to integrate into an already existing website?

We need to add a wiki to an already existing website, however we want only logged in users to be able to edit the wiki and we would prefer to use our own method of authentication. Has anyone got any experiences with something similar or any suggestions of a good wiki engine for the job? UPDATE: Thanks everyone, the general seems to be ...

Best way to return dynamic non-html content from a page

I should start by saying that I am using ASP.NET using C# in a .NET 2.0 environment. In particular, I am trying to generate a csv download when the user clicks on a link button. The link to my postback is inside an UpdatePanel. In the past (before ajax) to return non-html content I would use code such as the following: string filename =...

ASP.NET MVC partial views and redirecting

I have a partial view called Login.ascx that has my login boxes that I include on a number of pages throughout my site. It works fine when the information is correct but I'm trying to do validation so if the login info is incorrect, I want to redirect the user back to the view they were in before to show them the login errors. What is th...

Master Page location of controls in content page

I'm trying to rebuild a site using masterpages. I copied the markup of the controls in the old page and placed them in the content place holder in the new page(in source view). Since they were absolutely positioned the controls do not stay inside the content place holder in design view. Everything is between the content place holder...

Local IIS - How to disable incoming/outgoing connections?

Due to employer security issues, the development team is not allowed to have IIS on their development PCs. I would like to know if there is a way to have IIS locally and disallow incoming/outgoing connections? The development team would just like to harness the power of IIS for development purposes and not have to worry about "security...

how can I share an asp.net session between http and https

I read that a page which runs under an https connection cannot share an InProc Session (based on cookies) with another page (or the same for that matter) running under regular http. My site is running on Server 2003, IIS 6 and .Net 2.0. After some experiments it appears that a page which stores data in session while being connected thro...

Asp.Net Absolute Path of a URL

To make it simpler for a webapp to share files with another app on a different server, I'm using a base href tag in my master page. As many people have discovered, this breaks webform paths. I have a working Form Adaptor class but am not sure how to get the absolute path of the url. Currently, my program is hardcoded to use something ...