all groups > asp.net > august 2006 > threads for tuesday august 15
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
Some easy question about ASP.NET application
Posted by Tony Johansson at 8/15/2006 8:39:19 PM
Hello!
I'm new to ASP.NET application but I have been using C# windows form for one
year.
I'm reading a book about Webbdevelopment.
Below is a small ASP.NET application.
I just wonder why is it not any class like it is in the window form like
this
public class Test : Forms
{
....
}
... more >>
Publishing website with VS 2005
Posted by David Lozzi at 8/15/2006 7:27:08 PM
Howdy there,
I think i figured out how to do it, but I want to confirm. When I want to
publish the site to a web server and NOT include the code behinds, I should
go to Build then Publish Web Site then specify my location. When it
completes, then copy those files to my web server. This does... more >>
Getting a value out of XML
Posted by David Lozzi at 8/15/2006 6:29:10 PM
Howdy,
I'm new to ASP.Net 2.0 and XML in general. I've used XML documents as
datasets plenty but never had to find a specific value in one before. Below
is a sample XML document I'm working with and my code I'm using to pull the
specific email address from the XML document. Is this the best... more >>
How reference text box in GridView while in edit mode?
Posted by VB Programmer at 8/15/2006 6:18:24 PM
I have a gridview control with several data fields. When the user clicks
'edit' for the row I want the user to be able to edit a particular text
field. Under that 'edit' textbox is a button. When they click on the
button it fills in the textbox with some standard text.
Question: In the ... more >>
FileUpload size limited by requestLengthDiskThreshold
Posted by Phil Z. at 8/15/2006 5:53:32 PM
After migrating an ASP.NET 1.1 application to 2.0 we were getting "Cannot
access a closed file" errors when uploading. I found a number of post on
the subject and have since moved from using an Html File Input control to
using the new FileUpload control.
Previously, I had set the maxReques... more >>
SQL UPDATE with a Date Data Type
Posted by glenn at 8/15/2006 5:33:06 PM
Hi folks,
I am doing an UPDATE to a table that has a field for a DATE data type. I am
using MS Access.
The UPDATE works fine but when I try to place the DATE field in the mix it
blows up.
The table name is rfi.
Here's a code snippet...
Dim dtNow As DateTime = DateTime.Now
... more >>
Refreshing popups
Posted by KatMagic at 8/15/2006 5:10:09 PM
I have a popup window that refreshes every so often with new data, using
<meta http-equiv="refresh" content="150">
However, when the user closes teh popup, it continues to do a refresh, as I
noticed when I was debugging. How do I stop the refresh when the user
closes the popup.
Thank y... more >>
VS2003 -> VS2005 with little or ideally no code changes
Posted by microdevsolutions NO[at]SPAM yahoo.com.au at 8/15/2006 5:07:07 PM
Hello
Our environment is
- pure .NET (ASP.NET, C#.NET, VB.NET)
- MCMS (templates, user controls, etc)
- Sharepoint (web parts, smart parts, etc)
I am wanting to gradually move our development environments and
applications from VS2003/.NET1.1 to VS2005/.NET 2.0. So that we can
utilise the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Speed of response of an asp.net 2.0 web form
Posted by hemil.deshmukh NO[at]SPAM gmail.com at 8/15/2006 5:02:42 PM
Hi Folks,
I have an asp.net 2.0 web page with about 3-4 gridview controls on it.
Each of the gridview controls is bound to a SqlDataSource which calls a
stored procedure. The number of records being fetched by the stored
procedure are not more than 10 as they are being filtered by the
parame... more >>
DataFormatString Question #2 Forcing Currency Format
Posted by Phillip Vong at 8/15/2006 4:30:13 PM
VS2005 and SQL2000
Have a column with Data Type "Float". Example, the value in the row could be
80025.36958
or
123.5
etc.
Using a Gridview, I want to force this column to return as currency.
1) I've tried {0:c}
This does absolutely nothing. Returns all the number as is.
2) I forced ... more >>
DataFormatString Question with "RETURNS" in Data Type
Posted by Phillip Vong at 8/15/2006 4:26:39 PM
VS2005 on a SQL 2000
Please help me understand how to fix this problem.
In SQL, a column is assigned Data Type of nvarchar(250). In each row, the
value looks like this.
FirstName LastName "SQARE BOX" a12720 "SQUARE BOX" 14 Meadow Road
The "SqareBox" shapes are Returns from the keyboard.
... more >>
<asp:Calendar> & CSS
Posted by Mark Rae at 8/15/2006 4:16:26 PM
Hi,
Has anyone found a fix for the <asp:Calendar> / CSS bug whereby certain
attributes (mainly colours) are not rendered correctly?
E.g.
<asp:Calendar ID="calTest" runat="server"
OtherMonthDayStyle-CssClass="calOtherMonthDay" />
..calOtherMonthDay
{
font-size:xx-small;
col... more >>
Forms Authentication User Name
Posted by ashish at 8/15/2006 3:36:46 PM
I have written a simple forms authentication login page, where a user is
redirected to default page after he is logged in ...
the login page submit button looks like
FormsAuthentication.RedirectFromLoginPage(user.Email, false);
Is it possible to get user email on other pages ....
I... more >>
How to get child controls in <asp:Content?
Posted by Victor Rodriguez at 8/15/2006 3:25:06 PM
I need a way to be able to retrieve child controls on a <asp:Content
></asp:Content> the way I used to using findcontrol("ControlID"), when ever
I've try I get nothing.
Where should I look?
thanks,
Vic
... more >>
Inherited DropDownList and asp:listitems
Posted by Arthur Dent at 8/15/2006 3:02:30 PM
Hi all,
I have a control which i wrote which inherits the asp:dropdownlist control.
Works great, all happy.
If when using it i try to declaratively add some items, it complains that
they are unknown types. eg...
<mytag:mydropdownlist id="lstInherited" runat="server"
appenddatabounditems... more >>
printing large amounts of text
Posted by Andy G at 8/15/2006 2:54:14 PM
I have web articles that are in HTML and consist of 4 or 5 pages b/c of the
amount of content. Ideally, I would like to leave the text separate into
multiple pages for web viewing but when someone wants to print the
factsheet, they don't have to print out each page separately. Any ideas
wou... more >>
Web control with horozontal scrolling
Posted by Gaetan at 8/15/2006 2:39:01 PM
I have some log data maintained in a DB that I would like to display on a web page. Some rows of the
DB table are wider than the web page therefore horizontal scrolling will be required to view the
data.
I cannot use a ListBox web control since it does not support horizontal scrolling. In ASP.N... more >>
Disabled Idle Timeouts, still timing out after 20 minutes
Posted by Stefan Barlow at 8/15/2006 1:55:01 PM
On IIS 6, I've disabled idle timeouts and any app pool recycling other than
the 29 hour timed recycle.
I've disabled both on the app pool itself and on all app pools at the server
level. I've restarted IIS as well.
After 20 minutes of inactivity, sites are still being shut down. Going by... more >>
VS2005 ASP.Net app will not let me debug?!?!?
Posted by TCook at 8/15/2006 1:47:50 PM
I have a VS2005 ASP.Net app that was debugging just fine. I went to try &
work on it today and VOILA, it's bypassing all of my breakpoints, etc.
I have <compilation debug="true" strict="false" explicit="true"/> in the
config file and Debug turned on in the Build Configuration Mgr.
Does an... more >>
Dialing a modem and playing a soundclip from c# web form code
Posted by Brent at 8/15/2006 1:38:13 PM
Hi, I want to recreate my own version of http://snakesonaplane.varitalk.com/
.. So basically I want to start with a basic, make the modem dial a number
and play a soundclip to the person that answers. Can someone point me in the
right direction?
Thanks,
Brent
... more >>
newbie: DotNetNuke StarterKit
Posted by Jeff at 8/15/2006 1:29:33 PM
Hey
I've installed the DotNetNuke StarterKit together with my visual web
developer 2005 express. When I for the first time run my DNN site, I see
this data:
Installation Status Report
00:00:00.234 - Installing Version: 3.1.0
00:00:00.265 - Installing Script: DotNetNuke.SetUp.SqlDataProvide... more >>
ISS Add in or ASP?
Posted by SJ at 8/15/2006 1:25:15 PM
Dear Friends,
I am developing a web app and need to have my app pull from an POP
mailbox at periodic intervals and update my web apps database.
Can I use asp to write a service that will run ever say 1 minute or do
I need to write some kind of a dll and add it into IIS? Any have an
idea on... more >>
Search engine optimisation of asp.net.20 pages.
Posted by Jens Jensen at 8/15/2006 1:15:25 PM
Hello,
Does anyone know anything about how to optimise asp.net 2.0 pages for search
engines?
I'm thinking of a programmatic way of mapping sitemap structure to pages
meta tags. Well
it can always be done i'm just wondering of smart ways of doing it.
Thanks
JJ
WebMaster www.mee... more >>
LastWriteTime
Posted by News User at 8/15/2006 12:59:00 PM
My.Computer.FileSystem.GetDirectoryInfo(strSourceFolder).LastWriteTime
Does the "LastWriteTime" consders the file updates under any subdirectories?
Or just the top-level folder? (strSourceFolder).
Thanks.
... more >>
Controls - Page_init order
Posted by tshad at 8/15/2006 12:10:19 PM
I have a PageInit.ascx that I want to put in all my pages and have it
execute only once during the "not IsPostback" section. I also need it to
execute first before anything else.
I have it set as:
<%@ Register TagPrefix="fts" TagName="pageInit"
Src="/controls/pageInit.ascx" %>
....
<b... more >>
Disable caching
Posted by Mantorok at 8/15/2006 11:48:18 AM
Hi
Is there an easy way to disable ALL client-side caching for my entire
web-site?
Is there also an easy way to cause any "refreshes" and "back" actions to
cause an automatic re-direct to my login page?
Thanks
Kev
... more >>
Need help with viewstate coding
Posted by Tony Girgenti at 8/15/2006 11:47:52 AM
Hello.
I'm trying to develop a web comsuming client using VS.NET 2003(VB), .NET
Framework 1.1.4322, ASP.NET 1.1.4322, WSE2.0 on a WinXP Pro Sp2 comuter.
I want to use a web form for this because i like the fact that there is no
installation involved, just copying the file to the users locat... more >>
WEB BASED SOFTWARE DEVELOPMENT/ CAREER POSITION/ IN
Posted by OMNI GROUP at 8/15/2006 11:29:07 AM
OMNI
GROUP
tgugger@sbcglobal.net
419-537-9447
WEB BASED SOFTWARE DEV... more >>
checkbox autopostback in datagrid
Posted by pleaseexplaintome NO[at]SPAM yahoo.com at 8/15/2006 11:27:49 AM
I have a datagrid with checkboxes and I can check/uncheck the
checkboxes to update a database by calling my oncheckchanged function.
I would like to add popup asking the users if they are sure they want
to proceed.
I have written a javascript function named confirm_duplicate and it
works as... more >>
Compare 2 arrays ?
Posted by Jim Andersen at 8/15/2006 11:17:57 AM
Is there anything built into .NET that is good (or rather easy) at comparing
?
I have some data (in an array). I make a copy of this array, and the user
changes some of the data, or maybe he doesn't. Then he clicks a button and
my code runs.
So now I want to see if the user made some cha... more >>
User Interface Process Application Block for .NET for .NET 2.0
Posted by Kenny at 8/15/2006 11:07:02 AM
I'm looking at GUI standards and designs patterns for an upcoming project. I
have read the MS Patterns and Practices for the User Interface Process
Application Block for .NET block. Everything sounds great but it was written
for .NET 1.1. I can't find a 2.0 version anywhere. Is it available ... more >>
Can't create web project
Posted by CJM at 8/15/2006 10:51:37 AM
I'm trying to create a new web project (ASP.NET) on VS2005, but when I click
on New Project I don't get offered the option of creating any type of web
project. It offers me both VB.NET and C# projects plus Business Intelligence
projects and 'Other Project Types' but nowhere does it mention any... more >>
Targetting the frameset from the address bar
Posted by Pierre at 8/15/2006 10:07:02 AM
Hello fellows,
I have a Web application using frameset and frames. When I click in a
hyperlink button I can send the selected aspx page using the "target"
attribute into the selected frame. However when the aspx page is called from
IE address bar the page is loaded into the entire browser a... more >>
DataGridItemEventArgs and Hyperlinkcolumn
Posted by Paul at 8/15/2006 9:53:02 AM
I have a dataset (ds) and a Hyperlinkcolumn as the first column.
I want to extract the text of the displayed hyperlink (DataTextField) within
the DataGridItemEventArgs object.
So I try the trusty e.Item.Cells(0).Text. It is blank for a hyperlink column.
I also tried something like e.Item.... more >>
DataGrid Header and Footer Question
Posted by stephen at 8/15/2006 9:49:32 AM
Hi,
I have a datagrid that has numerous records, so I put it in <div></div> with
a horizontal and vertical scroll bar, when I scroll the header and footer
disappear (becoz of scrolling) and its hard to understand the columns.
Is there a way to make the header and footer static so that I can ... more >>
ASP.NET 2.0 - Sleeping connections staying open
Posted by Adam at 8/15/2006 8:47:02 AM
I'm wondering how widespread this problem is.
I had an application written in ASP.NET 1.1.
It worked fine.
Then I converted it to ASP.NET 2.0.
Now, I'm getting the error that I've seen others mention.
Specifically, sleeping connections (SQL Server) aren't getting closed and
after a period... more >>
Can I develop in 2.0 and 1.1 on the same computer?
Posted by tom c at 8/15/2006 8:45:49 AM
I am maintaining a project written in ASP.NET 1.1. We are not ready
to convert it to 2.0 yet, but I would like to install 2.0 on my
computer for a new project I am starting soon. Can I program in 2.0
and 1.1 on the same computer?
... more >>
Dataset Row Formatting/Style in DataGris
Posted by Paul at 8/15/2006 7:01:03 AM
I have a Dataset (ds) binded to a Datagrid (dg).
Based on a value in a Datacolumn (dc) within the Datarow (dr) of the ds, I
want the dr to be displayed in either black or red text. If the dc column is
1, then display the row in black, if the value is 0 then display in red.
What is the easi... more >>
Wiki suggestions
Posted by mookid8000 NO[at]SPAM gmail.com at 8/15/2006 7:01:02 AM
Hi group
I want to create a wiki to use internally in my company. I have the
following requirements:
* Made in ASP.NET (language doesn't matter)
* Backend must be MSSQL
* It must be free to install and use
The following would be nice:
* The ability to attach files (images/documents/whatev... more >>
Multiple TextBoxes - Insert into SQL
Posted by harrys NO[at]SPAM gmail.com at 8/15/2006 6:40:48 AM
Hi,
Just wanted to clairfy if there is an easier way of acheving the
following:
On my page i have ten text boxes. These boxes may or may not have data
entered into them; (This is out of choice, so the requiredfield
validator is no good)
When the user hits the submit button, I want to ins... more >>
NullReferenceException when using crystalReportViewer.ReportSource
Posted by roopsd at 8/15/2006 6:23:57 AM
I am using VS.NET 2003 with crystal reports XI release 2. I get a
runtime error at the following line:
oRptForm.crystalReportViewer.ReportSource = oReport
An unhandled exception of type 'System.ExecutionEngineException'
occurred in mscorlib.dll
If I put the following statement inside a ... more >>
Controls not appearing
Posted by Sasha at 8/15/2006 5:57:58 AM
I have installed the .NET framework 1.0 redistributable on a Windows NT
4.0 server. After installation, I ran my web page and found that only
the text from the labels was displaying. The controls are not showing
up. I then checked the directory v1.0.3705 to see if the
aspnet_regiis.exe was there... more >>
Binding custom data object to checkbox list?
Posted by cannontrodder at 8/15/2006 4:30:15 AM
I am displaying names and other details of my users in a Formview
control by binding my custom business object to it. My custom object
also has a property that is a collection of boolean values and I would
like to show a checkboxlist within my formview to represent them.
I just have no idea ho... more >>
Programmatically added controls losing state
Posted by mark.norgate NO[at]SPAM gmail.com at 8/15/2006 3:59:01 AM
I've asked this question before, but still haven't solved it, so am
asking again.
I am programmatically adding a user control to the page in response to
a button click. The user control consists of three dropdowns and seven
text boxes.
When the button is clicked, I add another control to th... more >>
Pivot Table
Posted by clickon at 8/15/2006 3:31:02 AM
Does anyone know of a site outlining a good method of implementing a Pivot
table style grid using aGridView control or similar?... more >>
Mouseover on a hyperlink
Posted by Peter Morris at 8/15/2006 2:05:05 AM
Newbie q.
how do I change the image url for a hyperlink on mouseover?
I have a menubar, and I want to highlight the selected item.
... more >>
external js file with masterpage
Posted by Stan SR at 8/15/2006 12:41:20 AM
Hi,
I use a masterpage for all my project.
For some pages I have some external javascript file that I would like to
include.
How can I do this action from the content pages ?
Stan
... more >>
Creating and Getting list of websites/Virtual Directories
Posted by Lucky at 8/15/2006 12:40:40 AM
Hello Guys,
after long long time. i'm back again with some questions.
right now i'm developing a code that fetch the list of websites from
IIS 5.0 or later and also cretes the Virtual Directory for a website in
IIS 5.0 or later.
interesting thing is i don't know how to do it. i tried to fin... more >>
Fixing width of homepage
Posted by Torben Laursen at 8/15/2006 12:00:00 AM
Hi
Is there a simple way to control the width of a homepage in asp.net. What I
want is the content of the homepage to have a fixed width of e.g. 20 cm
surrounded by a background. In that way I can make sure that the page looks
good no matter the size of the users monitor.
Thanks Torben
... more >>
PostBackUrl
Posted by Gunawan at 8/15/2006 12:00:00 AM
Hi All,
If I set postbackurl property of a button, then does the click event execute
first before we go to page that mention on postbackurl?
TIA,
Gun
... more >>
|