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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|