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 > july 2007 > threads for thursday july 26

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

Application State Unload
Posted by Charlie at 7/26/2007 8:32:03 PM
I have written an ASP.Net web application in C#. On Appplication_Start the code loads some data from the database into memory. It stores the data in Application State variables. The data is read only. So far so good. If no one uses the Application for a certain period of time IIS unloads i...more >>

VS & IIS alternative?
Posted by xz at 7/26/2007 7:56:09 PM
I'm looking for a toolset to do basic web-dev w/ some easy if-then type encapsulated biz logic that hits a db - even Access. Can't use VS because IIS isn't an option... and the tool wont even install on the machine. Any alternative tools that have at least a decent GUI environment. I know I m...more >>

Retrieving the Cellcontent of a GridView
Posted by Sebastian at 7/26/2007 7:13:36 PM
Hello! I have bound a DataTable to my GridView. The DataTable has 3 Columns and I display the Data with TemplateFields in my GridView. I have in the first Column "LinkButton" - Field and in the other two Columns I have "Label" - Fields! How can I retrieve the Data of the third Column...more >>

Error trying to connect to local database - What is going on?
Posted by Alan Silver at 7/26/2007 6:07:43 PM
Hello, Server configuration: Windows 2003 Server SP2 SQL Server 2000 SP4 ..NET v2.0.50727 just built up a new server using the same configuration as my current one. I even used the same CDs and registration keys, so I'm certain that the two machines are as similar as they can be. I m...more >>

Remove Items from List Box
Posted by Lit at 7/26/2007 5:09:08 PM
Hi, what is the best way of removing multiple items from a list box found in another list box. Foreach does not allow you to modify itself Looping through has index issues. Other than copying to new instance what gives? thanks, Lit ...more >>

Cannot attach aspnet process to debug
Posted by Andrew at 7/26/2007 4:52:02 PM
Hello, friends, I am using .net 2005 to develope a web service based application. When accessing web services from client side, I always attach aspnet process to have a step by step debugging. However, for some unknown reason, this process disappeared in Available Processes list of Atta...more >>

Webpage loading takes about 15 seconds with DSL
Posted by Danny at 7/26/2007 4:14:27 PM
Hi, we have just uploaded our first APS.NET webpage some days ago. Now we had to notice that it takes soo long until the page is shown. About 15 seconds. First we thought, maybe it's because we have our clients in germany and the server is located in the USA. But this is not the reason,...more >>

How to get the requesting URL
Posted by magic kat at 7/26/2007 3:55:17 PM
How can I get the full url of the page that is calling my page? I tried the below, but it gives me my page, not the page that redirected to me. ' Dim sURL as String 'if strcomp(Request.ServerVariables ("HTTPS"), "ON", 1) = 0 then ' sURL = "https://" 'else ' sURL = "http://" 'end i...more >>



HttpCookie.Expires
Posted by John Grandy at 7/26/2007 3:32:42 PM
If you don't set the HttpCookie.Expires property does that mean the cookie never expires ? Thanks. ...more >>

Strange event behavior with check boxes
Posted by Froefel at 7/26/2007 3:23:14 PM
I've designed a gridview that contains a template field with an unbound checkbox, allowing the user to select certain rows for further action. I am capturing the CheckedChanged event in order to set the grid's SelectedIndex equal to the row whose check box was checked or unchecked. However, f...more >>

URL Rewriting and file paths
Posted by musosdev at 7/26/2007 2:46:01 PM
Hi guys I'm having trouble with URL rewriting using HttpApplication.Context.RewritePath in a web application I've created. Everything works, but the links (css, images) in the pages break when I do a URL rewrite. For example, my masterpage has css links in the header to "~/_css/myfil...more >>

AJAX + Webserivces = error 12030
Posted by kpg at 7/26/2007 2:19:49 PM
I have an AJAX enabled web service consumed by an AJAX enabled web app, given a zip code it returns the city and state. Tested the web service, it works fine. I created a services collection in the script manager and pointed to my web service. I call the web service from an html input bu...more >>

SqlProfileProvider provides custom User Info // Anything for the Application Entity?
Posted by sloan at 7/26/2007 1:45:30 PM
you can use a ProfileProvider ( with one implmentation being the SqlProfileProvider class ) to add some custom info about a User. (Height, Weight, EyeColor as an example) Is there a way to add custom information to the Application (s) ? The reason I'm asking is I'd like to have a...more >>

SqlCacheDependency with Sql 2000
Posted by Hakan Ugur at 7/26/2007 12:35:55 PM
Hi All, Framework version:2.0 Sql Server 2000 I want to use SqlCacheDependency to caching.To be able to use that, i need to specifeid connection string in web config. But we are stroring connection string in registry. Is there any way to do that without changing web.config file? Than...more >>

how do I troubleshoot this System.Net.Sockets.SocketException?
Posted by PJ6 at 7/26/2007 12:00:35 PM
I can't figure this out. I have several references to style sheets and javascript files in my page header, the contents of which are served dynamically by my httphandler that serves *.res requests. The handler works most of the time, but occasionally the page load hangs on the loading of the ...more >>

ASP.Net and Barcode Scanner
Posted by chris_gpf1 NO[at]SPAM hotmail.com at 7/26/2007 11:59:24 AM
Hi, I'm working on a website where the user will have to scan a barcode with a serial barcode scanner. I get the scanner working and reading the barcode, but when I want to write the string in a Textbox, it's not working. The Textbox remain blank. Here's the code: WithEvents _comPort ...more >>

