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


all groups > asp.net > january 2004

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

Total user count in Web-application
Posted by KS at 1/31/2004 11:53:48 PM
I have made a WebForm with log ON/OFF off users. There is a label that shows the total count off users logged on stored in Application("UserCount") It works fine if the users logs out WITH THE LOG-OUT BUTTON, but what if a user "logs out" by closing with the X-button ? If I count down the...more >>

ASP session vs. ASP.NET session
Posted by Ed at 1/31/2004 11:43:14 PM
Is it possible to define a SESSION("userid") in ASP and then retrieve its value from ASP.NET? (Suppose I have an application in both ASP and ASP.NET.) Thanks. ...more >>

Border Attribute on Table Webcontrol
Posted by Unknown at 1/31/2004 11:35:15 PM
When I create a Table webcontrol programmatically (no static table tag in the aspx file), it renders in the HTML with a border attribute set to "0". If I add my own border attribute--MyTable.Attributes.Add("border", "1")--with a value of "1", the border attribute shows up twice in the HTML tag...more >>

asp & js
Posted by DzemoT. at 1/31/2004 10:16:57 PM
i have this <div id="container" style="width:215px;height:200px;overflow-y:scroll;overflow:-moz-scrollbars-v ertical"> <div id="sc" style="position:relative"><img src="pic1.jpg" /><br /> <img src="pic2.jpg" /><br /> <img src="pic3.jpg" /><br /> <img src="Golf-4.jpg" /><br /> <img...more >>

Multiple Dropdowns in a user control
Posted by Damon at 1/31/2004 9:57:23 PM
I am working on a site in which I would like to have two dropdowns that will allow a user to navigate through the administrative pages of the site. The first would allow the user to choose the particular site that they would like to edit. The second would allow the user to select which admin scre...more >>

Javascript client-side post and keep viewstates?
Posted by Bruce W.1 at 1/31/2004 9:39:43 PM
I need to do a post on the client side (with an html button) to another aspx URL, while keeping the viewstates. So I made an html button with onClick="location.href='whatever.aspx?state=true'" This works but I lose everything that was in my textboxes and other controls. I think this onClic...more >>

Major security issue?
Posted by Keith at 1/31/2004 8:37:13 PM
I have found what I believe to be a serious security issue in ASP.Net. If you have: 1. Your website configured for anonymous access 2. Elect under web.config to set the sessionstate attribute of cookieless to true Anyone from any IP address or across another browser can copy the URL an...more >>

hyperlinkcolumn
Posted by Shawn at 1/31/2004 7:18:20 PM
Hi. I have a DataGrid with a hyperlinkcolumn, like this: <asp:hyperlinkcolumn datanavigateurlfield="prr_id" datanavigateurlformatstring="test.aspx?prr_id={0}" datatextfield="full_name"></asp:hyperlinkcolumn> How can I get the value of it's datatextfield (full_name) from my code? If I try d...more >>



Adding a line break to a Panel-Object
Posted by Thomas Reichgruber at 1/31/2004 6:33:39 PM
Hi, does anybody know how to add a linebreak dynamically to a Panel? In the code behind file aspx.cs my webapplication dynamically adds WebControls to a Panel defined in the .aspx file. This looks like this: Button MyButton = new Button(); MyPanel.Controls.Add(MyButton); This works great...more >>

DirectoryServicesEntry - Problem on Windows NT workstation
Posted by Günther Rühmann at 1/31/2004 5:13:51 PM
Hi, I´m not sure if i´m right int this group... My problem: I made a vb .net application that reads from AD via System.Directoryservices.Directoryentry. The appliocation enumerates group members. It works fine on W2k - machines. It works on a WinNT 4 - server, too, but it stops with a runtime...more >>

What to upload to my ISP ?
Posted by KS at 1/31/2004 4:15:28 PM
When I'm trrough with test of the solution, let's say "MyFirstWebApp", - what 1) has to be uploaded to my ISP ? 2) where can I find it locally ? 3) How can I upload it ? KS, Denmark ...more >>

better approaches
Posted by Vicky at 1/31/2004 3:56:51 PM
which one is better approach among the two listed below 1. Opening connection on each web page for doing some database transaction 2. Opening connection once and store it in application object, and then refering this application object on each web page. Thanks ...more >>

Data Type conversion error.....
Posted by Smith John at 1/31/2004 3:46:13 PM
Here is my ASP.Net code "If CustomerCMD.Parameters("@Checkout").Value = 0 Then" Since I set the option strict on.... It is throwing type missmatch error. @Checkout is a "tinyinteger" in SQL Server. Please advice. Thanks, Smith ...more >>

Include HTML into ASPX and buttons
Posted by Hai Nguyen at 1/31/2004 3:41:31 PM
Hi everyone I'm an situation that I don't know how to solve. First, I have several files which will be generated from database and saved under html format and store in a different folder (this was created by so else which does not include buttons for me). Because I need to include those fil...more >>

Multiple recordset from a stored procedure
Posted by Jon Spivey at 1/31/2004 2:58:30 PM
Hi, using vb.net/sql server 2000 migrating an app from asp to asp.net. I have a stored procedure that returns 3 recordsets. In asp to move to the next recordset I'd just do <% set rs = rs.nextrecordset ' display data set rs = rs.nextrecordset ' display data 'etc Is there an equivalant to...more >>

Ref the last page without use of Session
Posted by ElanKathir at 1/31/2004 2:56:40 PM
Hi ! My ? is I want the last page Contols data in Current page without use of Session object, If it is +, How many long it takes, Mean How many down like's. Thanks & Regards, Elankathir ...more >>

Open Excel sheet with ADO - problems
Posted by Dan Brussee at 1/31/2004 2:33:39 PM
I am able to open an Excell (2000) spreadsheet using ADO.NET, and for the most part, it works well. However, partway through the records, the data stops coming in for the column. The column should be read as a text field, although many of the records are all numeric. For example, in the record...more >>

Code Reusability -- Extending web Application
Posted by popsovy NO[at]SPAM rusmex.com at 1/31/2004 1:26:07 PM
Hi, This is a code reusability question. I want to include a function that sends an email message from my site. I want to include the code for the function only once and then be able to call this function from any of my pages. I am aware that there are a number of different solutions to this pro...more >>

Left Align Text In Server Button
Posted by DM at 1/31/2004 11:11:37 AM
Is there any way to left align the text in a server control button? ...more >>

Web Form resize ? Urgent.
Posted by Daniel Khor at 1/31/2004 7:56:06 AM
Does anyone know how to make the content in the web form resize together when the browser is being adjusted ? Your help will be appreciated .. Daniel Khor....more >>

Error while trying to run project: Unable to start debugging on the web server. The project is not configured
Posted by kenls1957 NO[at]SPAM yahoo.com at 1/31/2004 7:13:53 AM
I spend more time tweaking this stupid computer than I do programming!!!! Although I love working in .NET when I finally get the chance - I absolutley hate its fragile nature. What a mess.... Anyway, I've googled the crap out of this error message and there are at least a half a dozen non-re...more >>

querystring and going back in browser
Posted by tony collier at 1/31/2004 5:58:04 AM
Hi all I have a shopping cart which I have had to use querystrings to add/remove items rather than a form. for example, i have a page with a list of items and next to each one is a button which when clicked refers to the same page with a different querystring item=12, item=33 etc. My pa...more >>

2 Browser Instances sharing the same session (using Ctrl-N)
Posted by Augustin Prasanna. J at 1/31/2004 3:21:08 AM
Hi, When the user opens a new browser instance using 'Ctrl-N' and logs in with a different user login, both the browser instances begins to share the same session. Any suggestions on how to handle this issue ? Thanks, Augustin...more >>

webpages
Posted by reiks at 1/31/2004 1:56:06 AM
I want to get a pop up menu up on the click of my mouse in my web page. How can I acheive this?...more >>

WebForm Template
Posted by Yoramo at 1/31/2004 1:42:32 AM
hello I have created a WebForm and I would like that some of my pages will use it as a base design (template). can I inherit the layout of this WebForm in another WebForm? How do I do that? Yoramo ...more >>

Difficult to maintain the scroll position..... ASP.Net and IE 6.0
Posted by Smith John at 1/31/2004 12:29:40 AM
I am developing web based application using ASP.Net. When the user clicks on the last button in the screen(scrolled down screen), screen postback happens, and display at the start of the page. 1. How to maintain the scrolled position in the web form. 2. I made the following changes in web.conf...more >>

