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 > february 2004 > threads for monday february 16

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

Security roles
Posted by Andrew Banks at 2/16/2004 11:48:58 PM
Can anyone point me in the direction of a good tutorial/guido using security roles with forms authentication in C# I have an admin section to my website and would like two levels of admin. I'm currently detecting a filed in the DB and if the user doesn't have full access rights, I hide the l...more >>


Add a Row to DataGrid
Posted by Jon at 2/16/2004 11:41:51 PM
Hi, Working on a shopping cart app. I'm using a datagrid on the shopping cart page with boundcolumns to display Product name, cost, quantity etc - that all works fine. However I want to add a row to the bottom of the grid to display cart total, so I'd end up with something like this Product ...more >>

asp.net forums or similar
Posted by Luke Smith at 2/16/2004 11:39:36 PM
is there a asp.net free source project similar to phpnuke that can use ms access database instead of sql server? ...more >>

Remembering Events
Posted by Prince at 2/16/2004 11:33:09 PM
I have a form with an <asp:textbox id="name" /> control. I then have the TextChanged event wired for it. If a user modifies any text within the control, the event fires. Within the event handler, I flag that the text has been modified. ex. bool nameModified = false; name_TextChange...more >>

Compiler error CS0007
Posted by Ritish at 2/16/2004 11:06:06 PM
when i try to run .aspx page as http:/localhost/forst.aspx, iget a compiler error as CS0007:Common language runtime initiazation error.What is this error and how to correct it?I have got .NET Framework SDKv 1.0.2905 installed on windows XP,iis version 5.1,IE 6.0...more >>

ARGH! Images to and from SQL Server
Posted by Jordan Bowness at 2/16/2004 10:59:08 PM
Can anyone tell me why this doesn't work? It appears to post, but my ..asp page I use to retieve the image pulls up nothing. Here's the posting snippet: ======= begin ======= '\\ turn our posted file into an image: Dim ourImage As System.Drawing.Image = S...more >>

Use process class to run batch file in web server
Posted by Z0gS at 2/16/2004 10:11:05 PM
I use the following code to run a batch file on the server side but it not working. The code is working fine on a c# window console program. Can anyone help me? Process myProcess = new Process() myProcess.StartInfo.FileName = "C:\\mapDrv.bat" myProcess.StartInfo.CreateNoWindow = true myProcess...more >>

Server application unavailable
Posted by Troy at 2/16/2004 10:05:52 PM
I seem to be getting this message a lot on my asp.net application. Anybody know how to resolve this. It seems that if I let the application sit for a while and then open a new browser and open the aspx page I receive the message... -- -- Regards, Troy...more >>



How to trigger a postback from javascript
Posted by NWx at 2/16/2004 9:46:29 PM
Hi, How can I make a page to postback automatically, using JavaScript? I need a JavaScript function as handled to page_load, but I don't know what code to write to trigger postback. Can anyone help me? Regards ...more >>

How to get most info from exception
Posted by Jonah Olsson at 2/16/2004 9:44:28 PM
Hi guys, For my VB.NET application, I created an ErrorHandler class that should save all available information about the last error occurred. I use Server.GetLastError for this. The problem is that I quite often get errors that I really can't say why they happen because of the lack of informa...more >>

span's problem...
Posted by tonyshimmer NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/16/2004 9:37:30 PM
Hi i have this code, which when i click the button ( just an example), the span doesnt change...Can some1 help me ~ . I am thinking of could it be the problem of the button. There is no response of the button event...can anyone give me some advise pls.. <Form Runat="Server"> <Button Id="Butto...more >>

ASP.NET v ASP v CGI - limitations
Posted by sales NO[at]SPAM trevoroakley.com at 2/16/2004 9:11:04 PM
I have just started using a book entitled "Teach Yourself C# Web Programming" and I find C#/ASP.NET very easy and powerful. I am learning C# and ASP.NET using this book. I also have Visual .NET software. I wonder why C#/ASP.NET is not more widely used. Most sites I see use ASP, or HTML, somet...more >>

SmartNavigation problem
Posted by Mark Goldin at 2/16/2004 9:06:04 PM
I am trying to use SmartNavigation="true" in my Page directive. My page has two radiobuttons. Both buttons have AutoPostBack enabled. When I am clicking on the buttons they are changing data source for a treeview. (assigning different XML file). When I use localhost everything works properly, bu...more >>