UI Framework
Posted by Giuliano Musso at 7/26/2007 11:56:00 AM
Hi all, i'm starting the development of an UI framework in C# and ASP.NET, this framework must generate pages on the fly and supply validation routines and CRUD operations. Could anyone address me on resource that can explain me best practices about realization of this kind of frameworks ? ...more >>

Free Blog Program?
Posted by sam26mcl NO[at]SPAM gmail.com at 7/26/2007 11:46:02 AM
I'm looking for a nice free blog program that I can install and post messages from there. Any suggestions? ...more >>

Getting groups in sub-OU using substring of OU
Posted by Mike D at 7/26/2007 10:52:02 AM
Is it possible to retreive groups from a sub-OU by using substring? I need to be able to loop over the OUs of a OU to see if any have a sub-OU whose Name ends with 'Security Groups' and output the groups from that sub-OU to a web page using C#. Any help with this daunting task would be appre...more >>

Component
Posted by Rafael tejera at 7/26/2007 10:23:39 AM
Has anybody a component to convert any type of video to flash video (swf or flv). Sincerely, Rafael ...more >>

What would be the best way to add "Please Choose" to a data bound DropDown?
Posted by Max2006 at 7/26/2007 10:10:57 AM
Hi, I have a DropDown bound to a DataTable and I would like to add "Please Choose" as the 1st default item. I know that I can add "Please Choose" to the DataTable; but I wonder if I do the same without manipulating the DataTable. Thanks, Max ...more >>

Book to learn ASP.NET from?
Posted by Chris Holmes at 7/26/2007 9:12:51 AM
I'm looking for advice on which book would be good for me to learn ASP.NET from (I learn well from books). I've been programming since mid-nineties, mostly using MS technologies. I'm very familiar with VB, C++, ASP, MSSQL, COM/MTS/COM +, MSMQ, etc. I played with .NET when it first came out (...more >>

Is this a read/write race condition?
Posted by at 7/26/2007 9:01:32 AM
I do not quite understand the race condition. As I posted a couple of days ago, I create a PDF on the fly in my web application at regular intervals. Users will be able to download the PDF file. Suppose, at the time when my application is in the process of generating the PDF file (which ta...more >>

Display a picture for say 5 seconds and then display a message.
Posted by Mufasa at 7/26/2007 8:37:41 AM
I want to have a page where somebody can press the submit button and then it will display a jpg for a couple of seconds and then print results. (I want to give them the impression the system is thinking about something even though it really isn't - perception an all....) Any suggestions on ...more >>

assign imageurl on the fly
Posted by Ganesh at 7/26/2007 7:44:28 AM
Hi There I've assigned the Imageurl on ImageButton in design time like this http://localhost/aspnetsbs_cs/SimpleTest/WebForm4.aspx?image=images/one.jpg&size=100 but when i try from on run time, it does not seem to be working someone can advise me please The above url is creating image...more >>

Session list count from the IIS ?
Posted by Loyola stalin at 7/26/2007 6:14:03 AM
Hi, I am using ASP .NET 2.0 along with Windows'XP OS. Let me explain the problem, whenever the user singing into a application, we need to create the session for the specific user. I want to retrieve all the session objects, which is available on the application server[IIS]....more >>

Session vs Cookie performance for Authentication
Posted by at 7/26/2007 6:01:30 AM
Hi, I am trying to deceive whether I should use Asp.net 2.0's FormAuthentication (cookie) or the Session object to store the login ID of a given user. Question 1: Assuming that the app will only run on a single server (not a web farm), which option would perform better (in terms of executi...more >>

Request Validation
Posted by Victor at 7/26/2007 1:04:49 AM
Hi guys I have a question regarding to how to do the request validation on user's input. We all know in asp.net. when user input something like <a>blah blah</a> by default, It will throw a HttpRequestValidationException say "A potentially dangerous Request.Form value was detected from the cli...more >>

Web Site deployment in asp.net 2.0,
Posted by archana at 7/26/2007 12:26:35 AM
Hi all, I have developed web site which i developed in asp.net 2.0. I want to deploy it on prodution server. So here i need to copy all code behind files of aspx page which i don't want. I want deployment to be exactly same as asp.net 1.1. Means only aspx page with dll for all code behind...more >>

Counterpart of Javascript decodeURI()
Posted by Han at 7/26/2007 12:19:01 AM
Hello I am passing string from dotnet to javascript. ", ', newline characters, and something. So I am using httputility.urlEncode() to make it neat. Now a JS function accepts the encoded string and decode using decodeURI(). But still there are unsolved characters and some +, %, and hex numbe...more >>

Passing <%= myControl.ClientID %> into Javascript function
Posted by Alex at 7/26/2007 12:00:00 AM
I can successfully use <%=myControl.ClientID%> inside of a Javascript function, but does anyone know if it is possible to pass this value to my Javascript function? The reason I want to do this is so I can abstract my Javascript function out of my ASP.NET user control. Ideally, I would like to...more >>

Unable to run asp.net 2.0 application on server
Posted by Rob Meade at 7/26/2007 12:00:00 AM
Hi all, This is the first time I've encountered this problem. This moring I have installed .Net 2.0 framework and AJAX 1.0 onto our server which already had .Net 1.1 installed upon it. After installing some security patches and rebooting everything was back up and running. I then tes...more >>


DevelopmentNow Blog