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

Problem
Posted by Apostolis K. at 3/29/2004 11:53:40 PM
Hallo All I am new to ASP.NET and I am learning it followed by a book that doesn't help me a lot. My first exersize is to make an ASP.NET page in which the user will enter a username and a password. When the submit button is pressed, a message will appear in a second text box to verify if t...more >>


Problem
Posted by Apostolis K. at 3/29/2004 11:53:40 PM
Hallo All I am new to ASP.NET and I am learning it followed by a book that doesn't help me a lot. My first exersize is to make an ASP.NET page in which the user will enter a username and a password. When the submit button is pressed, a message will appear in a second text box to verify if t...more >>

datagrid to handle JOINed tables with the same column names
Posted by Max at 3/29/2004 11:42:32 PM
I've got a datagrid that binds a query that joins three tables and I need to specify the "title" field which is the same column name in two of the tables. I thought this would work, but the datagrid is coming up blank: .... <asp:BoundColumn DataField="products.title" HeaderText="Item"> </asp...more >>

case insensitive search
Posted by Rudi Ahlers at 3/29/2004 11:40:11 PM
I got a DB, and sometime users enter stuff in uppercase. How do I display the rows,regardless if the field is uppercase, of lowercase? For example, SelectQuery = "SELECT DISTINCT id, currentdate, commenttype, username, supplier, subject, clientresponse, vote FROM comments WHERE supplier = '" ...more >>

TabStrip + Multipage WebControl: Modify width?
Posted by Johannes Eble at 3/29/2004 10:54:08 PM
Hello, I use the TabStrip and the Multipage Webcontrol in my Web form. I have three Tabs/Pages. However, I would like to define an area to the left and to the right. Controls in these areas should always be visible. Therefore I have put the TabStrip/Multipage inside a column of a HTML table...more >>

VS.Net 2003 on Windows Server 2003
Posted by Joe Fallon at 3/29/2004 10:45:02 PM
I just set up a new box and am trying to get into a web project. I moved from Windows 2000 Server where this app worked fine. Now I get this error message when opening the solution file: The project location is not fully trusted by the .NET runtime. This is usually because it is either a netwo...more >>

