microsoft.public.dotnet.framework.aspnet Archive - May 2004
Post a message to this list
Messages
Page: 1234567891011121314151617181920
2122232425262728293031323334353637383940
41424344454647484950515253
HELP: ASPX page shows up as normal HTML (ignores code-behind, etc...) (6 replies)
microsoft.public.dotnet.framework.aspnet
Here's the quick situation: 1. Using VS.NET I create 1 fully functioning aspx page, with code behind. (Simple webform: It has a few text boxes, 1 hyperlink, 2 and buttons.) 2. I uploaded it to my website and it works PERFECTLY. 3. My friend has a webserver and wants me to stick the aspx page into his web server. He says it has IIS and the .NET framework. 4. I copy the aspx page, the web.config fil...
VS.NET 2003 - Can't connect to IIS (5 replies)
microsoft.public.dotnet.framework.aspnet
BEGIN PGP SIGNED MESSAGE Hash: SHA1 I'm using the MS Book C# Step by Step . Chapter 27: Intro ASP.Net. I try to create a new ASP.NET Web application (EmployeeInfo) according to the book's instructions & get error: "A connection with the server could not be established." O/S: Windows XP Pro. The IIS (World Wide Web Publishing Service) is running. The folder "EmployeeInfo" is Web Shared. TCP/IP is r...
User Control question (7 replies)
microsoft.public.dotnet.framework.aspnet
When I step through my code, the ASPX Page Load happens before the Page Load in the User Control. This means that the property values are not set to their defaults yet in the User Control and all the properties are blank. So my question is, where is the best place to put the code that handles the form. I was hoping to put it in the Page Load on the ASPX page. Since the properties aren't available ...
Powered By VS.net log (5 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Is there such a thing as a Powered By VS.net or VB.net logo? If so, where might one find it so it can be incorporated into a web site?
null Session object (3 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Hi I have a page in which I'm using session variables... The first time someone goes to the page, obviously the session objects are null. But the user can return to the page, at which time the session objects won't be null. On initializing the page, what's the syntax to check to see if the session object is null before trying to access it? I did search the msdn help, but I'm not finding exactly wh...
Under Construction logo or icon (4 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Does anyone know where I can find an under construction logo or icon?
Double "Open/Save/Cancel/More Info" dialog when downloading text file from ASP.NET (8 replies, VIP)
microsoft.public.dotnet.framework.aspnet
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE. I've asked about this before and didn't get a satisfactory answer (check your browser) so now that I've had the time to set up a reasonable little test that I can post somewhere, I'll try again. The app I've written has three ASPX pages. One is a c...
Impersonation woes (6 replies, VIP)
microsoft.public.dotnet.framework.aspnet
From a webpage, I am calling a com object which needs to read a file. It keeps throwing access denied errors. I am stumped. I think I have tried everything I know what to do. The webpage can read the file. Just fine. The com object can't. Create user group. Impersonate user. User has full rights to directory added everyone full rights. no joy added admin full rights no joy message box tells me tha...
Button in custom webcontrol - event handler not called (2 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Hello, This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit Click()], is not getting invoked. Could anyone please go thru the code and let me know what I am missing here? Thanks in advance! My custom control is as...
HTTPModules (3 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Does anyone know if there's a way to register a HTTPModule at runtime? One of the big reasons we use them is to create graphics on the fly. I have a calendar control that allows the developer to specify an image to activate the calendar. I was thinking that it would be great if that control could dynamicly register a module that rendered any one of 3 or 4 images. From a configuration standpoint, t...
how to add an event handler ? (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi, In visual studio.net (using C#) : how do I add an event handler to a webform ? Unlike in WinForms : I don't see any events button in the properties window of the form. So how ? thanks Chris
Validators ok, but code still runs (4 replies)
microsoft.public.dotnet.framework.aspnet
Hi Folks, I've got a simple aspx page with a few input controls on with required fieldvalidators for each and a submit button. The validators work fine when I click the button without having entered any of the fields. However, after having added some code behind for the buttons Click event to save the data in the database, I have discovered that the code will run anyway. So on a click, the validat...
server control to store XML (10 replies)
microsoft.public.dotnet.framework.aspnet
Is there any control that will hold an xml data on the server and be able to deliver that xml to the client?
authorization question about user control. (2 replies)
microsoft.public.dotnet.framework.aspnet
is it possible define custom authorization on specific user control (.ascx) Thank You.
How to capture the value of item template within a webcontrol ? (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi list ! I am a newbie in aspx, and i am trying to build a simple appilcation. This is the issue: the webcontrol captures the column names from a table and writes both the column name and one textbox for each column. Obviously, i want to use this within my appiclations in order to save time. The problem i have now, is that i dont know how to capture the value of the textboxes when i hit the submi...
Page Hierarchy confusion... (3 replies)
microsoft.public.dotnet.framework.aspnet
Ok, thanx in advance for all who can help me. I've coded in ASP for years, but am new to ASP.NET. I have a small ecommerce store im migrating over to ASP.NET (C#) and I am confused about this tag: form runat "server" I know that when a form has "runat server", any ACTION (at design time) I specify will be overridden and that the page will ALWAYS postback to itself. However, my store has 4 pages Pr...
Error while trying to run project: Unable to start debugging. Message (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, i encountered a problem will trying to run a C# Project (ASP.net Web Application). When i click 'start without debugging', it throws me an error. ******************************************** Error while trying to run project: Unable to start debugging. Unable to start program 'display some funny characters' The system cannot find the file specified. ****************************************...
image in datalist please helppppppppppp (2 replies)
microsoft.public.dotnet.framework.aspnet
hi, I have a datalist that show product and their image I use asp:Image ImageUrl ' %#Server.MapPath(@"\images\roomscenes\" DataBinder.Eval(Container.DataItem, "PartNo") " ss.jpg") % ' runat "server" ID "Image1" / but some times there is no image for one product and the page show me the asp image whitout any picture with a red X i what if there is no picture for one product the datalist dont show a...
test certificate (3 replies)
microsoft.public.dotnet.framework.aspnet
..net framework allows for creation of test certificate with makecert.exe, but I cannot find any instructions on how to install certificate for test use on development sites in IIS 5.1 anyone know where instructions exist ?
Debugging in Web Application (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello Everyone !!! I got the following error message when trying to create a very simple web application such as printing out an hello on the screen. When I hit F10 to run debug the following error was thrown: "Error while trying to run project: Unable to start debugging on the web server. you do not have permission to debug the application. The URL for this porject is in the Internet zone" I coul...
Debugging in Visual Studio.net (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello Everyone !!! I got the following error message when trying to create a very simple web application such as printing a hello on the screen. When I hit F10 to run debug the following error was thrown: "Error while trying to run project: Unable to start debugging on the web server. you do not have permission to debug the application. The URL for this porject is in the Internet zone" I could not...
System.DirectoryServices (2 replies)
microsoft.public.dotnet.framework.aspnet
Is it feasiable to use System.DirectoryServices and access Linux LDAP, If it is, any information (articles etc..) regarding this would be very helpful. Thank you
PostBack + usercontrol (5 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Hi, I have a UserControl that contain : 1 treeview 1 datagrid and so on ... Is there a way to postback ONLY ONE control and not all content in my Usercontrol ? (because all contents in my usercontrol in my aspx page flicker) Thanks ! Dany
onclick event not working in Netscape 6 (6 replies)
microsoft.public.dotnet.framework.aspnet
I have a a element in a datagrid which wraps some asp.net labels. this element also has an onclick event which does not fire in netscape 6 (and perhaps other browsers for all I know...). Below is the code for this. the onclick event calls a javascript function which I put an alert in the firt line to tell me if its working. It does work in IE. Any ideas on how to get netcrap... oops, I'm sorry, ne...
problem using Image control in DataList (4 replies)
microsoft.public.dotnet.framework.aspnet
Hi, I am using Image control with DataList control but have a problem. Here is the code I am using: asp:Image ImageURL ' %# DataBinder.Eval(Container.DataItem, "imagefilename" ) % ' Runat "Server" / I would like to change it to something like this: asp:Image ImageURL 'images/ %# DataBinder.Eval(Container.DataItem, "imagefilename" ) % ' Runat "Server" / In other words, I would like to add a folder ...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com