ASPFriends.com 'aspngbeta' list Archive - May 2001
Messages
Page: 12
#include like syntax? (7 replies)
ASPFriends.com 'aspngbeta' list
I have a group of pagelet (.ascx) files that have similar functions. I would like to group all of those functions together into a single file for maintainability. At this time, I do not want to go to all the trouble of building custom user controls and the like. It is just three functions, only loosely related. In normal C I would use a #include for this. How do I do the same in ASP.NET? So, in a ...
iterate thru webform to xml (2 replies)
ASPFriends.com 'aspngbeta' list
I have a webform with a textbox. dropdownlist, etc. and was able to assign the object to the object in the webform collection only after setting Option Strict Off. What is the way to convert a webform object to a specific object without having to turn option strict off. Thanks. Dottie br clear all hr Get your FREE download of MSN Explorer at a href "http://explorer.msn.com" http://explorer.msn.com...
Ok.. another way? (24 replies)
ASPFriends.com 'aspngbeta' list
Hiya :) Let's say I want to put logic into a class file (.cs). I want to USE that logic in multiple .aspx and .aspc files without having to do a manual .dll compile. Any ideas? Soulhuntre email: soulhuntre@soulhuntre.com url: http://www.soulhuntre.com corp: http://www.dotpublishing.com life: http://www.the estate.com
.NET Definitions (3 replies)
ASPFriends.com 'aspngbeta' list
Is there a web site or document that anyone knows of that has a list of Visual Studio .NET related jargon and their definitions? I think this would be a great idea, especially for newcomers to .NET. Since there are a lot of buzzwords and technical terms (from 'assemblies' to 'Web Services') it would be nice to have a place for someone unfamiliar with the development tools aspect of .NET to easily ...
Dataset to Excel-File download (2 replies)
ASPFriends.com 'aspngbeta' list
I have a table in a .NET dataset that I would like to export to an Excel file and then present the user with a "Save as" dialog box when he or she clicks on a link. Some have suggested to just do an .aspx with a vanilla datagrid on it and set the content type to "application/ms excel" since Excel can read HTML tables, but: There is no save as dialog, the browser OLE's to excel The filename can't b...
Dynamic images (2 replies, VIP)
ASPFriends.com 'aspngbeta' list
hello, interesting question : i wrote a form to upload images (thanks to the 123asx.com code) and i'd like to view them as they are uploaded. the code works, but i've got a foultitude of questions : 1. i render them as a IMAGE Width0 heightP ... tag. that takes care of the presentation, but won't the images be downloaded full size? in that case i would need either a resize property on the...
global vs relative src (2 replies)
ASPFriends.com 'aspngbeta' list
Hi, Doesn't the @Page SRC attribute support global urls like in the following example: %@ Page Language "C#" Src "/scripts/test.cs" % It only seems to support: %@ Page Language "C#" Src "scripts/test.cs" % which is relative and doesn't suite our needs. The error is the following: Second path fragment must not start with a drive name. Parameter name: path2 Bruno Carlos
buttons and stylesheets (3 replies)
ASPFriends.com 'aspngbeta' list
Hi, I have the following animated button declaration in my .aspx file: asp:Button id&#"m;yButton" cssclass&#"b;uttonUp" onmouseover&#"c;lassName&#'b;uttonDown'" onmouseout&#"c;lassName&#'b;uttonUp'" visible&#"t;rue" runat&#"s;erver" / Now, from my .cs code behind, I can do: myButton.CssClass&#"n;ewCSSClass"; in order to change the cssclass attribute. My question is: Is there any way I can change t...
.net version search engine ? (2 replies)
ASPFriends.com 'aspngbeta' list
Does Microsoft have .net version of search engine ? Thanks in advance, Peter
Can I use Outlook Object Library in ASP.NET? (3 replies)
ASPFriends.com 'aspngbeta' list
Hi All, I need to send a task from my web site (INTRANET) So, I made a VB class called TaskSender and a sub called SendTask, which is: Dim ol As New Outlook.Application() Dim ti As Outlook.TaskItem ti &# C;Type(ol.CreateItem(Outlook.OlItemType.olTaskItem), Outlook.TaskItem) ti.Assign() ti.Recipients.Add(TaskTo) ti.Subject &# T;askSubject ti.DueDate &# T;askDue.ToDateTime ti.Send() If I use this cl...
Authentication Settings on Subdirectories in Web Application (2 replies)
ASPFriends.com 'aspngbeta' list
Has anyone been able to set authentication settings on subdirectories (not virtual directories) in a web application that was different from the setting on the application root. For example, I have cookie authentication set for my application root but I want to set windows authentication for a subdirectory of that application. Whenever I try this using the config.web file I keep getting an error t...
S..L..O..W IDE editing ASPX Form?... (2 replies, VIP)
ASPFriends.com 'aspngbeta' list
Anyone know how I can speed up the response editing an ASPX file? I have web page ASPX file with about 30 ASP controls on it. It now takes a good 10 15 seconds to literally to do anything like, add HTML tags (in html mode) or move a control from one table to another... I have fast machine 1.2gz 512mb ram... anyone experience this? Thanks Paul
Invalid directory on URL (4 replies)
ASPFriends.com 'aspngbeta' list
Does anyone know why this error message keeps coming up? "Invalid directory on URL" It happens about every other time I try to view my pages? /Jörgen. email: jorgen a@dsv.su.se url: www.dsv.su.se/~jorgen a truth: "I'm not perfect, but I'm so close that it scares me."
How to schedule a task in .net framework? (2 replies)
ASPFriends.com 'aspngbeta' list
Hi list, How can I schedule a task in .net framework? Can I write a .VBS file ? And how can I schedule it? Please help if any of you have any knowledge in the matter. Regards Sam
Progress bar in .NET upload (7 replies)
ASPFriends.com 'aspngbeta' list
would it be possible to implement a progress bar in the http upload of .NET? second question, would an image received via upload (the binarydata) be resizable on the fly by using System.Drawing.Imaging? or do you have to convert the image to a bitmap first? thanks!
Can users supply viewstate data for a control prior to render time? (6 replies, VIP)
ASPFriends.com 'aspngbeta' list
Hi, I'm trying to figure out how to allow users to navigate to an aspx page with some viewstate information encoded in the query string of the url... For example, given the following URL: file.aspx? VIEWSTATE blahblahblah blahblahblah could be the viewstate information that tells several controls on the page how to render their html output...How would I go about grabbing that query string paramete...
Related Question on DateTime Formatting (4 replies, VIP)
ASPFriends.com 'aspngbeta' list
In my calendar application I want to format the time to 12:00 PM. I am using myTime.format("whateverformattype", null) but it tells me that null is no longer supported and that I should use System.DBnull .... but when I try that the compiler says that DBnull is not a part of System? What am I missing? Thanks, Jamie Get your FREE download of MSN Explorer at http://explorer.msn.com
DataGrid - Allow Sorting (2 replies, VIP)
ASPFriends.com 'aspngbeta' list
I've been going through the properties & methods of the Datagrid and found 'AllowSorting" (true or false) If true it creates links on the field names in the header, but nothing happens on my system when I click them....is there somewhere on the web that shows how to implent this feature?
Setting focus in control (4 replies)
ASPFriends.com 'aspngbeta' list
Hi All, I'm using the ValidatorSummary control in my web forms. I want to set focus in the first control in my form where there is some error. Like we use to do when using javascript in ASP. Regards, Deep
Calling Server Methods on the Client? (3 replies)
ASPFriends.com 'aspngbeta' list
Hello All... 20 Does anybody know if it is possible (and how) I can call a C# Server method from a Client java script block. For example, If I have a class called DisplayTable that I instantiate as myTable. Can I somehow call the function myTable.Process(), for example, from the JS function doUpdate() ? 20 20 %@ Register TagPrefix 3D"OneCirc" NameSpace 3D"Tier2" % %@ Import Namespace 3D"System.Dat...
send attachement aspx by email (2 replies, VIP)
ASPFriends.com 'aspngbeta' list
I try to send attachement aspx file by email I could not Please help hue Do You Yahoo!? Yahoo! Auctions buy the things you want at great prices http://auctions.yahoo.com/
Annoying Message - TagPefix is not registered (2 replies)
ASPFriends.com 'aspngbeta' list
Does anybody know how to get rid of this message? I put a custom control into a (consuming) .aspx page like this: %@ Register tagPrefix "MB" Namespace "Dick.Utils" % MB:SomeFunction runat "server" id "XXX" Click Me! /MB:SomeFunction Then I keep on getting the following message This control cannot be added because its tagprefix is not registered in this Webform. Add a register to the page for TagPr...
Application_Start (2 replies)
ASPFriends.com 'aspngbeta' list
Hi Everytime I hit a page on my website the "Application Start" event fires!?!?! Are there anyone who has any ideas on what I might have done wrong? Regards Alf Gaba
IE 6? (3 replies)
ASPFriends.com 'aspngbeta' list
Would installing IE6 screw up my .net installation? Get your FREE download of MSN Explorer at http://explorer.msn.com
Viewing Namespaces... (2 replies)
ASPFriends.com 'aspngbeta' list
Is there a way to view the namespaces supported by ASP ? Gordon R. Durgha Web Developer www.vslink.net gd@vslink.net
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification