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 > may 2005 > threads for thursday may 26

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 31

Could not access 'CDO.Message' object Error
Posted by Patrick Olurotimi Ige at 5/26/2005 11:44:07 PM
But i get Error:- Could not access 'CDO.Message' object Error I'm trying to send email using this :- Dim objEmail as New MailMessage sBody = "This is our test email to you" objEmail.Subject="This is my Subject" Dim MySQL as string = "Select Name, email from TestMail" Dim MyConn As Sq...more >>


Error with smart Navigation
Posted by Namrata P at 5/26/2005 10:32:09 PM
One of my web pages has two combo boxes , a button and a grid The 2nd combo box gets filled depending on the selection value of 1st combo box I want to use SmartNavigation property to avoid the flickering effect but when i use it, it works fine after first combobox selection but gives an in...more >>

SelectedIndexChanged NOT Firing
Posted by Paul Matthews at 5/26/2005 9:08:01 PM
Hi, SelectedIndexChanged NOT Firing in my DropDown ListBox AutoPostBack = true EnableViewState = True Autpostback works, but the SelectedIndexChanged Event does not fire !!! regards Paul ...more >>

help with asmx extension
Posted by Sergio Fernandez at 5/26/2005 7:25:06 PM
..asmx not getting parsed. whten I call a page with an .asmx extensionon my machine all I get is the code, it does not get parsed. how can I fix this, can I manually add some ISAPI application to IIS to make it work. ...more >>

Is the way i do, secure enought to avoid session hijacking
Posted by Hope Paka at 5/26/2005 7:21:06 PM
I am storing user login information (not password) in the session. I also use, cookieless session. I realized that, if someone copy-pastes the URL after he/she logged in to the system to another person, the other person's browser opens as if the sender logged in. 1) Person A Logins to ...more >>

DataGrid - Weird Update Command Problem
Posted by BW at 5/26/2005 6:08:55 PM
Hello, I am attempting to to take edited values from a datagrid control and update the underlying database. Problem is that some of the edited values don quite seem to make it to my update sub. My code is shown below. The values that are not appearing are Cell(4) - sCompletion and Cell(5) -...more >>

insert item to dropdownlist using javascript
Posted by Joe Fallon at 5/26/2005 6:03:35 PM
I can add items to my dropdown list using javascript like this: cbo.length = j+2; cbo.options[j].text = "Some Text"; cbo.options[j].value = "MyValue"; cbo.options[j+1].text = "Some Other Text"; cbo.options[j+1].value = "MyOtherValue"; But the above code adds them to the bottom of t...more >>

Session_Start triggered for each requested aspx page
Posted by Gabriel Lozano-MorĂ¡n at 5/26/2005 5:52:15 PM
Is there any particular reason why the Session_Start() event gets triggerend by each aspx page request? Details: Windows XP Pro SP2 ..NET Framework v1.1.4322 C# SessionState set to mode InProc in web.config Session timeout set to 20 minutes My Session_Start(): protected void Session_St...more >>



Using redirect to open a new window or just run a script on the client
Posted by msnews at 5/26/2005 5:25:11 PM
I have a button on an asp.net page that has the following code.. machinename = TextBox1.Text Response.Redirect("remote.asp?machinename=" & machinename) I couldn't figure out how to lauch vbscript on the client using asp.net, so I put it into so asp. The problem is that is naviga...more >>

Is this possible?
Posted by Shawn at 5/26/2005 4:49:47 PM
Hi, I have a page that lists documents from a database. The database doesn't store the actual files, only an URL to where they can be downloaded. When a user clicks on a link, a new window is opened and the user is taken to another site. There the user will have to login first before he is r...more >>

