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 > august 2005

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

Strange Issue on replacing Image control with ImageButton control
Posted by jens.buchta NO[at]SPAM gmx.net at 8/31/2005 11:53:56 PM
Hi! I'm using a DataGrid with a template column to display an Image inside of it. I'm hooking into its OnPrerender-Event to set the ImageURL-Property dynamically. Everything works just fine here, until I thought "It would be cool, if the user could click on that image..". So I replaced the Im...more >>

CheckSuspiciousPhysicalPath issue in ASP.Net Framework 1.1 SP1 fix
Posted by Leon at 8/31/2005 11:43:31 PM
Hello all, I have come across an issue with the fix KB886903 - http://www.microsoft.com/technet/security/Bulletin/MS05-004.mspx which is to do with the ASP.Net path validation vulnerability. This fix is included automatically in SP1 for Windows Server 2003 also, and I have been unable to ...more >>

ASP.NET SQL Processes
Posted by Tim::.. at 8/31/2005 11:34:22 PM
Can someone please tell me how I get around this??? I have an ASP.NET web application that uses an SQL 2000 database for the majority of the web sites content... If the application comes up with an error the process on the SQL server remains alive. How do I make sure that the process is ki...more >>

Can not write cookie to localhost, why?
Posted by Lawrence Chang at 8/31/2005 11:07:47 PM
Hi, I'm learning asp.net. I'm using my localhost IIS. I tried to write a cookie to my hard drive but I couldn't. Following is my code to write cookie in Page_Load handler. HttpCookie panout=new HttpCookie("BackColour"); panout.Value="Blue"; Response.Cookies.Add(panout); I set Trace...more >>

VS 2005 query
Posted by prajakta M at 8/31/2005 10:28:03 PM
I had a query regarding Framework2.0 Beta. Wanted to know how can I create a ASP.NET application (local IIS or file system). This is what we are doing: Open VS 2005 à create website select ASP.NET and location as "filesystem". The application gets created. However when we save this...more >>

Detecting Secure requesting when hardware based SSL offloading is
Posted by Prabhu at 8/31/2005 10:23:01 PM
Hi. We have an ASP.net Web application in which some of the pages are to be served over secure channel using HTTPS. We have built a framework that allows pages to be served over secure channel specified in a configuration file. When a request for specified pages comes over HTTP, framework d...more >>

Checkboxlist problem?
Posted by Lynn at 8/31/2005 10:19:17 PM
Hello, I have a page that allows the person to select multiple items from a checkboxlist. The checkboxlist is being populated from a table in the database. The user's selections are sent to the database as a comma separated list (ex. 17, 22, 35). I also have a page that allows the user t...more >>

dropdownlist
Posted by wei7028 NO[at]SPAM hotmail.com at 8/31/2005 8:06:33 PM
i have create a webform that contain a dropdownlist that will show data in my database. when i try to select a value in the dropdownlist and display its value in a label but an error occur. my code is as below: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) ...more >>



Downloaded document has disappeared by the time Word has opened
Posted by Rob Nicholson at 8/31/2005 6:20:21 PM
We've implemented functionality to allow a user to download a document (any document type) from the IIS server using the following code: Response.Clear() Response.ContentType = "application/x-msdownload" Response.AddHeader("Content-Disposition", "attachment; filename=" & System.IO.Path.GetFil...more >>

Session oject is null
Posted by Ramkumar T via DotNetMonster.com at 8/31/2005 6:17:18 PM
Hi I have written a simple web application in which the home page stores a small arraylist (populated from a remoe database) in the session object to be used by the subsequent pages. However, when the session variable is being accessed by the other pages, it is returning null. It was working fi...more >>

ASP.NET user control not displaying images
Posted by buzz at 8/31/2005 6:06:06 PM
I've created a simple table with text and images(gif, jpg) in a user control. Everything displays correctly in the designer. But when I drop the control on the main page, no images display. What am I missing? Thanks in advance........ --------------= Posted using GrabIt =---------------- ...more >>