Accessing web form via Apache
Posted by dan at 2/16/2004 8:46:48 PM
Is is possible to access asp.net web forms through Apache? As I understand it, aspx forms generate html in response to internet requests. This html is then sent back to the client. Is IIS integral to this process, or can you get the same results if you reach aspx's URL via Apache? If so, what, if...more >>

SmartNavigation
Posted by Mark Goldin at 2/16/2004 8:34:59 PM
Is there any disadvantage of using that attribute? Thanks ...more >>

return a data value to a 'parent' window?
Posted by Steve Bywaters at 2/16/2004 8:31:44 PM
I'm attempting to do a lookup, using a javascript-launched child window to enable the user to select a value, then return that value to the parent/launching window. Pictures... to demonstrate the issue: http://users.bigpond.net.au/stevebywaters/image1.gif shows the first window. The operator ...more >>

ASP.net comparisons (ANN?)
Posted by Chad Z. Hower aka Kudzu at 2/16/2004 8:29:43 PM
I debated over whether or not to post this on the .ann group or not. Its not an announcement as I am really looking for feedback only on the asp.net relative portions. This does of course require the user visit web pages about a product for ASP.net. We have recently released an ASP.net rela...more >>

Get selected index of specific item before display
Posted by martin at 2/16/2004 7:37:42 PM
Hi, I have a dropdown control tha is rendered with the follwoing HTML <select name="FirstStep:CmbTargetGroup" id="FirstStep_CmbTargetGroup" style="width:152px;"> <option value="1">Martin</option> <option value="2">Chris</option> <option value="5">adrian</option> <option value="7">Tony...more >>

