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 2006 > threads for monday august 14

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

Invisible Cells in GridView
Posted by Dot Net Daddy at 8/14/2006 11:51:52 PM
Hello, Is there a way to access the invisible cells in the GridView from code-behind. Been trying this, but isn't working For i = 0 To GridView1.Rows.Count - 1 If GridView1.Rows(i).Cells(1).Text.Equals("Y") Then GridView1.Rows(i).Cells(0).Font.Bold = False ...more >>

Losing Session Variables during Response.Redirect???
Posted by TCook at 8/14/2006 10:44:37 PM
I am losing my session variables after a Response.Redirect. My web.config file contains the following: <sessionState mode="InProc" stateConnectionString="tcipip=127.0.0.1:42424" cookieless="false" timeout="60" /> What do I need to do to get this to work!?!?! ...more >>

2.0: accessing user-defined controls
Posted by RAM at 8/14/2006 10:24:30 PM
Hello, I am learning .NET. I defined my own control: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="Header.ascx.cs" Inherits="HeaderDoc" %> <asp:TextBox ID="Year" runat="server" /><br /> .... and I used it on a second page: <%@ Register TagPrefix="MIMStock" TagName="Header" ...more >>

2.0: Cache vs Session
Posted by RAM at 8/14/2006 8:50:48 PM
Hello, I am learning .NET, ASP.NET 2.0. I would like to ask you a question: when to use Cache["x"], when to use Session["x"]? If I have multiuser application can I use Cache["x"] to keep some value separately for each user logged in? Thank you. /RAM/ ...more >>

atlas installation
Posted by barry at 8/14/2006 8:14:30 PM
I have vs 2005 and have downloaded the atlas control toolkit and have successfully loaded the AtlasControlToolkit.dll but get a message that there is nothing to load when double clicking the AtlasControllExtender.dll. thanks ...more >>

ASP.NET access path is denied.
Posted by hsphuah NO[at]SPAM usa.com at 8/14/2006 7:46:08 PM
I had looked a few previous posted newsgroup and tried a few of the suggestions by different users. None of them work. I hope that someone can help on my issue. For your information, my laptop has two Visual Studio .Net, version 2003 and 2005, and two .Net Framework, 1.1 and 2.0 installed. ...more >>

Databinding in tag problem!
Posted by Henk at 8/14/2006 7:44:12 PM
Hello, I have a problem, with a gridview, i won't a javascript function, OpenPopUP(sCMD,bBoolean,iregID) to run when a image is clicked. So i add an onclick event to the img tag like this. (this is in the itemtemplate off the gridview) <img src="img/edit.gif" style="width: 18px; height: 18...more >>

ViewState?
Posted by Arpan at 8/14/2006 6:56:53 PM
The following code retrieves records from a database table & displays it in a Repeater control: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) If Not (Page.IsPostBack) Then Dim dSet As DataSet Dim sqlConn As SqlConnection...more >>



Loading at Runtime (GAC?)
Posted by Java Apache at 8/14/2006 6:46:27 PM
Hi, I am not too familiar with the whole .NET situation so I am hoping one of your gurus can help! I need to load/use an existing an Assembly .DLL on the fly - I want to be able to just include / reference it in a page which is parsed at runtime (this is within a CMS product which allows...more >>

Local asp.net test server won't show images
Posted by Neil C at 8/14/2006 6:04:28 PM
Ok, this seems weird, but i think it's a permissions problem (perhaps); but I cannot seem to access any external resources within a web project. When I set up a new web app, add a resource to it, edit the default aspx with an img tag, and run it, the generated html looks fine, but the image wil...more >>

looking for web form tutorial
Posted by mahalie at 8/14/2006 5:55:50 PM
I've been searching in forums, at asp.net, MSDN and 4GuysFromRolla but cannot locate exactly what I'm looking for - hoping someone here can suggest: How to develop a one page web app that initially presents a form to collect user input, write input to access database, and displays confirmatio...more >>

Refresh After PostBack
Posted by Dot Net Daddy at 8/14/2006 5:36:01 PM
Hello, On my page I take some data from the database. There is a DELETE button to remove the data from the database. DELETE button works fine, it does what it must do, but after the postback the old data still shows up whereas it ought to show nothing at all. Thanks in advance... ...more >>

Security question!
Posted by Jens Jensen at 8/14/2006 5:28:27 PM
Does the new asp.net 2.0 login control send unhashed pasword to the server from the user browser? How does it make sure the password cant be sniffed? Thanks JJ ...more >>

set a cookie clientside on Textbox onChange
Posted by Nalaka at 8/14/2006 5:18:43 PM
Hi, I have a textbox, I need to set a cookie to the value of the textbox... when textbox.Text changes. How do I do this using clientSide script (javascript) only. I do not want to post back to the server and then set the cookie using server script. Any help is very appretiated (I did s...more >>

Handling Bounced E-Mails
Posted by Frank at 8/14/2006 4:34:48 PM
Hello All, I am exploring and developing a plan for a C# web app or windows app to handle bounced emails. Basically, I need to develop a system where I weed out bad addresses in our db...but after reading the articles listed below, I see that there are various responses the server will res...more >>

Dynamically Adding Text Fields
Posted by MRW at 8/14/2006 3:39:12 PM
I'm working on a form where the default is to have one text box for a phone number. However, if a person wants, they can click on a button and it will add another field below it, so they can have more than one. I was able to do this quite easily with ASP & Javascript, but being that I need the...more >>

DataRow Collection?
Posted by Arpan at 8/14/2006 3:34:55 PM
The following code creates a DataSet (with only one column named "EmployeeName") in the Page_Load sub & populates a DataList: <script runat="server"> 'Build the DataSource Function CreateDataSource() As ICollection Dim dTable As New DataTable() Dim dRow As DataRow ...more >>

Session state doesn't refresh
Posted by Ned Balzer at 8/14/2006 3:34:25 PM
Hi, Apologies if this is a newbie question, I haven't found the answer in any faqs. I have an asp.net 2.0 page that sets session variables and then redirects to another page. For the page that gets redirected to, I've swapped in a simple page for testing that reads the session variables a...more >>

How to display a picture while a long process is carried out ?
Posted by pamelafluente NO[at]SPAM libero.it at 8/14/2006 3:22:37 PM
I have an animated gif in an image control: Me.ImageProgress1.Visible = False I want that when the User click on a given button to execute a long task Me.ImageProgress1 become visible until the task on the server is finished. I call the task this way: Protected Sub ButtonSomeLongTast_Cl...more >>

IIS Web Site "Template"
Posted by Alex Maghen at 8/14/2006 3:09:01 PM
Sorry if this isn't quite the right place to put this: I think that there's a way to create a sort of template "default" for any new web sites created within IIS, so that the new sites will copy all of the configurations from that template when it's created. Can anyone point me to how that'...more >>

Split Function
Posted by sck10 at 8/14/2006 3:05:15 PM
Hello, I have a list of email addresses that I need to send email to from the website. I am trying to use the "Split" function to get all the To's and then use the uBound function for the For-Loop limit: I am trying to convert the following from vb to c#: Dim SplitCatcher As Object ...more >>

Best Approach for Membership / Profile Information
Posted by jdp at 8/14/2006 2:59:09 PM
I've created a custom login control with values that are not used in the Membership table. I created these other fields through the <profile> tag in the web config. I'm able to get a new member created my calling membership.create user and get the other fields saved by creating an instance of ...more >>

user control set property of a parent web form?
Posted by jamesd at 8/14/2006 2:43:43 PM
I have a user control that has some simple textboxes. The user control is placed into a regular webform with a submit button on it. When the submit button is clicked, the form is posted to the server. The user control contains some code to SERVER SIDE validate one of the textboxes. IF the v...more >>

The hidden part of the partial class of web page in vs 2005
Posted by Bishoy George at 8/14/2006 2:39:40 PM
Hi all, I want to see the hidden part of the partial class of web page. I tried to right click on the class name and click on Find All References, although visual studio 2005 got the other references, I was prohibited from going there by a message box saying: The definition of the object i...more >>

Property values disappear on postback
Posted by stephen at 8/14/2006 2:03:28 PM
Hi, I make use of properties to store values that are relevant to the page but this time I am posting the page to itself and the values are Zero or null (they disappear). is there any other way I can store them/preserve them so that when I post back I can use the values. I tried session an...more >>

Updating Database
Posted by Dot Net Daddy at 8/14/2006 1:42:07 PM
Hello, I have some textareas assigned some values which is taken from the database on page_load. Also there is an update button. But when I change the text and click the update button it does not work. Actually it works, but the text I type in the textarea is not recognized. It recognizes t...more >>

Calendar control - disabling past dates.
Posted by Greg Smith at 8/14/2006 1:33:19 PM
Is there a way to disable past dates for a calendar control, or individual date for that matter? Any help is greatly appreciated. ...more >>

Streamreader Timeout Issue
Posted by Matt Bailey at 8/14/2006 1:31:38 PM
Hi, I have an ASPX page with a C# backend in which I use a StreamReader to input a file so that I can parse through it. While the code I have works, I get a 404 error when I try to use an input file larger that 10 mb, which will be a common occurance for my app. Is there a way I can increas...more >>

connection and get data from SQL
Posted by S Prom at 8/14/2006 1:23:28 PM
I made the changes in web.config to use db_app <%@ Page Language="VB" Debug="true"%> <%@ Import Namespace="System.Data" %> <%@ Import NameSpace="System.Data.SqlClient"%> connectionstring = ConfigurationSettings.AppSettings("db_app") strQ = "Select field1,field2,field3 From tbldata where f...more >>

MigrateAnonymous Event Handler.
Posted by ashish at 8/14/2006 1:17:21 PM
Hi all, Is is possible to add event handler for ProfileModule.MigrateAnonymous event outside global.asax ?, the thing is that i want to be able to write some unit tests and that would pretty much kill the idea... thanks...more >>

Store and retrieve binary data (pdf doc etc) in sqlserver2005 using asp.net 2.0
Posted by Karl at 8/14/2006 1:01:51 PM
Hi All, I am working my way through the Personal Web Starter Kit from Microsoft and understand how the storing of images in a database works, but I was wondering if anyone could shed any light on how to store and retrieve documents, such as a pdf or a word document, which need to be downloade...more >>

'System.Net.WebPermission Error?
Posted by bilal.hamdan NO[at]SPAM gmail.com at 8/14/2006 11:54:46 AM
Hi, I' trying to read some RSS feeds and all works fine on the DEV machin. once it's at Magma i run into this error. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission pleas...more >>

Sql Data Reader
Posted by Jim Heavey at 8/14/2006 10:38:03 AM
I have a SQL stored procedures which evaluate the values passed in parameters and then based on those values reads the appropriate records. I run the stored procedure in VS 2005 Debug mode and it successfully executes and I can see the @@ROWCOUNT has the expected number of rows. When I act...more >>

GridView (Vertical Limit :))
Posted by Dot Net Daddy at 8/14/2006 10:29:48 AM
Hello, As far as I know GridView is so flexible and I think it should be able to do this: I have a database containing URL for images. On the GridView I want to show all these images using ImageField property in GridView. But I want to show 3 pictures on every row. It is limited to 1image/...more >>

outputcache and visitor tracking
Posted by Nalaka at 8/14/2006 10:24:27 AM
Hi, I wanted to track visitors in asp.net 2.0 app. So I added code to method Application_PreRequestHandlerExecute..... But, it seems like.. if output cache is enabled on a page, this method does not get called. Is there a generic method that is always called, even on pages that has outp...more >>

Comprehensive Permissions Rules for ASP.NET 2.0/IIS 6
Posted by Alex Maghen at 8/14/2006 9:41:02 AM
Hi. I am really confused about the NTFS permissions that I must set for my ASP.NET 2.0 IIS application to work properly. I have looked at KB:815153 and that helps a *little* bit, but I need more. The following are my specific questions. If someone could answer them for me, I'd REALLY apprec...more >>

password textbox read help
Posted by Millhouse50 at 8/14/2006 9:31:53 AM
I am using ASP.NET 2.0 with C# and am having trouble with some textboxes. I have the textboxes set to password and have two setup so that I can validate the password. Now I need to get the password the user entered into a variable in my C# code, because I need to send it as a variable in a vbscr...more >>

How to Run sub in contentplaceholder from master page
Posted by msc at 8/14/2006 9:26:02 AM
I have a master page with a dropdown list on it. When someone changes the selection I would like to run a sub on the content page to reflect the change. I have found ways to clear controls on the content pages but no way to run code attached to the content page from an event on the master pa...more >>

ImageURL Formating
Posted by Jokerr at 8/14/2006 8:59:27 AM
I have a problem with the Image object and ImageURL. I've looked over some forums however I've gotten nowhere but frustrated fast. I've verified all the data and it's correct. No special characters, just alpha-numeric and an occasional slash(/). I pass the following URL to my image, "chart...more >>

ASP .NET 2.0 Performance
Posted by rgelfand2 NO[at]SPAM hotmail.com at 8/14/2006 8:58:21 AM
I am looking to improve the performance of my application. The result page is 17k but it takes years to come up. There is an underlying sql 2005 query, but results come back rather fast. It seems to me that caching is not there. Any suggestions? Thanks in advance ...more >>

Question about threads
Posted by michdoh NO[at]SPAM yahoo.com at 8/14/2006 7:43:03 AM
Hi All I'm looking for some help on creating a basic multi threaded application. i'n new to threads in this environment so for test purposes I've produced a very basic program. (which doesn't work) Calling the 2 methods directly has the desired effect however when I try to impelment them a...more >>