Class in C#
Posted by Eduardo at 8/31/2005 5:55:54 PM
Hello people, I create a class (C#), build with csc.exe, save in app_code and importing with <%@ Import Namespace="MyNamespace" %>. Thats works, but I need to store my files in /root_of_the_site/new_site/ in the server, how can I use my dll without app_code in the root? thanks a lot ...more >>

datagrid - label - method syntax problem
Posted by CharlieOz1 at 8/31/2005 5:40:59 PM
Hi, I am having trouble with the datagrid. I have a label in an ItemTemplate. I have a simple function in the label which I have tested and works (the function does pass back a system.drawing.colour) I do not know the syntax to pass "theID" into this function! I am trying stuff like ...more >>

Fastest way to clone a dataset with filter
Posted by Danny Ni at 8/31/2005 5:24:55 PM
Hi, I would like to know the fastest way to clone a dataset with filter inVB.Net or C#. Say I have a dataset that has one datatable having several data rows. I want to clone the structure to another dataset but with selection of datarows. Please Help! ...more >>

get value from Datagrid
Posted by Mardy at 8/31/2005 5:16:03 PM
I have a bound column in a data grid and I'd like to capture the value of a specifc cell. The colum is not the datakey. How can I select the value of specific cell in this case?...more >>

Error when uploading file
Posted by Nathan Sokalski at 8/31/2005 5:11:07 PM
I am trying to write code to allow my users to upload a file. The code I am using is as follows: Dim upfilename As String = "" If fileDetails.Value <> "" AndAlso fileDetails.PostedFile.ContentLength > 0 Then Dim dir As String() = fileDetails.PostedFile.FileName.Split("\".ToCharArray()...more >>

Debugging problem
Posted by Stephen Noronha at 8/31/2005 3:59:02 PM
Hi, Is there a way of debugging a web application other than hitting F5 on VS ..NET. I have a box that has less RAM and the bloody application dies on me. it makes me put my hair. I want to debug my application to check whether my application is taking correct values. Thanks, Stephen ...more >>

differentiating between requests
Posted by Pietro at 8/31/2005 3:58:22 PM
Hi, i would like to know if there is a way to differentiate between requests, someting like a number that is unique only in the execution of an individual request. Thank you Pietro...more >>

hit IE back button
Posted by Alan Wang at 8/31/2005 3:52:48 PM
Hi there, I am having a problem with my asp.net web pages. If user hit BACK button on IE and then click some other web controls on the web page. the page goes to blank page. Anyone has the solution for this? Alan ...more >>

How do I change the color of a row in a datagrid by value of a cel
Posted by Chris at 8/31/2005 3:49:04 PM
Ok people, here is what I am trying to do. I have a SqlDataReader that populates data into a DataGrid on a website. I want to be able to make every row in the DataGrid "Red" where the cell "Reason_Code" in that row != 0 . Reason_Code is a type INT Below is the code I am using, anyone got ...more >>

the asp.net web forms designer
Posted by PJ6 at 8/31/2005 3:48:12 PM
<rant> Just wondering if it's just me, or is the 2003 asp.net web forms designer an HTML-mangling, unstable, poorly written POS? </rant> Paul ...more >>

Accessing Session, Cookie, etc from non-Web Page?
Posted by David at 8/31/2005 3:45:05 PM
How can I access the Session, Cookie, etc info. from a non-Web Page? Eg. from a standard class page that is running under asp.net. I know that I can pass the session information as a var. but I would like to have access without having to resort to this work around. Thanks ...more >>

Hyperlink Command
Posted by Sparky Arbuckle at 8/31/2005 3:30:05 PM
I am developing a web application that is panel-intensive. Is it possible to hide/show a panel by merely clicking on a hyperlink? I could use buttons instead and have an onClick handler for each or if I really wanted to get crazy I could link to the document and pass something in the querystri...more >>

URL, If Not Exists...
Posted by Steve Schroeder at 8/31/2005 2:38:26 PM
Any way I can determine if a particular URL is valid before I assign it to an ImageUrl property? I'm digging in the help now, but if someone knows, help would be greatly appreciated, thanks :) Steve ...more >>

Request.QueryString() is stripping out French characters
Posted by Lu at 8/31/2005 2:20:02 PM
Hi, i am currently working on ASP.Net v1.0 and is encountering the following problem. In javascript, I'm passing in: "somepage.aspx?QSParameter=<RowID>Chèques</RowID>" as part of the query string. However, in the code behind when I tried to get the query string value by calling Request.Qu...more >>

Write & Format Meta Tags?
Posted by clintonG at 8/31/2005 1:52:11 PM
Anybody know how to dynamically write the meta tags using code so they are formatted on a separate line in the HTML source? Preferred or optimal framework classes that may be used in this regard? <meta... /> <meta... /> <meta... /> <%= Clinton Gallagher METROmilwaukee (sm) "A ...more >>

Databinding Dropdownlist to Main Dataset
Posted by jdsharp at 8/31/2005 1:48:03 PM
I understand how to bind the Dropdownlist control to a table so that it shows the list of values, but how do I bind it to my main data entry dataset? Thanks for the help! Jason ...more >>

problem from Imports Remoting namespace
Posted by david at 8/31/2005 1:41:05 PM
When I declared the imports statements as follows Imports System.Runtime.Remoting Imports System.Runtime.Remoting.Channels Imports System.Runtime.Remoting.Channels.Tcp Imports System.Runtime.Remoting.Channels.Http the last two can not be found. What is wrong with it? Thank you for any...more >>

Button inside a WebCustomControl not firing an event
Posted by murl at 8/31/2005 1:11:14 PM
I have built a Web Custom Control using c#, and it's pretty simple. A dropdownlist, and a button that once clicked will render different html. I tried attaching an event handler to the Click event of the button and set a break point but it's never firing off it looks like. I have tried including...more >>

Information on input button
Posted by Stephen Noronha at 8/31/2005 1:10:07 PM
Hi all, I have an input button <input type="button" id="Button2" name="Button2" value="More" onclick="openPage()"> this input button onclick opens another page. this "More" button is for additional information only (say I have extra notes), and if there is none available then it should not...more >>

Binding child objects of a custom collection
Posted by Demetri at 8/31/2005 1:07:01 PM
Someone posted the following back in June and I am now doing the same thing. I'll just paste what was asked and see if anyone can give us an answer: --------------------------------------------------------------------------------- I have a custom collection of objects, each of which includes a ...more >>

Database INSERT statement
Posted by Sparky Arbuckle at 8/31/2005 12:56:47 PM
I can't for the life of me figure out why this won't insert into my database. I'm also not getting any errors when I run this. I've even tried inside a TRY CATCH block and still nothing. I've run this web app numerous times and each time I check the database, nothing is there! I must be missing ...more >>

Response.Redirect Not Working After XP Service Pack 2 Install
Posted by cchisholm NO[at]SPAM noblecorp.com at 8/31/2005 12:39:51 PM
I have a web page in which I am displaying a .pdf file by way of response.redirect. The pdf file is on my machine along with IIS that is running the web page. As soon as I upgraded XP pro to service pack 2 the web page was unable to display the pdf file. It is saying that the page cannot be d...more >>

OleDbCommand TimeOut Not Working
Posted by Chris Fink at 8/31/2005 12:20:03 PM
Why does this timeout after 10 secs, instead of the higher value expected? OleDbConnection cn = new OleDbConnection(Session["DataSource"].ToString()); OleDbDataAdapter adapter = new OleDbDataAdapter(); OleDbCommand cmd = new OleDbCommand(query, cn); cmd.CommandTimeout = 99999; adapter.Select...more >>

Q: graph
Posted by JIM.H. at 8/31/2005 11:57:48 AM
Hello, Is it possible to draw a graph in HTML/APS environment. If not, what classes do I have to draw graph in APS.Net? Any sites as an example? Thanks, ...more >>

Looking for a "generic" Command Column
Posted by jason at 8/31/2005 11:52:46 AM
Hello everyone, I'm trying to expand my understanding of the DataGrid control, and I'm specifically curious about the Command columns. I have successfully implemented an EditCommandColumn, but I was wondering, is it possible to create my own kind of Command Column, with my own defined buttons ...more >>

datagrid HyperLinkColumn base
Posted by Craig at 8/31/2005 11:41:20 AM
I have a datagrid with a couple of columns. Right now, I'm setting assigning the dataview to the datasource. For the HyperLinkColumn.... <asp:HyperLinkColumn DataNavigateUrlField="ATTACHMENTDOWNLOADURL" Text="Download" HeaderText="Quick Links" SortExpression="FILEPATH"/> The field in the ...more >>

C# Developer Role, NYC Finance
Posted by KevinMcGann NO[at]SPAM gmail.com at 8/31/2005 11:29:39 AM
1. IR Derivative Systems C# Developer The candidate should be a senior software developer with min of 2 years experience in C# programming. The etrade team is currently involved in a number of projects but the main focus for next year will be delivering increased trading automation . Worki...more >>

Combining modeless dialog and popup functionality?
Posted by Phil at 8/31/2005 11:01:42 AM
Does anyone know if a modeless dialog box can be made to stay open when the parent window is closed? Maybe something to do with disabling the parent/owner? I basically need to have a popup window which is always the top most browser window, but still allows the user to continue browsing using ...more >>

Can I dynamically set server control values in-line?
Posted by Steve Franks at 8/31/2005 10:52:30 AM
In ASP.NET 2.0 you can now apparently do this: <asp:label runat="server" text="some browser" IE:text="any IE browser" IE5:text="the IE 5 browser" PIE:text="the Pocket PC browser" /> Now the tokens "IE5" and "PIE" are coming from the updated browser capabilities component. I'd like to do...more >>

How to get data from parent datagrid item from child datagrid dataitem
Posted by Skowronek at 8/31/2005 10:27:10 AM
What is the best method to obtain a data value from a parent datagriditem from a child datagrid - datagrid footer item command event handler? Here is the layout of my asp.net controls <datagrid1> <datagriditem1> <datagrid2> <datagridfooter> <listbo...more >>

Screen Geography Issue (aspx/html)
Posted by DaveFash at 8/31/2005 10:21:05 AM
ASP.NET Screens look different in IE, FireFox, and Netscape. How can one ensure some consistentcy? Is there a technique? The main issue is a plain vanilla HTML screen with radio-buttons, a label, and an activation button -- designed in ASP.NET with Visual Studio.NET 2003. One IE Browser sh...more >>

XSD from SP problem
Posted by Harry Simpson at 8/31/2005 10:20:23 AM
Traditionally I've always just dragged and dropped my stored proc onto the designer surface of the dataset XSD object and viola! the output fields schema is created...but the stored proc i wrote below will not drop to create the XSD.....what are the limitations of the dropping as it relates to...more >>

Navigating back through the chain
Posted by Mantorok at 8/31/2005 10:05:35 AM
Hi I have a page that can call itself several times causing a long chain of the same page, what I want is when the save is executed it should redirect back to the previous page that called it and so on until it reaches it's initial caller - the only problem is that it's the same page but ju...more >>

User Control Post Back Issue
Posted by dickson.matt NO[at]SPAM gmail.com at 8/31/2005 9:55:25 AM
Ok simple question (that I feel dumb for asking).... I have created a user control (ascx page) that contains a dropdown list. The problem I am having is that when the postback occurs I can only read the selected value from the dropdown list that was originally selected. I can't read the cu...more >>

How to use JavaScript to get server control's ID
Posted by walter at 8/31/2005 9:50:05 AM
Here is my case : I create a user control which contains One checkbox control to enable/disable the other two textbox control. I'm using server control instead of HTML control, and I don't want to post back to server to do the disable. The problem is I there is no easy way for me to find t...more >>

How - Convert Classe/DLL to Web Service?
Posted by Zean Smith at 8/31/2005 9:44:29 AM
I wrote an ASPX web application and a C# Classes which compiled as a seperated DLLs. In my ASPX web app. I import that DLL as Reference. How do I convert those Classes to Web Services? is it easy? so that other ASPX web app can reuse my classes over the network. Is this possible? or do I...more >>

Partial class in ASP.NET
Posted by pawel.pabich NO[at]SPAM gmail.com at 8/31/2005 9:37:51 AM
Hajo, I would like to have 2 my own partial classes. For example: Default.aspx.cs Default2.aspx.cs and they both will relate to Default.aspx page. I have tried to do this in many ways but I've been unlucky. Any ideas? thanks in advance for any info Gawel ...more >>

custom resource manager in ASP.NET 2.0
Posted by Martin Bischoff at 8/31/2005 9:19:53 AM
Hi, is it possible to implement custom resource managers for ASP.NET 2.0 so that strings can be read from a database (for example)? Ideally, it should be possible to configure the custom resource manager in web.config, so that it replaces the default resource manager. Using the <%$ ... %...more >>

Server control order
Posted by Mardy at 8/31/2005 9:15:01 AM
I have a page with some popUp calendar controls and textboxes. When I select a calendar control, the calendar appears behind a text box. How do I set the controls so that the textbox is in the background behind the calendar? I'd like the calendar to appear as though it's on top of the tex...more >>


DevelopmentNow Blog