Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > april 2005 > threads for friday april 1

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Database Driven Menus
Posted by winshent-google NO[at]SPAM yahoo.co.uk at 4/1/2005 11:12:32 PM
I am trying to write a data driven menu. I am still a beginner so am asking for advice. My current method is to load all of the result into a html style string using the following code: ############################ Public Function GetMenuList() As String Do While myReader.Read() ...more >>


Licensing Method
Posted by Aaron at 4/1/2005 10:33:47 PM
I would like to learn more about licensing methods that can be used with asp.net application. Something like http://www.dotnetcharting.com You have to download a license file to activate the program. and it locks the application to a single website. How do they do that? Does anyone kno...more >>

SSL Client Authentication
Posted by wrytat at 4/1/2005 6:29:01 PM
I'm not sure if I'm posting the correct place. I posted it somewhere else, but someone told me to post it at another place. Anyway, some background first. I am currently building a web application for my company. This application is going to be hosted with an ISP on a shared server. And my ...more >>

Mix Coldfusion and ASP.NET pages
Posted by Urs Eichmann at 4/1/2005 6:21:00 PM
In a website built with coldfusion 5, we want to add some new pages built with ASP.NET. AFAIK, it should be no problem mixing .CFM and .ASPX pages within the same site, because IIS loads a different handler for each page. Is this correct? Does anyone have experience with this type of problem? ...more >>

Script
Posted by trygve alsos at 4/1/2005 5:25:52 PM
Hi ! Anyone here got a good tips for an script ? I want to show an image/picture when sombody drags the mouse over the text, the code is in asp/vb. A java script will do fine. Tnx to any who can help me. Best Regards Trygve Alsos ...more >>

Customize 404 server error in .Net
Posted by SMG at 4/1/2005 4:52:46 PM
Hi All, From where I can customize 404 error. I.e. the error is printed below.. Server Error in '/sharekhan' Application. The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or...more >>

Sending mail through Hotmail from DotNet
Posted by dgk at 4/1/2005 4:03:42 PM
I looked around for Sending Email hints and found quite a few, but I don't see how to do it with a hotmail account or anything where I have to logon. I'm willing to send them through the server, in fact I want to send about a hundred copies of the same mail to a membership list. What I don't s...more >>

Can panes similar to outlook be used???
Posted by Phani at 4/1/2005 3:08:12 PM
hi everyone !!!! i want to develop a web application in which the gui is divided into different panes and the panes should have facilities like increasing the width by dragging , dockable etc .... as we do in outlook panes ..... is it possible to have this kind of gui in ASP.NET using C# ...more >>



Setting Page Expiration...
Posted by Mustufa Baig at 4/1/2005 2:59:04 PM
Hi, Whenever the user clicks on Back Button, I want that page to be reloaded or refreshed. Basically I don't want my page to be cached. How can I acheive this functionality in asp.net? Regards, ...more >>

Error: The file could not be loaded into the Web Forms designer
Posted by Michal at 4/1/2005 2:31:05 PM
Hello, We have a new Windows 2003 swerver installation and .NET 2003. I am trying to create a new ASP.NET application and it wont'l let open forms in design mode. I am getting the following error: The file could not be loaded into the Web Forms designer ... File or assembly name Syste...more >>

