asp.net

ASP.NET Protx

Does anyone have any experience of hooking up an ASP.NET application to protx. I'm looking for things to be aware of and any gotchas as well as a high level summary of the process ...

Ensure persistence of objects between calls

Hi to all. In a rather complex page where cohexist various update panels i have a userControl within an UpdatePanel like this: <asp:Panel ID="TreeViewDossier_Panel_Contenitore" runat="server" CssClass="TreeViewPanel"> <asp:UpdatePanel ID = "UpdatePanel_TreeViewDossier" runat = "server" ChildrenAsTriggers="False" UpdateMode="Conditi...

ASP Hyperlink control text wrapping

I'm trying to get the text within the ASP Hyperlink control to NOT wrap when it is placed within a html table as below: <table style="width: 320px" class="noLines"> <tr><td style="width: 300px"> <asp:HyperLink Target="_self" ID="frmSuggest" Text ="Click Click Click Click Click" Visible="false" runat="server"></asp:HyperLink> </td></tr...

ASP.NET Login page

I want to add login for registered users in my website. How shall I proceed with it? Is it through the use of sessions? What will happen to the Session variable once the logout happens?? ...

ASP.NET MVC 1.0 AfterBuilding Views fails on TFS Build

I've upgraded from ASP.NET MVC Beta to 1.0 and did the following changes to the MVC project (as descibed in the RC release notes): <Project ...> ... <MvcBuildViews>true</MvcBuildViews> ... <Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='true'"> <AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\$(Pro...

RequiredFieldvalidator

how to use required field validator for dropdownlist?. my dropdown list having -Day- item1 item2 ...

capturing webform event for workflow on asp.net site

The basic idea is that I have a website and a workflow. I need to capture button clicks from aspx pages in my workflow. I have a solution with a worflow project and a website project, and the web.config and global.asax have been set up to work with WF. Persistence services are also set up. I have created a StateMachine workflow. There...

Ado.net data services

What is Ado.net data services. Where can i download latest version anf how to use in my asp.net ajax application? ...

ASP.NET webforms without javascript

Due to a security requirement all browsers that will run a web application we need to create must have all client side scripting disabled. So that means no Javascript. Unfortunately Web Forms make quite some use of Javascript. The login control works without Javascript, but a button does not (it calls the Javascript function __doPostback...

Using the Web Application version number from an assembly (ASP.NET/C#)

How do I obtain the version number of the calling web application in a referenced assembly? I've tried using System.Reflection.Assembly.GetCallingAssembly().GetName() but it just gives me the dynamically compiled assembly (returning a version number of 0.0.0.0). ...

Browser IP Address

I have 2 apps 1 Ruby (not written by me. I understand nothing of Ruby) and the other ASP.Net The Ruby app determines the users's IP address (I'm told "using first IP found in "HTTP_X_FORWARDED" )and passes a hashed version of it to the ASP.Net app. The ASP.Net app then determines the Client's IP address again (using Request.UserHostA...

ASP.Net Error Code 128

Hello, I have a ASP.Net Application which runs fine on my development machine, however, when publishing to server, I get this error Compiler Error Message: The compiler failed with error code 128. I don't know why can this be happening I think it can be related to cached dll's on server, is there any way to clear this cache? Whatev...

Calling a modal popup with TargetControl in another UpdatePanel in ASP.NET

Hi, I'm trying to call a Modal Popup, but the TargetControl is in a different UpdatePanel than where the ModalPopupExtender resides. Here's the code: <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton> <...

ASP.Net TextBox Validation

Hi, I have 2 textbox controls where date values will be entered. I want it so that if a date is entered into one of the textboxes then the other one becomes required. This is probably a real noobie question but any help would be greatly appreciated. Thanks in advance. Edit: Just to clarify a bit better. I use a compare validator to c...

Showing A Waiting Image While The Page.Load event does its stuff?

I have a page that on page load exectutes a lot of methods.. A few ping off and grab some external pages and strip out content to display etc.. etc.. Problem is as this can take quite a few seconds, the page just sort of hangs while all this is going on in the background... I want to be able to display the page with an animated GIF say...

About Data List in ASP.net

what is the difference between Data list and Grid view ...

Linq Select Compound From

Hi, I'm experimenting with linq compount selects. I find the following query not to return any element: Dim q = From s In d.GetChildRows("DossierSinistri") _ From i In s.GetChildRows("DossierIncarichi") _ Select s while the following does: Dim q = From s In d.GetChildRow...

suggest me a .net architecture to implement

Hello Experts, I am about to start a new project for the catering institute where following list of modules needs to be covered. TELEPHONIC INQUIRY PROCEDURE: where user will fill up online form and will be saved in db. Follow up module will be associated with it to manage follow up and after he paid the fees for prospects, his exam ...

ASP.Net AJAX isn't creating Javascript type

I'm using ASP.Net AJAX and I created a web service in my application. The service has one method (AddWatchedFolder) and it takes a Name.Space.WatchedFolder as the only parameter. The problem is, ASP.Net AJAX isn't generating a javascript type for Name.Space.WatchedFolder even though I've added the service to a ScriptManager. I am able t...

Overriding Controls Collection on WebControl

Hello All, I am trying to override the Controls collection of a control that inheirts from WebControl so that when a user adds controls to the webcontrol I can put buttons before and after it and kind of put it in its own wrapper. Something like this: protected override ControlCollection Controls { EnsureChildControls(); retur...