Response.OutputStream in a new page
Posted by claudia villatoro via .NET 247 at 5/26/2005 4:00:24 PM
Hi I have a page with an option for opening the result( dataset) in= excel and it works, but the excel's file opens in the current= page, I'd like to open it in a new page, How could I do ? ( I= think I have to change the Reponse=2Ewrite, but I don't know the= correct parameters =2E=2E=2E...more >>

SelectedIndexChanged
Posted by Steve Wolfie at 5/26/2005 3:25:33 PM
Hi! I am *still* developing an asp.net app that i would like to do the following: i want a user to select a category from a drop down. if they select the last option "other" then i would like to dynamically display a textbox that i have initially set the visible attribute to "false" ...more >>

Problem viewing uploaded images using ASP.NET
Posted by IkBenHet at 5/26/2005 3:12:30 PM
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language=3D"VB" Debug=3D"true" %> <%@ Import Namespace=3D"System.IO" %> <script runat=3D"server"> Sub SubmitButton_Cli...more >>

echo user input
Posted by
at 5/26/2005 3:10:20 PM
Hi I am working on a web application, just wonder how could I display (on a web page) what the user is typing in another textbox field? By the way, I am using c# if this would make any difference. TIA -- ...more >>

User Control Question: Button Onclick Event won't work (won't fire)
Posted by Chad at 5/26/2005 2:47:03 PM
I have a link (.ascx) and that generates an Add form on that page. The autopostback dropdown is within a "If Not IsPostBack Then" statement. The form that is created is all via static html in the user control. The problem is, no matter what even when no data is filled out in the form, the submit...more >>

Page reload
Posted by Mike Voissem at 5/26/2005 2:15:13 PM
I'm lost with how to do this. I'm trying to reload a page after a user completes their transaction and clicks on a button to create another transaction. I want all the fields on the form to be re-initialized so the user may enter another transaction. Do I need to initialize all of the fields ...more >>

Cookie Test
Posted by Aaron Fleming at 5/26/2005 2:04:51 PM
In classic ASP I have set a session variable, redirected to another page and requested the session variable. If it wasn't there ... redirect accordingly .. if so .. log in .. Is there a way to quickly test for session/cookies in ASP.NET ...more >>

