all groups > asp.net > december 2003 > threads for tuesday december 2
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
cost of SSL on the client
Posted by Mr. x at 12/2/2003 11:51:48 PM
Hello,
Suppose the hosting site of mien support SSL on the server.
There is also the client site.
Since I am knew to it,
I would like some information about SSL,
and mainly how much (approximally) does it cost on the client side ?
Thanks :)
... more >>
Triger event in winform from webform
Posted by S at 12/2/2003 11:00:16 PM
I have a windows application that is constantly listening
to the requests from other applications. I need to trigger
a event [say a button click or invoke some function] from
asp.net application. Any ideas .. how to do that ?... more >>
VS 2003 can only connect to local host when connected to intenet
Posted by leveraged at 12/2/2003 10:41:09 PM
Why can I only connect to or create a web app in VS 2003 using localhost
while I am connected to the internet. I have no problems using VS 2002 but
for some reason I get Microsoft Development Environment dialog that says 'A
connection with the server could not be established.' whnever I try with ... more >>
how to add access database to asp.net application on server
Posted by TM at 12/2/2003 10:37:30 PM
I am trying to learn ASP.net and created an ASP.net application on my
windows 2003 server on my home LAN, and was wondering the correct way to add
an access database to this application ?
Do I just copy it to the application folder, where do I put it ?
Also, how can I allow my application to... more >>
How do I pass a NavigateURL result to another web form
Posted by timmso at 12/2/2003 10:26:45 PM
I've got a web form working with a repeater, using code below. My goal is to
generate a list of hyperlinks that, once clicked, take me to another page
with related information that was clicked.
If I hover over the link, I can see that the correct title's ID is there.
Now how do I "pass" the re... more >>
Access HtmlControls in code-behind
Posted by Greg Linwood at 12/2/2003 10:04:24 PM
How does one access HTML elements from code-behind?
I've got a mix of asp:Labels & <font> elements - I'd like to continue using
<font> elements, but be able to access them from code-behind to set
properties such as InnerHTML, InnerText etc..
Is this possible?
Regards,
Greg Linwood
SQL S... more >>
cross browser compatible HTML text box
Posted by Thomas at 12/2/2003 9:59:14 PM
Hi all!
I'm looking for a cross browser compatible HTML text box (like FreeTextBox
or RichTextBox) - does anybody know such a control?
Thanks
Thomas
... more >>
REQ: Help making website
Posted by Shawn B. at 12/2/2003 9:50:40 PM
Greetings,
I have have been working for almost 18 months on a set of WebControls where
some are similar to the ASP.NET standard and well-enhanced while other
controls are completely new and interesting. All my controls are
implemented from scratch (in VB.NET). Some are C#, er I plan to have ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Syntax error in update statement - novice question
Posted by sean at 12/2/2003 7:16:12 PM
Hi,
I am trying to update an access database using an SQL statement, I keep
getting an syntax error in update statment. I am passing in strChkBoxValue
as a string value which is declared in another function. Could someone help
me fix my code.
Sean
Dim oComm As OleDbDataAdapter
... more >>
cohabiting html\server-side controls
Posted by eNathan at 12/2/2003 7:02:17 PM
I want to be able to disable\enable controls on the client via client-side
scripting. I'm trying to avoid a postback. I'd like to use HTML and
server-side controls on the same page. In code-behind of "submit button" how
do I get the value of the HTML Controls? How do you provide a "rich"
experie... more >>
Finance News RSS Feed
Posted by George Durzi at 12/2/2003 6:45:59 PM
There still isn't an RSS feed out there that can provide news/stock prices
with a ticker symbol as input. There's supposedly a beta from Yahoo, but
it's not working and there is no estimated official release date.
I'm thinking of using screen scraping to get company news for a given ticker
sym... more >>
Restrict user if user directly types url of any page
Posted by Jaydeep at 12/2/2003 6:31:05 PM
Hi,
I want to restrict any user if he types url directly in the browser
without logging to my site. Like for example user should not see any listing
page of my web site by typing url http://localhost/customerList.aspx or
something like that, instead he should first login and then access this... more >>
DropDownList with multiple selected items error
Posted by Aaron Prohaska at 12/2/2003 5:25:17 PM
I'm having the problem with this drop down list on postback. For some
reason both the ListItems get selected when I change the selected item.
Using the code below I'm building the drop down list in the overriden
CreateChildControls method and setting the selected item. Then when I
change the ite... more >>
ASP.NET webforms cannot exec stored procs
Posted by Paul R at 12/2/2003 5:12:58 PM
Hi,
I have a Winforms application that access some SQLServer2000 stored
procedures.
I have now written some new Webforms pages to use some of the same stored
procs. The Webforms use the SAME data access classes (all of my business
logic and data access classes are in DLLs that are shared b... more >>
NUnit web.config ASP.NET?
Posted by Erik at 12/2/2003 4:57:16 PM
Hi!
When running NUnit tests against my ASP.NET application I want the values in
the web.config to be loaded, otherwise connectionstrings and other
configurations won't be availible and the tests will fail.
How do I load the web.config from the NUnit tests?
/Erik
... more >>
Page with no back/forth buttons
Posted by Saverio Tedeschi at 12/2/2003 4:42:07 PM
Hi all gurus,
I've found no article about my question. Is it possible from ASP.NET
to call a page without the buttons to move back and forward?... more >>
Get network printer names
Posted by Benny at 12/2/2003 4:30:32 PM
Hello all,
Currently Im working on a web application using asp.net with c#.
I require to get all the network printers name, so the user can select
print to which printer. Can anyone tell me how can I get the network
printer names?
Thanks in advanced,
Benny
*** Sent via Developersdex... more >>
IE cache and windows control
Posted by VincentWong at 12/2/2003 4:25:14 PM
hi everyone
I have a windows control hosted in the IE and this control will call
some web services. I would like to ask whehter the files or the result of
the web service (xml file) are stored in the IE cache, thanks.
vincent
... more >>
.net install problems
Posted by Vahan Babakhanian at 12/2/2003 4:18:14 PM
first time dealing with .Net
[ win2k server with .Net framework & WebMatrix installed ]
have 3 questions
1.
when starting Start / Program Files / Admin Tools / .Net Framework
Configuration
i'm getting an error message:
MMC - Snap-in failed to initialize .Net Framework Configuration
2.
s... more >>
Page_Load is called 12 times?
Posted by George Ter-Saakov at 12/2/2003 3:52:29 PM
I just find out in a debug that Page_Load is called 12 times when rendering
the page.
What could be the problem?
All this page has is a bunch of UserConrols.
I did check the InitalizeComponent. It hooked up only once there and
AutoEventWireup="false"
Thanks.
George.
... more >>
Web Custom Controls - multiple copies?
Posted by Rob Meade at 12/2/2003 3:24:25 PM
Hi all,
I have created 7 web custom controls for 7 sections of our template.
I have them currently on my local pc - where vs placed them...the plan was
that I would create these - throw them into a central location then the rest
of our team would be able to use them to create our generic tem... more >>
unable to dedug asp.net app - The project is not configured to be debugged.
Posted by TM at 12/2/2003 2:59:58 PM
When I run an ASP.Net application I am getting the following error:
"Error while trying to run project: Unable to start debugging on the web
server. The project is not configured to be debugged."
I checked and made sure the Machine Debug Manager is running on the server,
made sure the web.com... more >>
C# to VB Translation
Posted by Jim Heavey at 12/2/2003 2:46:27 PM
I found and example on the web where a event for a customValidator is being
loaded in code. It looks like the following..
this.CustomValidator1.ServerValidate +=
new System.Web.UI.WebControls.ServerValidateEventHandler(
this.CustomValidator1_ServerValidate);
t... more >>
How to make a blog with an XML feed?
Posted by Bruce W..1 at 12/2/2003 2:36:01 PM
Blogs are pretty basic. Yet many of them have an XML feed so they can be
aggregated, and I've been trying to figure out the best way to do this.
Of course one way would be to put your blog writings in a SQL database,
but this seems like overkill. And there are programs sold that do
everything... more >>
How to get item from data list source???
Posted by mkerrigan NO[at]SPAM ktoys.com at 12/2/2003 2:18:34 PM
OK - I've been wrestling with this all day: I have a DataList:
<asp:DataList id="MyList" runat="server" OnItemCommand="pickCat">
<ItemTemplate>
<asp:LinkButton id="myLink" Text='<%# Container.DataItem(
"Subject" ) %>' CommandArgument='<%# Container.DataItem( "Subject" )
%>' Runat="Ser... more >>
Web.config; Dynamic Updating of
Posted by Matt at 12/2/2003 2:10:08 PM
Hi,
I was wondering if anyone can tell me why dynamically
updating the web.config file causes ASP.NET worker process
to recycle and detroy all session states including
variables. Is this a known bug or is it by design. Do we
know why microsoft do not supply a method to write values
to ... more >>
Web page design
Posted by Nedu N at 12/2/2003 1:41:59 PM
Is there good site/link to help in creating Home Pages for web application
(not the site builders). This is for ASp.NEt web application - need to
create a home page for an application with top and side menus - not sure of
which is best way?
... more >>
CustomValidator
Posted by Jim Heavey at 12/2/2003 1:38:03 PM
I have the following code to create a CustomValidator control in code:
'* Add Custom Validator
Dim cvl1 As New CustomValidator()
cvl1.ID = "cvlAddRating"
cvl1.Display = ValidatorDisplay.Dynamic
cvl1.ControlToValidate = "ddladdRating"
cvl1.ErrorMessage = "Must make a selection"
... more >>
Datagrid disappearing - client side coding
Posted by Sue at 12/2/2003 1:30:25 PM
I have a datagrid populated with 6 visible read-only
labels and several hidden fields. Below the datagrid, I
have a table with various textboxes, dropdowns, etc. I've
managed to decypher the client-side coding needed for the
user to click a "select" button (HTMLButton) in column 0
of the d... more >>
Determine Client's MAC Address?
Posted by Selden McCabe at 12/2/2003 1:28:26 PM
Does anyone know how to determine the client's MAC address from
within ASP.Net? I suppose it would have to be java or vb script running
on the browser, but I haven't been able to find an example...
Thanks,
---Selden McCabe
... more >>
Persistent information...
Posted by Paul M at 12/2/2003 1:01:32 PM
Hi folks,
Am new to asp.net and I'm trying to find out how to keep persistent
information.
The main thing I need to do is carry round an encrypted connection string
for my database, but there are likelly to be other 'system' scoped data that
I'll need (database roles come to mind).
I'v... more >>
Help with Thread.Join() (New Problem)
Posted by Elizabeth Harmon at 12/2/2003 12:56:24 PM
hi all,
Just when you think you understand and are getting all this, .Net throws you
a Curve
I have the following Code
Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)
Dim connThread As Thread = New Thread(New ThreadStart(AddressOf
Transfer_Download_... more >>
Why are the .dll's created locally?
Posted by Rob Meade at 12/2/2003 12:47:12 PM
Hi,
I have started creating some Web Custom Controls - so far so good - what I
was surprised about was that where I have added a project to my solution in
VS - for each of the Web Control Libraries it creates, it does this locally
not on the server - as opposed to other webforms and such which... more >>
Detect version of media player
Posted by Oscar Thornell at 12/2/2003 12:43:57 PM
Hi,
I need to detect (from a web page..) what version of Windows Media that are
installed..
Any suggestions??
Regards
/Oscar
... more >>
ASPx page used to execute Query needs to post results to itself
Posted by Beryl Small at 12/2/2003 12:39:21 PM
Okay,
I have a third party (Macromedia Authorware ) software passing a student
I.D. number to an ASP page for verification against an SQL database.
Authorware uses something like the following:
result:=PostUrl: http://myserver/MyAsp.aspx?Student=StudentID
MyAsp.aspx has VB code that executes ... more >>
Call .aspx file from .asp
Posted by Vinod at 12/2/2003 12:32:48 PM
Hi Team,
Can we call ".aspx" files from ".asp" ? How ?
Thanks in advance
... more >>
deploying in debug vs release mode
Posted by Jason Shohet at 12/2/2003 11:44:26 AM
I am getting an error when I compile a web setup project:
Could not find fild 'C:\...\obj\Release\myApp.dll'
In the Config Manager, I have the application set to 'Debug' -- not release.
Thats why there's no dll there in the Release folder. How do I tell my Web
Setup project to look in the deb... more >>
Error in Smart Navigation + Javascript
Posted by Priya at 12/2/2003 11:38:07 AM
I have enabled smart navigation for my ASP.Net web application.
It works fine except for some of my pages where I'm using some Javascript
code to open a page in a new window on a button click.
Here is a sample Javascript code which I'm using
Response.Write("<script language... more >>
checking for a null value in a data reader
Posted by ]-[aTc]-[ at 12/2/2003 11:28:04 AM
Hello
I have the following code...
string chkString = " " + dr.GetString(37) + " ";
and I get an error message of ...
Data is Null. This method or property cannot be called on Null values.
How do i check for this null value.
I've tried many things like this..
if (dr.GetValue(37) != ... more >>
Capture Path from upload file control
Posted by syd at 12/2/2003 11:06:47 AM
I have an intranet app that i would like to just capture the Path contained
in the file field html control. The app will reside on an intranet and we
all will have access to this path - it seems a waste to upload the file.
The browse button will capture the path just fine, and display it in t... more >>
Resource Files & globalization
Posted by John Stemper at 12/2/2003 10:59:50 AM
Getting resource files to work with VS2002 and ASP.Net seems to be a little
flaky. I've added a resource file "strings.resx" to the project. The
properties of the files say Build action = "embedded resource". I've added
the appropriate code to the Global.asax:
protected void Application_S... more >>
Linkbutton submits the form but OnClick event does not get fired
Posted by Stan at 12/2/2003 10:36:30 AM
This is very weird - linkbutton submits the form, but the
event handler is not being called:
<asp:linkbutton Runat=server CssClass=NormalA
OnClick=btnTest_Click>Test</asp:linkbutton>
protected void btnTest_Click(object sender,
System.EventArgs e)
{
Response.Write ("Test");
}
I c... more >>
Fileopendialog
Posted by Anita C at 12/2/2003 10:08:08 AM
I am trying to follow the Ms sample in the .Net
SDK/Technologies/Interop/PlatformInvoke/WinAPIs/CS-
to click on a button on a webform to bring up the fileopendialog. But it
does not seem to work and the process timesout. Can someone please point out
any sample etc. which might be using the Win.A... more >>
Can one validation control work for multiple textboxes?
Posted by Russ at 12/2/2003 10:06:30 AM
I have a huge form with 91 controls on it and about 1/3 of them are date
fields. Is it possible to use just one compare validator to make sure dates
are being entered or do I have to make one for each text box?
Also can someone think of a easy way to make it so all of these date text
boxes wi... more >>
Successful Download Tracking
Posted by Mike Lavender at 12/2/2003 10:02:25 AM
Hello,
Currently on my Website my downloads are simply hyperlinks to binary
files, which when clicked, prompt the user for download. I would like to
try and track my downloads and determine if the entire file was transferred
to the user's machine. Is there a way to do this? Do I need a ... more >>
Screeh Resolution
Posted by Toby Riley at 12/2/2003 9:56:41 AM
Hi,
Can anyone tell how to get the screen resolution / width from any browser
into asp.net.
Thanks
Toby
... more >>
valign in DataGrid Column
Posted by Cezar at 12/2/2003 9:52:25 AM
Hello,
I need to valign the content of the columns in DataGrid. I tried the
obvious thing
Valign = "top" in <asp:DataGrid ..> but it doesn't seem to be working.
Besides working with DataGridColumnStyle there is any other simple way of
setting the valign property?
Thank you
Cezar... more >>
A very slow sql query execution using asp.net
Posted by Dai Hao at 12/2/2003 9:33:24 AM
Hi all,
I have sql query to search for fields in a rather big view. If I execute the
query in sql server enterprise manager, the results will be displayed in
less than 6 seconds. However, if I execute it using asp.net, it will take
very long (more than 2 minutes).
The query is a simple one ... more >>
Security for writing a file
Posted by Joe Bonavita at 12/2/2003 9:11:46 AM
What is the safest way to create a file on the server? I'm looking for
something like:
secureconnection();
// create the file
disconnect();
... more >>
Forms Authentication Cookie Does Not Expire
Posted by joey.powell NO[at]SPAM goldcoinc.com at 12/2/2003 8:48:39 AM
On my asp.net application, suddenly the forms authentication cookies
for all clients have quit expiring. This results in users being able
to
access the site from day to day without having to log in, even if
their
browers are closed and then reopened hours apart or even if their
machines
are r... more >>
Problem using 'accept="image/*"' in the input tag in visual studio
Posted by mrpetermarsh NO[at]SPAM hotmail.com at 12/2/2003 8:34:28 AM
Howdy, I need to be able to restrict the type of files that a user can
upload, specifically I only want them to be able to upload images. I'm
using the following line of html
<INPUT accept="image/*" id="logo" type="file" runat="server"/>
but I get the following error:
Could not find any a... more >>
Link buttons don't fire ItemCommand in repeater control, is this a bug?
Posted by Stan at 12/2/2003 8:31:44 AM
I cannot make the link buttons fire ItemCommand from
repeater control.
Here is the code:
<asp:repeater id=rptLetters runat="server">
<itemtemplate>
<asp:linkbutton id="lnkLetter"
runat="server" commandname="Filter"
CommandArgument='<%#
DataBinder.Eval(Container, "DataItem.Lette... more >>
access denied...dcom server
Posted by bri at 12/2/2003 8:19:13 AM
I am receiving the error below in the error log,
impersonation is set to true, and aspcompat is set to true
as well. I gave launch permissions to the ASP.net user
under the Machine Debug Manager, which didn't help. It
seems to be looking for ASPNET/<server> rather than
<server>/ASPNET. ... more >>
NetUserAdd +aspx
Posted by kjartan NO[at]SPAM visa.is at 12/2/2003 8:09:20 AM
Hi.
I created a program which creates a user on my machine using
NetApi32.dll or more specifically NetUserAdd. The program runs fine
and a user is created on my machine (I used C#). Now I want to create
a user on my machine using aspx. Is this possible? I used the same
code I used in my C... more >>
Possible to pass parameters from web user control client-side to server
Posted by Henke at 12/2/2003 8:00:02 AM
How can data be passed to the server when an event is fired in client-side
jscript, ie on a drop event?
I have tried using hidden fields and submitting the page, but for some
reason I can't access a html hidden field that is set to run as server
control.
Please can someone point me in the right... more >>
SmartNavigation
Posted by Rob at 12/2/2003 7:22:32 AM
Hello,
I have a <DIV> in my Datagrid which produces scrollbars
when it is populated. When I click the Edit button in the
edit comand column I need to be able to maintain the
scroll position. According to MSDN, setting
SmartNavigation="True" in the @Page directive will achieve
this but ... more >>
How to: do something on the server when user close the browser?
Posted by Feng at 12/2/2003 7:04:43 AM
Hi,
What I need is to run some ASP code on the server, when
user close his/her browser. I tried to create a "OnUnload"
event handler on client side JavaScript to do a "Submit
()". But that doesn't seem to help.
Can someone help me on this?
Thanks... more >>
FTP Client within ASP.NET
Posted by Jason Cochran at 12/2/2003 7:01:27 AM
Hello All!
Is there any possible way to create a simple ftp client
within asp.net? I need to be able to download a
compressed file, uncompress it, and import the data into
sql server. I was going to use DTS to schedule the
download and then import the data. But I need a way to
download ... more >>
HttpServerUtility.GetLastError Timing issue?
Posted by Brendan Erwin at 12/2/2003 6:51:57 AM
Looking for some clarification here. I'm considering using
HttpServerUtility.GetLastError in a standard errorhandler
for all my pages. (Inherits System.Web.UI.Page and
overrides OnError.) My concern is that I think there MAY
be a timing issue with the GetLastError method as it is a
method ... more >>
CustomValidator Control
Posted by Jim Heavey at 12/2/2003 6:47:30 AM
Hello, I was am wanting to validate that a user has made a selection from a
dropdownlist control in a datagrid. Is my only option to use a
"CustomValidator Control"? I am not quite sure how to write and attach
JavaScript to the control to ensure the SelectedIndex > -1. Is there a way
to ... more >>
Commented Code Not Treated As Commented Code
Posted by Jim Heavey at 12/2/2003 6:20:20 AM
Hello, I thought I was loosing my mind. I had a page which was working
perfectly fine until I decided to try to add a control to a footer line in
code. So I took the Validation control which was embedded in my .aspx file
and moved it to the very bottom of the page and placed the "<!--" prior... more >>
Html - Simple Question
Posted by rona NO[at]SPAM discussions.microsoft.com at 12/2/2003 5:44:36 AM
Hi
At the moment, I have part of my web page set up using
Labels but for efficiency (i.e. saving time going back to
the server each time I open up the page) I want to use
static text HTML for some of my labels. I've had a go at
this but I'm finding that the text can be altered on the
w... more >>
GAC and User Controls
Posted by Manuel Lopez at 12/2/2003 5:25:22 AM
Hello,
We have user controls that we want to share between=20
applications.=20
We have a web app that has only the ascx, this is a sub=20
virtual root of all our applications.
What we have done is generated a dll will all the codehind=20
of the User Controls.
This dll is registered in... more >>
Does VS have a 'if running in studio' flag?
Posted by foldface NO[at]SPAM yahoo.co.uk at 12/2/2003 4:10:17 AM
Hi
Sorry, don't know how to phrase the question any better.
Within Visual Studio I have a style sheet that being dynamically
added to the code, i.e. not via the html page. I want to place this
within
a html page so that the VS designer can see the style sheet but the
running
executable can'... more >>
Date Format
Posted by Mauricio at 12/2/2003 4:01:23 AM
In my webform has a text box bound with a DataSet's column
which type is DateTime.
I have 2 troubles:
- I want to show only date, but it's showing date and
time.
- I want to show date in format dd/mm/yyyy, but it's
showing mm/dd/yyyy.
Anyone can help me?
Thanks.
... more >>
Ploblem with Da.Fill(Ds)
Posted by Jorge Maganto at 12/2/2003 3:04:02 AM
Hi!
I'm building a site in ASP.NET which makes a query that
return 50.000 results, this result is read by
a DataAdapter to a DataSet (myDataAdter.Fill(myDataSet)).
The problem is if the query is made by two users at the
same time, the second user take a error.
The problem is that 'Fill' int... more >>
Web Gardens
Posted by Alan Partridge at 12/2/2003 3:01:05 AM
We are hosting our ASP.NET application on a multi-proc (4) machine but we're using InProc session state. Machine.Config has webGarden=false at the moment and only one ASP.NET worker process in running. Therefore, my guess is that running on a multi-proc box is wasted because only 1 CPU is being us... more >>
CDONTS
Posted by Stephan at 12/2/2003 3:00:40 AM
I used cdonts.dll to send mail from aspx pages with .Net
Framework 1.0. It worked perfectly. I upgraded to .Net
Framework 1.1 and now I get an Access Denied error.
Any suggestions?... more >>
|