Disappearing usercontrol
Posted by Grant Merwitz at 4/1/2005 2:26:24 PM
I am using usercontrols to control the contant in my website. Currently, depending on a parameter passed in the querystring, the appropriate usercontrol will be loaded. i.e. private void Page_Load(object sender, System.EventArgs e) { if(!Page.IsPostBack) { Switch(Request.P...more >>

ColdFusion?
Posted by William Fields at 4/1/2005 2:23:02 PM
Hello, I'm trying to find out more information about ColdFusion and could not find what I'm looking for on Macromedia's website. My question has more to do with what ColdFusion is and how web services are supported. Specifically, I'd like to know: Is Coldfusion nothing more than an IIS ...more >>

Session State Sharing
Posted by josh at 4/1/2005 2:16:56 PM
Hi Guys, I am wanting to share a simple Session between to ASP.Net Applications on the same server, but i just can't get it to work. I have changed my web.config file in both the projects to say the following: <machineKey validationKey="38E22A255C18376F79825BEA431C7AF42DB88EE0CA5139736FDD...more >>

datagrid command events not firing.
Posted by Peter Rilling at 4/1/2005 2:14:07 PM
I have an interesting problem with a datagrid. It is the standard chicken-and-the-egg problem. I have this page with two datagrids. It essentially defines a parent-child relationship. The parent grid has a "edit" and "delete" columns. When the "edit" link button is clicked, I want the chil...more >>

Reference DataGrid Style Property in Javascript
Posted by MrMike at 4/1/2005 1:57:02 PM
Hi. I have the following Javascript function on an aspx page, in the HTML code. As you can see, if the condition is true then 3 lines of code are executed. My problem is that I cannot get the third line to work. DataGrid1's style does not update as the Javascript specifies. Is this form...more >>

hostname and dns
Posted by Spartaco at 4/1/2005 1:42:09 PM
hi, I was curious to know why the property Request.UserHostName gives me the IP of visitors instead of their dns name as stated in the documentation. It's something wrong with the configuration of my server(win2003) or it's always this way ? I think it's a problem of my server, so if you co...more >>

IHttpModule Question (storing state)
Posted by Mike at 4/1/2005 1:40:38 PM
I've created a custom IHttpModule that does custom authentication. Currently it stores authenticated user info in a hashtable within the class so I don't have to re-authenticate against a database everytime a logged in user hits a page. So far, it works great. Here is my question, is my app...more >>

instantiating a template control
Posted by Andy Fish at 4/1/2005 1:40:18 PM
Hi, Say I had a repeater-like situation but were I wanted to have every 3rd item look different instead of every alternating one. I could write my own custom control and in the ASPX file something like this: <myControl> <mainItemTemplate>...</> <secondItemTemplate>...</> <th...more >>

About Refreshing Webpage......
Posted by Mustufa Baig at 4/1/2005 12:41:41 PM
Hi, Whenever the user clicks on Back Button, I want that page to be reloaded or refreshed. Basically I don't want my page to be cached. How can I acheive this functionality in asp.net? Regards, ...more >>

understanding master pages
Posted by Diego at 4/1/2005 12:28:26 PM
Hi all I'd like to understand something about master pages: 1)Why if if try to typecast a masterpage inside a "child page" the compiler tells it dont find the class? I was trying to declare a property in the master and access it from the child but the problem is not with the property, is w...more >>

How to reset all the forms of an entire aspx page?
Posted by Jensen bredal at 4/1/2005 12:23:34 PM
hmtl reset does not seem to work or i'm i doing something wrong? MT JB ...more >>

user enter key to control my login form
Posted by Grant Merwitz at 4/1/2005 12:17:04 PM
Hi I am trying to get the enter key to submit my login form The login form is currently in a control on the page and uses an asp:imagebutton as it's login button. If a user presses enter currently, the page just reloads. I have tried to use some javascript to set the enter key on the butto...more >>

Sharing user object using webservice
Posted by Edgardo Rossetto at 4/1/2005 11:54:06 AM
Hello, We have several web applications (some in classic asp, some in asp.net and there's probably gonna be others with asp.net 2) that share the same user db, the problem is that all the applications retrieve the information (make auth etc) directly from the database, I want to make a we...more >>

Restart ASP.NET on Error?
Posted by xenophon at 4/1/2005 11:52:12 AM
I have created an external AppDomain for use in my ASP.NET 1.1 app, it is shared by all web users (it will eventually be physically Remoted hosted on another server). When there is an Exception, the AppDomain does not always unload. In fact, I can delete every file from the directory tree exce...more >>

Permission to access PDF files from ASP.NET
Posted by ryu at 4/1/2005 11:32:36 AM
Hi All, My web app requires to access a PDF document. However it will not open when I start to access it using Process.Start("fileName"). Although at the task manager, it says that the Acrobat service has been started by ASPNET. Is there something I did wrong or have not done? Pls help. ...more >>

Change in value of custom attribute is not reflecting at server side
Posted by The Developer at 4/1/2005 11:21:09 AM
Hi All, I have a web application where I am adding a custom attribute to my ASP.NET text box control and changing value of that attribute at client side using JavaScript. My problem is that changed value of that custom attribute is not reflecting back at server side. Any ideas about this problem...more >>

.NET Framework not installing
Posted by Steve Caliendo at 4/1/2005 10:58:50 AM
Hi, My computer at home is running Win2000. I've installed the .NET Framework (dotnetfx.exe) and it says that it completes successfully. However, my web server cannot process .aspx pages. IIS serves .htm just fine. I noticed that there is no aspnet_wp.exe running on the computer. Does ...more >>

Combine 2 Columns to one with punctuation
Posted by DBLWizard at 4/1/2005 10:23:39 AM
Howdy, I need to compine two columns (LastName, Firstname) with the comma. The only problem I have is the Firstname could be blank and in that case I don't want the "," appended to the last name. This data is coming out of a Sql Server data base. I am currently using a DataReader and simpl...more >>

VB.NET and C#
Posted by MattC at 4/1/2005 10:23:29 AM
I have been given a project to support and extend. My ASP.NET language is C#, however the project was written in VB.NET. Is there any way to add webforms to a VB.NET project with the codebehind file being C#? TIA MattC ...more >>

ASP.NET Deployment...
Posted by Terry Mulvany at 4/1/2005 10:21:51 AM
Hello group, Curious as to how you all have chosen to deploy/publish your asp.net apps. Currently though we have a local dev environment, then we stage to a QA server then we publish/deploy. In previous jobs I've always used straight xcopy to publish to production (usually via the Copy Project ...more >>

Required Field Validator question
Posted by Skeptical at 4/1/2005 10:11:12 AM
Hello, I have a form and two buttons on it. Button1 submits the data to a database and RequiredFieldValidator is used to make sure all the required fields are filled up, the second button has a completely different task it basically turns on another panel and displays some data. The problem...more >>

3D Animation of 300,000 data points via ASP.NET?
Posted by JohnH. at 4/1/2005 9:37:54 AM
I'm looking for general advice on how to approach an application. I want to develop a freeware program that will plot out the positions of about 300,000 stars near earth. This will be a 3D plot that the user can rotate and zoom in/out. I also want to give the user the ability to click on a st...more >>

Impersonating a User and Starting Standalone Processes stop workin
Posted by Indepth at 4/1/2005 9:37:02 AM
Overview: We're creating a ASP.NET app in C# that calls some C# programs we've created. Our DB server is on a w2k3 machine and using our w2k machines as our web server. Without setting an Identity in the web.config we can not access the DB on the w2k3 machine at all. So a temporary solution w...more >>

Server.MapPath not available in Session_End
Posted by Anonymous at 4/1/2005 9:16:17 AM
Hello All, I recognized that Server.MapPath doesnt work in Session_End. Is there any other way to get the path? I dont think so, but I am hoping for other ways....more >>

Reading text file from server
Posted by Joe Ehrenfeld via .NET 247 at 4/1/2005 9:15:17 AM
I ma having an issue saving a text file that is located on a remove server (Chase Bank) to one of my servers. I know that I have the file in the Srtream object but I just can't seem to get it to save to my server. Here is my code: ASCIIEncoding encoding = new ASCIIEncoding(); byte[] data = e...more >>

ASP.Net projects not loading in VS.Net after SP2 for XP installed
Posted by Conan at 4/1/2005 9:01:03 AM
Hi, I am having a problem with .Net / Visual Studio that I can't find the cause of. I have searched newsgroups and the web and find people with similar but different (I think) problems. Here's the issue and some of what I've found out - I really hope it's familiar to someone and there's a...more >>

multiple parameters for a datagrid url hyperlink
Posted by LB at 4/1/2005 8:50:02 AM
Hello everybody Using .net 2003 & vb,asp How can i pass multiple parameters in the URL Hyperlink for a datagrid ? or is there somewhere a sample on how to accomplish that ? I know how to pass one, on the property builder, I used something like : mypage.aspx?my_id={0} But what is the syntax t...more >>

Can i specify how much of an aspx page should print?
Posted by MrMike at 4/1/2005 8:41:05 AM
Hi. I have an aspx page which displays data on about the top 1/3 of the page, and the remaining 2/3 of the page is blank. The page is formatted so that my users can print the page to special-sized labels of the same dimensions. However, whenever my users print, Internet Explorer sends the ...more >>

Data binding in TextBox after dropdown list indexchanged
Posted by david at 4/1/2005 8:17:06 AM
I have a question in the following. Any one could give me a help? Thanks David The dataset is declared and created at Class level. My source code is here: Private Sub lstPatientID_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstPatientID.Selected...more >>

session question
Posted by anonmous at 4/1/2005 8:01:20 AM
Hello, I am creating a pdf via some code. Now when the pdf is created, I assign the filename to a session variable and open a new window with the pdf. Now when the user closes the pdf window, I would like to delete the file. I was thinking to check for the session variable in the glo...more >>

directory permissions question
Posted by carla at 4/1/2005 7:56:57 AM
We have a bunch of articles that visitors to our website can read. They do a search, and we present a list of matching article links. The files are named sequentially: art1.htm, art2.htm, art3, htm, and so on. The articles directory is located benath our web app: inetpub wwwroot ...more >>

how check if session is null?
Posted by lydia sista via DotNetMonster.com at 4/1/2005 7:50:40 AM
HI all how dya check if session is null or does not exist? I tried using if Session("cart")= null then ... end if this doesn't work it says 'null' is not declared. 'null' constant is no longer supported. use 'system.dbnull' instead. then when i use system.dbnull it says 'system.dbn...more >>

Changing value of dynamic control in Page_Load after creating the
Posted by amirmira at 4/1/2005 7:29:02 AM
I have a multithreaded application is ASP.NET that checks the status of a process every 2 seconds. After the thread has completed, the values of dynamically added controls need to be changed depending on the return value from the process just completed on the second thread. The problem I am ha...more >>

ASP.NET 2.0 Beta 2 Released This Morning...
Posted by clintonG at 4/1/2005 7:21:41 AM
April Fools :-) -- <%= Clinton Gallagher METROmilwaukee "Regional Information Services" URL http://clintongallagher.metromilwaukee.com/ ...more >>

set cell color while rendered in a datagrid
Posted by Ofer at 4/1/2005 6:03:02 AM
I use the code: <asp:BoundColumn DataField="EFF_END_DT" SortExpression="EFF_END_DT" HeaderText="Effective End" DataFormatString="{0:d}"> <ItemStyle ForeColor= '<% # MyColor( DataBinder.Eval(Container.DataItem, "EFF_END_DT"))%>'></ItemStyle> </asp:BoundColumn> to have red ...more >>

generated buttons
Posted by benoit at 4/1/2005 5:51:03 AM
using this usercontrol - http://www.denisbauer.com/ASPNETControls/DynamicControlsPlaceholder.aspx - I manage to create several inputfields and buttons, depending on what user needs. works fine However, I do not find much useable help on recreating eventhandlers for dynamic generated butto...more >>

best practices
Posted by kODE at 4/1/2005 5:37:13 AM
Hello i have a webform that is a report, and one of his columns is the user name. well i have to allow filter by user name, y was thiking in build a dropdownlist with the users in my datatable, once selected filter one dataview and bind to the grid... is this the best way to manage this ki...more >>

Visual Web Developer Question?
Posted by Patrick Olurotimi Ige at 4/1/2005 5:34:31 AM
Is Visual Web Developer is it worth installing? Can i use Web Matrix with ASP.Net 2.0? Cos i know VWDeveloper is meant for ASP.Net 2.0 and not ver 1.1. Can both run side by side? *** Sent via Developersdex http://www.developersdex.com ***...more >>

deploy crystal reports on production server using host headers
Posted by Tim_Mac at 4/1/2005 5:17:34 AM
hi, see quote below from http://groups.google.ie/groups?hl=en&lr=&th=36c5d2df211a4d78&seekm=00480961-660F-462D-BBD4-455C8DA26C38%40microsoft.com&frame=off According to the book: "Deploying .NET Applications Lifecycle Guide" published in Microsoft Press: "Web setup projects allow you to speci...more >>

Image Problem
Posted by bernardpace NO[at]SPAM yahoo.com at 4/1/2005 4:39:21 AM
Hi, In one of the pages I have placed an image. This is located in the following directory. Inetpub\wwwroot\ProjectName\bin\MyImage.jpg Now when I access the page from the same machine I can view the image, and when I try from another pc, image is not viewed. Is that a wrong path where to...more >>

HttpListener in VS2005
Posted by rajamanickam at 4/1/2005 3:37:03 AM
Hi all, I am using HttpListener class of VS2005 to send HTTP response . i am writing data by outputStream and closing ResponseContext. Even i used stream.flush, stream.close methods, i am getting error "cannot close output stream before write all bytes to client". How do i close this proble...more >>

error:unable to open asp.net applications from new project window of visual studio.net
Posted by amit_ramprastha NO[at]SPAM hotmail.com at 4/1/2005 2:23:31 AM
hi everyone, i'm facing this problem with opening asp.net applications from visual.net i'm running it with windows xp with service pack 2,visual studio.net 2003 with iis server installed before installing visual studio.net which means i should not have registration problems with iis....more >>

asp.net Oracle TEMP table woes
Posted by Phil Short via DotNetMonster.com at 4/1/2005 2:22:01 AM
I'm having trouble using a temp table in Oracle. Here's my code: Dim myConn As OleDbConnection Dim strconn As String = Session.Item("optSrcDBConnect") Dim dcSQL As OleDbCommand Dim strSQL As String Dim drSQL As OleDbDataReader WriteLog("Open conn...more >>

ProcessPostData
Posted by Jeremy at 4/1/2005 2:10:50 AM
How do I go about tracing what occurs between ProcessPostData and ProcessPostData Second Try. Reason is that is takes nearly 2 seconds between these events. Thanks Jeremy...more >>

Passing values between forms
Posted by Mani P.S via .NET 247 at 4/1/2005 1:29:35 AM
(Type your message here) Hi I'm new to asp.net and I need some help I have three forms with some textboxes.I want to pass the values of the textboxes of form1 and form2 to the third form For this I'm using in the first form System.Web.HttpContext.Current.Server.Transfe...more >>

Could not create 'CDO.Message' object
Posted by Hemant at 4/1/2005 1:01:01 AM
I am getting "Could not create 'CDO.Message' object" error while trying to send an email from my machine. //Below is code for sending an email using System; using System.Web; using System.Web.Mail; ................. ................. ................. MailMessage objMai...more >>

SQLConnection Help
Posted by Claudiu Tescu at 4/1/2005 12:20:13 AM
I make an project in ASP that use SQL Server that is on the same computer at compilation time I have the problem : Login failed for user 'NOSTRU\IUSR_NOSTRU'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more i...more >>


DevelopmentNow Blog