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
all groups > asp.net > may 2005

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

Problem showing confirm dialog on button webcontrol's onclick even
Posted by Tarun Upadhyaya at 5/31/2005 10:09:01 PM
Hi, I am facing strange problem I read Scott mitchell's article about ASP.NET and javascript at http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/clientsidescript.asp where he has talked about creating a base class for displaying alerts and confirms after...more >>


Email reminder from ASP.Net C# website.
Posted by Adhik Kadam at 5/31/2005 9:47:51 PM
Hi, I developed site using ASP.Net, C# and SQL Server and MS Access. Site is kind of existing customer of a service provider. Currently its hosted on server where we have MS Access as backend. Now I have to send reminder to customer present in the database of payment due for today / payme...more >>

regular expression
Posted by JB at 5/31/2005 9:45:30 PM
Please can anybody help me with this. I have a form that reads the numbers of team members. The numbers logic is that it is 1 to 3 digits long. The first and the last digit can not be 0. I don't get a regelar expression to work. Examples 0 does not match 1 matches (as do the digits 1 to...more >>

Conn.Close & Conn.Dispose
Posted by Simon Harris at 5/31/2005 9:44:55 PM
Hi All, Do I need to use both Conn.Close() & Conn.Dispose() when I have finished with an SQL connection? -- I am using the free version of SPAMfighter for private users. It has removed 2425 spam emails to date. Paying users do not have this message in their emails. Try www.SPAMfighter.c...more >>

Advanced Books
Posted by Luis Esteban Valencia at 5/31/2005 9:43:45 PM
Hello. I wish to buy some advanced .net or c# books.. I am interested in design patterns, windows services and more advanced topics. Thanks ...more >>

writing files
Posted by Shaun Wilde at 5/31/2005 8:56:04 PM
What sort of permissions do I need for an ASP.NET application to write a file to a network drive/create folders etc? i.e. via \\mymachine\sharedrive\ or a mapped drive Thankx Shaun ...more >>

asp.net control and javascript
Posted by Aaron at 5/31/2005 7:26:25 PM
how dependent is asp.net controls on javascript? If I understand correctly some of the postback features will not work with js disabled. is asp.net 2.0 any different? Could someone verify this Thanks, Aaron ...more >>

multiple insert in access
Posted by tpafr at 5/31/2005 6:34:32 PM
Hi, I would like to insert multiple rows in an Access DB from a datagrid (or a txt file) It is very slow for large number of insertions(5000 -> >30 seconds !). Is there another way to do this myOleDbConnection.Open(); string sqlst="INSERT INTO TUsers (IDUser,Pwd,...) VALUES (@IDUser, @Pwd,...more >>



Uploading a Photograph
Posted by Simon Harris at 5/31/2005 6:18:50 PM
Hi All, I will shortly need to build an app, which will need the ability to upload a photograph and tie it a record. (User database). This much I can do. As this will be used on a public ticket gate, it needs to work as fast as possible, the steps would be to take the photo, then download ...more >>

DLL (COM) with .Net
Posted by Thanker at 5/31/2005 4:43:09 PM
I need to rebuild a COM Dll, which is consumed by many ASP pages, and desktop applications. By simply calling the CreateObject,... from each application. The requirment is to use the .Net // C# To do a same funtional DLL, While keeping in mind that it should be still accessable from for a...more >>

Page dependent on values is user control
Posted by Net Developer at 5/31/2005 4:17:50 PM
I have a page with some controls on it including a user control. I've got image links that are dependent on values in the user control. How can I make the page controls dependent on the user control when page onload is called before the user control onload?...more >>

div and datagrid
Posted by JIM.H. at 5/31/2005 4:14:02 PM
Hello <div style="BORDER-RIGHT: thin groove; BORDER-TOP: thin groove; Z-INDEX: 212; LEFT: 8px; OVERFLOW: auto; BORDER-LEFT: thin groove; WIDTH: 680px; BORDER-BOTTOM: thin groove; POSITION: absolute; TOP: 544px; HEIGHT: 314px"> I used this Div on top of my datagrid so that datagrid can be s...more >>