Need to Search DropDown List Items
Posted by George at 1/30/2004 10:56:05 PM
Using VS.NET 2002\Web Form\VB I have a dropdown list that will contain letters of the alphabet. At startup, it has only the letter A in the list. I add letters to the items list, as needed. However, before I add a new letter, I need to see if the letter is already in the list. After determing ...more >>

What am I doing wrong? (Datagrid)
Posted by Kristoffer Arfvidson at 1/30/2004 10:55:11 PM
Im trying to get access to a table in codebehind, because the information in this table is different depending on what it says in the database... So, either I have to access it from codebehind, or Ill have to make bit of code on the aspx page... However, I would prefere code in the aspx page a...more >>

inprocess applcs
Posted by reiks at 1/30/2004 10:31:08 PM
what do u mean by inprocess application model?...more >>

Q: Questions about ViewState versus Session.
Posted by Sky at 1/30/2004 9:58:20 PM
Although I've been using C# for the last month or so, and accepting out of blind faith the ViewState, I do have some nagging questions about it... can you help verify the following statements? Application is across all sessions. Session is across all pages. ViewState is sort of like Session, ...more >>

Thread accessing session variables?
Posted by Bruce W.1 at 1/30/2004 9:09:06 PM
I need to spin of a thread that periodically checks the Application state. How can a thread access Application or Session states? Send it the httpContext? Thanks for your help....more >>

My first mobile web app
Posted by Jay at 1/30/2004 8:23:03 PM
I set up a .NET Mobile web app with a very simple script. I used the template that is default. I added some text inbetween the form tags. I attempted to navigate to it using my laptop browser with no problem. I then attempted to navigate from my web-enabled cell phone to my laptop XP machine ...more >>

Accessing label inside headertemplates
Posted by Kristoffer Arfvidson at 1/30/2004 7:22:57 PM
<asp:DataGrid id="DataGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False" Font-Names="Verdana, Arial, Helvetica, sans-serif" AllowCustomPaging="True" GridLines="Horizontal"> <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="Teal"></HeaderStyle> <Columns> <asp:Te...more >>

how to solve NT AUTHORITY\ANONYMOUS log fail
Posted by c0371 at 1/30/2004 7:22:28 PM
&#22312;ASP&#27979;&#35797;&#20013;&#20986;&#29616;NT = AUTHORITY\ANONYMOUS &#32780;&#22833;&#36133;&#65292;&#34920;&#26126; Web = &#26381;&#21153;&#22120; &#19978;&#30340;&#26631;&#35782;&#27809;&#26377;&#32593;&#32476;&#20973;&= #25454;&#65292;&#20294;&#26159;&#27491;&#22312;&#35797;&#22270;&#...more >>

