all groups > asp.net > july 2003 > threads for monday july 28
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
SSL
Posted by Rob at 7/28/2003 11:50:22 PM
Hi,
I like to use a https connection for test purposes. Is
there a way to try such a connection with my asp.ent applic
without the tedious certification process by a third party
etc.?
Thanks
Rob... more >>
are static functions threadsafe?
Posted by David at 7/28/2003 11:39:42 PM
I have a static method in the dll that looks like this
public static int myStaticFunction(int input){
}
My question is, should I use a mutex inside the function to ensure that the
function is threadsafe? This is used for ASP.NET. I am asking this
question without knowing how IIS works as ... more >>
Child Controls => Postback? => null?
Posted by szabelin at 7/28/2003 10:25:49 PM
Hi
there were a few postings earlier, including mine
regarding this. It looks as if when a dynamic child
control causes a postback, its handler never gets called,
and the control is null. This seems wierd. What about
bubbing events to parents in DataGrid - if events are
never even trigg... more >>
Several Questions
Posted by Vincent at 7/28/2003 8:44:59 PM
1. In my web application, can I call another exe
application ?
eg. when user click a button, a.exe will be executed
2. If the web page has two frames, can I control them in
asp.net ?
ie. control the page displaying in the frame
3. Can I call DTS ?
4. Can I save as a crystalreport... more >>
ERROR:Object must implement IConvertible.
Posted by Leon Shaw at 7/28/2003 8:41:54 PM
I'm trying to insert a record into a sql server 2000 database using a store
procedure (vs.net is my develop tool) on the button click event but I keep
getting the following error after clicking the button:
Object must implement IConvertible.
What Can I do to fix this problem. It seems like it wa... more >>
Dynamic Datagrid does not fire events.
Posted by mark_mrachek NO[at]SPAM yahoo.com at 7/28/2003 8:35:31 PM
I have been working for quite some time on this issue which in theory
should be quite simple. The problem is that the Cancel and Save
events are not fired when their respective buttons are clicked.
I have read several posts which say to put your column generating
section in the Page_Init sect... more >>
control not found on postback
Posted by Igor Belagorudsky at 7/28/2003 8:00:30 PM
Hi,
i am trying to analyze data submitted in a form but the problem is that when
i try to create the controls in code (which is what i want to do), it throws
an obect not found exception on postback when i try to Page.FindControl:
private void Page_Load(object sender, System.EventArgs e)
... more >>
Windows NT Support
Posted by Juan Pablo at 7/28/2003 7:18:44 PM
Hi!
I need to run a ASP.NET application in Windows NT 4.0
with SP 6a. Is it posible?
How?
Thanks
JP... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Bare LF
Posted by Mark Fox at 7/28/2003 6:21:27 PM
Hello,
I have a site that was working great until I
uploaded it to a server with the .NET Framework 1.1 on it
(it was compiled on a box with .NET 1.0 SP2). I am
getting an error from the SMTP server when ASP.NET
attempts to send an e-mail. It says that ASP.NET is
sending "Bare LF... more >>
Fixing an Id for a HTML Tag
Posted by MS News at 7/28/2003 6:11:56 PM
Hi all
is there a way to fix an id
like id=txtCheckedItems
aspx changes it to _ctl0_eee_txtCheckedItems
in
<input name="_ctl0:eee:txtCheckedItems" id="_ctl0_eee_txtCheckedItems"
type="hidden" size="28" />
How else can this be done
Thank for your help
Jim
... more >>
How do I get this?
Posted by Arjen at 7/28/2003 5:15:48 PM
Hello,
I have a string like this:
~/Uploads/18/MyImage.png
Now I only need the directory like this:
~/Uploads/18/
What's the best way to do this?
Or how can I do this in C#?
Thanks!
... more >>
ItemTemplate help
Posted by Jeremy Chapman at 7/28/2003 4:53:37 PM
I am dynamically creating columns in a grid with an ItemTemplate. Below is
my custom item template derived from ITemplate and further down is my code
to populate the datagrid with columns.
my problem is in the OnDataBinding method of my ItemTemplate class. Each
instane of the Item Template r... more >>
SmartNavigation Error ...
Posted by szabelin at 7/28/2003 4:42:26 PM
When I set SmartNavigation="true", and run my asp.net
project I get "page not found error" and browser is being
redirected to:
http://localhost/aspnet_client/system_web/1_1_4322/SmartNav
..htm
I am using 1.0 framework.
Thanks!!... more >>
update from between database
Posted by cfang NO[at]SPAM telamon-corp.com at 7/28/2003 4:42:21 PM
I have a Informix Database on Solaris and a SQL database. I need to
update from Informix to SQL daily. Is there any easy way of doing it?
BTW, I tried to use OleDbDataAdpater.Update to do the job. Nothing
happened after the program worked diligently for a while.
Thanks... more >>
server crashes when I access a certain control
Posted by Boban Dragojlovic at 7/28/2003 4:37:06 PM
I have the following control defined (among others) ... it represents the
active form on the ASP
Protected WithEvents frmMain As System.Web.UI.HtmlControls.HtmlForm
Then I have this
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Loa... more >>
PropertyValueChanged event
Posted by David W. Simmonds at 7/28/2003 4:34:20 PM
I have a custom object that I use in a PropertyGrid as seen below. It
presents an elipsis button that when clicked brings up a custom modal
dialog. When I make a change in the property, the PropertyValueChanged event
never gets fired. I have other properties in the PropertyGrid that do fire
the ... more >>
Include Files Dynamically
Posted by Quentin at 7/28/2003 4:04:46 PM
Hey there !
I made my own WebControl, that inherits from WebControls, and i added an
HtmlTable to it. I would like to include a file, dynamically, to one of its
cells... I've already searched, and found
HttpContext.Current.Server.Execute("mapage.aspx") but it executes the page
where i call it... more >>
DateTime driving me nuts
Posted by Simple Simon at 7/28/2003 4:02:35 PM
Hi,
I have this: 7/28/2003 3:41:57 PM in a datetime column in
Sql2000...When I read it in, and Convert.ToDateTime, I loose the time.
I need to compare the date AND time in my application.
Help? TIA - Gordon... more >>
Returning files in my Response : ContentType wanted
Posted by Bart Vanwesemael at 7/28/2003 3:42:45 PM
Hi,
I return a file to the client browser by using Response.WriteFile
Now, there can be multiple type of files, and I need to specify the
contenttype.
Is there a way of getting this out the file itself, or am I stuck with
determinating it from the file extention?
Bart
... more >>
How to test SMTP Email code with development computer only running IIS5.0
Posted by Robert V. Hanson at 7/28/2003 3:36:49 PM
Please give me some ideas on how to setup the ability to test
System.Web.Mail code to send emails using just my development computer,
Win2000Pro OS and IIS5.0?
Thanks,
Bob Hanson
... more >>
How to force submit on a specific INPUT TYPE object
Posted by Marco Maroni at 7/28/2003 3:27:40 PM
I have a form with two or more INPUT TYPE (image, submit, button) objects,
how can I force the ENTER event to act on a specific object and not to the
first ?
--
Marco Maroni
... more >>
Control collections
Posted by Jason at 7/28/2003 3:21:36 PM
Hi
would just like to find out if it's possible to have a collection of
controls or a group of controls? so that if i do something to the one
control in the group, it will happen to the other control in the same
control or collection.
Thanks
jason
... more >>
Stored Procedure Problem
Posted by Leon Shaw at 7/28/2003 3:19:23 PM
I'm I Assign the value to the following store procedures correctly in
vs.net?
(The code is my only concern)
Me.cmdAddMember.Parameters("@Username").Value = Me.txtUsername.Text
Me.cmdAddMember.Parameters(2).Value = Me.txtPassword.Text
Me.cmdAddMember.Parameters(3).Value = Me.ddlSecretQuestio... more >>
About Treeview
Posted by Rainman at 7/28/2003 3:16:35 PM
Dotnet Framework 1.1 does not support IE web controls,so what's the =
better treeview solution now?... more >>
Can not see controls
Posted by Dani Peer at 7/28/2003 3:14:41 PM
Hi,
I'm trying to run a simple ASP.NET file and I can not see the controls, just
the "+".
Any solutions ?
The file is (calc.aspx):
<html>
<body>
<form runat="server">
<asp:TextBox ID="op1" RunAt="server" />
+
<asp:TextBox ID="op2" RunAt="server" />
<asp:B... more >>
Help with setting expiration dates on COOKIES
Posted by Rickey Tom at 7/28/2003 2:55:53 PM
This has to be a very common question, but my search did not come up with an
answer.
I needed to set an expiration time for a cookie. In .NET, is seems that the
server-side code is used to set the expiration date of the cookie. More
specifically, I've seen several examples (from the Microsoft ... more >>
Calling a javascript function from server script URGENT HELP
Posted by Silvia Brunet-Jones at 7/28/2003 2:19:53 PM
Ok I am about to pull my hair.
I have an active x control in an object tag which, as you
know cant have runat=server. So what I need is to not
loose what is in this box everytime a postback happens. So
all I want to do is add this statement
document.all.txtEditor.value =
document.all.Tran... more >>
How can I change the sign of an Integer value like 100 to -100 ?
Posted by Andreas Klemt at 7/28/2003 2:16:17 PM
Hello,
how can I change the sign of an Integer Value like
Abs?(100)
-> -100
Thanks,
Andreas
... more >>
Dynamic Control Injection Model?
Posted by Leeor Geva at 7/28/2003 2:15:41 PM
Hi,
I have been writing for the past 2 months a website purely made of
basically 1 ASPX page
(Default.ASPX) and loading different parts of the website using WebForm
Controls in a Panel.
My main question: Is this going to hurt me when it comes time to
deployment? As in, will caching be ... more >>
connection pooling
Posted by Trevor Hartman at 7/28/2003 1:46:58 PM
Hi,
Every now and then (once a week maybe), I get this error on my page saying
Timeout Expired. The timeout period elapsed prior to obtaining a connection
from the pool. This may have occurred because all pooled connections were
in use and max pool size was reached. I don't know anything ab... more >>
Layout question in the IDE
Posted by Chuck Traywick at 7/28/2003 1:06:14 PM
Using VS2003. Doing a WEBFORM with GRIDLAYOUT. As I
move around, test the page and come back, the system
keeps changing the underlying code. Is there a way to
turn this off?
I want to layout a simple table at the top of the page
for buttons and have db content on the remainder of the
... more >>
Function call
Posted by Ric at 7/28/2003 12:55:23 PM
Hi,
I need to call a function in my asp.net application from a
vb.net windows application running on the same machine.
Is this generally possible? How can this be realised?
Thanks
Ric... more >>
Using a SQL DB for session state.
Posted by Geraldine at 7/28/2003 12:45:08 PM
I have encountered a problem when I restart a SQL server I lose my session
variables for ASP.NET
It seems that the Temp table cannot be used after the re-boot ...
Is there a way to fix this ?
// Geri
... more >>
"Bad Variable Type", Excel, W2K
Posted by Alfredo Magallón Arbizu at 7/28/2003 12:37:13 PM
Hi,
I have an ASP.NET app that works perfectly in Windows Server 2003, but fails
in Windows 2000.
It fails when trying to read the data in an Excel Workbook (range.value)...
The error is:
COMException (0x80020008): Bad Variable Type
The app works in Windows Server 2003 !!!
Why it fa... more >>
Browser hangs when posting sometimes
Posted by Marina at 7/28/2003 12:35:40 PM
Hi,
We are experiencing a frequent problem with an ASP.NET application using IE.
We have a registration process that involves an Infragistics grid on one of
the pages. Most often, this problem occurs on this one particular page.
The problem itself, is that clicking a button to submit to the... more >>
Session lasting too long -- Session_End event firing way late !! ??
Posted by Steve M at 7/28/2003 12:30:57 PM
Why are my sessions lasting so long?
I have them set to 20 minute timeout in config file?
The Session_End event is getting called an hour or more sometimes--well
after the user has stopped interacting with my site.
Anyone have any insight?
Thanks in advance
... more >>
Serial Communication in ASP.NET
Posted by Tomas Huoge at 7/28/2003 12:28:51 PM
How can I uses serial communication in ASP.NET web Pages?
Many thanks.
Tomas Huoge
... more >>
Webcontrols toolbar question
Posted by John at 7/28/2003 12:21:00 PM
Hi all,
My app is using the toolbar webcontrol. Adding to and removing from the
toolbar is fine but I want to add something like an 'onclick' event to a
particular toolbaritem I'm adding to the toolbar so that it invokes a
javascript function but only for that image. How do I do this? I see th... more >>
Nested datalist
Posted by Dino Novak at 7/28/2003 12:14:05 PM
I have one datalist with another datalist in item template section.
I can sucessfuly use link buttons with defined commandnames from first
datalist.
What do you have to do to enable link buttons from nested datalist ?
... more >>
Integrated Security
Posted by Srinivasa Reddy K Ganji at 7/28/2003 12:00:17 PM
Hi
I have come across this type of code at many places.
New SqlConnection("Data Source=(local);Initial Catalog=XYZ;Integrated
Security=SSPI;")
I assume that the database connection details are hidden here. What is
"Integrated Security=SSPI"? Can anyone guide me how to set this up using c#... more >>
Can't run the application
Posted by Dan at 7/28/2003 11:20:22 AM
Hi folks,
We have one web app running on one machine. It was working fine. Suddenly,
it stoped working.
This what I get:
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details ... more >>
Forms auth, works on one machine, not on another
Posted by scott ocamb at 7/28/2003 11:02:39 AM
hello
We are using forms authentication in asp.net for our web site. The code we
have implemented works on 2 developers machines and not on a single
developers machine.
We all use source safe and the problem developers machine has the latest
version of the code. As we step through the code ... more >>
This is rediculous: Still not able to Add a row!!!???
Posted by Aaron Ackerman at 7/28/2003 10:44:21 AM
I have reduced this thing down to the bare essentials and I still cannot add
a row. I have taken the suggestions and nothing.
I am pulling from the DB just find I just cannot add (so my connection is
good). I step thhrough this thing and I am definatly seeing a new row
getting added to the datas... more >>
split a tab delimited string
Posted by Ajit at 7/28/2003 10:36:40 AM
I have a tab delimited string and i want to split it to read all the values
from the string
I tried multiple way but doesn't work with ASP.Net
i tried
aryData = strData.Split(vbTab)
aryData = strData.Split(Chr(9))
aryData = strData.Split("\t")
aryData = strData.Split(ControlChars.... more >>
Form action attribute unchangeable?
Posted by belgie at 7/28/2003 10:28:06 AM
Whereas in Asp I could submit my form contents to any other Asp page, it
appears that in Asp.NET the primary Asp form will only submit to itself.
I have tried changing the Action attribute in the Form tag, but it changes
itself back when compiled.
I have also tried changing the form Action a... more >>
Downloading a file
Posted by Steven at 7/28/2003 10:27:27 AM
I want my users to access my .aspx and hit a button to
download a file. I tried using the a System.Net.Webclient
object but instead of the file being downloaded to the
users PC, its copied to the server???
Any suggestions?
TIA... more >>
Selecting all text in a textbox?
Posted by Harry Simpson at 7/28/2003 10:17:08 AM
I've got a server-side textbox that receives the focus when the page loads.
It has the text "Refine your Search" in the textbox. Obviously the user
needs to highlight the "Refine your Search" section to replace this with
thier text.
I've googled and found javascript (which doesn't seem to wor... more >>
Regular Expression Help
Posted by Jorell at 7/28/2003 10:13:56 AM
Hi everyone. I have never worked with regular expressions
before and here is my dillema:
I have a textbox that I want to only accept this type of
input:
1,2,3-8,10,16 ( Comma separated numbers or Hyphenated
ranges )
I want to use a validator for this, so I assume I use a
regularexp... more >>
ASP.NET + DirectoryServices
Posted by Enosh Chang at 7/28/2003 10:00:38 AM
Hi all,
Could I use DirectoryServices in ASP.NET? Or could you give sample code?
Thanks!
Best Regards
Enosh Chang
... more >>
LoadTemplate logic in DataList
Posted by Barry at 7/28/2003 9:58:14 AM
I have a three-level drilldown report. The top level is a DataList. When
an item is selected, a new DataList is instantiated in the SelectedItem
template. I'd like to have the same thing happen when going to the third
level, but there's a catch. Depending on what's selected on the second
level... more >>
Phone Format (770) 123-1234
Posted by Eddy Soeparmin at 7/28/2003 9:43:40 AM
Hi,
How do I apply phone format in a string field? for example (770) 123-1234.
Please let me know.
Thanks.
Eddy
... more >>
sql server and asp.net and automated payments
Posted by khawar at 7/28/2003 9:35:13 AM
hi,, everybody
i have an asp.net application, where members (clients)
have their information stored in sql server Database. Now
I want to implement a thing where afterevery 30days a
member would get charged $x dollars. The payment
processing method i use is payflow pro. Can anyone help
... more >>
ASP.NET vs Cold Fusion
Posted by CSDunn at 7/28/2003 9:27:50 AM
Hello,
My boss is considering the purchase of a calendar/scheduler program for our
school district, and part of the setup calls for the installation of
Macromedia's Cold Fusion software. My bosses condition for the purchase of
this software is that the company we are purchasing from support the ... more >>
CreateChildControls?
Posted by George Ter-Saakov at 7/28/2003 9:10:22 AM
Hi.
I have an HTML page were I load controls dynamically.
So I overwrote the CreateChildControl but I found some problem.
First time when page is called the CreateChildControl is called after
Page::Load
But when it's a post back the CreateChildControl is called before
Page::Load.
Is the... more >>
error
Posted by Leon Shaw at 7/28/2003 8:59:33 AM
Need help understanding?
Server Error in '/solo' Application.
----------------------------------------------------------------------------
----
Object must implement IConvertible.
Description: An unhandled exception occurred during the execution of the
current web request. Please review th... more >>
data grid question
Posted by Mike P at 7/28/2003 7:48:33 AM
Is it possible to get horizontal or vertical scroll bars on a data grid?
I ask because I have to display data from a table which has way too many
columns to fit on screen.
Any help would be really appreciated.
Cheers,
Mike
*** Sent via Developersdex http://www.developersdex.com *... more >>
Serializing classes derived from dataset
Posted by Aidan Glendye at 7/28/2003 7:20:54 AM
Hi,
I am trying to store various objects within session. Due
to the site being hosted in a web farm we are going to
have to use either State Server or SQL Server to persist
the data in session. All of the objects are classes which
inherit from a typed dataset.
Looking at MSDN I have ... more >>
Global Error handling in Applicatio_Error() of Global.asax
Posted by VSK at 7/28/2003 7:18:25 AM
Hi all,
For a web application if we are using web farm, and if i want to do Global
Error handling can i use Applicatio_Error() method in global.asax.
Now in this method i will call business object which will log the exception
details into database, file etc....... am not sure if there will be... more >>
Page Caching Problem
Posted by Paul M. Frazier, Ph.D. at 7/28/2003 6:51:05 AM
I am having a problem with web forms I have uploaded to my hosting
site not running the most recent version. The .aspx file I have FTPed
to my server has the current code I need to test, but when I view the
page in my browser, I see a version of the page that I have deleted
and copied over se... more >>
Object reference not set to an instance of an object.
Posted by Mike John at 7/28/2003 6:50:29 AM
I am trying to browse for a picture and save to the server
image folder
I tried the following code:
HTML:*********************
<INPUT id="UpLoadFile" style="Z-INDEX: 140; LEFT: 140px;
WIDTH: 377px; POSITION: absolute; TOP: 488px; HEIGHT:
22px" type="file" size="43" runat="server">
ASP... more >>
TextBox.Text value not changing when it is prepopulated
Posted by Paul M. Frazier, Ph.D. at 7/28/2003 6:49:32 AM
I am writing a user information update page and I populate the form on
Page_Load with the current values of the user's name, etc. When I
change the text in one of the textbox controls (e.g., change the
user's middle initial from M. to X.) and submit the form, the value
seen for middleinitial.te... more >>
update problem in DataGrid's UpdateCommand method
Posted by dawn at 7/28/2003 6:35:08 AM
Hi, anyone can help me to solve this little problem that
i've spent a lot of time to solve it!! but i can't!!!!
actually, i use a DataGrid, and i'd like to save the
changed data! ( this is just a trial method and i'll
use this method with a more complique method later,
that's why i can'... more >>
Accessing variables of another class
Posted by Salek Talangi at 7/28/2003 6:08:36 AM
Hello,
I have following (probably very basic) problem:
I made a html-frameset in VS.net, where the frames
itself are aspx-pages with webforms.
Now I want to access the webforms (eg. give a label a
text) from one .aspx.vb page.
I managed to get all the code into one file by writing
the same f... more >>
Webfarm and Webgarden
Posted by Jenny at 7/28/2003 3:50:01 AM
Hi all,
where can I find more good information on Webfarm and
Webgarden?
Thanks
Jenny... more >>
Code Behind page
Posted by IntraRELY at 7/28/2003 2:34:43 AM
Hello,
I am developing an asp.net application and want to protect the source code
within. I am useing the code behind method in VS.NET 2003. What is the best
way to accomplish this?
TIA,
Steve
www.IntraRELY.com
... more >>
Sending message to SMTP server using CDONTS component
Posted by Chris Pearson at 7/28/2003 1:09:02 AM
I recently set up a web site which I am running locally
on my laptop using ASP.Net. From a web form on the site I
am attempting to send an email programmatically using the
CDONTS class to an SMTP server. Prior to use of the
CDONTS component a message was returned to the sending
address wit... more >>
|