Home All Groups Group Topic Archive Search About

ASP.NET Development

microsoft.public.dotnet.framework.aspnet
Score How modify <INPUT> value
VB Programmer - 22 Oct 2005 10:51 PM - 3 messages
I have some hidden <INPUT> HTML fields in my ASPX page. How do I modify the value (in VB.NET) based on a web.config appsettings setting, such as ConfigurationSettings.Appsettings("MyValue")? Here is the HTML field: <input type="hidden" name="bn" value="PP-SubscriptionsBF"> <input ...
Score Image Drag/Drop into ASP.Net Form?
R Steele - 22 Oct 2005 10:33 PM - 2 messages
Is there anyway to drag an image file (gif, jpg, png, etc.) from the desktop and drop it onto a asp.net page such that is uploaded and processed?   I'm wanting to do this to make it easier for users uploading images to a web ...
Score Tb.text = string What Won't transfer??
Tina - 22 Oct 2005 9:12 PM - 6 messages
In the ItemDataBound event of a datagrid, I am moving data from a varchar cell into a textbox in a template cell as follows.... mytb.text = e.item.cells(i).text my problem/question is that this move does not move all characters.  For ...
Score Set border width for datagrid
Manny Chohan - 22 Oct 2005 8:32 PM - 2 messages
Guys, I have a dropdown and want the user to toggle border width or alternating color etc for datagrid. How can i implement this in codebehind? Thanks Manny ...
Score Master pages in Visual Web Developer 2005 Express Edition
John - 22 Oct 2005 8:22 PM - 4 messages
Hi Is it possible to create master pages in Visual Web Developer 2005 Express Edition? Thanks Regards ...
Score Connection String Format
Jim McGivney - 22 Oct 2005 8:20 PM - 5 messages
I am trying to place a connection string in the appSettings section of my web.config.  I use C#. I get an error message because of the "+" character. <appSettings>     <!-- DataBase Connection String --> ...
Score Visual InterDev Question
Dave - 22 Oct 2005 5:57 PM - 2 messages
I know that MS no longer supports Visual InterDev but I was hoping someone here might be able to answer my question. I have a live ASP 3.0 web site. I open VID and specify new project, point it ...
Score Download Excel Template
Remy - 22 Oct 2005 5:09 PM - 1 message
Hi We have a webpage where the user can download a dynamically generated Excel Template. We are using the Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "attachment;Filename=" + fileName); But the problem is, that the open dialog box uses the file type .xls ...
Score What is required to deploy an ASP.NET 2.0 web site to production?
Steve Franks - 22 Oct 2005 4:58 PM - 2 messages
Can someone please let me know what's required to deploy an ASP.NET 2.0 site to a production server?  I'm not referring to "Copy Web Site" or how to move the files over, but rather asking about what supporting framework/technology ...
Score How to best prepare for asp.net 2.0 release in advance?
Steve Franks - 22 Oct 2005 4:51 PM - 13 messages
Hi all, I've spent the past several months developing my ASP.NET 2.0 web site using Beta 2, and its working great. Even though 2.0 beta 2 has a Go Live license, I have not deployed to ...
Score tables & rows & columns
et - 22 Oct 2005 2:50 PM - 2 messages
I have a table that doesn't line up the way I want it to.  I have 6 rows and 3 columns.  The 3rd column spans the 6 rows and contains a grid.  If the data in the grid has more than 6 rows of data, the other rows spread out ...
Score Session problem, users share and switch sessions..?
Mikael Östberg - 22 Oct 2005 1:58 PM - 6 messages
Hello all! I have this login function which doesn't work really well. I tried to do extend the built-in functionality in order to store things such as userName and email address in Session. I have this User class which contains some public properties and a number of ...
Score How do I refresh a browser programatically?
vvenk - 22 Oct 2005 1:06 PM - 7 messages
Hello: I am using frames. How can I refresh the browser programmatically so that all the frames are reloaded? Not using javascript, though! ...
Score drop down list and system.data.common.dbdatarecord
good will - 22 Oct 2005 10:55 AM - 4 messages
sir i m using a class function public selectedrecord(byref tablename,byref column name,byref condition)as odbcdatareader steps  1)odbc connection 2)open 3)command =" select colname from table nae wher condition" 4)datareder=command.executereader return reader ...
Score Is ASP Validator Regex Engine Same As VS2003 Find Regex Engine?
JebBushell - 22 Oct 2005 10:43 AM - 3 messages
I see signs that the ASP.NET regular expression validator has a different instruction set that the Find utility in VS 2003. I am trying to use the VS2003 regular expression Find tool to test regular expressions for use in a ASP.NET validator.  The results I am getting are ...
Score data binding and dropdown lsit
goodwill - 22 Oct 2005 10:12 AM - 2 messages
hi groups i have a problem in bindig data reader to the drop down list       data reader is returnes from a function and system.data.common.dbdatarecord comes in the drop down lsit as compared to data from reader plzz help ...
Score Control refresh design time
pedrobernabeu - 22 Oct 2005 9:02 AM - 1 message
I have a custom control with a ListItemCollection. If I add items by hand in the aspx and switch to design time view, everything works fine. However if I add items through the Collection Editor, the control doesn't update until I change something in the aspx and change to ...
Score sending data between two pages
Ugur Ekinci - 22 Oct 2005 8:38 AM - 2 messages
Hi all, I have two aspx pages, first one has a listbox and a button that opens popup aspx page. Popup page has listbox control , so what i want to do is when I close the popup , the datas in popup's ...
Score How to rise aspx parent forms event from aspx Child form
AssanKhan Ismail - 22 Oct 2005 8:29 AM - 2 messages
Hi, I have two aspx form say Frm1 and Frm2 . In Frm1 one dropdown box and one button is there.After pressing that button it opens Frm2 ,in Frm2 i choose one data from Frm2's dropdown box when i closed this form Frm2 i want to the ...
Score WebUserControl
Oren - 22 Oct 2005 7:23 AM - 1 message
Hi everyone, I have WebUserControl on a Webform. How can I get data from a Function/Property on the Webform and send it, dynamically, to the WebUserControl ? <uc:myuc id="myid1" sText=<%#GetText()%> data="2" runat="server"/> ...
Score Is Validator Regex Same as VS 2003?
JebBushell - 22 Oct 2005 6:28 AM - 3 messages
I am trying to use the VS2003 regular expression Find tool to test regular expressions for use in a ASP.NET validator.  The results I am getting are inconsistent .   What works in VS does not always work in ASP.NET and vice ...
Score Can I have a vb.net logic as well as a java function assigned to a
vvenk - 22 Oct 2005 3:30 AM - 2 messages
Hello: I have a button that updates a table. But I also want to refresh a page using a Java Function. Can I execute some vb code and then execute the java function? Thanks. venki ...
Score How do I reload an aspx file that is displayed in a frame?
vvenk - 22 Oct 2005 3:11 AM - 3 messages
Hello: I have a weblayout that uses frames. It has three frames, one on the top that displayes the header (header.aspx), one on the left that displays the system menu (menu.aspx) and one on the right that different application forms ...
Score need asp.net visual web developer tutorial that works.
paul - 22 Oct 2005 1:50 AM - 2 messages
I can't get past a HTTP Error 403 - Forbidden - error in the tutorial at: [link] It is the Authors tutorial. I start from the beginning and follow step by step. There is no ...
Score just wondering
ari - 22 Oct 2005 12:42 AM - 1 message
hey all, i've read where it helps performance if you turn off viewstate on the datagrid but it didn't say how to handle paging and sorting if i did this. can someone give me some ideas on how this can be handled? ...
Score Master page from html
John - 22 Oct 2005 12:04 AM - 4 messages
Hi I have been given an html page with look an feel of a client's web site. How can I turn this page into a master page? Thanks Regards ...
Score Keep Scroll Position After Postback.
parm - 21 Oct 2005 10:08 PM - 3 messages
I have a <div> with Overflow = Auto and within it have several controls that can cause postback.  The problem is that after every postback, the <div> would scroll back top. Is there a way that the <div> could retain its scroll ...
Score Dangerous querystring
sylvain - 21 Oct 2005 9:44 PM - 5 messages
I create an encrypted string and when this string is pass into a querystring to an ASP.Net page I have an error message that said that this querystring is potentialy dangerous. Here is an example of a querystring to reproduce the problem : ...
Score JIT Debugger error upon startup of VS 2003
Kevin Jackson - 21 Oct 2005 9:12 PM - 1 message
As of this morning, a few of us are getting the following error when we startup VS 2003 and opening a web app project JIT Debugging failed with the following error:  Access Denied JIT Debugging was initiated by the user account &^%$/ASPNET ...
Score Is it possible to enumerate sessions for an application?
Gaetan - 21 Oct 2005 8:55 PM - 6 messages
I would like to guarantee that only one session at a time can request exclusive access to an object stored in Application. The ownership of the object must last throughout multiple HTTP requests.  However the session might timeout. When a session ask ownership of the object, I need to determine whether the session that ...
Score deploying asp.net
rodchar - 21 Oct 2005 8:42 PM - 4 messages
hey all, i'm using XCOPY to deploy to files to production. 1 copies (the .dll) and the other one doesn't(default.aspx) it says access denied on the latter one. I've assigned NETWORK SERVICE account modify and write permissions on the application root folder. Why does ...
Score background error
jcharles - 21 Oct 2005 8:34 PM - 3 messages
Hi, I'm learning some cool things in the asp.net 2. And when I was using the master page, I created one in the root folder. And created a derived web form in other folder. But when I open this derived webform, ...
Score Browser types
Yama - 21 Oct 2005 8:23 PM - 2 messages
Hi, Does anyone have the list of browser types by name? Example: Request.Browser.Type for IE 6.0 returns IE6 you can figure out that version 5.0 will return IE5 and so on. For Netscape 6 it would return Netscape6. ...
Score How can I detect at runtime the application pool name?
Gaetan - 21 Oct 2005 7:54 PM - 1 message
Under IIS 6, I would like to determine the application pool name from within the Application_Start() method. Is there a way to accomplish that? ...
Score Dropdown databind to public enum
wapsiii - 21 Oct 2005 7:37 PM - 3 messages
I'm trying to do this [link] public enum Color {     RED,     GREEN,     BLUE } protected System.Web.UI.WebControls.DropDownList ddColor; ...
Score styles question
PJ6 - 21 Oct 2005 7:22 PM - 3 messages
I want to apply this style input { background-color: "#FFFFC0"; border-style: solid; border-width: 1px; } but only for input of type text. Do I have to use classes and tediously update every occurance of a text input type to that class, or is there a way ...
Score CheckBox using an Onclick Event, then Posting Back
Ryan Ternier - 21 Oct 2005 7:13 PM - 8 messages
I have a check box on my page. When a user clicks this box I have a confirmation box come up. When the user clicks OK, true is returned, otherwise false. Now, when true is Returened, I want the form to postback.  I can't figure ...
Score textboxes can't have a height in %?
PJ6 - 21 Oct 2005 7:08 PM - 2 messages
I want a textbox to have its height take up its entire container, 100%. But when I specific any percentage, it ignores it and shriks to a one or two line size. Why does this not work if Width = "100%" does? ...
Score Dynamically rendering the content of script
Yama - 21 Oct 2005 7:03 PM - 10 messages
Hi, How can I dynamically embed the content of a filename.js into a  .aspx page before rendering it to the client? Thanks, ~yamazed ...
Score resolving a URL from Global.asax
PJ6 - 21 Oct 2005 6:26 PM - 2 messages
The Page class has a nice little function called ResolveURL. Can I get to something like that in global.asax, ar at least the originating page within any particular event? Paul ...
Score On FTP API in .NET
david - 21 Oct 2005 6:21 PM - 5 messages
There is FTP API in MSDN (VC++6.0). Can I use it in .NET windows form application? I found a FTPTREE executable code example. Is there source code for this example? Thanks Dabid ...
Score Export Web Service to Interface?
Lucas Tam - 21 Oct 2005 5:42 PM - 5 messages
Hello, I am in the process of developing a web service - at the moment, it is not ready for development usage. However, the methods are defined. Is there a way to export the definitions to some sort of interface for ...
Score am or pm in time ?
Joe Van Meer - 21 Oct 2005 5:41 PM - 7 messages
HI all, In my sql query for my app how do I determine if the datetime value in the database is am or pm? Cheers & thanks, Joe ...
Score login with built-in popup window?
PJ6 - 21 Oct 2005 5:24 PM - 5 messages
I've seen web pages where logging in will pop up a stardardized dialgue window, one that allows you to remember your password. How does one invloke this in code? Does it work reasonably well for different borwsers? Paul ...
Score Initializing Custom Server Control
Charlie@CBFC - 21 Oct 2005 5:18 PM - 2 messages
Hi: I know you can set init props on prop sheet, but I'm not going to know them at design time.  So how do I set props of control programmatically from page hosting control?  I can get access to them, but don't where to catch them ...
Score Rendering
Yama - 21 Oct 2005 5:16 PM - 6 messages
Hi, I have 20 javascript files I would like to dynamically write to my rendered web page. What I would like to do is instead of saving them into a database table save them into a XML file then retrieve them according to user ...
Score regular expressions replace
JohnZing - 21 Oct 2005 5:07 PM - 4 messages
Hi i'm trying to find a way using regular expressions to replace all the [photoXXX] matches by an image Exemple [Photo123] by <img src="123.jpg"> [Photo25] by <img src="25.jpg"> and so on... ...
Score access to different SQL-Server
Erich Brunthaller - 21 Oct 2005 4:58 PM - 3 messages
I run the SQL-server on VM-Ware with mixed mode auth. When I host the ASP service on IIS in VM-Ware access is possible from everywhere. But hosting the service on the IIS outside VM-Ware can not access ...
Score just wondering
rodchar - 21 Oct 2005 4:55 PM - 4 messages
hey all, i have a simple asp.net page that expects a session variable to be present on Page_Load. if not it redirects to a restart page. i made a settings change on iis to the virtual directory authentication method page (Directory Security Tab/Authentication and access control Edit). ...
Score No Update for HtmlInputHidden -- Bug or Feature?
heybrakywacky - 21 Oct 2005 4:26 PM - 7 messages
After hours of pulling my hair out on this one, I've finally realized that the problem I'm having in my code is due to behavior that is not at all expected. Using ASP.NET 1.1.4322.2032, I'm trying to update a dynamically-created ...
Score my ASP.NET web app being blocked by IE??
Rob R. Ainscough - 21 Oct 2005 3:34 PM - 3 messages
I've created an ASP.NET/VB.NET web application running on a public web server.  My web app uses form authentication.  I don't have a registered domain name, I'm just using an IP address to link from another site.  As ...
Score DataReader and RecordCount
Paul - 21 Oct 2005 2:53 PM - 10 messages
Does anyone have any insight on how I can get a count of the records returned after executing an ExecuteReader command? Something similar to the ..RecordCount property in Classic ASP? ...
Score Dynamically adding controls at run time
Joe - 21 Oct 2005 2:44 PM - 5 messages
I have an xml file which looks similar to this: <data>     Please enter the value:     <dynamicControl id="myDC", type="Textbox", MaxLength="100"/> </data> I am trying to devise a way to have a web page load this file in it's Load ...
Score Re: About .Net FrameWord Component AutoUpdater didnt work??
gkochanowsky - 21 Oct 2005 2:34 PM - 1 message
Its been awhile but maybe this can help others. I had a similar problem. What I discovered is that the appupdater control was trapping resource exeptions in the application. In my particular case I had included a graphic and an icon in my application. When the form that used these resources loaded it would trigger the exception. However I found that if I clicked Ok on the alert that the form loaded anyway and it found the resource. I also examined the resources embedded in the app execuatable and found that the resources were there. By all accounts it should have worked but I was still getting this dang exception. I am not sure what caused the original exception but the way I solved the problem was to include the two files in my project and to change their build properties to "embedded". I then modified the form code that loaded those resouces as follows: ...
Score Test questions application
Sehboo - 21 Oct 2005 2:14 PM - 3 messages
Hi, I need to build an application which will test students for a given amount of time.  Problem is that there is no timer control in asp.net, because timer should be on the client side. Everything works in the app, except that I don't know how to expire the ...
Score Using aspnet Impersonation, ASPNET_SETREG, applicaton throws buffer overflow.
jay - 21 Oct 2005 2:13 PM - 3 messages
I am attempting to impersonate an account in ASPNET. I am using aspnet_setreg to store the username and passwords. I have given the ASPNET account permisision to read the registry values. However, the application throws: "Could not create Windows user token from the credentials specified in ...
Score Active Directory Membership provider - can you use roles?
lanem - 21 Oct 2005 1:53 PM - 1 message
If I use Active Directory as the provider for the new asp.net 2.0 membership stuff, can I still use the roles capabilities?  Where does it store this kind of stuff?  If I use SQL as the provider, it has table for roles, usersinroles ...
Score HOWTO: Turn off Strong Password requirement in ASP.NET 2.0
Dan Sikorsky - 21 Oct 2005 1:51 PM - 1 message
In my Login.aspx, how can I turn off the requirement for using strong passwords? Then web app is on a LAN not connected to the internet. ...
Score Session state outside of page
bryan - 21 Oct 2005 1:39 PM - 3 messages
Hello, I have a an asp.net application in c#. The code behind files call helper methods in regular c# classes. For example, on some pages I check if the current user has permission to use certain buttons. To do this I call the ...
Score User control remember state across pages without session
McGeeky - 21 Oct 2005 1:35 PM - 11 messages
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of copy paste (I hear this will ...
Score Updating an XML file from a URL
Joel - 21 Oct 2005 1:14 PM - 4 messages
Hi, I have an XML file at http://localhost/test.xml that I want to read and then update. I can get and read the file no problem with GetResponseStream etc... The code (see 2 examples below) I am using to write the new xml to that same ...
Score asp.net 2.0 membership provider question
lanem - 21 Oct 2005 1:14 PM - 6 messages
I know that I can use Active Directory as the provider for membership on an asp.net 2.0 site.  I also know that I can use sql server as the provider.  Can I use a combination of the 2 somehow?  I want to use active directory for ...
Score Calling a class object in my aspx page without using codebehind
Gerald - 21 Oct 2005 12:59 PM - 3 messages
Hi, can anyone please solve this problem? My main page is :WebForm2.aspx <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm2.aspx.vb" Inherits="Transactions.WebForm2"%> <%@ Import Namespace="System" %> <%@ Import Namespace="ReportComponents" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> ...
Score treeview for browsing directories
Piz - 21 Oct 2005 12:56 PM - 1 message
Hi all. I would like to place in my asp .net 2.0 website a treeview control that allows the user to browse directories and all of its subdirectories from a certain root. I don't know so much about node, and how to use them to populate my ...
Score most bizarre problem ever
jhcorey - 21 Oct 2005 12:51 PM - 4 messages
I have a stored procedure that takes 14 parameters, including two for start date and end date.  The procedure then creates a sql string and does an 'exec sql'. The stored procedure always works correctly when I run it stand alone. ...
Score Highlighting the selected node in treeview control
satish - 21 Oct 2005 12:51 PM - 2 messages
Hi, I am using treeview control from Microsoft IE webcontrols. I am having a requirement like whenever i selected a node in the tree, it should be highlighted. But the focus is going to the root node. How can i highlight the ...
Score asp.net sql trusted connections between machines
Rob - 21 Oct 2005 12:24 PM - 3 messages
So we have a client who doesn't want to run a Service Level Account (either via an Application Pool or IIS impersonation) and we need to connect to a remote SQL Server instance w/ Read-Write permissions. They don't want to do it that way due to the maintenance issues with ...
Score Internet Explorer error
CathieC - 21 Oct 2005 11:19 AM - 3 messages
I have a websote developed using visual studio 2005 beta , .net version 2 i deploy my application to a server and it is run from client computers. One of the users gets the error "Internet Explorer cannot open the internet site "XXXXX" ...
Score Reading control values from viewstate
bryanjhogan - 21 Oct 2005 10:03 AM - 3 messages
Hello, I have a page with three textboxes and a submit button - TextBox1 TextBox2 TextBox3 SubmitBtn After loading the page for the first time, I enter some values into the textboxes TextBox1.Text = "aaa" TextBox2.Text = "bbb" TextBox3.Text = "ccc" ...
Score Export to Excel from Asp.net
Sen - 21 Oct 2005 9:51 AM - 2 messages
Hi,    i want to export data from a datagrid to excel sheet. I'm able to do it using  RenderControl method of the datagrid. But i do not have any control over the column width of excel sheet. Is there any way to format the columns? ...
Score How to Execute/Evaluate String in Asp.Net 1.1 using Vb.Net ?
Kamal Ahmed - 21 Oct 2005 9:39 AM - 3 messages
Hi all, I want to execute a String that is generated at Runtime and fills data in DropDownList Controls at Runtime. I want to do this at server side. As Eval functions works as client side function and there is not other function or ...
Score Is there any ASP.NET 2.0 projects on SourceForge or GotDotNet for learning?
ABC - 21 Oct 2005 9:38 AM - 2 messages
I like learn project development from Open Source.  Now is good time to learn .NET 2.0. Is there any ASP.NET 2.0 Open Source Projects on SourceForge or GotDotNet? ...
Score Weird problem with HTTPS and Request.Url.AbsoluteUri
Dees - 21 Oct 2005 9:34 AM - 2 messages
Hi, I am facing a weird problem with HTTPS and Request.Url.AbsoluteUri in my ASP.NET application. Here is the scenario - 1. I have a menu page (Default.aspx), which has the following anchor -     <a href="ApplicationHost.aspx">Open Application</a> ...
Score Using session in more then one project
Elankathir S.N. - 21 Oct 2005 8:05 AM - 3 messages
Hi, I have five web projects in my Web Solution. I have created session variable in my first project. Can i use the session variable in all other web projects without using the querystring and post? Thanks, - Elan *** Sent via Developersdex [link] *** ...
Score Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount.
Franck - 21 Oct 2005 8:04 AM - 4 messages
Hello, in a datagrid, in the ItemDataBound event in some cells a add some javascript that show up an information strHref.Append("<A onclick=\"popupValid();\">");    strHref.Append("<span style=\"cursor:pointer\">"); strHref.Append(e.Item.Cells[1].Text+"</span></A>"); ...
Score Building Multilingual Portal
charliewest - 21 Oct 2005 7:10 AM - 4 messages
Building Multilingual Portal I have been assigned a new project to build a multilingual portal using ASP.NET and the expected Microsoft technologies including C#, ADO.NET and SQL Server 2000. To date, all of my Web Solutions use ADO.NET to access data which is stored ...
Score Authentication and impersonation
Eric - 21 Oct 2005 6:57 AM - 2 messages
I setup a intranet application based on windows integrated authentication . windows integrated authentication checked in IIS and anonymous access unchecked. i have used impersonation in my web config file <identity impersonate="true" > <authorization> <allow roles="mydomain\group_a"/> ...
Score Re: URGENT - VB.Net and Oracle Client, 'random' error
srana - 21 Oct 2005 5:30 AM - 1 message
Hi, Our system has gone live since last 15 days and we are facing this problem left right and center. Did anyone got the solution for this problem. Pl. let me know. Thank you in advance, Snehal -- srana ------------------------------------------------------------------------ srana's Profile: [link] View this thread: [link] ...
Score Techniques to auto-login using a persistent cookie.
craigkenisston - 21 Oct 2005 5:24 AM - 5 messages
I have an asp.net application in which I sometimes store a persistent cookie once the user has logged in and this has been working great. However, I now add some user information like, username, firstname, lastname, etc. in the session collection and this works fine, but only ...
Score Please help...want to display full name from AD on my intranet
wantagofast - 21 Oct 2005 4:29 AM - 7 messages
Hello all!  I have been searching for what seems like days now on how to have my users full name (ie. John Smith) to appear on my intranet but can't seem to be able to find the correct asp code.  I have the ...
Score Caching
Yama - 21 Oct 2005 4:28 AM - 1 message
Hi, How would I cache the entire content of my header for a week. The header contains a bunch of DHTML to render my menu and it also contains images. Thanks, ~yamazed ...
Score Overriding Render Event
Yama - 21 Oct 2005 4:25 AM - 1 message
Hi, Does someone have the browser type code for every existing browser in the market? Say browser type is IE6 what would be the most intelligent way to render my customized DHTML specific for that browser? What design pattern would you ...
Score Unable to read the project file...
sello - 21 Oct 2005 4:22 AM - 1 message
A solution to many unresolved posts I've seen. Hope this helps... Background. I have a visual studio 2003 solution with several projects including one asp.net project. After moving things around on the hard drive and trying to open the ...
Score so what the heck am i doing wrong on sending mail through ASP.net
tfsmag - 21 Oct 2005 4:06 AM - 5 messages
It acts like it sends, but nothing ever shows up... anything you guys can find glaringly wrong here? Thanks in advance, Jeff Here is the code that is supposed to send the mail. ------------------------------------- private void submit_cf_Click(object sender, System.Web.UI.ImageClickEventArgs e) ...
Score Request_Begin
Amir Ghezelbash - 21 Oct 2005 4:00 AM - 2 messages
Hi every one i want to make sure that my users are always loged in before doing any thing in any of my wepages i have added this code to my golab.asax but it loops indefintly ..any one know why..and how can i stop it for looping? ...
Score urgent help on Active Directory Authentication from dotnet
varkey.mathew - 21 Oct 2005 3:59 AM - 7 messages
Dear all, Bear with me, a poor newbie(atleast in AD).. I have to authenticate a user ID and password for a user as a valid Active Directory user or not. I have created the IsAuthenticated function exactly as outlined in the below link. ...
Score Session End Not Firing
Chad - 21 Oct 2005 3:52 AM - 2 messages
On our servers we have noticed that sometimes sessions are not timing out when they should. Often session will end around the timeout specified, usually 15-20 minutes. This is not an issue with the timeout specified. I have a aspx page that will list all the sessions and their ...
Score How do I refresh an ASPX form displayed in a frame?
vvenk - 21 Oct 2005 3:48 AM - 4 messages
Hello: I have a weblayout that uses frames. It has three frames, a header, a column on the left that displays the menu (that's a aspx form) and a column on the right that displays the application data. When I have an application form open in the right frame, I would like to ...
Score Application Object!
Adam Knight - 21 Oct 2005 2:28 AM - 2 messages
Hi all, A basic question!! I have a user control(.ascx) in my app. I am trying to use use values stored in the appliacation object. In the user control i am placing the code <% Response.Write(Application("myVariable"))%>. ...
Score hiding the toolbars without javascript?
PJ6 - 21 Oct 2005 1:02 AM - 2 messages
Is there a way to cause a page to hide its browser's address and tool bars in the code behind without emitting javascript to the client? Paul ...
Score Session id
John - 21 Oct 2005 12:50 AM - 2 messages
Another nebee question How to get session id? john... ...
Score on_click of Button
Stephen Noronha - 21 Oct 2005 12:28 AM - 5 messages
Hi, I have a textbox and couple of validators and a button. I have to click 2 times in order to do something. first time it just flashes and the next time it acually works. I have observed this recently. ...
Score DateTime Not read Accurately in .Net
Tina - 20 Oct 2005 11:09 PM - 2 messages
I have a table with a DateTime column.  the field contains 07/20/2005 08:26:45:197 AM.  I know this for a couple of reasons but the simplest is that a Select using Query Analyzer will show the field correctly.   If I use ...
Score You are not authorized to view this page
Gaetan - 20 Oct 2005 10:48 PM - 5 messages
I just cannot read any more MSDN articles on IIS6 and ASP.Net authentication ... everything is blurry now, tanks to old eyes. Here is a topo of my environment: - W2K3 SP1 (IIS 6) - Web site is a virtual directory under Default Web Site ...
Score Forms authentification
HIK - 20 Oct 2005 10:30 PM - 2 messages
I am porting an ASP.net 1.1 application from a win2K server to win2k3 server.  The application uses forms authentification. The authentification information is in a query string. The user goes to A.htm A refers to B.htm for validation and if valid ...
Score Programmatically discover when a web process is scheduled to recyc
Keith Harris - 20 Oct 2005 10:24 PM - 2 messages
Hi, I have an ASP.NET web application that runs certain tasks at a given time.  Sometimes the task is scheduled to run at a time that coincides with when IIS is recycling an application's worker process.  ...
Score compare mdf for success restore of data and file storage
Ram - 20 Oct 2005 9:56 PM - 2 messages
Gurus,            I have a scenario where in if i restore a database file(mdf) onto say some AppManager,i want to make sure its restored properly comparing with the mdf that it came from(i take this as base).i hope iam making sense here. ...
Score Better Code than This......
Larry Smith - 20 Oct 2005 9:17 PM - 9 messages
If Not dtrMyDataReader.IsDBNull(dtrMyDataReader.GetOrdinal("Customer")) Then     strCustomer = dtrMyDataReader("Customer").ToString() End If Where "Customer" is a string data type. Is there any better code to check for null values in the first line. Is there any better way the code can be written? ...
Score ASP.NET 2.0 conversion problem - declared vars
Chris - 20 Oct 2005 9:01 PM - 2 messages
I converted my project to 2.0 and now there are missing lines of code. When I try to compile, I see that there are now variables that are not declared. Well, that was not the case before the conversion, but 2.0 deleted hundreds ...
Score Transferring Data Between Applications on the Same IIS box.
ryan.d.rembaum - 20 Oct 2005 8:51 PM - 3 messages
Hello, I am trying to build a standardized login screen that several different web application could use.  What I would like is for the login screen to detect where the user has come from.  Based on this, code unique to ...