Access denied attempting to launch a DCOM Server
Posted by c.verma NO[at]SPAM gmail.com at 5/26/2005 1:50:52 PM
I have a web based (forms based authentication) asp.net application that uses .NET remoting. It has web.config.remoting with all the required settings in it. As soon as it tries to access the website, it threw an error: Access denied attempting to launch a DCOM Server. The server is: {000C101C-...more >>

Process is not executing
Posted by Pratibha at 5/26/2005 1:36:30 PM
Hi, I want to execute commands through .NET. Using process, i can execute them in WindowsApplication but the process doesn't work in WebApplication. I am executing a batch file which contains some commands to be executed. They don't have any UI and works in backgroud. Can you guys tell...more >>

Ascynchronous Call Back
Posted by John Wright at 5/26/2005 1:29:01 PM
All, I had a website implementing the ICallBackEventHandler with the corresponding GetCallbackEventReference. On my web form I had two text boxes, one to enter text the other to read the returned text all done without reposting to the server. Now I have the FrameWork 2.0 Beta 2 release ...more >>

Printing a document from the WEB server
Posted by Shawn at 5/26/2005 1:12:21 PM
I have an application that allows users to download multiple documents stored on the web server. I have now been asked if it is possible to send the documents directly from the web server and to the printer instead of the users having to download the documents first and then manually send them t...more >>

IE Window Always Opens Minimized
Posted by MrMike at 5/26/2005 12:41:01 PM
Hi. I have a hyperlink control (lnkViewLogData) which is assigned the following attribute when the page loads... Me.lnkViewLogData.Attributes.Add("onClick", _ "javascript:window.open('Input_New_Record_CustomerInformation.aspx?CustomerID=" & Me.lblCustomerID.Text & "','myWin','');") ...more >>

how to find if a variable is an INT or a CHAR
Posted by mark at 5/26/2005 12:09:54 PM
i create a table on the fly using sql, using syntax like :- commitmentsstring = commitmentsstring & "<tr><td><FONT face=""Arial"" size=""2"">" & ds.Tables(0).Rows(counter)(2) & "</FONT></td>" & "<td><FONT face=""Arial"" size=""2"">" & ds.Tables(0).Rows(counter)(3) & "</FONT></td>" & "<td><F...more >>

Help on "Support Incident"
Posted by Diffident at 5/26/2005 11:29:52 AM
Hello Guys, I have an issue with one of the EDP's (Exam Delivery Providers) for Microsoft Certification exams. Someone on this group has suggested me to open a support incident to voice my concern to Microsoft. Can anyone please give me directions on how I can open a support incident? D...more >>

Shared functions vs Non-Shared Functions
Posted by tshad at 5/26/2005 11:05:08 AM
I am setting up some of my functions in a class called MyFunctions. I am not clear as to the best time to set a function as Shared and when not to. For example, I have the following bit manipulation routines in my Class: ********************************************************************...more >>

How to create ASP.NET installer --msi
Posted by Sukh at 5/26/2005 10:46:51 AM
Hi, I tried to create msi using VS .net deployement project but it throws error 1706...... Can any one help me to create msi using VS.NET. any link or tutorial for the same, would help me lot. Thanks Sukh. ...more >>

I feel I am stupid
Posted by ad at 5/26/2005 10:46:14 AM
I have 50 web page in my project, there always a DataGrid in every page. The PreRender event is the same all of the DataGrid I have copy/paste the code of PreRender many many times. I think there must be a method instead of copy/paste How can I reuese the event for all the DataGrids ? ...more >>

OOP Book for beginner?
Posted by Lynn at 5/26/2005 10:35:03 AM
Hello, I am using asp.net, but am struggling quite a bit, and need to get a better handle on OOP... Can anyone recommend a good book on OOP for a beginner? Don't have a programming background. Thanks! Lynn ...more >>

Can I restore minimized browser window via script?
Posted by Bill Borg at 5/26/2005 10:31:05 AM
I have a simple chat application. "Host" program has a timer and listens for new requests for chat. The host user will typically minimize that window when there's nothing happening, but I'd like to provide a visual cue (e.g. explode the window) when a new request shows up. I think I can *ma...more >>

how to compile code codebehind files without visual studio
Posted by sarojanand NO[at]SPAM gmail.com at 5/26/2005 8:58:50 AM
Hi, I have created a project (abc) in my wwwroot folder on my system. From visual studio, i am able to run and view this page. Now I have deployed on wwwroot folder and for this I have edited some code(in .vb pages) according to the new path. Since these pages are no longer part of the proj...more >>

how to recompile my code after deploying it on my website
Posted by sarojanand NO[at]SPAM gmail.com at 5/26/2005 8:54:43 AM
Hi, I have created a project (abc) in my wwwroot folder on my system. From visual studio, i am able to run and view this page. Now I have deployed on wwwroot folder and for this I have edited some code(in .vb pages) according to the new path. Since these pages are no longer part of the proj...more >>

Difficult Sorting Situation in Datagrid
Posted by Lars Netzel at 5/26/2005 8:51:54 AM
I have a Datagrid using the Edit/Update mode to alter data in the datasource. I needed to have a bit more flexible interface in the editmode with a design that couldn't work in the columns. So I fixed this by only having ONE template column (plus the edit button column) and then have html t...more >>

asp.net and XHTML
Posted by Alex D. at 5/26/2005 8:42:05 AM
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro. ...more >>

User Object and page onload event
Posted by UJ at 5/26/2005 8:41:55 AM
I have a page that I am going to convert to a user object that works just fine. Problem is it displays a prompt by checking a hidden text field on load to see if it should display it. Which means I have a piece of JavaScript in the head section plus an onload= in the body tag. How can I get ...more >>

Reading UTF-8 Data from XML file
Posted by Matt Hollingworth at 5/26/2005 8:22:03 AM
We have an XML file that contains text in various languages , ie English, French, German and Chinese etc. We currently have a StringWriter object that reads this in and transforms against an XslTransform object. the problem arises when we encounter Chinese characters; these characters just c...more >>

determining datasource item count within ITemplate
Posted by Alex at 5/26/2005 7:43:34 AM
I'm working with a repeater control that contains dynamically created custom composite controls. Within the ITemplate.InstantiateIn() method I need access to the repeater's datasource's item count. Does the framework allow access to that data -- short of writing that number in a session variab...more >>

JavaScript On Post Back
Posted by thomson at 5/26/2005 7:32:30 AM
Hi All, I do have a button control, which has a post back and has to do some server side validations also. I need to attach some client side scripting also , where it can be called only on the post back For eg: In the click of the server side control, i do some validations ...more >>

Newbie using too many tools! Need to call page from page
Posted by Jozef at 5/26/2005 7:20:45 AM
Hello, Aside from the fact that I'm a newbie to web development, I've been thrown into the middle of learning old ASP, ASP.net, Javascript and HTML. I have an asp page that I'll call "download.asp?idItemID=4" What I'm trying to do is have a button on this page that will either download ...more >>

Search question?
Posted by Rudy at 5/26/2005 7:00:04 AM
Hello all! I posted this question on the SQL boards, got some great answers, but I thought I would also try here, since I'm using asp.net/vb.net. I'll try to lay this out a simple as possible. I think before I was approaching it the wrong way. I have 3 ddl's that have values from my databa...more >>

User Control... HELP???
Posted by Tim::.. at 5/26/2005 5:35:01 AM
Can someone please help.... I'm having major issues with a user control I'm tring to create! I an trying to execute a sub called UploadData() from a user control which I managed to do but for some reason I keep getting the error: Exception Details: System.NullReferenceException: Object re...more >>

Format Date from DB
Posted by Wayne Wengert at 5/26/2005 5:03:54 AM
I have an aspx page in which I retrieve data from an SQL Server. At one point I am retrieving a smalldatetime field and I want to display only "mm/dd/yy" but the default seems to be to add the time. The code to retrieve that date field is: <%#Container.DataItem("LastUpdated")%> I tried add...more >>

Dynamically add RadioButtons in Repeater
Posted by Christiaan Nieuwlaat at 5/26/2005 4:47:01 AM
Hi everyone, Could you please help me with this? I need to create a table in which resultdata from a sql server table can be shown and/or edited by using controls, for instance the radiobutton. To do this I use an Repeater and another repeater nested in it. All works well when I create th...more >>

Browser problem or dotnet bug?
Posted by ChrisC at 5/26/2005 3:18:31 AM
I have an aspx page with a couple of controls on it and also an iframe within it. When one of the dotnet buttons is clicked I navigate the iframe to a different location by using the src attribute. The problem I am experiencing is this - in windows 2000 using IE (fully patched) when the iframe...more >>

scheduling
Posted by androoo at 5/26/2005 2:57:16 AM
Hi I would like some design advice for this problem. I host my website on a remote host and have an aspx page that searches daily for data and inputs data into the database. I run this page by going into it every day. I would like to have this page fire the event to search and input data ...more >>

ASP.NET ImageButtons not firing
Posted by martin at 5/26/2005 2:42:02 AM
I have a page with a imagebuttons on it - works fine on my dev machien IIS5 I ahve deployed to test server IIS6 and button does not fire at all in IE. It has rendered a html input tag. I open same page in Firefox and it does work. So is this a problem with IE or the IIS6 server/asp.net con...more >>

accessing controls in web forms user control
Posted by arvee at 5/26/2005 2:26:28 AM
Is there a way to access controls (and their properties) in a user control? The Web Form Designer marks controls as 'Protected' which makes them inaccessable from the host form. If I mark them as Public, I can access them, but the next time the controls are manipulated in the design mode, they ...more >>

Storing complete tree in session
Posted by foldface NO[at]SPAM yahoo.co.uk at 5/26/2005 1:01:32 AM
Hi I have the problem at the moment that I have to build a page with all its dynamic buttons etc in order to get postbacks on those buttons, then rebuild the control tree in response to any possible postback. What if I just stored the complete Control tree structure in the session? Alterna...more >>

All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer
Posted by Rob Nicholson at 5/26/2005 12:59:40 AM
This is a question about the following KB article: http://support.microsoft.com/kb/q262161 We've got a problem with the Infragistics NetAdvantage presentation controls which they've suggested it related to this KB article. But I'm not sure this is correct but I'd like to just confirm what ...more >>

Server.MapPath: Returning a URL instead of a HD Location
Posted by Nathan Sokalski at 5/26/2005 12:13:46 AM
When using the Server.MapPath() method, the results being returned are given as locations on my hard drive. I would like to be returned a result that is a URL, in my case something like the following: http://localhost/WebApplication1/WebForm1.aspx Instead, I am recieving results that are s...more >>

copy *.sln project to other computer.
Posted by John M at 5/26/2005 12:05:17 AM
Hello, I have problem when copying the sln application to other computer. The project is on directory phones. The other computer cannot even open the application : doesn't find the application in the directory : webapplication1. How can I copy applications between 2 computers ? Than...more >>


DevelopmentNow Blog