should I bind datagrid to array or temporary dataset?
Posted by AFN at 2/16/2004 7:25:35 PM
I need to manually create the data to be shown in a datagrid (or some data table object). Should I create an array and bind the array to the datagrid OR should I create a temporary dataset and bind that to the datagrid? I have never done either (usually I get a recordset from a stored proce...more >>

"View State Invalid" Error While Submitting Form thru JavaScript
Posted by Vinod I at 2/16/2004 7:15:31 PM
Hi Team, When I tryed following code, I am getting the Runtime Error as "The View State is invalid for this page and might be corrupted." Exception Details: System.Web.HttpException: The View State is invalid for this page and might be corrupted. Stack Trace: [HttpException (0x80004005): The...more >>

How to make a page stay open only for few soconds, then redirect automaticaly to another page
Posted by NWx at 2/16/2004 6:01:26 PM
Hi, I'd like to have an ASPX page to open to show a message to the user, then, after few seconds, to automatically redirect to another page. How can I do this? Thanks? ...more >>

colapse menus
Posted by DionĂ­sio Monteiro at 2/16/2004 6:00:28 PM
Hi there, Does anyone know if the ASP.NET framework has an object to make those msdn like menus? You know, those tree collapsible menus? Thank you. Dio ...more >>

Image display must be displayed 200 pixels wide...
Posted by Trint Smith at 2/16/2004 6:00:10 PM
I need to display an images from a database on my page that should always be displayed as 200 pixels wide eventhough the actual images vary in size...Can you help me? Thanks, Trint VB.VS.Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don...more >>

Need Urgent Help: fatal error CS0008
Posted by hb at 2/16/2004 5:55:34 PM
Hi, I have been working on the ASP.Net project for months with VS.Net 2003 = in C#.=20 But this afternoon I suddenly got the following error when I tied to = compile the=20 whole solution: =3D=3D=3D ------ Build started: Project: GofBiz, Configuration: Debug .NET ------ Preparing resourc...more >>

how to use old INPUT tags
Posted by Brad Williams at 2/16/2004 5:50:44 PM
I want to see posted values from old-school INPUT tags, but when I do this: <form id="Form1" method="post" runat="server"> <input type=text id="test1" value="hello" > <asp:Button ID="btnSubmit" Text="Submit" Runat="server"></asp:Button> </form> in the btnSubmit_Clicked callback I d...more >>

Deploy Asp.Net site when multiple sites exist on server
Posted by holysmokes99 NO[at]SPAM hotmail.com at 2/16/2004 5:43:44 PM
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver in any place other than the default website? I do not want to install it there as our IIS has multi...more >>

Problem creating ASP.NET App with Visual Studio.NET 2003 and Windows XP Pro
Posted by umilmi81 at 2/16/2004 5:41:05 PM
I am having a problem creating an ASP.NET application in Visual Studio.NET 2003, installed on Windows XP Professional I get a message stating that I do not have ASP.NET 1.1 installed, so I can not create web applications I downloaded the update that is supposed to install ASP.NET 1.1, but I'm st...more >>

Detect if cookies are enabled
Posted by NWx at 2/16/2004 5:35:45 PM
Hi, How can I detect is cookies are enabled or not in client browser? Thanks? ...more >>

Text in listboxs disappear...
Posted by Trint Smith at 2/16/2004 5:19:24 PM
The text in some of the controls, when I click on a different one, disappears?? Like the password textbox and the File1 browse control... Any help is appreciated. Thanks, Trint .Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don't just...more >>

subst command or maybe network access issue
Posted by Chris at 2/16/2004 5:19:05 PM
I'm trying to open an xml document on my computer. It is on a subst drive f. I get a System.IO.DirectoryNotFoundException when I try to open the file. When I switch to the C drive it works fine. I gave aspnet user admin right to make sure it wasn't a permission problem but I am still getting ...more >>

<authentication mode="Forms" /> and file access
Posted by Anton ml. Vaheie at 2/16/2004 5:17:24 PM
How do I convince (what I have to set in asp.net server) that my program that is using <authentication mode="Forms" /> can write to, copy, etc. files in directories on local disk? I have given full permisions to local directory (IUSR_Machinename user), but I still get: "System.UnauthorizedAcc...more >>

Pop out msgbox
Posted by Phoebe. at 2/16/2004 4:53:14 PM
Sub DataGrid_ItemCreated(ByVal Sender As Object, ByVal e As DataGridItemEventArgs) Select Case e.Item.ItemType Case ListItemType.Item, ListItemType.AlternatingItem, ListItemType.EditItem Dim myDeleteButton As LinkButton Dim myTableCell As TableCell myTa...more >>

Dates displaying in US format
Posted by Sheila Jones at 2/16/2004 4:50:19 PM
Hello, I have written a webpage that displays details of some files on the webserver. It includes the following lines: FileInfo fi = new FileInfo(file); cell.Text = fi.CreationTime.ToString(); It works OK, except that the date is displayed in US format (month/day/year), not UK form...more >>

Cookies from an ASP page coming in weird
Posted by Chris at 2/16/2004 4:38:51 PM
I have an aspx page that is called from an asp page. When I read the httpcookie in asp.net I get the dashes and slashes converted to a "%3" and such. Is there was way to convert it back to normal or am I reading in the cookie the wrong way? This is how I am reading it in WorkDir = Request...more >>

Radio button question
Posted by Steve Chatham at 2/16/2004 4:27:28 PM
I have a combo box that gets populated with a group of items based on a sql table. I had in mind that I'd insert a value at the beginning of that combo box, that'd say "No Item Selected" and that when the selected index property was changed, to automatically populate a datagrid below that comb...more >>

cell.VerticalAlign
Posted by DionĂ­sio Monteiro at 2/16/2004 4:17:39 PM
Hi there, I was trying to define the VerticalAlign property of a cell (programatically) but it doesn't work. This is the code that seemed logical: TableCell cell = new TableCell(); cell.VerticalAlign = "Top"; It doesn't work! How can I do it? Now that I'm here, is it possible to creat...more >>

Loosing Session values across Applications
Posted by Windjammer at 2/16/2004 4:16:07 PM
I seem to be loosing my session variable as I move from one application to another The first application presents a menu of applications the user is authed for When I call the next application and try to retrieve the username from the session variable I get nothing; the value is null I have trie...more >>

Unable to create/open web projects ?
Posted by WJ at 2/16/2004 3:34:46 PM
My system is an XP Pro. with the lattest patches & Service pack applied. 1. I have IIS installed with XP first. 2. I have .NetFW 1.1 installed next via Windows Update. 3. I have VS.Net 2003 EA edition installed last. VS.Net had been working fine, it could create Windows Form and Web form & ...more >>

Pass events or data to IFRAME
Posted by Peter at 2/16/2004 3:27:55 PM
I have a webform on this form is a User Control and another webform in IFRAME On the User Control there is a save button. I want to click this button and somehow tell the webpage in IFRAME that the button was clicked, how would I do that? (in other words I want to save the webform data in IF...more >>

First hit on site is very very slow after sessions time out
Posted by Earl Teigrob at 2/16/2004 3:24:47 PM
The first time any of my web apps are hit, they take a long time (45 seconds) for the JIT compiler to compile them. After being hit the first time, they are very fast. My boss is starting to think that .NET is crap because every time he goes to hit the Intranet, it takes so long to compile the c...more >>

Find client IP, client name, browser, referrer from ASP.NET
Posted by NWx at 2/16/2004 3:21:01 PM
Hi, I have a ASP.NET application using forms authentication Default page is default.aspx, and login page is login.aspx As I perform authentication in Login page, I want to update a log table with both successful and unsuccessful logins. As usual, client computer connects first to default....more >>

Errors in ASP.NET
Posted by DaMan at 2/16/2004 3:10:11 PM
I have a ASP.NET page with a TRY / CATCH in it essentially the code reads TRY do code CATCH ex as EXCEPTION label1.TEXT = ex.MESSAGE myresult = ex.HRESULT <<< error! END TRY I need to find the exact error number stored in EXCEPTION.HRESULT, however it is not an available fi...more >>

Template based solution in asp.net
Posted by Abhishek Srivastava at 2/16/2004 2:59:13 PM
Hello All, In almost all websites which I have developed, we need to follow a layout template (header, footer, menu on left hand side etc) In ASP.NET solutions, we can do this in two ways 1) use user controls. But frankly, making a "control" which renders a table of width 100% with a...more >>

Is there a Server Side hidden input?
Posted by Dan at 2/16/2004 2:36:48 PM
Is there a way to access and set a hidden input types in the code-behind page for ASP.Net? This seems like a common thing that would need to be done, I must be missing something obvious. Basically, I need to have some sort of server side hidden input type component which I can set in the co...more >>

Web config in web application
Posted by rosl NO[at]SPAM panztel.com at 2/16/2004 2:27:45 PM
The default application on my web server contains its own web config file with a timeout of 20 minutes. I have another application which also has its own web.config file. I want a timeout of 10 minutes. However, I can see that the application is not using its own web.config but is using the p...more >>

Text field validation
Posted by Big E at 2/16/2004 2:25:01 PM
I'm using SQL Server and ASP.Net. I would like the users when typing in their passswords to enter in: 1. At least 6 characters 2. At least 1 number 3. At least 1 letter. I have looked at the validator controls and can't find a example. Any ideas or articles? Thanks. Erik ...more >>

how to get username ?
Posted by luna at 2/16/2004 2:05:34 PM
in vb its system.environment.username - whats the equivalent in aspx with code behind (VB) ?? cheers mark ...more >>

Format Numbers?
Posted by Keith at 2/16/2004 1:58:20 PM
Is there a way to trim the number of digits that are returned from a = calculation? Currently the result is displayed in a label and looks = like the number below: 0.733812949640288 I would like to just return 73 and then I could concatenate a % at the = end. I have tried the Trim funct...more >>

dateTime data size.....
Posted by Jimmy Crider at 2/16/2004 1:48:59 PM
Here is my code.... mycommandObject.Parameters.Add("@MydateCoulmn",SqlDbType.DateTime, x).Value = "my date value" what should be the x value in the above code. My backend database is SQL Server. thanks, Jimmy ...more >>

checking the null values in the database column............
Posted by Jimmy Crider at 2/16/2004 1:45:59 PM
Hello all, Here is my code to check the Null value in a column. Please let me know the way I coded can be fine tuned. If Not Covert.IsDBNull(mycommandObject.Parameters("MycoulmnName").Value) then MyTextBox.Text = mycommandObject.Parameters("MycoulmnName").Value End If Thats the way I co...more >>

Auto code generation overrides my control in base class
Posted by mirek at 2/16/2004 1:19:05 PM
Hi, I'm looking for a workaround on following problem: my page derives from base page class, this base class has a web control member and on every derived pages in html I put a tag with id of this control. But when I switch to design mode and save th page. The control is auto generated in t...more >>

Individual CheckBox Web Controls ..HELP
Posted by bebop at 2/16/2004 1:16:05 PM
I'm using three checkbox web controls in C# .NET and one button, and one labe Is there a way to "group" these individual checkbox web controls If so, do I use a for loop, hashtable, array, etc What I'm looking for is how to determine what checkbox was selected from the three checkbox web con...more >>

Endless session
Posted by Mircea Pleteriu at 2/16/2004 1:14:31 PM
Hi all, Does anybody know how to configure the session so that the session will never expire? ...more >>

Function return question.
Posted by Thomas Scheiderich at 2/16/2004 1:13:02 PM
I am curious as to why ASP.NET returns values a different way from VB or VB.net (or can you use both). In my one book I have it returning using a return statement *********************************************************** function RollDie As Integer Dim Roll As Integer Randomize Roll...more >>

Design help please
Posted by john at 2/16/2004 1:09:05 PM
Hello, We have a site that needs a combobox that links to a dataset that has up to 4000 records in it. We are coding in vb.net. We have tried the one from metabuilder but the combobox displays a text box and drop down on the autopost back. We also tried http://www.codeproject.com/aspnet/co...more >>

script placement
Posted by Thomas Scheiderich at 2/16/2004 12:56:19 PM
In one of my ASP.NET books, it states that one of the differences between ASP.NET and classic ASP, is that in classic you can have script code anywhere in your html page. But that in ASP.NET, it must precede the Body of the page. I have one here called rolldice.aspx which works fine with t...more >>

CS1595: "x is defined in multiple places..." w/ ascx controls
Posted by Jouni Heikniemi at 2/16/2004 12:55:18 PM
Hi, This has been asked before, in <http://groups.google.fi/groups? selm=ureiu7b04kv839%40corp.supernews.com> for example; however, I haven't found any real answers, so I'll post this with some new data. I've encountered strange behavior with .ascx control files. If I have two controls ...more >>

Different results if you have String or a Varient for Dates?
Posted by Thomas Scheiderich at 2/16/2004 12:50:00 PM
I have the following page as test.aspx: *************************************************** <html> <head> <title>Hello and Welcome Page</title> </head> <body> <center> <% Dim CurrentDate As String CurrentDate = Today %> The current date is <%=CurrentDate %>.<br> </center> </body> </ht...more >>

Web Mail client(IMAP)
Posted by kapila Wijethilaka at 2/16/2004 12:48:07 PM
Can anybody give me details ,codes and urls for developing a web based(Asp.net c#) mail client who uses IMAP4 protocoll to retrieve mails from Exchange server. thanks -Kapila ...more >>

pre-process to ASP.NET...
Posted by Paul Colton at 2/16/2004 12:28:41 PM
I want to pre-process some of my pages using some custom code, then output the ASP.NET page so the regular ASP.NET handler takes care of it. I'd like for page caching, etc. to work as normal. What's the best approach? -Paul ...more >>

How is Page.IsPostback implemented ?
Posted by Pravin at 2/16/2004 12:22:55 PM
Hi, I have a doubt that how does ASP.NET find out whether the page is accessed for the first time or the page is due to a post back event, and then set the IsPostBack property ? Any ideas. Pravin. ...more >>

WebRequest.Create and timeout
Posted by Bob at 2/16/2004 12:20:28 PM
I've got to use the http protocol to communicate with another machine as part of a Web Service using HttpWebRequest and HttpWebResponse. As such, timing is important. When I create the HttpWebRequest as shown in the help example: Dim myReq As HttpWebRequest = _ WebRequest.Create...more >>

About Web Service with Win App
Posted by ElanKathir at 2/16/2004 11:50:46 AM
Hi, i developed one the web Service and Call the web Service from a Windows application and release the Windows Application, Now i am going to change my web service, these Web Service's are update in my Windows System or Not ? Thanks & Regards, Elankathir. ...more >>

Are there any suitable newsgroups to find developers?
Posted by Gareth Lloyd at 2/16/2004 11:46:12 AM
If anyone knows of a newsgroup where developers could be contacted re work/projects I'd be grateful for the information. I'm not finding it as easy as I thought it would be to find one. Perhaps I'm not using the right search terms.... gareth@tigerbay.demon.co.uk ...more >>

Sort a datatable and create a new datatable
Posted by Fredrik Rodin at 2/16/2004 11:37:42 AM
All, I've been looking around for a solution to my problem for a couple of days now. In short, here's my situation: 1. I'm getting a result from a component back as a datatable and I have no option to sort the different columns during the call to the component. Code-snippet: Dim dTab...more >>

Bug or security concern related to upload of binary files and IHttpModule?
Posted by Kenneth Myhra at 2/16/2004 10:50:39 AM
Hi all, We are trying to make an ISAPI Filter, in .NET by implementing the IHttpModule interface, that will authorize the request for certain binary file types (GET), this is working fine. But we also want it to authorize the upload of binary files (PUT), The problem with the PUT-scenario is that...more >>

RegEx question: force format for ##-XXX-####
Posted by danna NO[at]SPAM aggienetwork.com at 2/16/2004 10:49:36 AM
I have used Regular Expressions very little! I have a textbox that I want to limit the data entered to be a date in the format as such: 14-Feb-2004 Two numbers {dash} Three characters {dash} Four numbers I don't care about checking for validity. I have tried the RegEx Library website bu...more >>

Problem with a SMTP server in ASP.NET application
Posted by Hrvoje Vrbanc at 2/16/2004 10:26:02 AM
Hello all, I have a simple ASP.NET application that should send an e-mail on submit using Mail object. I have configured the application to use a SMTP server located on the same machine. However, when executed, the script returns an error: "The server rejected one or more recipient addresse...more >>

calendar...
Posted by ajaymehra at 2/16/2004 10:09:44 AM
Hi, My calendar control shows me days from other months - like on complete row of dates from next month. I dont want that to show up.... Any ideas.... ajaymehr ----------------------------------------------------------------------- Posted via http://www.mcse.m --------------------------...more >>

Thumbnail Generator Web service
Posted by Vicky at 2/16/2004 10:08:07 AM
HI , i have made a thumbnail generator webservice. Its free and anyone can access it from http://www.indiaresult.com/webservice/thumbnailgenerator.asmx Vicky ...more >>

newbie namespace question
Posted by katie at 2/16/2004 9:51:10 AM
Hi, I'd like to place a method in a namespace which I can easily call from any of my asp.net pages. The method formats a string, and I'd like to just call it with a string without instantiating a new object ie: string Message = "hello world"; Message = MyNameSpace.MyMethod( Message ); How...more >>

How to prevent download of images on my pages.
Posted by moondaddy at 2/16/2004 9:29:24 AM
I have images that I need to prevent the user from doing a right click and selecting "Save Picture As"? How can I do this? -- moondaddy@nospam.com ...more >>

DataBinder.Eval question
Posted by dm_dal at 2/16/2004 8:55:12 AM
I have a control on my webform that I am binding to a dataset. The issue is, the field value in the dataset is encrypted and I am trying to decrypt it during the binding process: Example: <asp:Lable ID="myLable Text='<%# myComponent.Decrypt(DataBinder.Eval(myDataSet, "Tables[MyTable].Defa...more >>

Exception of type System.OutOfMemoryException is thrown
Posted by Stan at 2/16/2004 8:51:07 AM
There are several pages that occasionally start throwing System.OutOfMemoryException and another exception related to storage. The problem goes away after iisreset or terminating aspnet_wp.exe worker process. - There is plenty of memory and disk space on the webserver - worker process is hig...more >>

Query String Problem\VB
Posted by George at 2/16/2004 8:31:46 AM
I am trying to check whether a query string is being passed to my .aspx page, like so: If Not Request.QueryString Is Nothing Then If CInt(Request.QueryString.GetValues("values")(0)) <> 1 Then Response.Redirect("../somepage.htm") End If Else Response.Redirect("../somepage.htm")...more >>

ASP.NET Version 1.1 error
Posted by trellow422 at 2/16/2004 7:51:11 AM
Hi All I have .NET 2003 installed on my laptop. I have successfully created regular C# and a VB .NET applications. I am attempting to create an ASP.NET web application using VB and I get the following error when I try to create a new project "Visual Studio .NET has detected that the Specified...more >>

Return Key in ASP.NET
Posted by Joe Erpenbeck at 2/16/2004 7:51:10 AM
On an asp.net page, when focus is in a text box and the user presses return, then a postback occurs and the first ImageButton on the page handles the event. I would prefer that nothing happens. I don't really understand why another control is handling the event anyway Can anyone help me out with...more >>

No debug on Server 2003...tried everything
Posted by Amil Hanish at 2/16/2004 7:28:14 AM
Don't reply to this unless you know what you are talking about. Installed brand spanking new 2003 Server. Configured to be application server. Then installed Visual Studio .NET. Copied over web application from another server and set up normal web site. When I try to debug the applicatio...more >>

Client event handlers and parameters
Posted by Mark Goldin at 2/16/2004 7:05:45 AM
I am assigning a client event handler like this: this.Treeview.Attributes.Add("onselectedindexchange", "executeClick()"); Can specify parameters for it? LIke this: this.Treeview.Attributes.Add("onselectedindexchange", "executeClick(parms)"); Thanks ...more >>

ASP.NET Version 1.0 / 1.1 parallel installation
Posted by George at 2/16/2004 6:11:06 AM
Hi I would like to install both versions of the .net framework, but all websites should use the older (1.0) version by default. Only a few websites should use the newer version, that I want to set explicit in the web.config file. I tried to set <requiredRuntime> and <supportedRuntime> in the w...more >>

How can I traverse through all of the checkboxes in my datagrid using javascript?
Posted by johngilmer NO[at]SPAM yahoo.com at 2/16/2004 6:08:23 AM
I posted this question to comp.lang.javascript but didn't get a response, so I'll try here. I am using ASP.NET and I have a datagrid. One of the columns in my grid is all checkboxes. When the user clicks on a certain button on the page, which is not in the grid, I want to be able to traverse ...more >>

Impersonation doesn't help.
Posted by Dmitri at 2/16/2004 5:56:09 AM
It seems I got stuck with interesting problem. I'm trying to send email using System.Web.Mail and connecting to my mail on different server (not IIS Smtp Server). Now my problem is, if I run my code in winforms application it works perfectly, but if i put exactly same code into my web application...more >>

Screen Image To Fax
Posted by Jim Heavey at 2/16/2004 5:35:03 AM
Hello, I was looking for some sample code or an article that someone might be able to point me to as to how I might be able to go about translating a screen image to a graphic's image wich I could fax. Any suggestions would be greatly appreciated!!!!!!!!!...more >>

Do I need to delete my cookie before re-adding it?
Posted by Ben Amada at 2/16/2004 5:08:31 AM
Every time a user visits a particular page, I'm using the code below to add a cookie that expires in 1 day. My question is, a user may visit this page a few times within one day. Before adding the cookie each time, do I need to delete the previous cookie? Or will the new cookie just overwrite ...more >>

newbie: what is postback for??
Posted by wtumaxi NO[at]SPAM forum.dk at 2/16/2004 4:52:09 AM
Just starting to learn asp.net but i dont understand what postback is for. I have never in asp.old, php or perl etc. sent the user back to the same page when a submit button is clicked. Does asp.net insist on this in order to do automatic validation of inputfields, or is there some other expla...more >>

newbie issue - asp.net file displays as source
Posted by aacool at 2/16/2004 4:21:54 AM
Hi, I just setup the .NET framework for asp.net. I have programmed regular csharp and ado.net programs before. I use the Borland CSharpBuilder IDE I am having a problem that must have a simple solution.- any aspx file I create within the IDE and then Run, opens as source in Internet Explor...more >>

Form Authentication
Posted by slawek xxxxx at 2/16/2004 3:41:03 AM
Hello everyone, I have found a problem with form authentication method that I can't solve. The problem is: I want to use a form authentication in my application, so i set : <authentication mode="Forms"> ,and <forms name="LoginForm" loginUrl="SM_LoginPage.aspx" protection="All"> but th...more >>

top level div allowed in a user control?
Posted by foldface NO[at]SPAM yahoo.co.uk at 2/16/2004 2:24:48 AM
Hi I want to have a div as the main element of a user control, I'll be manipulating this div via javascript within that file. At the moment I get the message: Per the active schema, the element 'div' must be included within a parent element. Do I need to contain the div within somethin...more >>

Session singleton causing cast exception
Posted by tomcat NO[at]SPAM phiz.org.uk at 2/16/2004 12:52:56 AM
I've put together a class (based on the singleton pattern) for accessing data in an ASP.Net session but am running into a very weird problem. I've put together a small(ish) segment of code that reproduces the problem (see below). The singleton (CSession) provides two static methods; one for p...more >>

simple namespace question
Posted by Katie S at 2/16/2004 12:16:07 AM
I have a method that takes a string, formats it and returns it I want to use this in multiple ASP.NET pages, by putting it in a namespace and using that in each asp.net page What I don't understand is how to write that namespace so that I can reference that method elsewhere by simply writing st...more >>


DevelopmentNow Blog