all groups > asp.net > may 2004 > threads for monday may 24
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
Passing form values from one page to other. Please, help me out. Thank You.
Posted by Miguel Dias Moura at 5/24/2004 10:42:35 PM
Hello,
i created an ASP.net / VB page with a really big form.
Now i want to create 4 pages and in each one i will place 1/4 of the big
form.
The last page will send all the form values by email.
How can i send the form values from one page to the next one?
I looked everywhere and i w... more >>
query a dataset
Posted by Martin at 5/24/2004 8:42:54 PM
Hi,
I have loaded three tables from my sql server database into three seperate
datatables in my asp.net application.
I have defined the relations the same as in the database.
what I would like to do now is directly query the dataset, but I am not sure
how??
Is this possible?? could som... more >>
connect to IIS
Posted by mahsa at 5/24/2004 8:16:05 PM
Hi,Im try to connect to IIS but it dsent connect and I try wirh asp too it cant find a server I try with localhost my computernameand local to connect to iis none of them dont work and when I want to see iis help
http://localhost/iishelp/iis/misc/default.asp?jumpurl=../htm/core/iicodirh.htm
it say... more >>
Custom Section Handler XML parsing
Posted by Hazzard at 5/24/2004 8:02:22 PM
I am trying to create a custom section and section handler in my config
file.
The custom section should be something like;
<appSecurity>
<method name = "Protect the Ice Cream">
<allow group = "admin"/>
<allow group = "ice cream eaters"/>
<deny group= "weight... more >>
Best method of data access...
Posted by Terry Olsen at 5/24/2004 7:19:40 PM
Can I bind directly to an .mdb database? Or is using MSDE/SQL better? I am
trying to design a web form that presents a list of Projects & Sites,
displays the current status of each project at each site (each project must
be completed at each site), and allows the assigned person to enter the
p... more >>
PostBack Event
Posted by Raj at 5/24/2004 7:19:33 PM
Hi,
I have a Web form on which there are two Radio buttons, AutoPostBack
Property for both is set to true.
Also there is a Javascript function attached to each of these radio
button.
The requirement is that if the javascript function returns false, I
don't want the Postback event... more >>
.NET Framework problem
Posted by Arsalan at 5/24/2004 7:05:01 PM
Whenever I download some new source code of ASP.NET, the VS.NET IDE cant
open it for some reason.
Its asking for newer .NET Framework, do i have to download it ? or is there
any update/patch available? the new framework is around 100 mb.
... more >>
How can I get the value from the client-side created element object?
Posted by Quentin Huo at 5/24/2004 6:59:57 PM
Hi:
I created a web-form user control. And in client-site, there is a link which
will create a Input element object when it is clicked.
<script language=javascript>
.......
var nameInput = document.createElement("input");
nameInput.setAttribute("id", "authorname");
......
</script>
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Login FormsAuthentication
Posted by Bryan at 5/24/2004 6:56:03 PM
Hi, here's my cod
If AuthorizeUser(txtUsername.Text, txtPassword.Text) The
If Request.QueryString("ReturnURL") > "" The
FormsAuthentication.RedirectFromLoginPage(txtUsername.Text, False
Els
FormsAuthentication.SetAuthCookie(txtUser... more >>
Why cant I debug a user control?
Posted by Rob Meade at 5/24/2004 6:49:30 PM
Hi all,
I can happily use the debug in VS for checking my code for all my pages,
except for any of my web user controls - and as this is where all my
problems seem to lie at the moment (see my thread entitled "Not sure what
I'm missing") - its a bit of a pain...
Any easy to understand - sim... more >>
.NET Best Practices
Posted by at 5/24/2004 6:45:21 PM
Hi can someone send or point me to Any nice Material on .NET Best Practices
-regards
... more >>
how do you read the URI in ASP.Net (vb)?
Posted by Dave at 5/24/2004 6:40:14 PM
Hi all,
How do you read in the URI (or URL) in ASP.Net in a VB code-behind page?
I tried several things that looked like they should work including the
following:
Dim XXX as String =
HttpContext.Current.Request.UrlReferrer.AbsolutePath.ToString
or
Dim XXX as String = Request.UrlReferrer.A... more >>
Not sure what I'm missing...
Posted by Rob Meade at 5/24/2004 5:59:20 PM
Hi all,
I'm trying to dynamically create the navigation for my web page - I have
achieved this at work and whilst trying to reproduce the code this evening
at home I'm obviously missing something, I just cant see what...
Here's the error:
Class 'System.Web.UI.WebControls.TableRow' cannot ... more >>
Run a StandAlone Application from a CD?
Posted by Terrance at 5/24/2004 5:51:02 PM
I created a simple application that allows a user to choose a foxpro free table. The program writes the location of the table to the user's local drive. What I want to know, is it possible to run a .net application from a CD rewriteable? I want to be able to put the executable on a cd so that the us... more >>
Session problem....
Posted by Darren Clark at 5/24/2004 5:28:28 PM
I am having some troubles with Sessin varables dieing..
Basically ihave my own class structure called USER that once the user =
logs in i save it to a session var called
Session["userdetails"] =3D myUserObject;
All this works fine until sometimes it is like my sessoin vars just die =
and t... more >>
SSL Problem - Page Cannot Be Displayed
Posted by aben at 5/24/2004 5:11:03 PM
Hello all,
I am using the following microsoft article to try and learn more about SSL: http://support.microsoft.com/default.aspx?scid=kb;EN-US;315588
I have a virtual directory that I have required SSL for. When I don't require SSL, then I can browse to the page using the following url:
http://... more >>
Help - Changing the output of a repeater depending on the data
Posted by Henry Nelson at 5/24/2004 5:05:12 PM
Hi all
I'm very new to dotNet and just trying to get my head around the right way
to do the thing that I would normally do in asp.
In asp I would loop through a recordset and output all the html dynamically
for the layout I want. I have seen some examples of
using a repeater and they seem t... more >>
customError - 401.2 Access Denied
Posted by Mark at 5/24/2004 4:20:29 PM
I'd like to avoid displaying the nasty built-in ASP.NET error for a 401.2,
access denied. We're using windows authentication. The error message that
is displayed by default is printed below. I'd love for it to redirect to
the 401-2_access_denied.htm file I've created in the root of my web site... more >>
SQL Data Access
Posted by Kenneth Keeley at 5/24/2004 3:36:12 PM
Hi,
Is it safer to use an SQL Stored Procedure or to create the querry in
asp.net code? Which would run faster? and what is the best way to protect my
SQL server from hackers.
Thanks for any help.
Kenneth Keeley
... more >>
WebUIValidation.js
Posted by Morten at 5/24/2004 3:20:51 PM
Hi!
I've developed an application that uses forms based authentication. The
logon page uses the file WebUIValidation.js a couple of places and the file
is located in the right place on the server. I have a user who uses a Linux
browser which gives the following error when he tries to log in:
... more >>
SQL logon: aspx fails, winform ok
Posted by adam at 5/24/2004 3:20:18 PM
On Thursday it was working, then something changed and now I can't
access my sql server database from aspx :(
I have simplified my code to a simple connect and query [1] where m_sql,
m_con are text boxes and m_output is a label. It fails when I pass in
either Sql#### or OleDB#### connection... more >>
solution requires web project in default site
Posted by gerry at 5/24/2004 3:08:24 PM
single machine - W2Kserver , IIS5 , VS.NET 2003
I spent some time struggling with what looked like the dreaded asp.net
debugging configuration problem but none of the solutions for this did any
good.
Outside of the ide I am able to browse to an existing web app with no
problem and I can load ... more >>
Dynamic HTMLButtons
Posted by Vikram at 5/24/2004 3:06:05 PM
I am Dynamically generating HTMLButtons inside the cells of a table as follows
-------------------------------------------------------------------------------------
Dim DelButton As HTMLButto
DelButton = new HTMLButto
DelButton.id = CStr(ResProjReader.GetInt32(2)
DelButton.Attributes("onServerC... more >>
Set Page title dynamically
Posted by SStory at 5/24/2004 2:54:12 PM
I would like to make the title of the page change according to invoice #
how can I do this?
didn't see a field on the page property in the code behind file.
Thanks,
Shane
... more >>
Key press "Enter" does not submit the form
Posted by Andrea Williams at 5/24/2004 2:30:04 PM
I've created a simple search form and a submit button. On click of the
button, I have code-behind that runs and fills a datagrid. However, it the
person is focused on one of the other controls and presses the "Enter"
button, my submit button event code doesn't fire so my datagrid is either
emp... more >>
Panel.Visible = True also make child controls visible.
Posted by spamfurnace at 5/24/2004 2:23:47 PM
Hi There.
I have a panel that i display to the user after they have entered some data.
On that panel is a label which is set to visible = false at design time. If
i make the panel visible however it shows the label. This is no big deal, i
just set the label back to false again after i show the p... more >>
Machine.Config -- ProcessModel vs Identity Impersonation
Posted by Wm. Scott Miller at 5/24/2004 2:23:32 PM
What is the difference between using a username and password in the
processmodel section vs using one in impersonation in the machine.config
file? What are the advantages of each and what are the reasons for using
each?
Thanks for any replies,
Scott
... more >>
hitting "enter" on a page
Posted by MattB at 5/24/2004 2:05:40 PM
I have a WebForm that has a "reset" button and an "Enter" button. It's a
long form, and users tend to hit the enter key at some point when they
really want to tab to the next form field. How can I control this default
behavior? I figured I could have an "are you sure?" confirmation if fields
are... more >>
Existing asp page -> Compiled aspx without changing the path
Posted by davepl NO[at]SPAM memturbo.com at 5/24/2004 1:52:46 PM
I have an existing asp page that I would like to upgrade/convert to
aspx. It gets a million or two hits per day, so I'm surmising that at
a minimum I would benefit from compilation and the OutputCache
directive. If not, please stop me now!
In any event, since this page is linked to by numero... more >>
Static vs. non-static connection
Posted by Natan at 5/24/2004 1:47:28 PM
Hi,
I`m creating a asp.net intranet system, and would like to put all the
logic of the system in a single dll. That is, when i need to create an
user for example, i would use "User.Check()" and "User.Add()" instead of
putting "insert" sql statements in the page.
Considering he following ... more >>
Is Only Alpha Characters...
Posted by Gill Smith at 5/24/2004 1:41:50 PM
Is there any inbuilt function I can use in the .net frame work to identify
whether the string has only A to Z in it ?
Thanks,
Gill
... more >>
Response.Redirect Thread aborted
Posted by Brian at 5/24/2004 1:36:01 PM
I'm trying to response.redirect to another page on a button click event and I get an error message stating that the thread was being aborted (if I trap for the error that is...)
I've researched this a bit and see that this error is supposed to happen in response.redirect, but it's not in a Try Cat... more >>
Context.Items vs Context.Handler (passing values between pages)
Posted by hyperlinkddd NO[at]SPAM yahoo.com at 5/24/2004 1:35:09 PM
Hi All,
There two ways of passing values between pages -
1) Context.Items.Add
2) Context.Handler (cast the page1 class etc)
I know for sure #2 does not store the values between requests.
How about #1. Does it store values between requests? i.e.
The Context.Items. collection
A)Is i... more >>
processModel in web.config
Posted by matt.hasselback NO[at]SPAM clevermethod.com at 5/24/2004 1:31:27 PM
Heres the brief.
i'm trying to specify a domain level account to run a SPECIFIC website
with, so that I can access network resources, fileshare directories,
etc.
MY STEPS
1.) i changed my machine.config <section name="processModel" ... />
tag parameter to allowDefinition="MachineToApplicat... more >>
How can I access the Sessions
Posted by Yurai Núñez Rodríguez at 5/24/2004 1:20:02 PM
Hello,
I need to access the sessions alive in my ASPNET Application. I have access
to the Application object but, I don't know any method to enumerate all the
sessions and the corresponding data. Is it possible?
Any hint would be of great help. Thanks,
Yurai
... more >>
Speeding up pages
Posted by OHM at 5/24/2004 1:17:32 PM
I was wondering about this topic and although I accept that different
situations call for different solutions, but wondered are there any other
solutions and whether has anyone carried out a comparison of the different
methods for avoiding JIT. Further more, is there anything I should be
conside... more >>
How????
Posted by Ramez T. Mina at 5/24/2004 12:21:09 PM
So where to store around 4000 string after button click and how to retrieve
them in another separate clicks.
I have spent few days in this without any solutions.
-Ramez T. Mina
... more >>
DropDownList SelectedIndexChange Not Firing
Posted by ProSAAP at 5/24/2004 12:11:04 PM
I need help. I am attaching both the html stuff as well as the code snippet that is not firing. Can someone please help me
Thank
Sub InputPub_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) _ HandlesInputPub.SelectedIndexChange
Dim PubNew, AdTypeNew As Strin
... more >>
Senior Developer Position in Philly area.
Posted by Vince Varallo at 5/24/2004 12:01:09 PM
Position
Senior Developer ASP.NET\C
Descriptio
The senior developer will be responsible for designing and developing n-tier ASP.Net architectures in C#. Candidate must be self-motivated, posses excellent communication skills, and be able to meet deadlines and work in a team and solo environment... more >>
Installer
Posted by Cezar at 5/24/2004 11:57:54 AM
Hi,
I'm trying to use VS.NET to create an installer for a Web application.
I added the files, setup the virtual directory, build the project.
When I run the .msi file, the virtual directory is created and the default
document is defalt.aspx. How can I change that or just add another one to
t... more >>
Problem with arrays
Posted by Ramez T. Mina at 5/24/2004 11:48:35 AM
ASP.NET VB.NET
When clicking on button there is huge amount of data that stored in array of
strings.
when I click another button to retrieve the data...I find the array empty.
So, what do you think the problem and how to solve it??
-Ramez T. Mina
... more >>
File not Found error on asp page
Posted by Steve Hoyer at 5/24/2004 11:28:12 AM
I am trying to deploy my first asp.net app to our webserver (2K server,
IIS 5)
My start page comes up and you can get to the subsequent pages that are
tied into our sql server (2K). Each page has a datagrid that loads up
just fine, but when I click on any link that updates the page, i.e. a
c... more >>
Reference table cell
Posted by martin at 5/24/2004 11:20:37 AM
Hi,
I have a webuser control.
The webuser control contains a single table webcontrol.
The start of the yable looks like
<asp:Table id="tblTabs" runat="server" BorderWidth="0" CellSpacing="0"
CellPadding="5">
<asp:TableRow>
<asp:TableCell ID="CellPracticePeople" CssClass="inactive">
... more >>
Pitfalls of using a Global Response.Redirect
Posted by spamfurnace at 5/24/2004 11:11:31 AM
Hello.
I have a common area of a website that sales agents use. I got sick and
tired of typing response.redirect(path)
so i implemented a shared function in Global that i can call and all i have
to do is pass an AgentService enum to it and global will response.redirect
for me.
So instead o... more >>
Custom error handling
Posted by Dave Bartlett at 5/24/2004 10:48:03 AM
How would I go about handling errors in ASP.NET applications such that an
email is automatically sent to system admin with full details of the error
on the page (regardless of whether it was a compiler or runtime error)?
... more >>
datagrid commands
Posted by Roel at 5/24/2004 10:37:22 AM
Hello,
I built an application that shows the file of a folder on a website.
I present it by using a datagrid. Now, I want to add some functionalities to
the datagrid like, the possibility to delete the file. Therefore I use the
deletecommand -event. But I also want to add print functionality... more >>
creating a database on the server
Posted by Scott Baxter at 5/24/2004 10:37:03 AM
Is there a way to create a brand new database on the server?
Someone gave me the asp code below, but I haven't gotten it to work yet.
Thanks for any help.
<%
Dim strSQL
Dim cnnTest
strSQL = strSQL & "CREATE TABLE tblTest " & vbCrLf
strSQL = strSQL & "(" & vbCrLf
strSQL = strSQL & "ID... more >>
Problem Connecting to SQL
Posted by Aaron Bellante at 5/24/2004 10:31:03 AM
I have been creating some pages that pull info from an SQL database
located on my computer. I have an identical DB located on the
production machine. The page runs fine on my PC (XP Pro), but when I
move everything over to the target machine (2003 Server) I get this
error:
Login failed ... more >>
String manipulation
Posted by Chris at 5/24/2004 10:12:08 AM
Hey
I want to only show the first 7 words of a string in an <asp:repeater>.
<asp:repeater>
<itemtemplate>
<%# DataBind.Eval(Container.DataItem, "bodytext");
</itemtemplate>
</asp:repeater>
Any tips as to the best way to do this?
Cheers
Chris
... more >>
2 Forms on one page
Posted by Benjamin Bittner at 5/24/2004 9:37:49 AM
Hi all
I have a to different input masks on one page. The first must be posted on
itself, the second must be posted to another website and popup in a new
window. My problem is, ive got one global form tag (index.aspx). The content
comes from different user controls. The two input masks come from... more >>
Access Database and Web Server on diffrent machines
Posted by google1 NO[at]SPAM joeharrison.com at 5/24/2004 9:30:06 AM
Hello.
I am having problems connecting ASP.NET to an Access Database. The
Access Database is on one computer (ALPHA) and the web server is on
another computer (BETA). I realize that the reason is because the
ASPNET user account on BETA does not have permission to the Access
database on ALPH... more >>
User can leave the page?
Posted by Gianmaria I. at 5/24/2004 9:29:17 AM
Hi,
that's my problem.. i hve a pege where users can uload a text file and leave
an e-mail address.. when upload finished.. my server start working on this
file.. and later sends he resultin file to the user's email. Now.. i've
tried this ...but my user have to stay on that page with his browser... more >>
Datagrid formating
Posted by Tayo at 5/24/2004 9:11:05 AM
What is best way of having a consistent datagrid format on multiple pages? Any ideas welcome
Tayo... more >>
IP address
Posted by Just D at 5/24/2004 8:56:41 AM
Hi,
How can I get the IP address of the machine my client connects with? I need
to get this info for an additional security of my ASPX page. So I need to
get the IP string in my codebehind to work with it.
Thanks,
Just D.
... more >>
need help with making site dynamic.....
Posted by Tammy at 5/24/2004 8:51:07 AM
Hi
I am working on a portal that will serve up reporting services reports. The user will have a basic home page and from there will be able to run their reports. As each report is run, I need to be able to add a tab to the form that will link them to the report (which I have within another form ... more >>
Dynamic Menu's
Posted by brian at 5/24/2004 8:38:27 AM
I have been trying to figure out how to create a dynamic
horizontal menu based on user log-in for about a month
now and have been unable to find much information.
I am using SQL server 2000 And VB.NET code behind.
I have posted a couple times and I keep getting the logic
needed which I u... more >>
Legal ViewState Characters
Posted by Dave at 5/24/2004 7:16:02 AM
Does anyone know what the legal viewstate characters are?... more >>
DataBinding - DataList
Posted by Jim Heavey at 5/24/2004 6:11:14 AM
I have a book which shows that I can do Databinding to a control like the
following:
<asp:Label ID="lblScorecardCmntCategory" Runat="server" text='<%#
Container.DataItem("Name") %>'></asp:Label>
When I run this I get a error about, somthing about it was expecting a
method, not a property... more >>
Storing an ArrayList in a cookie
Posted by Maziar Aflatoun at 5/24/2004 5:30:12 AM
Hi,
Does anyone know how I can store an ArrayList in a cookie?
Thank you
Maz.
... more >>
Installation on productive system
Posted by Ashley at 5/24/2004 5:06:03 AM
Hi group
I developed a never version of my webapplication and tried to install it on the productive system. But I found that I can't delete or change the name of my application folder on the productive system because it is in use (I believe it is the IIS?). After stopping the IIS I could remove th... more >>
Error Running aspx file with IE ---> Expected ';'
Posted by liamfinnie NO[at]SPAM yahoo.co.uk at 5/24/2004 4:25:52 AM
Hi,
I have seen this problem is a couple of other places in the group but
can't find an answer to it.
Basically I have as aspx file that opens properly in Opera but not in
IE. IE gives a scripting error stating Error Expected ';'. This is
in VB.NET. If I change the script to C# I get Err... more >>
How to configure Win2003 for ASP and COM+ Configuration
Posted by belindacur NO[at]SPAM yahoo.com at 5/24/2004 3:49:44 AM
I am trying to setup a COM+ application that runs some ASP
applications. The application vendor is telling me on my Win2003
server that COM+ and ASP as not been properly setup.
Can any of you please give me the steps to setup ASP and proper COM+
configuration on my Win2003 server running IIS6.... more >>
Help for javascript in asp.net
Posted by Universal at 5/24/2004 3:21:03 AM
Hi
How can i find an element of radiobuttonlist control in javascript for client side validation which is not browzer specific?... more >>
Refresh data grid control without (post back)
Posted by Aleksandar Andjelkovic at 5/24/2004 2:21:03 AM
Greetings,
Is there a way in ASP.NET to refresh data grid control without (post back) reload of the hole page
Thank you, Aleksandar... more >>
unauthenticate user
Posted by mike parr at 5/24/2004 2:11:32 AM
I am using FormsAuthentication.SetAuthCookie to authenticate users.
However, I have a link that the user can click if they are not the user
logged in, so I need to be able to do the opposite of SetAuthCookie
(i.e. unauthenticate a user).
Does anybody know how to do this?
Cheers,
Mike
... more >>
Actual command sent to access
Posted by Ben de Vette at 5/24/2004 1:28:37 AM
Hi,
is it possible to see the actual SQL command which is sent to Acces when
using an OleDbDataAdapter?
Al I can see now is that an update command failed.
Why, is not told.
Thanks in advance,
Ben
... more >>
|