ASP.net Question
Posted by mavrick101 at 5/31/2005 4:12:36 PM
Hi, I have an ASP.net page. After submitting the form and saving all the form values I want to give user an option to enter more records ( like reloading the page with empty fields and clear viewstate) Is there a way to clear the Page of the existing values or do I have to do it manuall...more >>

Error tracing on page
Posted by Patrick at 5/31/2005 4:03:59 PM
I understand it is built in behaviour that if an ASP.NET's web.config is set to: <customErrors mode="RemoteOnly" /> then I only get a detailed error message on screen when the ASP.NET application is executed on the IIS server itself. However, I note that with the follo...more >>

Stored procedure error:
Posted by Child at 5/31/2005 4:02:33 PM
Hi, I am getting the error: "Procedure or function spAddActivity has too many arguments specified. " on a stored procedure insert. I compared the number of parameters in the function and the SP and they match. I compared the type of the parameters and they match. I then made sure that every...more >>

DataGrid Button Control
Posted by Niggy at 5/31/2005 4:01:58 PM
I have a button set up with the datagrid Property Builder with a Command Name of "Hey", however the following code does not work: Private Sub DataGrid1_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.ItemCommand I...more >>

DataGrid and links...
Posted by ltt19 at 5/31/2005 3:53:32 PM
Hi. I have a DataGrid control that has one HyperLinkColumn, and this page has a "default.css" loaded, so, the link Style of the DataGrid is the same of the css document... but I want to change it, the link style of the Datagrid must be different from the others.. Even if I set all the format...more >>

calander question about getting the day of the seected date
Posted by Kurt Schroeder at 5/31/2005 3:53:25 PM
Hi, quick question: this, calSelect1.SelectedDate.DayOfWeek, will return the numeric day ofthe week for a given calander called calSelect1. is there a function or method that can give me the text value for day of the week? so that 0 returns sunday, 1 monday, ...? thanks kes...more >>

specific cast is not valid
Posted by Paul at 5/31/2005 3:52:58 PM
Hi I am trying to access a dropdown control in a table and am using the code below but get the error specific cast is not valid. Dim ctrl_dpn1 As DropDownList ctrl_dpn1 = CType(Me.Table1.FindControl("lst_bx_dest"), DropDownList) just wondering if anyone has any ideas, thanks. -- Paul G So...more >>

Causing an event to fire
Posted by Patrick at 5/31/2005 3:52:07 PM
In asp.net, I have a hyperlink, hypTradeDate. This calls a Calendar page that has a calendar control. Anyways, it is using some javascript to set the field, TradeDate.Text. Anyways, my problem is that I have an even hander on TradeDate.TextChanged. This isn't getting fired from the javascr...more >>

ASP.NET Session ?
Posted by Kevin Jackson at 5/31/2005 3:27:37 PM
Does accessing a session variable multiple times during the processing of a page incur a hop each time it is accessed in State Server and SQL Server modes? Or does the roundtrip occur just once and then the variable used from a session cache for the rest of the request? Is the session writ...more >>

WinDbg and XmlText objects
Posted by thejeffross at 5/31/2005 3:21:02 PM
I have a memory problem that keeps causing server resets, so I'm using WinDbg to figure out what the problem is. When I look at the heap, WinDbg tells me that there are over one million XmlText objects, each taking up 20 bytes. If I do a memory view of one of them, I get this: 10017c58 7c...more >>

Access Denied. unable to start debugging on the web server
Posted by Luis Esteban Valencia Muñoz at 5/31/2005 3:14:25 PM
I cant debug on my machie. Machine Estacion15 domain se I am member of vsdebuggers, vs developers and advanced users on machine and domain, aspnet user is also member of those groups Please help Software: vs.net 2002 on a W2000 professional box. with sp4. ...more >>

Can I e-mail an Outlook Calendar Event?
Posted by Paul D. Fox at 5/31/2005 3:00:48 PM
I've seen how you can send e-mail through ASP.NET, but how about sending an Outlook Calendar event after the "Submit" button is pressed? Does anyone have a small sample of this? Paul ...more >>

