all groups > asp.net > april 2006 > threads for tuesday april 11
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
response from webclient.uploaddata
Posted by Stacey at 4/11/2006 11:31:02 PM
I am receiving the response upon using webclient.upload method which contains
the "order number" and related information strings followed by standard stuff
under <HTML>
<HEAD>
elements.
I would like to filter out this standard <HTML> element content and just
want to save "order numbe... more >>
not 'getting' asp.net 2.0's web configuration tool
Posted by Darrel at 4/11/2006 11:18:11 PM
I haven't made it very far into my first 2.0 project.
In the past, to connect to a DB, I'd store the connection string in
web.config and just grab it from my codebehind page:
connectionString = ConfigurationSettings.AppSettings("dbConnection")
Well, 2.0 is telling me that is deprecated. A... more >>
How to persist asp.net control values set via JavaScript
Posted by David Adams at 4/11/2006 10:49:14 PM
Hi,
I have a web form that opens a pop-up page that sets a textbox control on
the parent page based on modifications made in the pop-up. I am using the
following code as an example.
window.opener.document.getElementById(''myParentTextBox').value=document.getElementById("myPopUpTextBox").v... more >>
Conditional <asp:BoundField
Posted by Romain Salad at 4/11/2006 10:26:20 PM
I must admit I probably get less help than from this newsgroup than is
humanly possible, but I thought I'd try again:
In some circumstances I need this:
<asp:BoundField DataField="AMOUNT" HeaderText="AMOUNT"
SortExpression="AMOUNT" DataFormatString="{0:$#,#.##}" HtmlEncode="False"
>
... more >>
ASP.NET/SQL-Database Applications Development For Free
Posted by sonomat NO[at]SPAM gmail.com at 4/11/2006 9:01:38 PM
I would like to develop more freeware and shareware applications based
on ASP.NET/Access or SQL Server.
Any one is welcome to send me applications requirements and I will try
to implement for free.
Many free ASP.NET applications are running on the web
http://aspnet01.cloud.prohosting.com/index2... more >>
how to single signon two .net 2.0 websites?
Posted by Pony Tsui at 4/11/2006 8:35:01 PM
Hi All,
i had two .net 2.0 websites, but i don't know how to login one websites,
then open or redirect another website without signin again? anyone can help
me?
Thanks
--
Pony Tsui... more >>
LDAP Authentication fails on Web Application
Posted by Anbu at 4/11/2006 8:30:47 PM
Sorry for cross posting the query. But I need a resolution as early as
possible.
I have developed an application to authenticate the user based on LDAP
Search and authentication.
The Windows application that was developed using C# works fine. But it
fails when I convert this as a DLL or W... more >>
format datetime in GridView ItemTemplate?
Posted by Dabbler at 4/11/2006 7:59:01 PM
I can't figure out how to format a Label containing a datetime value in a
GridView .
<asp:TemplateField>
<ItemTemplate>
<asp:Label ID="JoinDate" runat="server" Text='<%# Eval("JoinDate")
%>' ></asp:Label>
</ItemTemplate>
</asp:TemplateField>
I use DataTextFormatString="{0... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
precision question
Posted by joe at 4/11/2006 7:49:02 PM
how to check precision
if 198423.00 is ok
however 2945725.001 is not ok... more >>
<br /> grr!!!
Posted by Mark Rae at 4/11/2006 7:32:51 PM
Hi,
Can some kind soul please tell me how to stop <br> being automatically
reformatted as <br /> in VS.NET 2005...
Thanks,
Mark
... more >>
dataset Q
Posted by joe at 4/11/2006 7:27:01 PM
i have a dataset with a column - money sqltype
and the dataset have 100 rows
how to sum up all 100rows of the column... more >>
SqlDataSource param in ItemTemplate can't find GridView bound cont
Posted by Dabbler at 4/11/2006 7:25:02 PM
I'm trying to load a DropDownList in a Gridview from a secondary
SqlDataSource but I get an exception complaining that the ControlParameter's
ControlId isn't found.
"Could not find control 'JoinDate' in ControlParameter 'JoinDate'."
<asp:BoundField DataField="JoinDate" HeaderText="Joined"
... more >>
ASP.NET page, hiding certain controls when printing
Posted by J Ames at 4/11/2006 6:40:47 PM
I have an ASP.NET (VB) form that has two drop downs, a horizontal rule and a
button. The button invokes a stored procedure and several tables are
created on the page with data populated. I want to create a link to print
the page, but I don't want the drop downs or the button to print, only t... more >>
auto-discover RSS feed
Posted by John A Grandy at 4/11/2006 6:20:16 PM
Apparently all that is necessary for an RSS feed reader to auto-discover an
RSS feed associated with a page received and rendered by the browser is to
include the following on the page :
<head runat="server">
<title>Untitled Page</title>
<link rel="alternate" type="application/rss+xml... more >>
Asynchronous Fire-And-Forget Call
Posted by Stephen Barrett at 4/11/2006 6:00:11 PM
I have read many threads related to async fire and forget type calls, but
none have addressed my particular problem.
I have a webpage that instantiates a BL object and makes a method call. The
BL object method actually sets up a delegate and calls a private method
asynchronously and immedi... more >>
Dynamic HttpHandler mapping... possible?
Posted by Gabriel Lacatus at 4/11/2006 4:47:11 PM
Is it possible to map a URL to a specific HttpHandler programatically?
What I mean is that I wouldn't have to go in the web.config section and add
the line
<add verb="*" path="foo.bar" type="BarHttpHandler, FooBar"/>.
Instead I would like to do this programatically in another handler's code
... more >>
message box
Posted by Ankit Aneja at 4/11/2006 4:15:06 PM
Hi i want to show or fire a message box from
code behind my.cs file of asp.net web application
how can i do that i am using framework 1.1
... more >>
TreeView - want node selection WITHOUT POSTBACK
Posted by Martin Randall at 4/11/2006 3:34:34 PM
Can anyone tell me if it is possible to get the TreeView control in ASP.Net
2.0 to allow node selection without triggering a postback?
Thanks!
Martin Randall
... more >>
Batch Deployment
Posted by Chuck P at 4/11/2006 2:22:24 PM
I was wondering what practices people have come up with for
deployment. I want to precompile the application and encrypt portions
of the web.config.
In 1.0 I just did a batch file that would
copy %source%\*.aspx %web%\*.*
copy %source%\bin\*.dll %web%\bin\*.*
rem copy %source%\web.c... more >>
Body onblur="window.close()"
Posted by lindanr at 4/11/2006 2:22:02 PM
In ASP.NET 2005 I have an onblur="window.close()" javascript event in the
<body> tag. When I click on the window's scrollbar, the window closes. The
same code works fine in ASP.NET 2003.
Any ideas?... more >>
How to reduce image file size?
Posted by Parrot at 4/11/2006 2:20:02 PM
Is there any routine I can call to reduce the size of an image file after
uploading a file from a client. I am looking to reduce file sizes
programmatically using C# in my web page after uploading. I know that
Photoshop can do it but I need to do it dynamically in my web page. I tried
doing it m... more >>
format currency is twacked
Posted by Romain Salad at 4/11/2006 2:02:28 PM
In Gridview I have $8987.7600 using a format string.
What could be wront?
I would like a comma, and only two decimal places.
... more >>
sending mails bounced to address different from sender address
Posted by SharpSmith NO[at]SPAM gmail.com at 4/11/2006 1:52:51 PM
hi all
i have a very specific question regarding emails sending and googling
doesn't help me
is a way exists to send email using .NET framework (System.Web.Mail or
something else)
and have the "from" address to be X
but if the message is bounced from not existing address or whatever, it
will ... more >>
Text to speech (TTS) application on web server
Posted by Onur at 4/11/2006 1:28:56 PM
Hi.All
I'm working on a TTS application.
It runs on my local pc (WindowXP pro) without any error.
Microsoft Visual Studio .NET 2003, Microsoft .NET Framework SDK v1.1,
Microsoft Speech Application SDK 1.1. are installed on my local pc.
My web server is Windows 2003 server Enterprise.
Mi... more >>
Convert formatted string to string?
Posted by rockdale at 4/11/2006 1:02:31 PM
Hi, All
I have a datagrid with TemplateColumn as following. Notice the "{0:c}"
format the price as $8.90 for 8.90 and ($7.8) for -7.8
<ItemTemplate>
<asp:Label id=lblPrice runat="server" Text='<%#
DataBinder.Eval(Container, "DataItem.price","{0:c}") %>'>
</asp:Label>
... more >>
Oracle - works with Framework 1.1, not with 2.0
Posted by Chris Botha at 4/11/2006 12:47:50 PM
Hi, sorry, cross-post with the ADONET newsgroup.
I have a web site on a 2003 server. The web site runs under Framework
1.1 and works with oracle, no problem.
On the same server I have another web site that runs under Framework 2.0 and
connects to the same Oracle database, same connection strin... more >>
ASP.NET/SQL Database Applications Development For Free
Posted by sonomat NO[at]SPAM gmail.com at 4/11/2006 12:12:18 PM
I would like to develop more freeware and shareware applications based
on ASP.NET/Access or SQL Server.
Any one is welcome to send me applications requirements and I will try
to implement for free.
Many free ASP.NET applications are running on the web
http://aspnet01.cloud.prohosting.com/index2... more >>
Internal ASP.Net error bubbling events
Posted by Dale at 4/11/2006 11:52:01 AM
I have an application that, on my development PC and in production, throws
unexpected null reference exceptions when returning from the click event
handler of a button. The only fix is to do an IISReset or to reboot the
server. This is obviously not acceptable in production.
The call stac... more >>
Where request came from/referrer
Posted by Sega at 4/11/2006 11:16:01 AM
I am trying to find where my user came from - in particular whether they came
from our application login on our own site or whether they came by keying the
url directly without going through our login.
Currently I am using the following code, but would be happy to change to
something more e... more >>
How to prevent a GridView's ButtonField from doing a postback when clicked?
Posted by Rob Roberts at 4/11/2006 11:12:01 AM
Is there any way to prevent a ButtonField in a GridView from doing a
postback when clicked? I want to use my own onclick handler to call
window.open('SomePage.aspx') to display a page in a new browser window when
the button is clicked.
I tried doing this in the RowCommand postback event by... more >>
posting data to asp.net from a vb.net app
Posted by Brian Henry at 4/11/2006 11:01:08 AM
I have an app that runs on the desktop remotely but I want it to post a
results XML file to my web app, how would I go about doing this? thanks!
... more >>
Compiler Error Message: BC30456: 'InitializeCulture'
Posted by Mauricio Pires at 4/11/2006 9:57:01 AM
All my pages work just fine on development, but as soon as I publish
(deploy) to a W2K Server with .Net Framework 2.0 , I always get
Compiler Error Message: BC30456: 'InitializeCulture' is not a member of
'ASP.default_aspx'.
This happens for every page and after I created a MasterPage.
Pl... more >>
validators messing up layout in IE before being triggered?
Posted by Dabbler at 4/11/2006 9:54:02 AM
I have RequiredFieldValidators which are displacing my layout before the
validator is used. This only happens in IE, Firefox renders the page
correctly.
Sample useage:
<asp:Label ID="lblLastName" runat="server"
CssClass="waLabel" Text="Last Name" ></asp:Label>
... more >>
sunken in textboxes anyone?
Posted by CharlesA at 4/11/2006 9:20:02 AM
Hi folks,
first of all I'm using ASP.net 1.1 with C#
In the good old MS Access days you had sunken in textboxes to tell users
that they could type stuff in that box and flat textboxes to indicate a 'read
only' intention.
my colleagues and I are developing on an Intranet with IE6 only...
... more >>
Dynamic compile model
Posted by Tom at 4/11/2006 9:07:01 AM
I am developing my pages on my development machine
and then copying to the production server.
I am not pre-compiling, I am using the 'dynamic compile'
feature. This is working fine except that everytime
I change a page on the production server I need to restart
IIS to effect the change.
If ... more >>
Impersonate Identity
Posted by Jennifer at 4/11/2006 8:50:56 AM
I was given the task of moving a website from one server to another.
The author of this is no longer with our company. The site was written
in C#, which I am not familiar with, but I can read it enough to get an
idea of what is supposed to be going on. But, in the webconfig file,
there is a li... more >>
Generated UPDATE statement. could not determine which columns uniquely identify the rows for "Customers"
Posted by bazzer at 4/11/2006 7:55:04 AM
i am having trouble updating a datset because i get the follwing error
in the Data Adapter configuration Wizard:
Generated UPDATE statement. could not determine which columns uniquely
identify the rows for "Customers"
'Customers' is the only table from the database that im using for this
qu... more >>
data binding a datagrid in a UserControl
Posted by p.mc at 4/11/2006 7:48:22 AM
Hi all,
I'm having major problems with a userControl which contains a datagrid.
My problem concerns data binding.
The Page_Load() procedure calls the DataBind procedure to bind the
datagrid to a DataSet.
If i include an if statement to prevent the data binding from occuring
on a page Post... more >>
Does Forms Authentication require cookies?
Posted by Peter Rilling at 4/11/2006 7:47:24 AM
I am creating a website that uses Forms Authentication. From what I have
read, FA uses cookies to store the authentication ticket once logged in. My
customer would also like this site to not require cookies. Does FA require
the use of cookies or can I use some other mechanism when I set the... more >>
OOP in asp.net Application
Posted by Shlomi at 4/11/2006 7:44:45 AM
Hello,
I'm new at oop.
This is how I was storing customer info and used it in the application
in the past:
Session("CustomerName")="Bob"
Session("CustomerId")="55"
Now I created a customer class and I want to use this syntax:
Customer.CustomerName="Bob"
Customer.CustomerId ="55"
M... more >>
Custom Form - private class vars are non-persistent
Posted by Chu at 4/11/2006 7:25:20 AM
Hello All-
I've got a Custom Web Control that with a public class that that sets a
private variable inside the class. I plop the custom control onto my
page and off I go. From my main page, I call the
customPage.loadPage(10) and pass in a value of 10. The loadPage method
sets var1 = 10 as exp... more >>
Object Models and NULL
Posted by Larry Charlton at 4/11/2006 7:18:02 AM
I posted this a couple of days ago, but it was buried with another question.
How do people deal with NULL values in an object model?
Consider the following example often used. I can't see anyway to indicate
an age is undefined. So if I get a null from the database what do I store
here a... more >>
How can I do this in web page asp.net ..this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
Posted by Sukh at 4/11/2006 6:27:18 AM
I want to minimize page programmatically
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
Can any one has any idea
Thanks
Sukh
... more >>
Sharing Authentication Cookies
Posted by thecoolone at 4/11/2006 6:17:53 AM
I have 2 seperate. 1st one contains only the index page
and 2nd one contains the main login page etc...
The problem is that when I go to the index page it works as i desired
only for the first time. What i mean is that it works only when the
user is not authenticated.
And it redirect to the log... more >>
Maintaining user entered data on a page being refreshed
Posted by SSS at 4/11/2006 5:33:17 AM
Hello there,
My problem is that I have a page which is displaying 4 real time data values which are being refreshed every one minute.
On the same page I have other text boxes where user enters some data. The page is being refreshed through code using META tag. When page is refreshed, the data... more >>
dynamically generate checkboxlists (ASP .net 2.0 w/ C#)
Posted by KBuser at 4/11/2006 5:29:21 AM
I'm building an internal site which will allow for extremely
customizable queries to be run against our SQL Server (2000) DB. The
page is done in ASP .net 2.0, with C# code behind.
The initial page has a checkboxlist which is generated from a query
which returns all the user tables in our databa... more >>
Using Typed Datasets in asp.net 2.0
Posted by amit NO[at]SPAM c4ppy.net at 4/11/2006 5:28:03 AM
I am having a play with typed datasets in ASP.Net 2.0
I am using the builder to create my data layer.
I have the following tables.
[EmployeeType], [Departments], [Location], and [Groups]
The first three tables above have a one to many relation ship to
[Groups] via mappin... more >>
Dynamic dropdownlist problem
Posted by ^MisterJingo^ at 4/11/2006 4:49:56 AM
Hi all,
I have a web page which has a single dropdownlist containing 3 items.
Below the dropdownlist are two listboxes. Depending on the option
selected from the dropdownlist, the left most listbox populates itself
from a DB table, assigning the correct id to each item as a value.
In betwe... more >>
Response.Redirect problem
Posted by Marc Hoeijmans at 4/11/2006 4:11:02 AM
Hello,
I have a problem with the Response.Redirect. The redirect is working for
some users for other useres it is not working. We all use the same browser. I
have coded the Response.Redirect after a try-catch block. In this block data
is inserted in a database with a stored procedure and an e... more >>
sending an email from a webform?
Posted by bazzer at 4/11/2006 3:12:40 AM
hello all,
as part of an application im developing with asp.net webforms, i need a
user whos using the application to be able to receive an email
confirmation of a booking they made using the application. how exactly
do you send an email using webforms?
... more >>
How to set commandTimeout for getData method of TableAdapter (ASP.NET 2.0)?
Posted by Piotrek at 4/11/2006 2:56:19 AM
Hi all.
I am developing some web application in which I use datasets, which
were generated using dataSetDesigner. My dataset has a TableAdapter,
which has GetData method. Users of my application sometimes get timeout
while executing this GetData method.
I would like to increase CommandTimeo... more >>
Cannot set datagrid Text attribute ????
Posted by serge calderara at 4/11/2006 2:38:02 AM
Dear all,
I have a datagrid which is bind to a databse table.
One field of that table contains a filename.
What I ma trying to do is to display the content of a cell to be an icon
when the database field is not empty. In addition a direct link to the file
will be done.
Follow is my Dat... more >>
Sessions between ASP Classic & ASP.NET
Posted by afshar at 4/11/2006 2:33:15 AM
Hi everbody,
I've an old ASP classic application that uses sessions frequently. I
have added some new ASP.NET 2 new pages to that old application. How
can I interact with sessions that are made and used in ASP classic
pages? I think and heard that sessions in both ASPs reside on different
memor... more >>
checkBox and client confirm
Posted by enzo at 4/11/2006 1:58:01 AM
I'm using asp.net 2.0
I have a checkbox with server checkedCanged event .
I must add a confirm on click event.
I have used this : myCheckBox.Attributes.Add("onClick", "return
CofirmFunction()"); on Page_Load event.
On page : <script type="text/javascript" language="javascript">
... more >>
web developer express 2005 not working ok
Posted by at 4/11/2006 1:19:06 AM
I installed visual developer express 2005, and the Design view does
not start, only the Html view works?
... more >>
Problem setting focus on a control.
Posted by clickon at 4/11/2006 12:57:01 AM
For testing purposes i have got a 2 step WizardControl. Eqach step contains
a text box, TextBox1 and TextBox2 respectively. If i put the following code
in the respective activate event handlers for the two steps,
TextBox1.Text ="foo";
and
TextBox2.Text = "bar";
Then in the first step t... more >>
encryption
Posted by joe at 4/11/2006 12:56:02 AM
how to encryption the
?name=xxx&other=xxx in the link... more >>
Regular Expression!
Posted by Adam J Knight at 4/11/2006 12:46:33 AM
Hi all,
I am trying to use the regular expression validator control (1.1).
My code so far:
<asp:regularexpressionvalidator id="regexValQuestionImage"
ControlToValidate="fleGraphic"
Display="None"
ErrorMessage="Invalid image type (gif/jpeg) only."
Valid... more >>
Invalid postback or callback argument
Posted by Mike P at 4/11/2006 12:44:14 AM
I have added a couple of buttons to my ASP.NET 2.0 page. which both are
meant to do pretty simple things, a Back button and a Submit data
button. But I get this error whenever I click either of the buttons :
Invalid postback or callback argument. Event validation is enabled
using <pages enab... more >>
tutorials!?
Posted by eyekoola at 4/11/2006 12:41:21 AM
when i download and run video tutorials from microsoft's web site they
are fliped horizontaly and verticaly!
what should i do?... more >>
How to recover source code from a dll that's compiled in debug release
Posted by C.W. at 4/11/2006 12:00:00 AM
I lost my laptop as well as my backup server. I am wondering if there is a
way to step through the code without the source code, but only with the dll
and pdb (which are compiled in debug mode) through vs.studio at all? I do
have these files as they are stored on a remote site for testing.
... more >>
Check if a directory exists in a network drive?
Posted by Joris De Groote at 4/11/2006 12:00:00 AM
Hi
How can I check if a directory exists in a network drive? I can check it on
the local machine, but when I want to check a network drive, that doenst
work, how can I do this?
Thanks
Joris
... more >>
DetailsView Control and others
Posted by Marko Loukkaanhuhta at 4/11/2006 12:00:00 AM
Hi,
this might be newbies question, but hey I'm newbie..
I'm trying to make a web site which you can use to read and update data from
sql server. Data on the sql server is text. Data fields in sql server are
ntext type.
Ok, I've managed to read data and update data to the sql server from ... more >>
|