all groups > asp.net > february 2004 > threads for friday february 13
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
Converting to different date format.....
Posted by Gary Smith at 2/13/2004 11:43:00 PM
How to convert date into different formats in ASP.Net ?
Thanks,
Gary
... more >>
desperate to figure this out - need progress bar (barber pole) to work
Posted by spamproof2005 NO[at]SPAM yahoo.com at 2/13/2004 11:03:31 PM
I got an animated gif that is a barber pole spinning that I want to
use as a progress bar.
The problem is that is stops spinning (shows 1 frame) when my browser
is processing a submited request that might take 5-8 seconds.
I tried to putting the gif in a sepearate page and referencing it
us... more >>
accessing documents properties in code
Posted by mslyh at 2/13/2004 9:41:40 PM
Is it possible to access the page's document properties in code? I am specifically looking for an easy way to insure that the margins of the body are always a fixed size. I can do this by registering a script block that contains an inline style definition, but this seems like a complete hack. There ... more >>
Unknown error when open Access db
Posted by Dmitry Davletbaev at 2/13/2004 9:02:31 PM
Hi!
I have an ASP page with script in it. This script makes connection to Access
database (JET 4.0) and retrieves data. Some time later this page became
unavailable with following error:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
....
Technical Informatio... more >>
Exposing properties of a user control to the web forms page
Posted by Jason at 2/13/2004 8:13:56 PM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkwalkthroughcreatingwebusercontrols.asp
Following the above example I created a usercontrol and added it to another
web form MyPage.aspx. Then I added code to declare the user control as
instructed in the above art... more >>
IIS on Windows .NET Server 2003 disk
Posted by Rob Richardson at 2/13/2004 6:22:10 PM
Greetings!
I am currently unemployed. In early December, we thought my wife was going
to get a job, so she approved my purchase of a modern computer that I could
run the .Net environment on and begin teaching myself. I had to keep cost
way down, so I chose the XP Home operating system. I in... more >>
error loading Web.config
Posted by Kurtis at 2/13/2004 6:21:06 PM
I'm getting an error when I use the < symbol in a string in the <appSettings> section
This example works fine
<add key="From" value="jdoe@test.com"></add
This example causes an error
<add key="From" value="John Doe <jdoe@test.com>"></add
It seems to be seeing the extra <> within the string ... more >>
Doubt about OpenFileDialog
Posted by smita at 2/13/2004 6:17:16 PM
Hello ,
I have a doubt....How can i open a OpenFileDialog on a button_click
event. This button is present on a WebForm.
regards,
Smita.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
password text boxes and viewstate
Posted by Jason at 2/13/2004 6:00:14 PM
I have a form with a textbox and the textmode is set to 'password'. I also
have some dropdownlist that poplulate other fields on the form when changed.
But everytime the form postsback to the server the password textboxes loose
their value that has been typed in.
I can put the password textbo... more >>
How to create word document on the fly with asp.net ?
Posted by Johann NO[at]SPAM NetBook Design at 2/13/2004 5:59:29 PM
Hi,
anyone could help me with finding info on how to create Word documents on
the fly with ASP.NET ?
I need, from an existing template, to generate a new file with data filled
in the word document.
Thanks for your precious help
Johann
... more >>
How to rotate image upon upload?
Posted by Showjumper at 2/13/2004 5:49:26 PM
Hi,
I have developed an upload server controls to be reused over a number of
projects. One of the tasks it needs to handle is to rotate an image. I want
to accoplish this by checking the checkbox that is next to the file field.
Once i browse for the file, i check the box to rotate and then uploa... more >>
Bind Datagrid to an xml string (not file)
Posted by Mark at 2/13/2004 5:36:04 PM
Can I bind datagrid to an xml string (not to file)? For example, the result of transformation?... more >>
Datagrid problem without viewstate
Posted by andla at 2/13/2004 5:19:11 PM
Hi,
I'm desperate to know what I'm doint wrong.
If I enable viewstate on a datagrid then i get events to update, edi
and cancel. If i disable viewstate then i must
display the grid everytime in Page_Load. Even then if I click edit th
edit event is sent but if i'm in edit mode and click upda... more >>
How to programmatically configure a dynamic DataGrid's look
Posted by mandms at 2/13/2004 5:11:05 PM
Hi
I'm creating Datagrids on the fly and need to be able to set header and item styles. So I tried this
DataGrid selectedsGrid = new DataGrid()
TableItemStyle hStyle = new TableItemStyle()
hStyle.BackColor = Color.FromArgb(220, 214, 188)
selectedsGrid.HeaderStyle= hStyle
But it seems that h... more >>
New to ASP.NET and IIS Question
Posted by BM at 2/13/2004 5:04:08 PM
Hello,
Ok, Im new to using ASP.NET and IIS so im not sure how or where to post this
question but here goes:
I am running IIS 5.1 on WinXP. I need to process http POST messages sent
from another application that I dont have control over. The messages are
sent to a web page called test.htm ... more >>
Need to double inverted commas if using parameters?
Posted by Jon Maz at 2/13/2004 4:48:53 PM
Hi,
A quick one:
If you are forming a dynamic sql statement using parameters from a web form,
you would normally double up any single inverted commas inputted by the user
to stop sql injection. But if you are using command parameters to build the
sql statement (as below), is this still nec... more >>
invalid url and proxy
Posted by sviau at 2/13/2004 4:24:06 PM
since rewriting our site from asp to asp.net, weve receveid many complaints
from users stating that they get invalid urls, and cant access certain pages
of our site
nothing has changed in our configuration except site being written in
asp.net (from classic asp). the site is behind a Linux box ... more >>
Getting asp.net to run in an STA?
Posted by Peter Strøiman at 2/13/2004 4:15:38 PM
Hi.
I have a very annoying problem. I have a very complex application that has
been converted from COM/COM+ C++ to C#.
The interface for my application is proprietary xml over http implemented
previously in an ASP page, now it is in an ASPX page.
The problem is my application uses a 3rd par... more >>
about calendar control
Posted by Ather Ali Shaikh at 2/13/2004 4:07:56 PM
Hi All,
I am using calendar control of .NET. It is fine but I want to change Year
in the control as Month (Next and Previous) navigation.
Is there a way to do this.?
Regards
Ather Ali Shaikh
... more >>
Application variable
Posted by Me_Titus at 2/13/2004 4:06:08 PM
I want to get some application's value without doing a post is it possible. Using javascript.
In this exemple I do a click in an html <input>, and i would like to get the value of that application variable(application("var")).
Thanks in advance... more >>
validate data before dropping into sql table
Posted by luna at 2/13/2004 3:44:46 PM
any links for a quick tutorial on checking the contents of data before
dropping into sql ?
i have a text box and if certain characters are input the sql statement
borks - namely characters
like ' " and ; which cant be put into the string
in php i double quoted or converted to chr codes
id imag... more >>
Help: getting javascript & c# to talk together in asp.net web application
Posted by Alex at 2/13/2004 3:19:00 PM
Hi all,
I'm writing a small web application which searches a database based on
a date field, and populates a datagrid control with the results. The
datagrid control has selection buttons added to it to view additional
details about the selected result (a second database query is
triggered).
... more >>
Create Pivot table
Posted by Ajay at 2/13/2004 3:16:09 PM
Hello all,
I used to display reports in Excel earlier on my website. Now the client has requested that he would like see reports in Pivot table on the web . The backend is Sql2000. Can you please help in determining hoe we can create a pivot table and display records in it using C#?
Thanks
... more >>
moving items from one list box to another
Posted by Kay at 2/13/2004 3:08:15 PM
Hello,
I have two list boxes on my form, one initially displays with items and the
other displays blank, by clicking a button, it is possible to move items
from one box to another and vice a versa, this works fine. I also have a
dropdown list on the page with autopost back = true, my problem i... more >>
How do I format a DateTime in Spanish?
Posted by Robert Dobson at 2/13/2004 2:27:07 PM
It seems it's going to require some magic combination of
Globalization.DateTimeFormatInfo and the CultureInfo objects but I can't
figure out how the piece fits together. Please explain. Thanks.
... more >>
Application error
Posted by Mark at 2/13/2004 2:26:04 PM
What does that mean:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this spec... more >>
Pop up window in asp.net
Posted by Hai Nguyen at 2/13/2004 1:53:00 PM
I woul like to know how to make a pop up window in asp.net?
... more >>
How to read a user id
Posted by Dave Tichenor at 2/13/2004 1:25:23 PM
We are using windows authication (ADS) for a Sharepoint Portal web Site.
How can get the user who log in - we have a asp.net form that emails - and
would like to automically put them name in the message - so we know who it
came from.
thanks
... more >>
How to create carriage return or line feed or new line
Posted by Dave Tichenor at 2/13/2004 1:21:35 PM
How do you create a new line in the mail message; i'm using asp.net.
I try using - vbcrlf
- chr(13) and chr(10)
- Environment.NewLine
But when i receive the email message it is concatenated all together.
thanks
Please see my code below
msg.Body ... more >>
ASP.NET Impersonation
Posted by brandonnewsgroup NO[at]SPAM hotmail.com at 2/13/2004 1:17:42 PM
Has anybody had any luck with ASP.NET impersonation when attempting to
set the local ASPNET user account to 'Act as Part of Operating
System'.
I want to impersonate a domain user in a web, and when i add the
<impersonation> tag i receive a message that that the account did have
the necessary ... more >>
FTP
Posted by Mark at 2/13/2004 1:09:40 PM
Hi - has anyone seen, or point me in the direction of an asp.net (vb)
ftp script? I'm not really interested in all the bells and whistles -
just a case of pointing to a site directory, and downloading all of the
files and folders to a local drive - keeping the directory structure
intact?
Tha... more >>
Setting the Modal Dialog Box's Height and Width
Posted by Gibs at 2/13/2004 12:47:20 PM
Hey
I tried to set the Image Button attributes dynamically like this. When the
user click on the image button, that image has to show in a modal dialog
box. I was able to do that with out any probs. But i am not able to set the
height and width of the modal dialog box. This is the code i have ... more >>
I want a simple browser-based tool that will generate the Add, Chg, and Delete routines
Posted by Keith A. Rowe at 2/13/2004 12:39:45 PM
I have developed apps on scores of platforms for 25 years. Each of these
platforms have supported a "quick, but not so dirty" utility for code table
maintenance. For example, I have a States table that contains two columns:
StateCode and StateName.
I want a simple browser-based tool that wil... more >>
Editable datagrid project sample
Posted by andla at 2/13/2004 12:25:59 PM
Hi,
I need some help with some simple sample code on an editable datagri
that is codebehind and has enableviewstate=off in datagrid;
I have tried to do it myself but i don't get any calls t
DataGrid1_UpdateCommand. It turns to be a call to DataGrid1_EditComman
even if i press the update butt... more >>
ASP.NET Not Responding
Posted by David Coe at 2/13/2004 12:21:07 PM
I just started having problems with my ASP.NET application. I am working with .NET 1.1, Visual Studio 2003, on a Windows XP box. For some reason, some of the pages respond and work fine, others don't respond at all. They don't even get to the Page Load event ... anyone have any idea for what woul... more >>
How to build ASP.NET project without IIS Virtual Folder creation?
Posted by taras at 2/13/2004 12:20:09 PM
Hello,
Do anybody know some options for DevEnv utility for building ASP.NET project
(without IIS Virtual Folder)?
How to build ASP.NET project without IIS Virtual Folder creation?
Visual Studio 7.1 (2003)
Best Regards.
Taras.
... more >>
ASPNET user account
Posted by Grey at 2/13/2004 12:09:22 PM
What is the access right and function of ASPNET user account? Can I =
delete it if my PC is as a server or client??
Million Thanks... more >>
How to control access right
Posted by Grey at 2/13/2004 12:07:23 PM
I need to deploy an ASP.NET application to a server. I use MS Access as =
database of the application. I found that the security right of this =
..mdb file must be set to EVERYONE with read, write and modify. However, =
when I set the Internet user's, IUSER_[computername], access right to =
this... more >>
parser errors loading class
Posted by Race at 2/13/2004 12:06:04 PM
For an application root i use a web.config file and specify this authentication and authorization scheme:
<authentication mode="Forms"><forms loginUrl = "AdminLogin.aspx" name = "FORMSAUTHCOOKIE" path="/" timeout="10"></forms></authentication><authorization><deny users="*"/></authorization>
... more >>
How can I upload (or send) a file to another machine in vb.net?
Posted by xie NO[at]SPAM proexam.org at 2/13/2004 11:53:32 AM
Hi,
I am trying to send an existing xml file to another machine(in some
other company). We seem to be able to set up the connection to each
other, but when I send the file, they never receive it. What is the
usual way to send an existing xml file to another machine,say
http://somewhere.com b... more >>
ASP.Net Remote Dev (Is this correct?)
Posted by Chris at 2/13/2004 11:47:11 AM
The situation:
We have a remote web server (Server A), where we run our ASP.Net
application. There are 3 developers, each working on their pieces of the
application and updating Server A periodically.
Ideal situation:
Developers use the .Net Studio IDE to remotely connect to Server A and... more >>
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
Posted by luna at 2/13/2004 11:20:20 AM
getting this error - i think its because im trying to put english date
format into american date format
(asp to sql server 2000)
im getting the date using
mortsourcedlabel.Text = Date.Today
mortsourcedlabel.Visible = True
mortsourced.Visible = False
which throws the date out (in uk forma... more >>
Bind DataGrid on the client
Posted by Mark at 2/13/2004 11:11:11 AM
Is it possible to bind Datagrid web control to data on the client side
Thanks... more >>
access to datalist value
Posted by jenn at 2/13/2004 11:11:05 AM
Hi
Anyone knows how to access to a value of a row in a datalist. Something like this in datagrid
Dim str = MyDataGrid.Cell(0).tex
I would like something like this
Dim str = DataBinder.Eval(MyDatalist.Items(count).DataItem, "customerId")
but it doesn't work.... more >>
Unable to finish processing COM related Event in ASP.NET
Posted by Chris Smedley at 2/13/2004 11:04:36 AM
I am sure this is a simple question.
I have a legacy VB6 COM Object that collects information on a local PC
device. I want to be able to have it be invoked from an ASP Page. I have
Done the following
Dim Withevents MyCom as MYCom.XYZ
Created a Sub that collected MYCom's event. During debu... more >>
returning xml from aspx page
Posted by sam martin at 2/13/2004 10:57:51 AM
why doesn't IE6 show the response from this page as XML? is the contenttype
wrong?
Basically, i've got an "empty" aspx page (barring the precompiler line <%@
Page language="c#" Codebehind="newssvc.aspx.cs" AutoEventWireup="false"
Inherits="gorlandnet.news.newssvc" %>)
then this in the Pag... more >>
Continual Process in a Windows Service
Posted by Larry at 2/13/2004 10:41:05 AM
Hello
I see that Windows Services are suppose to be able to run in their own background process. I can create simple Services based on the MSDN walkthrough, and get the OnStart/OnStop methods to work fine. But these are only triggered if the user manually goes into Component Services Manager an... more >>
PostBack Display Problems
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/13/2004 9:55:45 AM
Sometimes when creating a new page on pastback, IE 6 does not display
the page. View Source reveals code is being sent, the right code, but
for whatever reason, IE 6 does not display it. It is random and
unreproducable.
Any ideas? Thanks.... more >>
Calendar Rendering
Posted by ajaymehra at 2/13/2004 9:52:04 AM
Hi,
Im using a calendar control and on the dayrender event - I call m
sub, which runs a query and gets a SUM value for each day. Below is th
code
----------------------------------------------------
Public Sub calhours_dayrender(ByVal s As Object, ByVal e A
DayRenderEventArgs)
Dim calC... more >>
ASP.NET 1.1 not installed?
Posted by Sergey Numerov at 2/13/2004 9:28:15 AM
When I try to create a Web application in Visual
Studio .NET 2003, I get an error message that says that
ASP.NET version 1.1 is not installed on the IIS.
I used to have both 1.0 and 1.1 on my computer but now
I've uninstalled 1.0. I tried running the Framework
Redistributable setup, as w... more >>
Custom Server Control Does Not Cause Validation
Posted by KarlCharlotteNc at 2/13/2004 9:26:08 AM
I have a custom server control that renders a Submit button.
The button renders just fine at design and run time.
The button click event is being trapped normally.
My problem : If I add a textbox and a required field validator, my button does not cause either the normal client or server side va... more >>
please help me soon!
Posted by mahsa at 2/13/2004 9:11:08 AM
Hi,i upload my aspx files in server that support asp when I try to run pages it dosent show any thing in my system and it shows error about <authentication mode="windows" /> so I set it t
<authentication mode="none" /><!-- AUTHORIZATION
This section sets the authorization policies of ... more >>
Easier way to access a Datagrid Dataitem?
Posted by Raterus at 2/13/2004 9:08:22 AM
Hi,
I'm using a datagrid, and the sub ItemDataBound to customize output of my
datagrid when it is bound. Is the only way I can access the data in my
datasource is to use
DataBinder.Eval(e.Item.DataItem, "myFieldName")
It just seems to be a little clunky to have to use this for every vari... more >>
Sending Signal
Posted by Me_Titus at 2/13/2004 9:06:07 AM
Well i would like to know if its possible to send some sort of signal form the server to the browsers
I have an chat, thus when i put a new message, i want to send a signal to the other computers thus the user can see the new posted messege. I now whot ot do this if a using an auto refresh in the c... more >>
Do I need to recompile if I make a small change
Posted by Simon Harvey at 2/13/2004 8:51:02 AM
Hi,
When I make a small change to an aspx page, (but not the code behind), does
the site need to be recompiled before the changes will be there?
Thanks
Simon
... more >>
Is it possible refresh page in another frame
Posted by AndrewV at 2/13/2004 8:32:11 AM
I have an html page that has 2 frames ("input" and "result"). In the "input"
frame, there is a text box and a button. User enters an id in the text box,
then click on the button. In the click event, I would like to call an
asp.net page, and passing in the text box value as a query string paramete... more >>
Threading in ASP.NET
Posted by craigedmunds at 2/13/2004 7:41:06 AM
Was having a few problems with some threading issues following the microsoft support webcast Microsoft ASP.NET Threading. Spoke to Wade Mascia & managed to get clarification. Thought i'd share it with you...
From: Wade Mascia
Hi Craig
As for resources, keep an eye out for a book we're wo... more >>
how to set dataset to OWC spreadsheet
Posted by aa at 2/13/2004 7:28:31 AM
Web Site Advertising
Posted by Jim Heavey at 2/13/2004 7:08:52 AM
Hello, I am relatively new to the web programming. I belong to an
organization in which I have been drafted to put up a web site for. This
web site is for a sporting event and they want to sell advertisement for
the web site. I have done some research and it would appear that most
common ... more >>
Operation must use an updateable query Error!!!
Posted by Ken at 2/13/2004 5:46:06 AM
Hi
I am getting the 'Operation must use an updateable query' error when i am trying to insert some data into the access db!
I have checked for the permissions, all the permissions are ok, at the same time i also changed the settings in machinge.config file from 'machine' to 'SYSTEM'. Any other ide... more >>
Open in Title-Bar-Scroll-Bar-Only Window?
Posted by George at 2/13/2004 4:47:35 AM
Is it possible to open my .aspx page in a window that only has a title bar and scroll bars?
I've used that many times in Javascript, and would like to do it with my Web app to keep users from
hitting the back button and screwing up all my calculations. However, I can't seem to find anything
per... more >>
refresh control
Posted by rahkim NO[at]SPAM hotmail.com at 2/13/2004 4:39:46 AM
Hello,
Ive been having issues with a control I built. I created a simple
user control that displays a grid. I added some functionality so that
when a user clicks on one of the items in a column, it deletes that
row. But the page just refreshes and the control sees a postback and
just remai... more >>
System.Diagnostics, Process and Security
Posted by Michael Johnson Sr. at 2/13/2004 1:12:54 AM
I am trying to view a list of running processes using ASP.NET with C#, I
found System.Diagnostics.Process which seems to work good with IIS 5 and XP,
when I move the application to Windows 2000 Server, I start having alot of
access denied errors. Before i only got access denied when trying to st... more >>
Help with base64 encoding
Posted by mm at 2/13/2004 12:18:07 AM
Hello everyone,
I have an asp.net application executing under .net framework 1.1 that sends
a base64 encoded string token to a remote server running weblogic
application server. for some odd reason when the token reaches its
destination the '+' symbols in the token are converted to spaces whi... more >>
|