all groups > asp.net > august 2003 > threads for wednesday august 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 30 31
help required urgent
Posted by Dinesh Upare at 8/13/2003 11:33:30 PM
Hi,
In a library.
we have a component which is hosted in MTS. This component internally uses
GetObjectContext
method and performs some actions based on the
Request.ServerVariables("AUTH_USER");
But if i run this component in ASP.NET the GetObjectContext method return
null object and hence n... more >>
Name of "index.aspx"
Posted by Tor Inge Rislaa at 8/13/2003 11:12:39 PM
Name of "index.aspx"
Hi I have just published my first ASP.NET home page, but as I always does
with HTML (index.htm) files I named the first webform to appear on the
domain index.aspx but It doesn't show. If I type the full URL it works fine.
What name should the "index" file have to... more >>
Register client script at the end of the page.
Posted by Arjen at 8/13/2003 10:36:46 PM
Hello,
I want that the client script is added at the and of the HTML output it is
now at the beginning.
Here is my code:
private void Page_Load(object sender, System.EventArgs e)
{
RegisterClientScript();
}
/// <summary>
/// Registers ClientScript with the Page.
/// </... more >>
How do I list records in reverse order?
Posted by Shannon Yoder at 8/13/2003 10:27:13 PM
Could someone tell me how you use ASP script on a web page to list
records from an Access database in reverse order?
Thanks in advance,
Shannon
... more >>
how to set COLUMN ID in an html table genereted through datagrid in asp.net
Posted by chaudhar NO[at]SPAM umich.edu at 8/13/2003 8:19:17 PM
Hi all,
I'm kinda new to asp.net. I'm using a datagrid which shows data from
a table...simple enough. Now I have a javascript (which I found on
the web) which allows me to hide/show (or expand/collapse) column on
the html table on client side. This functionality is great since it
allows user... more >>
Disabling Web.Config Inheritance
Posted by cmay NO[at]SPAM walshgroup.com at 8/13/2003 8:12:13 PM
On my development machine I have one website running in the root, and
I have another site running in a virtual directory.
Is there any way that I can instruct the web.config file in the
virtual directory to NOT inherit the contents of the web.config in the
root web?... more >>
ASP control like OpenFileDialog
Posted by Tabo at 8/13/2003 8:04:48 PM
Did ASP.net has a control like window control,
OpenFileDialog? Since i need to upload files on web to
server. But i only can use HTMLInputFile, which is not
useful. Can anyone provide method and free control?
Thanks.
Tabo... more >>
Session variables conflict
Posted by Matt at 8/13/2003 6:56:56 PM
Hi,
Here's my problem. I'm working on a site where customers can buy
tickets for events. Let's take the example where in webform1.aspx, the
customer enter all its personal information. Then when he clicks a
button to register and go to the next step, i enter the personal
information in the da... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Collections
Posted by matif NO[at]SPAM hotmail.com at 8/13/2003 6:51:17 PM
Need help in using collections. Any links or samples appreciated. I am
trying to have collections for objects. I have an object which has
another object has its data member which in turn has another object as
its one of the data member. All these object are to be collections.... more >>
Setup for ASP.NET Walkthroughs/Tutorials
Posted by Nus Pieds at 8/13/2003 6:38:01 PM
Hi,
I'm trying to use the QuickStart tutorials
(http://localhost/quickstart/aspplus/)--specifically the
data-access ones but I can't seem to run them because of a
security setup error for the pubs database.
I have SQL Sever installed and running with all the sample
databases (Northwind... more >>
Unable to find WebUIValidation.js following Framework update
Posted by Adam Carpenter at 8/13/2003 6:27:31 PM
Hi all,
This morning I allowed Windows Update to install an update to the .NET
framework on my Windows 2000 Pro machine. Since then the following IE dialog
box appears when browsing to a page with user validation code on it.
"Unable to find script library
'aspnet_client/system_web/1_0_3705_... more >>
No event fired when first item in dropdown select
Posted by hypomite at 8/13/2003 6:22:05 PM
I have an handler for the SelectedIndexChanged event of a dropdown box. I
have also set the AutoPostBack option to True. When you select any item
besides the first one, the event sucessfully fires. However, if you ever
(even after you have selected other options previously) select the first
opti... more >>
aspnet_wp account rights
Posted by zalbermere at 8/13/2003 5:56:35 PM
I'm running an application under Framework 1.1 on a PDC.
I've got Aspnet_wp.exe running under a new account, to which I've given the
following rights:
a.. Access this computer from the network
b.. Log on as a batch job
c.. Log on as a service
a.. C:\WINNT\Microsoft.NET\Framework\v1.1.4... more >>
HttpWebRequest over SSL
Posted by Matt Sollars at 8/13/2003 5:05:19 PM
I've exhausted all other avenues with this problem. Any help would be
greatly appreciated.
I am performing a simple POST via a HttpWebRequest object to an SSL URL
(https://). I have attempted this to several different addresses with no
luck. I've tried to supply a new ICertificatePolicy to the... more >>
is there a quick way to enable 'trace' on for all aspx pages within VS.Net
Posted by DesignerX at 8/13/2003 4:47:54 PM
I was wondering if there is a quick way to enable the 'trace' printout for
all pages without going into the html and modifying the page directive for
each.
Thank You.
Stan
... more >>
Treeview and Frames in ASP.Net
Posted by Reetu at 8/13/2003 3:45:04 PM
Hi All,
I have a Frameset.htm page containing LeftFrame and
RightFrame. At design time I have set the webform1.aspx
page to the LeftFrame.
The webform1.aspx page displays a treeview.
The html code is shown below.
<mytree:treeview id="TreeView1" runat="server"
ImageUrl="closed.gif" E... more >>
Session problem? not holding
Posted by Grant at 8/13/2003 3:43:56 PM
We have over 130 new users that signed on within 3 weeks. Once in a great
while we get email from some user who cannot create account successfully.
Here is the scenario
New user will need to create an account so they will click on create account
button. First page will ask for specia... more >>
HttpModule or Global.asax
Posted by Juha Borenius at 8/13/2003 3:25:30 PM
I have a web site that requires some directories to be protected with
password. Directories might contain any kind of files from aspx -pages to
pdf -documents. Protected directories are not virtual directories - there's
only one application. Protection must be controlled from program - so
authen... more >>
Excel Downloads
Posted by hunt n peck at 8/13/2003 3:11:15 PM
I want to provide the user with the ability to perform a search, fine-tune
the search results, and then download the results in Excel format.
The desired effect:
1- user enters search criteria into a web form and hits "Search"
2- a list of results appears below the search criteria (i.... more >>
TAB
Posted by Blood... at 8/13/2003 3:09:14 PM
Hi;
ASP.NET ..... Tab view using Control....
Sample and/or tutorials vs...
HELP::................ :(
Thanks
... more >>
Hide recordId in DataGrid
Posted by szabelin at 8/13/2003 2:49:43 PM
Hi, I was wondering if there is a way to have a
BoundColumn in DataGrid, but not display it? Basically I
would like to have a primary key hidden (and I need this
for edits and deletes).
I know I could store DataSet in the viewstate or session,
but I was just curios if DataGrid offers some... more >>
accessing elements added htmlselect using javascript
Posted by Suhail A, Salman at 8/13/2003 2:46:31 PM
Dear All,
I placed a HtmlSelect control on a web page and set it to "Run at
Server", the
objective of this HtmlSelect control is that the client adds all his
accounts to a
text box, and because this is a client side operation(no server
intervention is required), I wrote the JavaScript b... more >>
Embedding 3rd party controls on HTML pages
Posted by Aaron at 8/13/2003 2:28:23 PM
I've been making some Windows Forms UserControls and
embedding them in HTML pages. This is working
great...except if I try and use a 3rd party control on my
UserControl. Has anybody played with this at all? Is
there a work around out there? Or am I missing something
obvious?
Thx,
... more >>
Question: Getting data from a field in a DataReader
Posted by VB Programmer at 8/13/2003 2:26:38 PM
I have a DataReader. How can I get the value of a column in the current
"row" if I have only the NAME of the column, not it's ordinal value?
If I knew the ordinal value of the column I could just go:
MyDataReader.GetValue(2)
But, this is invalid:
MyDataReader.GetValue("CustomerName... more >>
Frame & redirect\transfer
Posted by Alex at 8/13/2003 2:23:05 PM
I have 2 frameset pages, Secure.aspx and unsecure.aspx.
When the user connects to the site, they are not
authenticated yet, and therefore are redirected to
Unsecure.aspx. Once the are authenticated, they need to be
redirected to Secure.aspx.
The only problem is that Secure.aspx is loade... more >>
Deploy a DTS package on a Web Server C#
Posted by Stephen Russell at 8/13/2003 2:16:01 PM
I have the need to take an existing DTS package off my laptop SQL2000
Developer version and deploy it on a clients site in the near future.
What do I need to do to run this puppy? Can I script it out and run it as
an SP? Or is there a better way? Data was FoxPro going to MSDE.
TIA
__St... more >>
calling javascript function from asp.net
Posted by szabelin at 8/13/2003 1:42:13 PM
Hello, I am trying to call a function inside the
javascript block from asp.net during the postback (NOT
button's OnClick event handler though). The javascript
function creates new popup window. I register the
javascript code with the RegisterClientScriptBlock.
How how do I call the javas... more >>
Newbie question
Posted by Sabo, Eric at 8/13/2003 1:21:01 PM
We want to write an web page that would do the following:
1. Prompt for an username and password from our domain
2. Map to this username's network drive.
Can you use Dotnet framework to do this? Where is a good starting point?
Thanks,
Eric Sabo
NT Administrator
... more >>
Attn: Carl Prothman [MVP]
Posted by scriptsDel at 8/13/2003 12:56:44 PM
Carl, i know this is the ASP.NET newsgroup, I did a copy
paste of my exisitng ASP code to make sure the problem is
understood correctly.. i am migratng my existing ASP
applications and i need help on the migration -- i mean an
optimized approach where i will be using the new features
of AS... more >>
How do I access a web service on another machine on different domains
Posted by Ian at 8/13/2003 12:19:44 PM
Can anyone help
I have a web server on the internet with and ASP.NET application on it, the
application is set to allow Anonymous Access and Integrated Windows. The
Web.config is set to use Forms authentication. On the server side, where
the web server is I have set IIS to disable Anonymous ... more >>
sessions in ASP.NET vs ASP
Posted by Bruno Alexandre at 8/13/2003 12:18:25 PM
could you help me in this issue, please?
in ASP I write/read sessions like
<% session("StartDateTime") = now() %>
<%=(session("StartDateTime"))%>
why I can't it use in ASP.NET ? I can't find any tutorial about it,
just the use of cookies, witch is a little different...
ca... more >>
Seconds/Hours/Days etc.. since user last visited
Posted by tdi1686 at 8/13/2003 12:14:01 PM
I want to make a table that lists the Seconds / Hours / Days since the user
last visited my site, just like the myPHPnuke systems have, but I dont know
the best way to go about it.
At the moment when the user calls the page the database is updated with the
current date/time for that user.
S... more >>
Validation of OR of multiple controls
Posted by Ananda Sim at 8/13/2003 12:05:44 PM
Hi All,
I'm having problems setting up a validation mechanism that covers three
optional <asp:textbox> - Only one of these need to be filled - any one.
The standard RequiredFieldValidator will insist on each one being filled. I
thought I could use the Page_Load handler but if the second post... more >>
Perceived Loss of All Session Objects
Posted by John Wilcher at 8/13/2003 11:11:59 AM
Environment: Windows 2000 Server, IIS 5.0, ASP .Net
Framework 1.1, VB .Net source code
We are experiencing a condition that manifests itself as a
loss of all session objects. Intermittently (read as: no
discernable pattern at this point), HTTP requests from
users result in a 'Server Applicat... more >>
Context.user not retaining it's value
Posted by John Kraft at 8/13/2003 11:11:28 AM
I'm attempting to use the context.user object. In my login code, I add
an identity to the context.user. I can use the debugger to watch it
stuff the identity into the context.user object, but when I later try to
check the context.user.identity.name it contains the empty string ("").
Does ... more >>
Sending authomatic conformation e-mail
Posted by vlad at 8/13/2003 10:52:31 AM
I have registration form. After user fills the form he clicks submit button.
On this click I want to create function that will send automatic e-mail to
that user.
Thanks
... more >>
Script
Posted by scriptDelms at 8/13/2003 10:43:14 AM
hi,
below is the error i am getting, when i did a
Response.write in a ASPX HTML section. please let
me know on how to use the script tags in the
ASPX pages.
Compiler Error Message: CS0201: Only assignment, call,
increment, decrement, and new object expressions can be
used as a state... more >>
Content Type
Posted by hunt n peck at 8/13/2003 10:03:31 AM
is there a manual way code the "ContentType" header property?
if i build an HTML page with <meta name="Content-Type"
content="application/vnd.ms-excel"> in the header the browser just loads
the contents as a web page.
I dont want to use the response object's ContentType property.
Cant it... more >>
"Executereader requires an open and available connection" error
Posted by karim at 8/13/2003 9:26:15 AM
I have an asp.net page that stopped running properly giving the error
below. The app uses a SQL Server 2000 on another server. Enterprise Manager
and Query analyzer on the web server can connect to that sql server just
fine and run queries. I rebooted the web server and made aspnet member of... more >>
ASP TreevIew Control and Forms Authentication
Posted by Srinivasa Raghavan at 8/13/2003 9:23:00 AM
Hi All,
I have some doubts on the Treeview control and Form
Authentication
1) will Form Authentication work if cookies are disabled.
2) I have problem in the following code (TreeView Control
with checkbox)
When I click on the checkbox in treeview with autopostback
false,the count ... more >>
Check permission on files and directories
Posted by Jonas Nilsson at 8/13/2003 9:20:39 AM
Hi!
I need to check if the current user has READ access on a file or a
directory.
Is there a way to do this in C#?, without using try & catch.
/Jonas
... more >>
DateAdd Function and error BC30451
Posted by Matt Tapia at 8/13/2003 9:07:53 AM
I trying to compile a .vb file as such:
vbc /t:library /out:C:\Inetpub\wwwroot\crm\bin\CRMWebServices.dll
/r:System.dll /r:System.Data.Dll /r:System.Web.Services.dll
/r:System.Xml.dll C:\Inetpub\wwwroot\crm\CRMdbService.vb
In the file I used the function DateAdd. When I compile I get Error B... more >>
Post Backs
Posted by Mark S. at 8/13/2003 9:05:57 AM
Hello,
Question is there a way to force a PostBack of an aspx page. The
codebehind is VB.
I can force a refresh with
Response.AddHeader("Refresh", "30")
But what I would like is a postback so form keeps it data.
Thanks
Mark
... more >>
Datagrid Sorting problem
Posted by Leslie at 8/13/2003 8:57:33 AM
I'm running into a puzzling phenomenon with a datagrid.
I have enabled sorting on a number of the columns. The
sorting works fine on my development machine, but doesn't
work at the client. The screen "blinks" and the data is
displayed in the same order.
An associated has also loaded the ap... more >>
Easy? or am i just stupid?
Posted by Ric Pullen at 8/13/2003 8:44:47 AM
I am using windows forms security.
I have a login screen that validates the user, upon that screen i have a
radiogroup that allows the user either to goto the main menu or jump
directly into the data entry screen.
If valid i redirect them to a footer frame type, obviously I want the main
f... more >>
When to use 'As New' to declare an object
Posted by Ritu at 8/13/2003 8:26:27 AM
I am just migrating from ASP and VB to .NET and what
confuses me the most is what is an Object and what is not.
Most Data Types (even the basic ones) are treated like
objects and have functions associated with them. However,
we do not instantiate all of them using an 'As New' as was
the ... more >>
javascript error, form tag
Posted by Scott Collens at 8/13/2003 8:25:07 AM
Hi all,
My page is causing a javascript error. The page is test.aspx and contains
a form tag:
<form id="theform" runat="server">
Because I have several user controls on the page each of which has
separate form controls and functionality I have added the form tag on the
aspx page and a... more >>
ASP.NET and Javascript
Posted by Harry at 8/13/2003 7:06:05 AM
I have a couple of questions concerning both asp.net and
javascript, if anyone could take some time to enlighten
me on this I'd appreciate it a lot, and sorry if JScript
is out of topic on this forum - in that case ignore this
post.
- Is there any way in javascript to retrieve the
favor... more >>
HELP - Can't open a web project
Posted by joff NO[at]SPAM igentics.com at 8/13/2003 7:02:17 AM
Can anyone help me!
I am trying to open a project from the web. Whenever I enter the URL
of the project I am trying to open, I am redirected to my documents
folder and no error message is specified.
When anyone else in my office tries to do exactly the same thing from
their own machine, th... more >>
Synchronous web request performance
Posted by TomR at 8/13/2003 6:51:08 AM
We are having problems with synchronus web request calls
blocking our ASP.NET performance. Here is the setup: We
have a php script running on Apache at Site A on the
internet. This script does nothing more than wait 15
seconds before serving a page. (You can try it if you
want. www.337... more >>
How to package up an asp.net system
Posted by Davef at 8/13/2003 6:35:26 AM
Looking for a good reference of how to package up an asp.net system
--
______________________
David Fetrow
HelixPoint LLC.
http://www.helixpoint.com
davef@helixpoint.com
Interested in Affordable Email Marketing?
Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
I... more >>
Conflicting namespaces??
Posted by Will at 8/13/2003 6:27:47 AM
I've included both the System.Drawing namespance and the
System.Web.UI.WebControls namespace on my page. Both of
these have an Image class, so when I call the Image class
(refering to the System.Drawing namespace) can I do it
without having to write the entire string?
System.Drawing.Image... more >>
Web Timers
Posted by girishpal NO[at]SPAM hotmail.com at 8/13/2003 5:54:31 AM
I want if a user is browsing the site for some time say 30 minutes
then the current his session should end data should be posted back,
how could i do it.
?... more >>
Get focus in a Text Box
Posted by Tracey at 8/13/2003 4:09:33 AM
I have some text boxes in the footer of a data grid to
allow a user to add a new record.
For some reason to get the focus in to the text boxes you
can only click on the far left of the box if you click
anywhere else within the text box nothing happens.
Does anyone know why this may be?... more >>
Template Column
Posted by Mike P at 8/13/2003 3:53:11 AM
I have a Hyperlink Column which I need to convert to a Template Column
so that I can pass multiple parameters.
My current code is like this and works for a single parameter:
<asp:HyperLinkColumn
DataTextField="Name"
... more >>
TabStrip control and Form
Posted by Yatin Bhuta at 8/13/2003 2:09:41 AM
Hi,
I am using a tab strip control on a web page. One of the tabs has a user
control, which has a form with a submit button on it.
If I want to create another form on another tab of the same tab strip
control then, it gives me an error message that only one form can be
created.
I want to... more >>
Event catching
Posted by Vadim at 8/13/2003 1:16:00 AM
There is a Table. When user clicks on a row of this table,
i need to recognize the clicked row on Server. It works
perfect with a Button control, but Table does not support
onClick event. What should i do?... more >>
HELP!! Unable to debug after Windows 2000 Service Pack 4 install
Posted by Axel Dahmen at 8/13/2003 1:06:38 AM
I've just installed Windows 2000 Service Pack 4 (SP4) on my Windows 2000 =
Server. Now I can't debug anymore! I'm using Visual Studio 7.0 (2002), =
..NET Framework 1.0.
The error message I get is (translated):
"Error running the project. Unable to start debugging on the web server. =
Critic... more >>
UPDATE works INSERT does not - no errors!
Posted by tdi1686 at 8/13/2003 12:13:43 AM
(Using a jet 4 oledb connection to an access 2000 db)
I have a site that is programmed using Dreamweaver MX ASP.NET VB. I have
several pages that update, and insert stuff into the access DB.
On my dev machine (2000 Server, .NET 1.1, MDAC 2.8) all the pages work fine,
however when I upload th... more >>
linkbutton: confirmation with javascript
Posted by Gönen EREN at 8/13/2003 12:13:06 AM
i have a link button in a datalist
i want to add to it
DeleteLayerButton.Attributes [ "onClick" ]+="javascript:return confirm (
'This will delete this LAYER and ALL DATA it contains!' );";
how can i do it datalist is populateted with databind..
thanks for your help...
... more >>
|