Q: Get Text from Hyperlink Column?
Posted by Soul at 1/30/2004 6:29:36 PM
Hi, I have a column in my DataGrid which is a Hyperlink Column. Everything work fine except when I try to get the text of the column using this.DataGrid.SelectedItem.Cells[6­ ].Text, I got blank value!! People from some forum suggest to use ((LinkButton) this.DataGrid.SelectedItem.Cells[6­ ...more >>

lock an xmlfile
Posted by Shawn at 1/30/2004 6:00:00 PM
Hi. I have a webservice method that receives an XmlNode. It then loads an existing xml file into an XmlDocument, appends the new XmlNode to the XmlDocument and saves it back to the xml file. But what if another user is doing the same thing at the same time? I did a test and found out that the f...more >>

TreeView Control.
Posted by Claude seraphin at 1/30/2004 5:58:38 PM
Does anyone know of any start up source code for building a an asp.net tree view control. There is one provided for used with IE but for obvious reaseon, i 'm not going to use it. Any help will be appreciated. ...more >>

Web Hosting and ASP.NET
Posted by Andrew J Durstewitz at 1/30/2004 5:56:06 PM
Hi! Currently I'm a trained ASP.NET developer, however, most of my experience lays with actually having total control on the server i'm working with. Recently I have been working on a project hosted by a standard webhosting company. The problem comes when I try to get to the aspx page that I ...more >>

How can a program create a page like this?
Posted by Trint Smith at 1/30/2004 5:39:50 PM
How can I get a program in vs.net, when a user makes selections then clicks a button, to create a results page like one might get from google.com, yahoo.com or an ebay search? like this: photo | something | and some detail....... photo | something | and some detail....... photo | somethi...more >>

How to get checkbox text in javascript?
Posted by Kb at 1/30/2004 5:39:11 PM
Hi all, I have an asp:checkbox on a form, and i added onclick attribute to it. When the checkbox is clicked I want to add its text to a textbox. But I can't get its text. The checkbox is rendered in html separately, followed by the <label for> tag - that's where the text is. But how to access it...more >>

DataGrid going blank on edit
Posted by Chris Brandsma at 1/30/2004 5:00:06 PM
I'm thinking this is simple, but... I added an Edit/Update/Cancel column to a DataGrid. Any time I hit the edit/Update/Cancel button the grid returns blank (no rows returned but the header and footer). My EditCommand code looks like this (pretty simple): DataGrid2.EditItemIndex = e.Item....more >>

Correct Group?
Posted by Mary at 1/30/2004 4:52:02 PM
Please direct me to the correct ng for ASP newbies. Thank you. ...more >>

The Command event of dynamically loaded controls
Posted by Donald Xie at 1/30/2004 4:52:00 PM
Hi, I noticed an interesting effect when working with controls that are dynamically loaded. For instance, on a web form with a PlaceHolder control named ImageHolder, I dynamically add an image button at runtime: //----- Code snippet protected System.Web.UI.WebControls.PlaceHolder ImageHolde...more >>

ASPNET hangs..
Posted by turinreza at 1/30/2004 4:21:07 PM
have a dump but no unmanaged code at all any hints # 0 Id: ad4.99c Suspend: 1 Teb: 7ffde000 Unfroze ChildEBP RetAddr Args to Child WARNING: Stack unwind information not available. Following frames may be wrong 0012f8d0 7c59a0b8 000000fa 00000000 00422c17 NTDLL!NtDelayExecution+...more >>

i try make my frist ASP.net page :''-(((
Posted by Kasek at 1/30/2004 4:12:34 PM
how can I center object (for exmaple: panel, statictext) on asp.net pages asp.net ??? Which object and method return wight of www browser window. I need set left margin and width, because i need panels, static text,etc are on center of page. ('mI happy - on panel I can set CENTER object ...more >>

ASP.NET C# with VS 2003 Videos?
Posted by CSDunn at 1/30/2004 4:08:30 PM
Hello, Would anyone have any suggestion for good training videos for ASP.NET with C# on Visual Studio 2003? The only thing I have been able to find was at www.learnvisualstudio.net. Thanks for your help! CSDunn ...more >>

Web Server set-up for .NET 2003
Posted by Gianna Mara at 1/30/2004 4:06:08 PM
I need to give clear instructions to our web server administrator as to what needs to be installed on that server in order for me to put web forms up. The web forms will be created in Visual Studio.NET 2003. We want to have the forms feed information into our SQL server. She is just now setting u...more >>

Save Uploaded Text To DB
Posted by Yama at 1/30/2004 4:06:08 PM
Hi Step 1: I would like to upload a comma-delimited text file to my server Step 2: Save it to a table in SQL 2K dynamically after clicking a Step 2 action button Possible? Or Not Possible Help Yama Kamya ...more >>

without Forms authentication.redirectFromLoginPage()?
Posted by .NET Follower at 1/30/2004 4:02:16 PM
i wan to divert users to login page if they r on secure page and then again redirect to the original page without Forms authentication.redirectFromLoginPage() and also without HTTP_REFERER. -- Thanks and Regards, Amit Agarwal Software Programmer(.NET) --- Outgoing mail is cert...more >>

Asp.Net Callback
Posted by Kim Larsen at 1/30/2004 3:49:48 PM
Hi, Is it possible to make a application i Asp.Net, where the client (webbrowser) gets notified when the Server has new data. What i mean is that like a Java applet, it's running som code in the background and when the server has new data, the client is notified and writes the data to the s...more >>


DevelopmentNow Blog