microsoft.public.dotnet.framework.aspnet Archive - April 2002
Post a message to this list
Messages
Page: 1234567891011121314151617181920
2122232425262728
ASP.NET Cache in a Web Farm. (3 replies)
microsoft.public.dotnet.framework.aspnet
I'm concerned about using the ASP.NET cache in a way that may limit my application scaling accross a web farm. Is the cache machine specific, or does it share itself accross multiple machines all running the same application? If not, does anyone have a good strategy for using the cache in a web farm scenario? My concern is that I cache a value (say within an object's property procedure) on one mac...
Format a date in datagrid? (3 replies)
microsoft.public.dotnet.framework.aspnet
All I want to do is change "3/30/02 14:23:28" to "03/30/2002". I can't figure out the formatting code for this. I can barely figure out how the formatting expressions work, intuitive it is not. It's for the DataFormatString Property of the DataGrid object.
datagrid and built-in paging (3 replies)
microsoft.public.dotnet.framework.aspnet
Is it possible to use the simple built in paging option with an advanced datagrid that uses Template Columns (ItemTemplates, HeaderTemplates, etc)? I find the "custom" paging option using a sproc and advanced methods is inaccurate if you should happen to return a small number of records.......I'm having a lot of problems w/ it. Thanks!
Problem in ASP .NET with SQL 2000 (4 replies)
microsoft.public.dotnet.framework.aspnet
Hi All, I am facing the problem below in ASP .NET with SQL 2000 Exclusively. I did not face this problem on SQL 7.0 or Access 2000. It only appear on SQL 2000 systems. I think it is related to security. Is there special setting that I must make for SQL 2000 only to solve this problem. erver Error in '/WebApplication10' Application. Login failed for user '......\ASPNET'. Description: An unhandled e...
Got error when reference to textarea.value... (2 replies)
microsoft.public.dotnet.framework.aspnet
Please help. I'm struggling with the following issue: I got the error: System.NullReferenceException: Object reference not set to an instance of an object. That is because (at the the line of my code): oCmd2.Parameters["@BugDescr"].Value taBugDescr.Value; I couldn't figure out why... Here's how declare my textarea in "codebehind" file: protected System.Web.UI.HtmlControls.HtmlTextArea taBugDescr; ...
DAMN VS.NET BUG! (16 replies)
microsoft.public.dotnet.framework.aspnet
I'm almost in a I hate VS.NET state right now. Now it (VS.NET) has done it AGAIN. Just as I'm working, VS.NET (ASP.NET) has erased a whole page (aspx) leaving only a few lines of code in it. This is not the first time VS.NET has done this!!!!!!!!!!! So many hours of work just gone in a second. I've been working with Delphi for so many years now ... I've never ever had to make a backup of my projec...
I'm a newb (2 replies)
microsoft.public.dotnet.framework.aspnet
First off, I'm a n00b.....to .NET. Anyhow, I am trying to build a web front end for an application in .net. In a nutshell, all the info I am trying to display the web page is dynamic, the issue I am struggling with is how to programmatically build different web server controls on the same page. Essentially, I am trying to build an on line survey where I query our database (through a class which ou...
Setting focus (3 replies)
microsoft.public.dotnet.framework.aspnet
This is a bit trivial, but I like to have the first input box already have the focus when a user hits a page, but I have not been able to do this with the built in text box webcontrols in asp.net (the address bar gets initial focus). JavaScript can conveniently set focus to a generic HTML input element in the onload event of the body element, however I do not see how client side JS can manupulate ...
DataGrid issue (3 replies)
microsoft.public.dotnet.framework.aspnet
I have a page with two datagrids. And one of them is having the issue with sorting. In the datagrid I have linkbuttons as the items. Whenever I click on the header to sort, it fires itemcommand event instead of sortcommand event. Any ideas? Thanks a lot, Lenny
Error Message question (3 replies)
microsoft.public.dotnet.framework.aspnet
What does this error meen and how does one fix it Compilation Error 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. Compiler Error Message: BC30367: Class 'System.Data.SqlClient.SqlCommand' cannot be indexed because it has no default property. Source E...
call an url and store the out put in a variable (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi, I need to call an asp (3.0) file that is on an other server and then store the out put in a variable for later use. How would I do that? Thanks Johannes
ADO.NET Newbie question (3 replies)
microsoft.public.dotnet.framework.aspnet
I have a siple procedure that goes to a table in a database grab a value, adds 1 to it and writes the new value to the table. How does one store that value to a variable so that it can be used to latter on and written to a different table. Here is what I have for code now. This is note as easy as the old asp way : ( %@ Import Namespace "System.Data" % %@ Import Namespace "System.Data.SqlClient" % ...
Yet Another Nebie ADO.Net question (2 replies)
microsoft.public.dotnet.framework.aspnet
You people must be getting sick of hearing my question by now but I have yet another one. I have figured out how to do an add form and a delete form. I understand the basic update form but I wish to take it a step further. For instance you do a search on a database to and the result pulls up the form for editing but what if instead of just over writing the values you wish for the current values to...
SelectMode in Calendar Control (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi, Is there a way to have the .Net Calendar SelectionMode attribute be Week only and not DayWeek? Thanks fro your help, Elissa Setareh *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
dynamic creating datagrids in the code behind (3 replies)
microsoft.public.dotnet.framework.aspnet
I need to dynamicaly creating multiple datagrids in the code behind. Each of these datagrids have an EditCommandColumn. How do I get the code behind for OnEditCommand, OnCancelCommand, OnUpdateCommand event handlers??? Thank you ...
DSL modem blocking SMTP server? (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi: While trying to get SmtpMail class to work I discovered it would not work with my DSL line but works fine with a dial up modem. This leads me to believe maybe my DSL modem\router is blocking my SMTP server on Win 2K. Does any one know how to verify this? Called ISP and tech support says they don't know anything about that kind of stuff. Charlie
Server Error - on Refresh (2 replies)
microsoft.public.dotnet.framework.aspnet
I have an application running fine in my Main svr. Sometimes when i refresh the below error shows UP. when i run the same thing locally and refresh,No problems??? Server Error in '/retaileyes' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remo...
Data Grid, left click select? (2 replies)
microsoft.public.dotnet.framework.aspnet
Hey guys/gals It might seems dumb or I just might have missed it altogether, but why is there no easy way to left click once on a row and have it select the entire row? I would have thought this would be a simple thing to put in the control... but since it seems like it has to be done in code is there anyone that know of a sample anywhere that will change the background color of an entire row, whe...
sending email (4 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, ive got an asp page with the following code Dim objMail As MailMessage New MailMessage() objMail.To objClient.EmailAddress objMail.From "registration@test.co.uk" objMail.Body "Welcome To test.co.uk" Dim objSend As SmtpMail objSend New SmtpMail() objSend.Send(objMail) But when compiling i get the message: (94): 'System.Web.Mail.SmtpMail.Private Overloads Sub New()' is not accessible in this...
flashing screen (5 replies)
microsoft.public.dotnet.framework.aspnet
I am building an application in ASP.NET and C# that utilizes 30 some controls on one page. Every time a post back occurs, the entire page "flashes" as all the controls get re created on the client. Does anyone know how to prevent this from happening? As all the controls talk to one another and respond to events from other controls, I can not use fragment caching. Other than using framesets, I can ...
Role based Security with Forms Authentication (3 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, I have some questions related to implementing Role based Security with Forms Authentication Mechanism. Scenario: I'm trying get role based forms authentication implemented. User's information which includes Roles, are stored in SQL DB. When a user logs in, validation happens against SQL server and return success along with the list of Roles associated with that user. With Form based Authen...
problem w/ calendar 'selectionmode' (2 replies)
microsoft.public.dotnet.framework.aspnet
I want to make sure that when someone clicks a day in a week, the whole week is selected. I wish there was a SelectionMode for just Week, instead of DayWeek.... Alternatively, is there some code in onDayChanged( ) that could somehow select the previous Sunday instead of a day w/in the week Thanks, jason shohet
Is an AutoPostBack field required? (3 replies)
microsoft.public.dotnet.framework.aspnet
I've been working on a problem with a page of mine that will not post back to itself. Originally I thought it was related to forms authentication (in a previous post I had), but now it looks like a different problem. I have an app. with a custom logon page. A simple logon, with two text fields for user id and password, and a logon button. One other thing is I'm trying to use these pages on a handh...
Calling COM dll function passing by reference (2 replies)
microsoft.public.dotnet.framework.aspnet
I've posted this question several times and have not seen an answer yet. Hard to believe there is no way to preserve legacy COM libraries in ASP.NET!!! Question: How do you pass a REFERENCE from an ASP.NET page to a COM function that expects an INT16 *? Note: I do not have the COM source code so I can't change it!!! Tried: defining a variable as OBJECT and passing (with/without parens) (invalid re...
Why does aspnet_wp.exe not attach during debugging? (3 replies)
microsoft.public.dotnet.framework.aspnet
The aspnet wp.exe process does not get automatically attached to the process when debugging. Therefore, the debugger won't break on set break points (as mentioned in previous post). I always have to manually attach aspnet wp.exe to the process to be able to debug, but it used to be automatic when hitting "Debug/Start" (like last week). What happened? Did I inadvertently set some option to prevent ...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com