Open external page with my MasterPage design
Posted by .seb at 8/14/2006 7:01:28 AM
Hi, easy question...! I have an app with my masterpage and all, but now I what to show and external page in that "frame", where controlplaceholder is. Let's say I want to show the google page in my app... is that possible?, how? TIA, ..seb ...more >>

Culter + Date Format in MM/DD/YYYY Database - how to force a single format?
Posted by Chu at 8/14/2006 5:34:19 AM
In playing with asp.net 2.0, I've been impressed with the internationalization support that's built right in. It's great that I can simply add a tag to my page's directive and it magically transforms all dates into my end user's date format. However, it's causing a problem that I've yet to find...more >>

Video file - best practise
Posted by Mat at 8/14/2006 5:11:27 AM
Hi there, What's best practice for storing video and image files for playback/display on the web? Should they be stored in a DB as binary files (blobs) or on the file system? What do sites like Flickr and Youtube do? Thanks Mat ...more >>

DLL not loading
Posted by Parvez at 8/14/2006 2:43:01 AM
Could not load file or assembly 'UCC.BLL,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null' or one of it dependencies.Access is denied I have creted a webapp named UCC.WEBUi .It refers UCC.BLL ( his dll refers other dll aslo ). It was working fine until today. When i try to Build the ap...more >>

Async Mail
Posted by Newbie at 8/14/2006 12:00:00 AM
Hi all, I'm looking for a way to send newsletter to my subscribers (1000+ in total). I've managed to do it using .NET system.net.mail.smtpclient's sendAsync. I read the email addresses from a table (in a MSSQL DB) using sqldatareader, then looping through it to read each email address and ad...more >>


DevelopmentNow Blog