Using the back button from the internet explorer
Posted by Microsoft at 5/31/2005 2:51:30 PM
Hi, I have written a C# web app and need to simualte the Back button. Like : Response.Redirect; Except: Response.Back; I found that I need to use the History.Back but cannot get it to work Any help would be great! Thanks, Bryan ...more >>

Do you give clients source code?
Posted by VB Programmer at 5/31/2005 2:42:40 PM
Typically, when you are done with a client's website, do you give them all of the source code, if they ask for it? Do you, as the developer, legally own it, or do they, because they paid you to create the ASP.NET website? (I live in Florida) Thanks... ...more >>

How to link an asp:textbox to an asp:imagebutton in a User Control
Posted by Alex D. at 5/31/2005 2:23:39 PM
Does any body knows how to link an asp:textbox to an asp:imagebutton, both inside a User Control in asp.net 2 beta 2? So when a user enter some text in the textbox and press the "Enter" key the corresponding button click event is launched? Tnx. ...more >>

How to send email from Client side?
Posted by dgk at 5/31/2005 2:14:22 PM
I know how to send emails from the server side, but how would I pop up the user's email client and populate the sendto and subject fields?...more >>

Web.Config Block Certain Problem
Posted by xenophon at 5/31/2005 2:08:27 PM
I am trying to permit directory access for one single user only and local Administrators. Right now the current web.config code blocks everyone. User TESTDOM2\testusr1 is a member of TESTDOM2\group1. How can I fix this? <location path="utility"> <system.web> <authorization> ...more >>

Novice question
Posted by Greg Smith at 5/31/2005 1:53:21 PM
Hi I have what I am sure is a really stupid question, but, here goes. I am creating a database application. To allow people to edit records, I run a stored procedure and populate the text boxes on the form. After the data is edited I try to run a stored procedure to update the record. The ...more >>

multiple .vb files into one .dll using vbc.exe
Posted by Matt at 5/31/2005 1:25:44 PM
If I don't have access to Visual Studio .Net, but I need to compile all my ..vb files into one .dll, how would I do this? I know how to do this for one .vb file using vbc.exe, but what about more than one .vb file? Thanks. Matt ...more >>

