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 > december 2003 > threads for monday december 29

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

Passing long text from Client to Server
Posted by sunil NO[at]SPAM itb-india.com at 12/29/2003 11:41:25 PM
Dear All, I have a Web application that has a long Text field. User can put in any amount of data in this field. Is there a way to compress the value of the field from client side and send it to the WebServer and back? Is there any efficient method of using long fields in Web Pages? Pleas...more >>


Searching by DATE problem
Posted by les at 12/29/2003 11:14:11 PM
I have a form to search records by date of birth. The form has 3 dropdowns for day, month and year: Dim strDOB as string = ("'" & dobday.selectedvalue & " " & dobmonth.selectedvalue & " " & dobyear.selectedvalue & "'") strDOB=DateTime.Parse(strDOB) strSQL = "SELECT * FROM table1 where d...more >>

OT: Web Host w/Large Email
Posted by Mark Jerde at 12/29/2003 11:01:00 PM
Sorry if this is off-topic and/or the wrong newsgroup but I've surfed for hours... I need to find a .NET web host with large limits on email attachments and mailbox size. Our current host's maxes are 6 MB attachments and 20 MB total mailbox size. I know it sounds ridiculous but these are too...more >>

GAC Question
Posted by Mark Irvine at 12/29/2003 10:09:40 PM
Hi, When adding an assembly (using gacutil) to the GAC, does the source assembly have to be in a specific place? The problem I have is as follows: Created an assembley and a Strong Name Source assembly is held in the bin directory of the web app Try to run the code (even from other web app...more >>

how do I popup a window w/o using client-side script
Posted by Shawn Mason at 12/29/2003 7:06:48 PM
I have a requirment to utilize popup windows for edit/add screens from datagrids. I have accomplished this using client-side javascript. I have been told this is not acceptable and I must do it another way to avoid the possiblity that someones popup blocker may make the program not function co...more >>

emailing in ASP.NET
Posted by Farooq Khan at 12/29/2003 6:12:47 PM
hi, i'm using CDONTS component for emailing through one of my web service like this // Start of code // 'email' is the CDONTS object name email.send(EmailFrom.ToString(), EmailTo.ToString(), Subject.ToString(), Body.ToString(), 1) // End of code the above call throws an exception w...more >>

MSDE Authentication
Posted by Anthony P. Mancini at 12/29/2003 5:51:51 PM
Does anyone know how to make the MSDE do SQL authentication ? It appears to authenticate using Windows at all times. Thanks, Anthony ...more >>

CSP Could Not Be Found
Posted by Dave Davidson at 12/29/2003 5:32:43 PM
I just modified my web.config to impersonate a local Windows account and am getting the error below when navigating to a page. We have a Development network where my impersonation works great - the errors occurred on our Test domain. I've already uninstalled and reinstalled the .NET Fram...more >>



iis 5 virtual directory on samba share
Posted by jon wackley at 12/29/2003 5:30:37 PM
Hi All, Hope that this is the correct group to post this in, I'm quite stuck and have tried a great number of things including the MS knowledgebase, google, and other resources. I created a samba share and pointed an iis virtual directory to it. I access the directory by creating a new w...more >>

asp.net automatically perform action based on a date
Posted by nitro NO[at]SPAM calderglen.net at 12/29/2003 5:13:41 PM
I am currently doing an assignment for my scripting module at univercity. The project is to create an auction site (I've just based mine on ebay) in asp.net using vb. One of the "extra mark" sections is that the auctions should automatically end on a certain date and time. Is there a way ...more >>

Session_OnEnd is not being called
Posted by Martin at 12/29/2003 5:06:36 PM
Hi, Since I went ASP.NET with my global.asa (making it a global.asax) the application events are called just fine as well as the Session_OnStart event but the Session_OnEnd event is not. What is wrong? My global.asax looks like this: <%@ Application src="app.cs" Inherits="mwte.App" %> ...more >>

add <body onunload="blah();">
Posted by Oleg Ogurok at 12/29/2003 4:49:42 PM
Hi all, Is there a way to add a client side onunload statement into the <body> tag of a page? Thanks. -Oleg. ...more >>

table into another dataset
Posted by Marty McDonald at 12/29/2003 4:44:58 PM
I execute a method that returns a dataset, but I want the table in another dataset. Clone won't work because it does not include data. Can I somehow use the existing table in another dataset without getting the "table already belongs to another dataset" error? Thanks! --Marty ...more >>

Problem of throwing an exception (System.Net.Sockets.OverlappedAsyncResult::CompletionPortCallback)
Posted by VincentWong at 12/29/2003 3:55:50 PM
hi all, We're getting a security exception (An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll) on a asychronous callback(System.Net.Sockets.OverlappedAsyncResult::CompletionPortCallback).T his exception occurs when our control is embedded within a...more >>

Suggestions on Learning ASP.net
Posted by CB at 12/29/2003 3:52:59 PM
I have little more than batch script experience. How do I learn ASP.NET? Any good books, classes? Where do I start? ...more >>

Debugger not stopping at break points in VS2002?
Posted by Kathy Burke at 12/29/2003 3:49:58 PM
Hi and sigh...sorry if this is considered OT, just hoping other Visual Studio users could help me with this. All of a sudden when I'm debugging (asp.net) in VS2002 my breakpoints don't work. I've researched it and seen others with this problem, but no answers yet, other than the "workaround" f...more >>

Anyone see the problem with this line????
Posted by dave at 12/29/2003 3:40:41 PM
sScript.Append("myOpener.doReload('1','" + ContID + "');" & vbCrLf) ...more >>

Copy HTML of a table
Posted by Steve at 12/29/2003 3:26:43 PM
Hi Guys, I've got a table control on a page and I'm trying to copy the exact contents of this table to another table control. Is this possible or do I need to loop through the first table and copy row by row, cell by cell? Thanks in advance!!! Steve ...more >>

How to get the display value of button column in DataGrid?
Posted by JL at 12/29/2003 3:22:41 PM
Hi all, I created a datagrid for information display, the layout as following, Button column:sales_no Datatextfield: sales_no CommandName: sales_no How can i get the clicked cell of "button column" contained sales no value? Thank you very much. PS. Except to use datakeyfield method...more >>

a class inherited from ArrayList, is saved to ViewState, why the type of the object read from ViewSate is not the class, but the parent, ArrayList
Posted by leal ting at 12/29/2003 3:08:03 PM
a class inherited from ArrayList, is saved to ViewState, why the type of the object read from ViewSate is not the class, but the parent, ArrayList [my email address lealting@hotmail.com] the class inherited from ArrayList public class Fields: ArrayList { public Fields() {} } ...more >>

Framesets - server side control?
Posted by Sue at 12/29/2003 3:03:57 PM
Is there such an animal as a frameset/frames server-side webcontrol or htmlcontrol? I have a frameset with two frames - one contains an aspx page with asp buttons that has to do some updating, then change the aspx in the second frame to another aspx. I've been trying various ideas without...more >>

How to make FileSystemWatcher Wait for Completion
Posted by DesignLink NO[at]SPAM earthlink.net at 12/29/2003 1:50:22 PM
I have a FileSystemWatcher set and working with the OnFileCreated event. Only thing is, it launches too quickly! I'm copying MP3 files into a directory (the directory that the FSW monitors) and seeing as how the files being copied are somewhat large, the OnFileCreated event doesn't wait until...more >>

Request is done twice randomly
Posted by Captain Chaos at 12/29/2003 1:36:54 PM
Sometimes i call a Page, the request is done twice. I happens randomly after a view serverroundtrips. Any Idea ? ...more >>

GAC / Windows Installer
Posted by Robert H at 12/29/2003 1:26:43 PM
Hello all, I have a strange problem I have come across. when trying to remove an assembly from the GAC, i get an error that it is required by other applications. I then tryed to use the command line tool gacutil.exe with the parameters '/u' to uninstall. And got the message "Pending re...more >>

code behind again
Posted by wei at 12/29/2003 1:24:24 PM
thank Carl. do you mean there is no good way to reach the same goal as the Response.Write does in code behind except adding a label on it? ...more >>

code behind
Posted by wei at 12/29/2003 1:12:01 PM
Hi folks: i tried to rewrite the following code with code behind. i moved the c# piece to Page_Load method. but i always got the user's name attached at the top of the page. it was supposed to be at the bottom of the page. how can i do? thank you very much! <%@ Page Language="C#" %> <html>...more >>

Logical "or" with RegularExpressions
Posted by mg NO[at]SPAM theworld.com at 12/29/2003 1:09:14 PM
Is there a Regular Expression that matches either an integer [0-9]+ OR some letters [a-zA-Z]+ followed by a COMMA followed by some letters [a-zA-Z]+ That is, for example, either 12345 OR aBc,xyZ ??? ...more >>

How can I achieve Rowspan capabilities using the ASP:Repeater control
Posted by ericlangland NO[at]SPAM hotmail.com at 12/29/2003 1:06:58 PM
Hello, I have the following dataset that I want to bind to a repeater to be displayed as a table. Owner Animal Volume --------------------------- Eric Dog 6 Eric Cat 3 Eric Gerbil 1 Eric Bird 10 Jenny Dog 2 Jenny Cat ...more >>

project files
Posted by Philip Townsend at 12/29/2003 1:00:13 PM
I need to create a project from an existing website, but Visual Studio will not allow for this. The IDE looks for a project file, and if it cannot find one, it will not open the site (unlike Visual Interdev). Importing the entire site is not a suitable option either, due to the size of the site ...more >>

File Open Dialog box
Posted by Krishna at 12/29/2003 12:51:18 PM
Hi I want to open the file open dialog box when i click the asp.net button and when i select the particular folder, i want full path in the textbox besides it is there anyway we can accomplish this task appriciate any help from Pro Krishna...more >>

Using FileStream object to read JPEG File from Https location.
Posted by Mark at 12/29/2003 12:41:18 PM
Hello all - This has been frustrating me long enough that I'm willing to appeal to the gurus out there to put this in my rear view mirror. I'm trying to access a JPEG file that I have within my website but need to show within a Crystal Report. I setup a disconnected dataset that has 1 column a...more >>

Request.Querystring does not return extended characters
Posted by Navanith at 12/29/2003 12:34:32 PM
Hi, I wrote a simple aspx page that dumps query string to the browser. Following is the globalization section in web.config <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> Here is the problem:- If I manually type URL (IE 6.0) with sp...more >>

Intermittent loss of session variables and cookie contents
Posted by sdrga NO[at]SPAM msn.com at 12/29/2003 12:32:09 PM
My application (relevant code snippets below) originally used Session variables in order to maintain state from page to page. After being unable to solve the mystery of why those variables were intermittently inaccessible, (all Session variables gone, not using InProc Session state mode), I move...more >>

forms authentication
Posted by Francois Malgreve at 12/29/2003 12:21:18 PM
I want to force anyone who gets in my website to login if he did not log in yet. Like is he is accesssing a page "dummy.aspx", he will be redirected to the login page if did not log in yet. I configured my web.config as following but i can still access dummy.aspx without being redirected to...more >>

IIS and Norton
Posted by Philip Townsend at 12/29/2003 12:00:09 PM
I recently installed Norton Internet Security on my development machine. I have used similar firewall products in the past without difficulties. This product, however, rendered my IIS useless. I was unable to access development projects on my localhost. Furthermore, I was unable to access the II...more >>

Input mask on a text box?
Posted by Russ at 12/29/2003 11:57:46 AM
Is it possible to create a input mask on a text box? If a user enters a date like this 060103 I would like to see it automatically converted to 06/01/03. In Access if you set a input mask to 99/99/00;0; when the cursor enters the cell you see __/__/__ . That is the functionality I am trying ...more >>

Problem maintaining dataset in session variable
Posted by John Holmes at 12/29/2003 11:40:53 AM
I have a web interface where the user types in ID's one at a time. After an ID is typed in, a button is clicked and the button click event has code that does a query and returns a data reader and then appends the data to a dataset that is built in the Page_Load code in the if(!isPostBack) block. ...more >>

Div element and value
Posted by Palli at 12/29/2003 11:33:43 AM
Hi there... I have a little problem! Im developing a asp.net web and=20 I=B4ve a div tag that looks like this; <form id=3D"UpdatePopup" method=3D"post" runat=3D"server"=20 enctype=3D"multipart/form-data"> .... <input class=3D"btnBold" onclick=3D"toggleBold (this.form.lstNews)" type=3...more >>

Session problem
Posted by Uzi Baruch at 12/29/2003 11:20:42 AM
Hi! Is there an embedded way to check if a session ends? i have an standard ASP.NET application and i want to check if the session has expired on every "Click" that the user did, and force him to login when the session no longer exists. Thanks, Uzi ...more >>

ViewState Questions
Posted by neo at 12/29/2003 11:20:19 AM
hi, I am studying ASP.NET and have few questions - 1) The session ID and values of controls is stored in VIEWSTATE variable. So now when we put EnableViewState="false" in Page directive and disable the session state in Web.Config the VIEWSTATE variable is still maintained and stores some va...more >>

12 tables on aspx page: A performance hit?
Posted by Jason Shohet at 12/29/2003 11:16:15 AM
Someone in my group created an aspx with 12 tables on it, each with several rows in the table. In codebehind, we often make 1 or more tables visible / invisible. (However within each table, there is no need to make individual rows visible / invisible). I always believed that tables are much mo...more >>

page width & height
Posted by Dundappa at 12/29/2003 10:57:25 AM
hi all, Can any one help me in setting the page width & height in asp.net (language used is vb) Thanks in anticipation. ...more >>

Loading a new form
Posted by WJK at 12/29/2003 10:26:15 AM
I am trying to load the next form within the vb code in asp.net. In VB 6 I would have coded "show frmTry" and to unload unload.me. I am using this from a loggin program ...more >>

CSS doesn't work on dynamicly added user controls
Posted by Henke at 12/29/2003 9:56:30 AM
Hi! I add some web user controls dynamicly with: myPanel.Controls.Add(Page.LoadControl("MyDynamiclyAddedPage.ascx")); the style of the controls on the user control is set from a css-class, by setting the CssClass-property, but they doesn't display properly. If the user control is added at...more >>

Error handling in application_error, use session variables?
Posted by Michael at 12/29/2003 9:44:15 AM
Hello, In my handled exceptions (using try/catch), I would like to be able to log certain variable values when an error occurs, to make debugging easier. I'm using the sub application_error in global.asax to output to a log file every time an error occurs. It would be easy for me to assign ...more >>

Access Denied
Posted by dave at 12/29/2003 9:34:21 AM
When I start a VS.net web app (with or without) debugging, about half the time I get Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Comp...more >>

Could not load type: 'HelloWorld2.Global'
Posted by rhughes NO[at]SPAM excite.com at 12/29/2003 9:14:53 AM
I created a HelloWorld app on localhost that just has a textbox, button and label and it works fine on localhost. I tried to copy the app to the server and I started getting the 'Could not load type' error. I've researched the problem on the internet but I can't find the solution. - The DLL e...more >>

download an XML file Using fileStream
Posted by dorsa_kh NO[at]SPAM yahoo.com at 12/29/2003 8:40:36 AM
HI, Could you please tell me the error in here. I am trying to open an XML file from a link. Response.Clear() Response.Expires = 0 Response.BufferOutput = False Response.ContentType = "text/xml" Response.AddHeader("Content-Disposi...more >>

Textbox has "focus"
Posted by Darin at 12/29/2003 8:40:11 AM
I have an html page (warehouse.htm) that has 2 frames (header.aspx and checkstock.aspx). When warehouse.htm opens, and the other 2 aspx pages load, I want the cursor to be sitting on the first textbox (titem) in checkstock.aspx. How do I do that? I have tried setting the tabindex of titem to 0...more >>

ASP.NET process identity does not have read permissions to the global assembly cache
Posted by jwpostit NO[at]SPAM yahoo.com at 12/29/2003 8:31:46 AM
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted c:\inetpub\wwwroot and rebooted before reinstalling. I created a new virtual directory from with...more >>

asp.net vs asp
Posted by Pamela Polk at 12/29/2003 7:32:41 AM
This is a basic overall question. Please note I am new to ASP! I am currently running IIS 5/Access 2000/Windows 2000 and have developed a web application. From what I have been told, to really emulate a master/detail form, the best way would be to use ASP.net to do so. 1. is that t...more >>

Fonts installed on the web client???
Posted by yuri vanzine at 12/29/2003 7:12:40 AM
Hi all, developing a multilingual app in .net and relying on the .NET cultures. There is a need to determine programmatically whether or not the browser client-side supports a particular font, for example "Are asian fonts installed? If yes, display simplified chinese as a viable option....more >>

How to open an RTF file using ASP .NET
Posted by Amintas Lopes Neto at 12/29/2003 6:04:40 AM
Hi everybody, I am unsuccessfully trying to open an RFT file using ASP .NET 2003. The data stored in the database is like this: {\rtf1\ansi\deff0\deftab720{\fonttbl{\f0\fswiss MS Sans Serif;}{\f1\froman\fcharset2 Symbol;}{\f2\fswiss Arial;}} {\colortbl\red0\green0\blue0;} \deflang1046...more >>

ASP.NET process identity does not have read permissions to the GAC
Posted by JerryW at 12/29/2003 4:31:19 AM
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I created a new virtual directory from within IIS (e.g. WebTest). Then I tried to create a new Visual C# ASP.NET Web Application pointint to the location http://localhost/MyWebTest. I get an e...more >>

Change Web.config value programatically
Posted by mg at 12/29/2003 4:10:27 AM
How can I change the value of "timeout" in Web.config <sessionState timeout="20" /> in one deployed app (project A) from a method call in a WebForm (C#) that's running in another deployed app (project B) on the same server....more >>

highlighting arow
Posted by reiks at 12/29/2003 3:17:47 AM
My requirement is to highlight a row in a datagrid upon clicking it and the cursor should remain in teh same row for editing. I dont want to use a select buton column or link button in my datagrid. How to acheive it? Is it possible to do so? Plase suggest few good on,lline books for ...more >>

update
Posted by reiks at 12/29/2003 2:09:45 AM
How to update multiple rows in a datagrid and send back those changes to the database?...more >>

storing`passwords in cookies
Posted by Jason at 12/29/2003 2:02:45 AM
I have a .net application with forms authentication. I need to store the password entered at the login screen for later use. I can either store it in a session object or in the forms authentication ticket. I think the ticket is the right place because the password is a property of the user...more >>

datarow-datgriditem
Posted by reiks at 12/29/2003 1:49:21 AM
I want to convert a datagriditem object to a datarow. is it possible? ...more >>

Parser Error Message: Could not load type - please HELP
Posted by mp at 12/29/2003 12:51:04 AM
I have aspx file VS.NET 2002 with c# My application works perfectly on my pc. Please, I need help... THANKS :) ============================= 1) I would like to know what is minimum files what I must transfering on server ( aspx and what else?) 2) When I tried to put all on brinkster server i...more >>

Sql Server multiple XML result sets to ADO.NET
Posted by randall g at 12/29/2003 12:40:25 AM
I have a stored procedure which returns multiple result sets, enclosing each in its own tag. This works in ADO but not ADO.NET, where an error is returned by ExecuteXmlReader: "Invalid command sent to ExecuteXmlReader. The command must return an Xml result." The procedure looks like this: ...more >>


DevelopmentNow Blog