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
January 2007
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 webcontrols > april 2006 > threads for april 15 - 21, 2006

Filter by week: 1 2 3 4 5

FileSystemWatcher does not seem to be working
Posted by Nathan Sokalski at 4/21/2006 7:15:50 PM
I have a directory on my site that I keep a bunch of text files in (this directory is "/poetry/poems/"). The Application keeps the first line of each of these files in an HttpApplicationState variable as a SortedList. When I add or modify a file in this directory, I want to delete this HttpA...more >>


LinkButton field and FindControl
Posted by Roberto Kohler at 4/21/2006 12:50:45 PM
Hi, I have a LinkButton in a TemplateField inside my GridView How do I access this control in the RowDataBound handler? I've tried this: Dim LinkEdit As LinkButton If e.Row.RowType = DataControlRowType.DataRow Then LinkEdit = e.Row.FindControl("LinkEdit") LinkEdit.CausesValid...more >>

DataSourceControl and declarative SelectParameters
Posted by WT at 4/21/2006 12:30:14 PM
Hello, I am trying to implement a DataSourceControl and I need to simulate the same functionality as the SqlDataSourceControl : being able to set declaratively the select parameters to use when binding a DetailView to the Selected Row in a GridView, but I have difficulties with the sample in ...more >>

FormView events
Posted by TheDeacon at 4/21/2006 9:45:35 AM
Is there a way to use the FormView for Selects, but let it post back for Inserts and Updates? The problem I am running up against is that, if you use an SQL DataSource for the Formview, and you only speicify a SELECT command in the SQLDataSource, you get an error when you click the "Insert" lin...more >>

SmartNavigation/MaintainScrollPositionOnPostback & Datagrids
Posted by Zamdrist at 4/21/2006 8:36:51 AM
Use of SmartNaviagtion appear to cause a serious perfomance hit, I'm not working with ASP.Net 2.0 yet so MaintainScrollPositionOnPostback=True isn't an option either. Is there a way I can persist the user's scroll position in a datagrid, are there any other options? Thanks ...more >>

Javascript with Webcontrols
Posted by Peter Afonin at 4/20/2006 8:01:29 PM
Hello, I'd used before methods like RegisterStartupScript with ASP.NET, but this problem I was unable to solve yet using this method. I have a web form with a few web controls - textbox, dropdown lists, calendar control. If the textbox has a value- I need to disable all other controls when ...more >>

Edit, Update, Cancel
Posted by Zamdrist at 4/20/2006 4:49:06 PM
I have a datagrid that shows approximately 1000 rows of data. I haven't used paging yet, but I may need to yet. When you click on Edit to subsequently Update or Cancel, the page 'reloads' and brings you back to the top of the page. So, if you were trying to edit something half way down the g...more >>

best practive with dropdown list controls in user controls
Posted by dma at 4/20/2006 2:08:02 PM
Hi all I have a situation where I have a composite web user control which centralizes a db lookup. I am having a problem where it seems viewstate is being voided and it always loses it's selected index. I have properly wrapped the ispostback, so I am sure it is not getting overwritten tha...more >>



Print version use CSS or similar ?
Posted by JDP NO[at]SPAM Work at 4/20/2006 8:22:56 AM
I've seen info regarding using CSS to control browser verses printer output, however I'm not sure I'm on the right track. The goal is to have a printable version w/out having to code a duplicate page that is printer friendly. 1. I don't get how to use the CSS method, perhaps I havent' read e...more >>

Sorting Datagrid
Posted by Zamdrist at 4/20/2006 6:53:18 AM
It's my understanding, in order to sort a datagrid you have to create a new DataTable, correct? So, if on the load of the page, you do something like this: 'adosDS & AdoConn are global in this instance Dim adoSelect As New SqlCommand Dim adoDa As New SqlDataAdapter adoSelect.CommandType ...more >>

2.0 TreeNode
Posted by William Sullivan at 4/19/2006 4:38:02 PM
I've got a treeview that i'm filling using PopulateOnDemand (ajax calls). The TreeNode isn't sealed, so I thought I could extend it (call the new one SuperTreeNode) and add a bunch of data to the new node that I need to keep track of. But when the TreeNodePopulate event fires and I get the n...more >>

How to get dynamic control's value after postback?
Posted by YesGoGoGo NO[at]SPAM gmail.com at 4/19/2006 9:49:09 AM
hello! I have a question about getting dynamic control's value after postback(or submit). I've read a lot of article and have some idea. It's seems that if I want to keep the dynamic control's layout and value, I have to make some *extra work" to keep control's hiararchy,such as using arrayli...more >>

MyGridView cause "Columes" lose the intellisense in VS2005 IDE!
Posted by walter at 4/19/2006 8:52:02 AM
Hi there, I guess it maybe easy for you-- I create a custome control inherited from GridView, But when I start to use in the page , in vs2005 , I lose the intellisense for anthing in <columns> tag. It's not a big deal, but it's relatively painful when you know you can do it in GridView. I ...more >>

Can i Make a Month Column Display May instead of 5
Posted by Vear at 4/18/2006 8:10:02 PM
Hi, I have a month column that is stored in SQL as an Int field. I would like to change it after the stored procedure which means when it loads into the DataGrid. I've tried several different things but none seem to work. I've made the column a Template field but I can't figure out the Synt...more >>

CompositeControl and Toolbox
Posted by CMM at 4/18/2006 6:24:36 PM
This has been asked repeatedly many times and no one has been able to answer it. Now, I have the problem too..... why are CompositeControls so hard to make show up in the Toolbox? Why do they show up sometimes and then disappear? What's magic combination of tricks need to happen in order for ...more >>

A socket operation was attempted to an unreachable network
Posted by manual tester at 4/18/2006 12:21:21 PM
I am new to ASP.NET. I am getting the following errror, when i tried to run a website that has 'Password Recovey' control in it. I think the error has something to do with the SMTP mail settings. Can anyone tell me how to set up email settings for the password recovery control to work properly. ...more >>

SqlSiteMapProvider - extending
Posted by PhatT at 4/18/2006 10:38:02 AM
Working off of the Wicked Code article by Jeff Prosise... http://msdn.microsoft.com/msdnmag/issues/06/02/WickedCode/default.aspx I am trying to build my sitemap on multiple tables. I have tried this many different ways with not the ideal results. When building the sitemap with a storedproc...more >>

ID of web control changed
Posted by Adam Plocher at 4/18/2006 9:46:50 AM
Hello, I have been developing a website locally for quite some time now in ASP.NET 2.0/C# and all of the web controls (locally) have IDs like this: ctl00_ContentPlaceHolder1_ddSearchType I just uploaded it to our live site today, for the first time, and now all of my IDs look like this: _ctl0...more >>

MetaBuilders DualList control does not work in 2.0
Posted by David Adams at 4/18/2006 1:54:21 AM
Hi, I have been faithfully using the MetaBuilders DualList control in my 1.1 ASP.NET projects with great success. Now, this does not work in 2.0 - it always returns this error "Object of type 'System.String' cannot be converted to type 'System.Web.VirtualPath" Has anyone found a similar...more >>

How to upload files to a remote webserver using FileUpload ?
Posted by Prasath at 4/18/2006 1:14:15 AM
We are able to upload files to a localhost . How to make it working for a remote web server ? Thanks ...more >>

Custom Panel
Posted by CMM at 4/17/2006 8:56:36 PM
Can't figure this one out... seems like it should be a no-brainer. Is it possible to create a UserControl that can act as a container a la the Panel control?... not a "naming container" or anything fancy.... just a simple container. Basically I have a pretty custom table that I'd like to reuse...more >>

ASP.NET 2.0 - How to build a Monitoring Application
Posted by Auto at 4/17/2006 8:33:51 PM
Hello to everybody, I would like to know how to build an ASP.NET 2.0 Application that show me some data from a SQL Server Table and refresh it every one or two seconds ? With autorefresh ? May be it is not so elegant... I heard somthing about "Client Callback Manager", could this be good for...more >>

Auto Download
Posted by Prakash at 4/17/2006 12:00:00 AM
Hello all, In Intranet, i want to make file download without User Interaction(Dont want the Dialog which ask Open and save) and want to save that file to a specified location in clients system. Thanks in Advance, Prakash.V ...more >>

Serial Communication
Posted by Benedictum at 4/16/2006 10:16:37 PM
How can I open a serial port and send/receive data to/from the port. I would like to use ASP2.0 / VS2005C# ...more >>


DevelopmentNow Blog