Thumbnails in good quality
Posted by IkBenHet at 5/31/2005 12:38:53 PM
Hello, I want to make thumbnails from images. I found this code and modified it and it works fine: <%@Import Namespace="System.Drawing.Imaging" %> <script language="VB" runat="server"> Function ThumbnailCallback() as Boolean Return False End Function Sub Page_Load(sender as...more >>

Parser Error
Posted by Vincent Vinet at 5/31/2005 12:09:43 PM
I have built an aspx/vb web application in Visual Studio and it works fine on localhost. Once I moved it to a different server, I have received this error: ---------------------------------------------------------------------------- -------------------- ---------------------------------------...more >>

Return value before reading DataReader
Posted by tshad at 5/31/2005 11:42:37 AM
I am trying to set up a class to handle my database accesses. I can't seem to figure out how to get the return value from my dataReader from these routines (most of which I got elsewhere). They do work pretty well, except for the change I made to get the return value. For example, I have ...more >>

dire need of help
Posted by Fetty at 5/31/2005 11:07:32 AM
I have a dynamically created child grid inside of a grid. Each cell may or may not have a date in it. How do I make that date a hyperlink? Eack column has to have different links? ...more >>

adding parameters
Posted by tshad at 5/31/2005 10:07:05 AM
When I normally set up my Sql statements and parameters, I would normally do: Dim objCmd as New SqlCommand("AddNewResumeCoverTemplate",objConn) objCmd.CommandType = CommandType.StoredProcedure objCmd.parameters.add("@ClientID",SqldbType.VarChar,20).value = session("ClientID") objCm...more >>

Execute Javascript AFTER click event
Posted by Ian Kelly at 5/31/2005 9:45:09 AM
Hi All, I have an .net form that is split into two frames. The left frame has a tree that displays a list of all the customers. The right frame displays the appropriate clients information. When the save button is pressed on the right frame, I want to update the tree in the left frame AFTE...more >>

DataGrid command events
Posted by Nirubama Bakthavatchalam via .NET 247 at 5/31/2005 9:22:52 AM
Hi, can anyone post solution for the above problem? Thank you, Niru. (Type your message here) -------------------------------- From: Nirubama Bakthavatchalam ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>B4DxUvuClkWu2twfImMhvw==</Id>...more >>

Dataset lost in visual studio 2005 after updating a SP...
Posted by Jéjé at 5/31/2005 9:19:33 AM
Hi, My dataset become corrupted after I have a storedprocedure. The error is: Failed to load dataset because of the following error: Cannot convert '' to type 'System.String' (there is no specific line in the XML code identified) I have changed a storedprocedure to add a parameter, then ...more >>

Remoting Problem
Posted by Ron L at 5/31/2005 9:11:15 AM
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying to use remoting for our access to the SQL server, with the remoting being via IIS. Since all of o...more >>

positioning controls
Posted by Paul at 5/31/2005 9:04:19 AM
still trying to figure out how to do this as I have a grid that gets data from a dbase and can change in size. I have controls that I always want to be just below the grid, with no gaps. This is a webform so thinking html may take care of it. When only a few items are returned to the grid I g...more >>

Microsoft Enterprise Library with ASP.NET
Posted by belius at 5/31/2005 8:48:14 AM
Hi all, I am building an ASP.NET internet application and I am considering the opportunity to use the Exception Handling Application Block and the Logging Application Block to handle the exception through the layers (BLL,DAL,WEBUI). My doubt is: Are they the perfect solution for this kin...more >>

page.init vs page.load
Posted by UJ at 5/31/2005 8:47:59 AM
I've got a page with a user control on it. While the page is loading, it needs to check certain conditions of the user object to enable/disable things on the screen. Currently in the page_load of the user control I do things like read from the database on the first load, set some internal va...more >>

ASP.net and Printing Landscape
Posted by Eric at 5/31/2005 8:34:24 AM
We have a customer requirement that the final paperwork from an ASP.net application is formatted and printed Landscape. What is the best way to achieve this? What are my options? Thanks ...more >>

subdomain url rewriting?
Posted by Leon at 5/31/2005 7:39:24 AM
Is it possible to allow my website user's to enter the site using a subdomain name such johndoe.mywebsite.com then a automated script in the Global.asax file within the Application_BeginRequest redirect the user to mywebsite.com/index.aspx?username=johndoe? if so then how? I kind of know...more >>

DataGrid Next Page
Posted by Niggy at 5/31/2005 7:30:08 AM
My datagrid has page numbers as navigation, but they don't work. Do I have to code this (if so - how) or is something wrong with the datagrid? Thanks....more >>

passing variables between pages
Posted by lacombpcs NO[at]SPAM juno.com at 5/31/2005 4:31:06 AM
I have a web app that searches a database and returns a datagrid table. the user inputs the search terms into a textbox. The user selects the info he wants and it sends him to a 2nd page, after another selection it goes to a 3rd page. I have been able to pass the search term in my textbox back a...more >>

ASP.Net 2.0 + HttpHandler + PreCompilation
Posted by Patrick at 5/31/2005 3:50:05 AM
Hi you all, I'm facing a litle problem with a custom httpHandler for ASP.Net. The application will be precompiled for deployment, so I won't have any .aspx files which contain code or anything else. BUT the user can/may create such files (dynamically - filebased CMS), which should be execut...more >>

MSHTML Editor
Posted by I am Sam at 5/31/2005 2:57:01 AM
Is MSHTML Editor supported in ASP.NET? I've been trying to activate MSHTML Editing in the browser using jscript but have been unable to successfully activate it. I've been using a tutorial from msdn so I know the syntax isn't wrong. ...more >>

inserting record through pop window question and then forcing refresh
Posted by Patrick Olurotimi Ige at 5/31/2005 12:52:01 AM
I have a webform with DropDownLists and and i would like to have a link that would open up a window popup for the USER to insert some data into the Database and then on closing the popub window or clicking the save button i would like to force the main page to refresh so that the Data would s...more >>


DevelopmentNow Blog