syntax question
Posted by suzy at 3/29/2004 9:05:43 PM
what does the following toolboxdata syntax mean? and is there a name for it so i can read up on it? namespace Wilson.MasterPages { [ToolboxData("<{0}:ContentRegion runat=server></{0}:ContentRegion>")] public class ContentRegion : System.Web.UI.WebControls.Panel ...more >>

All static property values persist?
Posted by Pavils Jurjans at 3/29/2004 8:56:52 PM
Hello, I am now digging through ASP.NET, so please forgive me if I ask some common-sense questions, as I come with long-years classic ASP background. I was just playing with code-behind features, and found out some shocking (at least for me) news. This is the aspx file: <%@ Page Langua...more >>



message boards in asp.net and c#
Posted by Allen Anderson at 3/29/2004 8:49:02 PM
what are some of the best message board software packages out there for just putting up little message boards attached to articles? I'm looking for something like codeproject has where they have a little msg board after articles and profiles and such. Any recommendations? thanks ...more >>

asp problems, help
Posted by Josh at 3/29/2004 8:09:35 PM
I am an admin of a server with a dotnet app. I guy who wrote it doest work for the company any longer. Every time the server reboots there is some kind of problem that prevents all of the services from starting. The core of the problem is 3 - 1084 errors in the application log. Every time I ...more >>

Failing too soon, need examples
Posted by bam Bino at 3/29/2004 8:08:46 PM
Hiya, I am failing with asp.net. I need a success. Please show me a simple example where I can write to sql server from a textbox on an aspx page. Thanks! ...more >>

Table cell question....
Posted by Ram at 3/29/2004 7:47:49 PM
In my ASP.Net application, I have the following code in my html part of the code <tr> <td width="100%" align="right"><pre><% = strRouteRemark %></pre></td> </tr> I am populating strRouteRemark variable in the page load. If the tex...more >>

create '<UL>' lists
Posted by Dionísio Monteiro at 3/29/2004 7:47:21 PM
Hi there, Can I programatically create <UL> lists? What I mean is, I can create a table programatically, like this: ------------------------------ Table tb = new Table(); Row r = new TableRow(); Cell c = new TableCell(); ------------------------------ Can I do something similar to create...more >>

good ASP.Net starter book?
Posted by Thomas L at 3/29/2004 7:26:01 PM
Hi, i've been using "regular" asp for a few years. Now i haven't worked with ASP.Net yet but am looking to learn it. Can anyone recommend me a good book that helps me getting started? Regards, Thomas L. ...more >>

Display images in Datalist
Posted by jrp210 NO[at]SPAM yahoo.com at 3/29/2004 7:25:44 PM
I am trying to display images from a directory in a datalist. I have done a tutorial that retrieves the image path from a database in order to display, but what would the datasource be for getting from a folder?...more >>

Transferring files across servers
Posted by Andrew Banks at 3/29/2004 7:19:27 PM
I'm building an e-commerce app and am keeping the client facing front end on a live web server and the admin section of the app on a local intranet server. All data is stored in an SQL DB on the live web server. I will be having in the region of 500 product images in the app and am looking for...more >>

Renaming Project / Solutions
Posted by Chris Marsh at 3/29/2004 7:13:08 PM
How does one go about renaming a project and/or solution for VS.Net C#? I have had corruption and needed to rebuild the project file-by-file without. I have compiled, renamed, etc., but there must be an easier way or a Q that gives us step-by-step instructions. Thanks ...more >>

vs.net problems.
Posted by smen at 3/29/2004 6:36:06 PM
Hello, I’m getting pretty tired of this, my vs.net studio does not want to open a new browser when I want to debug it. this does not happened all the time, only at times. I sometimes have to restart the computer or vs.net to allow it to work. But after a few times, everything is back to normal. An...more >>

language selection dropdown autopostback not working
Posted by DC Gringo at 3/29/2004 6:15:01 PM
I have a language selector in a dropdownlist that I want to set a session ID with. It seems to post and accept the value, but my condition statement doesn't seem to read the session ID and show me my alternate language code. Here's my dropdownlist: <ASP:DROPDOWNLIST ID="ddlLanguageSelection...more >>

Invalid Cast Error
Posted by jbeerhalter NO[at]SPAM yahoo.com at 3/29/2004 5:49:20 PM
I have written a simple ASP.NET page in C#, and on that page I'm trying to cast an interface to a class, so I can call methods on the object that are not part of that interface, but part of the object. Trouble is, every time I do this, I get an invalid cast exception. I've stepped through the co...more >>

After page loads, how do I make it scroll to a certain position?
Posted by moondaddy at 3/29/2004 5:40:47 PM
I will be loading a page using a redirect like this: response.Redirect("Address.aspx?CalledFrom=Payment.aspx&SectionToUpdate=Bill ing", False) When Address.aspx loads, I need to scroll it down to the Billing address section. I created a bookmark down by the Billing section where I want to...more >>

COM+ and asp.net on Win2k3
Posted by MattB at 3/29/2004 5:34:00 PM
An application I'm trying to deploy needs to call a C++ COM object which I've set up as a COM+ pool. This works fine in XP, but on 2003 I get an error whenever the dll is called. It states that it cannot create the ActiveX component. After playing with permissions in the "Owner/Creator" role (th...more >>

Problem saving database BLOB to file
Posted by Lauchlan M at 3/29/2004 5:05:53 PM
I am trying to do something like in the article http://support.microsoft.com/default.aspx?scid=kb;en-us;309158 I am however using a datareaders instead of a dataset (it's the only real difference I can see!): nxConnection.Open(); dtrData = (NexusDB.ADOProvider.NxDataReader)nxCommand.E...more >>

Beginer question (or not?)
Posted by VR at 3/29/2004 5:01:22 PM
Hi, I'm trying to set the focus to a specific control (a textBox named txtName) in the page_Load event and here are two scnarios I've tryed to build: 1. Setting the TabOrder of the controls in the WebForm * if you set the txtName tabIndex property to 1 it's the first control in the form t...more >>

Override OnLoad() vs. Adding a Load_Handler(), what's the difference?
Posted by Bob at 3/29/2004 4:43:05 PM
For all the control event handling, one can either override the protected methods: OnLoad(EventArgs e), OnInit(EventArgs e), OnPreRender(EventArgs e) etc, or add handler functions like Load_Handler(object sender, EventArgs e), Init_Handler(object sender, EventArgs e), PreRender_Hanlder(obj...more >>

Add control in loop
Posted by Steven K at 3/29/2004 4:42:58 PM
Hello, I am creating a label and populating it with HTML. I also need to add a new textbox for each row. I am having a problem adding the control in the loop. Any help with this would be appreciated. Sub Page_Load(Sender As Object, E As EventArgs) .... Do While spQstName.Read Dim tbxQ...more >>

Allocate more memory into Byte array
Posted by Arthur Yousif at 3/29/2004 3:52:44 PM
Sorry, my previous post was posted by accident before I finished it. Hello, I have a stream I'm reading from, which is from an HttpWebRequest and the Length property is not available because the stream doesn't support seek operations. I'm looping through the stream byte by byte but that...more >>

The Viewstate Currupted (1.0) / Base-64(1.1) Error
Posted by Joao S Cardoso [MVP] at 3/29/2004 3:38:55 PM
Hi I'm having a problem with a webapp that is driving me nuts. I know about the usual viewstate errors but I think that this one is a bit diff rent. I've searched and read on this and found that the cases documented does not applies to me, or so it seems. This is my problem... I have ...more >>

HTTP webclient or webrequest File post with variables
Posted by Matthew S at 3/29/2004 3:36:12 PM
Hello, I'm looking to use the WebClient or HTTPWebRequest classes to post a data file to an ASP.NET page. While I know I could use the WebClient.UploadFile method, I am looking to send 2 form variables along with the file data, unfortunately I don't see an obvious way to do so. Does any...more >>

Garbage Collection - I already took it out!
Posted by Mythran at 3/29/2004 3:32:29 PM
Group, Got a quick question that I have asked in the past but still, no answer that I think is sufficient for the question. The question I have pertains to the following snippets: Public Function Fetch() As DataTable Dim bllObject As BLL.MyObject = New BLL.MyObject Dim row As S...more >>

Newbie question (.aspx script vs .vb code-behind)
Posted by Frank at 3/29/2004 3:26:07 PM
Can someone explain what is the difference (pros and cons) between writing script in the .aspx page and code in the .vb page. Thank's. ...more >>

ASP.net example needed - loading a DropDownList based on value selected on another DDL
Posted by Keith-Earl at 3/29/2004 3:13:53 PM
Please direct me to an example of loading a DDL based on user input in a text box or another DDL. For example, Florida has 67 counties and six regions. Initially we want all 67 counties to be loaded in the COUNTY DDL. If a user selects NORTHWEST from the REGION DDL we want to subset the COUN...more >>

SQL Session Management
Posted by Ryan Moore at 3/29/2004 3:12:30 PM
If I use SQL Mode for Session management in ASP.NET, is it possible to use a "Custom" database instead of the default ASPState database? I am on a shared SQL server and if numerous users want to use SQL session state, there will be serious security issues! thnx ...more >>

IIS broblem with .NET runtime and missing DLL
Posted by Thomas at 3/29/2004 2:14:27 PM
I get a lot of these errors in the servers event log: The following information is part of the event: .NET Runtime version = 1.1.4322.573- Setup Error: Failed to load resources from resource file. Please check your Setup. Does anyone know what is going on with this? Best regards, Thomas...more >>

Handle WebDAV with IHttpHandler?
Posted by derek at 3/29/2004 2:11:10 PM
Hi I'm using a class derived from IHttpHandler to handle http requests. It works fine for GET, POST, etc, but doesn't seem to get called for WebDAV requests (PROPFIND, for example). I added this to my web.config <httpHandlers><add verb="*" path="*" type="MyWebDAV.WebDAVHandler,MyWebDAV.WebDAV"/...more >>

UI Application Building Blocks
Posted by Harry Simpson at 3/29/2004 1:54:55 PM
Anyone successfully using MS's Application Building Block for the UI or a variation thereof. Any comments one way or the other? Harry ...more >>

How to made a DIV element OnClick event call server side function
Posted by moondaddy at 3/29/2004 1:45:40 PM
I'm using html labels (div elements) instead of server controls such as an asp link button because I want to control the mouseover, mouseout, mousedown and mouseup events to control its appearance accordingly. So the way I see it I have 2 ways to go: 1) Use a div element so I can control its ap...more >>

Loop through controls
Posted by brian at 3/29/2004 1:26:26 PM
I have many controls on a page. I name some txt1, txt2, txt3, txt4, txt5 so I could loop through them. Is there a way to find these controls, loop through them to get there value(txt1.text) and assign a new value? I would like to ignore all other controls on the page. Thanks...more >>

Assembly "System" Could not be loaded
Posted by Moshe Plotkin at 3/29/2004 12:57:34 PM
B"H Any clue? Worked fine on my development computer. I then moved it to our testing server and it returns that error. How can the "System" Assembly be missing? Thank ...more >>

sending mail with 'large' attachments using SMTPMail object
Posted by Paul at 3/29/2004 12:36:44 PM
Hello, I am trying to send an email with an attachment from whitin my ASP.NET page. everything works fine except when the file size of my attachment exceeds the size of approximately 128 kb. No i've split up my file into smaller pieces and everything works OK again. But obviously this is n...more >>

Static IP
Posted by Charles A. Lackman at 3/29/2004 12:31:16 PM
Hello, How do I retrive the Visitors IP Address from my web service. I have been searching within the System.Environment properties and do not see anything that would lead me to believe it will get the static IP. Also, wondering why I cannot recieve the SessionID using the following code: D...more >>

Page content override
Posted by Pavils Jurjans at 3/29/2004 12:19:02 PM
Hello, I have to create a proxy aspx page that loads content from database or plain html file, and that content is exactly what I must see in the browser. Currently I have this aspx code: <%@ Page Language="C#" inherits="S3.Web.App.CodeBehind.Form"%> <%=Body()%> Where the Body method is ...more >>

Re: Auto Refresh
Posted by Ibrahim Shameeque at 3/29/2004 12:16:08 PM
"Ibrahim Shameeque" <ibrahim(removethis)(at symbol)petroweb-solutions.com> wrote in message news:... > You can use a javascript function and set the time out property. > > <script language="javascript"> > > function settimer(){ > setTimeout("reloadme()",10000); > } > > function reloadme()...more >>

Modifying html in codebehind
Posted by Rick Morayniss at 3/29/2004 11:49:49 AM
I am trying HtmlTextWriter, but I cant get it to work. I need to manipulate a html table through codebehind. If I could write the html page, everything would be fine. Please help. ...more >>

Too many characters in character literal... not using char!
Posted by yuckapoo NO[at]SPAM yahoo.com at 3/29/2004 11:33:58 AM
I'm getting this error message when using a conditional in a repeater: Compiler Error Message: CS1012: Too many characters in character literal According to MSDN, this message means that I'm trying to initialize a char constant with more than one character, like: char a = 'xx' It's dis...more >>

ASP.NET and ADO.NET
Posted by Marcin Tracz at 3/29/2004 11:33:03 AM
Hello! I've got small problem with ADO.NET. I have to use transaction on my page. I init connection with DB and transaction by: If Conn.State = ConnectionState.Broken Or Conn.State = ConnectionState.Closed Then Conn.Open() End If Dim ObjTrans As SqlTransaction Dim comma...more >>

Accessing controls in a user control
Posted by Kay at 3/29/2004 11:19:45 AM
Hello, I have a user control which I add to my page. The user control has a number of hyperlinks. From within my page I want to access a particular hyperlink and disable it, How do I do this? Thanks, Kay. ...more >>

ExitWindowsEx from asp.net
Posted by pdumais NO[at]SPAM idokorro.com at 3/29/2004 11:17:19 AM
I am trying to call the function ExitWindowsEx from ASP.NET but I get the error 1314, ERROR_PRIVILEGE_NOT_HELD. I have enabled the SeShutdownPrivilege token. I cannot use WMI since WMI is not able to reboot the local machine. Does anyone have any ideas why this does not want to work, or any ...more >>

CustomErrors isn't redirecting
Posted by William Ryan eMVP at 3/29/2004 11:14:37 AM
I'm having a problem with CustomErrors. Here's the snippet I'm using in my web.config <customErrors defaultRedirect="AppError.aspx" mode="On" /> Now, I'm intentionally raising an exception to test to see if it's redirecting correctly.(I'm positive that the exception is being thrown and it's ...more >>

Help - encrypt & decrypt strings
Posted by Jeremy at 3/29/2004 11:06:08 AM
I need to encrypt and decrypt a string in an ASP.NET web page, but I don't know where to start or how to do it. Can somebody please point me in the right direction Thanks Jeremy...more >>

Smtp in ASP.NEt
Posted by Johny at 3/29/2004 11:00:58 AM
I have the next code! Dim email As New MailMessage email.From = info@webmaster.com email.To = info2@webmaster.com email.Body = "Testing Email" email.BodyFormat = MailFormat.Html email.Subject = "Probando el EMAIL" SmtpMail.SmtpServer = "smtp.webmaster.com" SmtpMail.Send(email) But I nee...more >>

Unknown user name or bad password
Posted by Gerald Trainer at 3/29/2004 10:52:17 AM
I have a procedure in an asp.net page that creates a file. As long as I point it to a share on the server on which the site resides, it works. However, if I point it to a share on a different server, I get "System.IO.IOException: Logon failure: unknown user name or bad password." when the page ...more >>

Stop an asp.net application?
Posted by mirek at 3/29/2004 10:50:11 AM
Hi, How to stop (unload) ASP.NET application? Is it possible? I've some initialization code in Application_Start and when something is wrong (bad parameters, cannot connect to db) it throws exception. But it seems that the application is started even if there were errors. Result is that the...more >>

Dynamically include client-side javascript
Posted by Andrea Williams at 3/29/2004 10:38:50 AM
I have a debug component that writes certain info into a DIV so that I can see the things I need to debug the production server (It's only enabled for my IP address). I also have client-side JavaScript that floats this div on top of everything else in the browser and keeps it al the bottom of th...more >>

Editable DropDownList
Posted by Ian Oldbury at 3/29/2004 10:31:01 AM
Hi I need to place a DropDownList within the grid and have it editable when the grid isn't in edit mode. I've been able to place the control on the grid and have it working including the postback. However the problem that i'm experiencing is that i can't find out which row the user is on. ...more >>

Enterprise Services - ASP.Net
Posted by Mythran at 3/29/2004 10:30:51 AM
Group, I have an ASP.Net application which contains separate projects in a solution. Two of the projects (DAL and BLL) include the TransactionAttribute for each class which, in turn, inherits the ServicedComponent base class, sample definition below: <Transaction(TransactionOption.Required)...more >>

Strange bug: application dies (partially) after restart
Posted by Bruno Jouhier [MVP] at 3/29/2004 10:28:40 AM
We are observing a strange phenomenon on our ASP .NET applications: If the applications are cold started (after a server reboot or an II restart), they run for days without any problem. But if they get restarted while IIS is running (because the web.config file got modified, or because the D...more >>

previous page
Posted by Marcos MOS at 3/29/2004 10:25:30 AM
Hi there! Browsing... How Can I know the name of the previous page? thanks... Marcos ...more >>

theadabortexception
Posted by Ashish Sharma at 3/29/2004 9:20:46 AM
i guess this is a very obvious issue with people, i have something in my logic where i want to to write something to the output and end the response .. that event may occur deep inside function calls, and i really dont wanna put a safe in the catch statements to catch this legitimate exc...more >>

Problem2
Posted by Murphy at 3/29/2004 8:36:49 AM
My code does not run... I have saved the file with an aspx extension and when I view it the page displays the HTML content but the code does not run ? I'm guessing my server is not configured correctly. Once again the code is very basic: <%@ Page Language="VB" %> <html> <head> <...more >>

Context Sensitive Web Menus in ASP.NET
Posted by info NO[at]SPAM eyelightmedia.com at 3/29/2004 8:31:57 AM
Hi everyone, This is what I am trying to do. I have a simple horizontal menu on the top of my webpage. And I mean simple, basically 6 hyperlink controls. I didn't want rollover images because they are harder to update and I opted to use hyperlink controls because they have the potential to pr...more >>

Sorting on calculated columns in a datagrid
Posted by Philip Townsend at 3/29/2004 8:19:45 AM
I have a datagrid control that builds from an XML file, which contains values that are calculated when the datagrid is rendered. I need to sort those calculated columns in descending order. Can anybody help with this? *** Sent via Developersdex http://www.developersdex.com *** Don't just ...more >>

file upload
Posted by Mark Finkel at 3/29/2004 8:16:10 AM
I am trying to upload a file, but I keep getting nothing uploaded <form enctype="multipart/form-data" runat="server" ID="Form1" method="post"><INPUT type="file"><asp:TextBox id="TextBox1" runat="server"></asp:TextBox><asp:Button id="Button1" runat="server" Text="Button"></asp:Button></form ...more >>

Populate dropdown using XML
Posted by brian at 3/29/2004 8:01:35 AM
I have never done anything with XML and would like to figure out how to populate a dropdown with XML in ASP.NET using VB. The dropdown will only contain years as a field and a value. Such as 2004, 2003, 2002, 2001. I need help constructing the document. Then I need to populate the dr...more >>

Sobre Server.Tranfer
Posted by NetDragonKing at 3/29/2004 7:00:13 AM
Hola grupo, cuando uso Server.Transfer puedo pasarles el viewState a la pagina transferida y en el caso del ImageButton también las coordenadas x e y donde se produjo el click pero cuando se trata de los demás controles no encuentro nada más que solo el texto. Alguien podría comentarme sobre e...more >>

too Simple but too Difficult
Posted by Apostolis K. at 3/29/2004 5:49:37 AM
Hallo All I am new to ASP.NET and I am learning it followed by a book that doesn't help me a lot. My first exersize is to make an ASP.NET page in which the user will enter a username and a password. When the submit button is pressed, a message will appear in a second text box to verify if t...more >>

displaying word doc
Posted by hully at 3/29/2004 5:11:08 AM
how can i display word document without saving it on the sever...more >>

garbage collection
Posted by jzink at 3/29/2004 4:51:08 AM
what is the best performance monitor for me to add to check for the memory being used by my asp.net app ----- Jeremy wrote: ---- >> If I keep an eye on the memory being utilitized by the worker processe (via taskmgr) I see it start at around 30K and will grow to around 140...more >>

Disabling cliend side cache via code
Posted by Curia Damiano at 3/29/2004 4:43:31 AM
Using VS 2003, I create a new web application. In the Page_Load of the main page I insert: Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(new DateTime(1990, 1, 1)); but in the header of the resulting page nothing changes! So I've tried with: Response.Cl...more >>

Problems with FormsAuthentication.SignOut()
Posted by xikotripa NO[at]SPAM bol.com.br at 3/29/2004 4:29:15 AM
Hi all I've implemented a login using Active Directory authentication, I mean the user must be an Active Directory domain user on our network and should be login on the web site through aspx web page. I did everything as MSDN article in http://msdn.microsoft.com/library/default.asp?url=/l...more >>

table id generated from datagrid
Posted by Shravan at 3/29/2004 4:21:05 AM
Hi All, I have extended WebControl which contains a datagrid in it. I am using that WebControl dynamically in my code to show datagrid. When the datagrid is rendered in the browser the id of the table being rendered is a autogenerated one like '_ctl2', ** but I want to assign my own name to the ...more >>

Smart Navigation not working
Posted by Chris Pearce at 3/29/2004 4:16:07 AM
I have a web application that successfully runs on both my local machine and another web server I have just tried to deploy it yet another web server and now find that the smart navigation feature does not work When I do a Response.Redirect from a web page that uses smart navigation, rather than...more >>

Response.Redirect alternative?
Posted by gert NO[at]SPAM iscrip.co.za at 3/29/2004 2:51:45 AM
Hi I have a Click event that looks much like below: Add.Click += new System.EventHandler(Add_Click); private void Add_Click(object sender, System.EventArgs e) { MenuItem oMenuItem = sender as MenuItem; Response.Redirect("AddEditPage.aspx?class=" + oMenuItem.ID); } This works fi...more >>

BUG? With A HTTPModule
Posted by johndoe NO[at]SPAM driver.net at 3/29/2004 2:40:21 AM
I have come across a very strange bug while working with an HTTPModule. The bug appears to manifest itself when in the context_BeginRequest making a call to context.Request.QueryString["SomeItem"] when no items are specified. Example code is try { if (context.Request...more >>

Auto Refresh
Posted by Machi at 3/29/2004 1:41:07 AM
I want to refresh my login page every 10 seconds ... However, it seems that when i execute the below statement ... it will refresh the whole ASP.NET Application, it means that it will refresh every 10 seconds no matter which page i go into ... May i know how to only auto refresh the login page (lng_...more >>

How to get Visual Studio to use quotes for html tag attributes
Posted by Max at 3/29/2004 12:51:19 AM
VS gives me: <meta content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema> But I want to change it to: <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> When I change it, it just changes it back and then it makes all my code look mes...more >>


DevelopmentNow Blog