asp.net

How to tell the Visual Studio Designer to localize my custom server control?

Hi, I'm currently working on a custom server control. Now I came to the end of developing it and everything runs smoothly. I now just checked that also localization works fine and discovered that the Visual Studio designer doesn't add the meta:resourcekey="buttonNameResource" to my control. The localization works if I add the meta:resou...

Using ADAM to validate users in a DMZ zone

ISS and ASP.NET. In my setup I have a web application that must be accessable from: an organisatition of 3000 users 200 external users The solution is hosted in the organisations DMZ. Initially i was hoping to do AD based authentication for the 3000 org users, so that they wouldnt need to remember more passwords. Now the hosting...

Collaborate with web designers in ASP.NET project (with SVN)

What would be a good way to collaborate with web designers (proficient in CSS and HTML) in an ASP.NET project, while at the same keeping everything in sync using SVN? We don't want the compiled DLLs (i.e the "bin" folder) in the source repository (not in the trunk anyway) We don't to require that the designers have Visual Studio or a w...

How catch the ModalPopupExtenders javascript Hide call?

I have a werid situation where a modal popup gets hidden automatically when it is opened via javascript (either by doing a .open or by doing a .click on the opening button). Everything is fine when the opening button (ie TargetControl) is used. To rephrase the question - what keywords should I use to search the ScriptResource.axd or any...

Add a pdf to a Reporting Services report after rendering report as pdf

We are using Reporting Services to generate a purchase order, which is rendered as pdf before displaying on the screen. The report works well, as is, except that now we have to add a Terms & Conditions page to every PO. I've tried placing it in the footer, setting it to display only on the last page--this didn't work. I've also tried a...

UserControl events not working for first time

Hello All, I am calling my user control in a web page dynamically. For the first time when I click the button on user control, the event is not firing. When I click the same for a second time, the events are firing.. Can anyone help me? ...

WCF Timing out from Windows Services but not Web Applications

Hi All I am currently having an issue calling a WCF service from a windows service. My Application Solution looks like this. Web Administration Console (Web Project) Central Control (Windows Service) WCF service so the Web Administration Console can connect to it and configure it Several Calls to use WCF on the Node (Window Service) ...

asp.net program affects result in search engine

Hello, Is there anything I can do while coding in Asp.net to make my website come on top in search engines for general keywords? (For example : cars...assuming that my site is wwww.joshautos123.com) Thanks ...

Does the new asp:chart control need to be installed on the server or can it be used from the bin folder.

I have installed the new asp:chart control on my machine and have built an app that uses it. All is working well so far. Now I want to deploy my app in a hosted environment. If my hosting provider doesn't have the asp:chart control installed can I get my app to work by putting the .dll in the bin folder? (I guess I am asking if it has...

Asp.Net website looking fine in IE6 but not in IE7/IE8

I have a small website developed using VS2005 and mySQl, it's just 2 webforms and login page. During the development and testing phase, me and my customer were using IE6, and it was looking fine, we didn't test with other browsers because it's a small application, and just a add-in for large desktop application. The customer informed m...

How can I optimize the Microsoft AJAX Toolkit?

This is rather infuriating. I'm trying to optimize a very large site, and I'm at the step of reducing HTTP Requests. Microsoft is not cooperating. I have the following ScriptResources included. I'll try and grab a top-line for each to distinguish them // Name: MicrosoftAjax.debug.js 53.5Kb // Name: MicrosoftAjaxWebFo...

Infragistics Controls - are they stable/easy to learn?

What is your opinion on Infragistics controls (both Web and Win)? Is this a stable library? What do you feel about the learning curve? ...

Add row to table at runtime

On one of our pages, we've got a table that has rows generated at runtime. I want to move the content of those rows out into their own control and set properties on it at runtime, in order to separate the presentation from the code-behind. But it's not working the way I'm expecting. If I have my row-like control inherit from UserContr...

asp.net listview insert

I am showing users for my website in a listview (bound to Membership.GetAllUsers()); this is working fine. I would like to allow users to be created via the listview as well (along with some workflow driven information I'll be storing in the Profile), so I have added an InsertLayoutTemplate. However I cannot seem to read the values from ...

PDF to Text conversion when uploading to IIS Web App?

I've investigated several C# DLL's and have not found any that work especially well. My requirements are: PDF documents are uploaded via an ASPX page. Text needs to be extracted and stored in the DB with the PDF. Solution cannot have additional cost for replicating the Web App (so if I know it will work, a fixed-fee solution would be...

Disadvantages of the ASP.net MVC Webforms View Engine?

I'm planning a new project at the moment, built on MVC. Now, there are several different View Engines, and I just wonder what the disadvantages of the Webforms engine are that would justify a switch? Some people feel really strong against it, and I just wonder why? Can I still retain something like .ascx Controls with other View Engines...

ASP.NET MVC Authorization and roles per team_id

Hi, i'm starting a project using ASP.NET MVC and i can't figure out what's the best way of handling authorization and roles based on a team_id. Every blog entry or forum post i read always talk about defining a global role("admin", "helpdesk", "editor", etc...) using asp.net membership or creating a CustomAuthorize filter. The problem in...

Displaying images derived from a byte-array dynamically on a page

I'm calling a webservice that is returning an unknown quantity of images in the form of an a collection of byte arrays. (I can't change this) I need to display each image on a single aspx webpage. I'm currently using the Microsoft.Web.GeneratedImage control; http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=16449 to...

ASP.NET Page performance

We have a rather complex page that loads the user controls dynamically (some of them are nested). It is a very slow performing page. Could adding the controls dynamically be adding to the bottleneck? Would it help if we add the control in the .NET cache object and not use LoadControl if it already exists in the cache? Any other tips/st...

Why is each control is like a page on its own on our registration page?

For the registration process, we have 5 different pages which the developer jammed into a single page (each of the 5 sections is a usercontrol). Only one control is set to visible at a time. It seems that each control's page_load event is fired at the same time. Is this a design problem or is it expected behavior? ...