all groups > asp.net > june 2005 > threads for thursday june 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
Building a project, stupid question
Posted by easy at 6/2/2005 10:34:58 PM
Hello
i have this really nagging, annoying question about asp.net...
if i work on a project, do i really have to build the whole project
everytime when the sourcecode changed? isn't asp.net supposed to compile
pages on the fly?
what if i don't want to install dotnet and everything (like... more >>
Access Database Value Retrieval
Posted by Sparky Arbuckle at 6/2/2005 10:23:34 PM
I have the following sql statement, typically it would grab a specific
value but I also want to be able to grab all values within the
database. Can I use the same SQL statement? I thought I could just use
* and pull everything but that doesn't appear to work.
SELECT tblRacers.RacerID, tblRacer... more >>
Custom error message using Application_Error
Posted by Baren at 6/2/2005 9:45:01 PM
Hi!
I am using the following code to redirect and display custom error message.
But its not working properly. Its giving the same error instead of the cusotm
error
web.config :
<configuration>
<system.web>
<httpRuntime maxRequestLength="4000"/>
</system.web>
</configurati... more >>
NTLM and .NET
Posted by Tom at 6/2/2005 9:16:06 PM
Hi,
I would like to implement transparent sign-on on my website, available on
the internet.
1) For users within my company, I would like to use NTLM and have no prompt
for login/password
2) For users outside my company, I would like to authenticate them through a
form via a bespoke da... more >>
Base page class error handling
Posted by tschulken at 6/2/2005 6:31:52 PM
I am developing a web app in vb.net. I created a base page class for my
pages and in the page_error event I wrap the exception to collect some
common data elements known to all pages so that this can get logged
later on. I also want some specific pages (derived from the base class)
to also catch... more >>
db update via web form
Posted by epigram at 6/2/2005 5:31:55 PM
I'm using a web form that I am populating from a query (via a
SqlDataReader).
This isn't a datagrid or other similar control, its simply a series of
TextBox controls on a page. Most of the examples I have seen thus far have
been dealing with using datagrids, etc. and how asp.net can help you d... more >>
Page Expiry
Posted by jack-e at 6/2/2005 5:27:35 PM
Hi,
What is the best way to deal with the "back button" problem i.e. person
clicking back and resubmitting details again.
Page Expiry? If so, how do I set this?
Thanks in advance.
... more >>
Forms Authentication
Posted by Régis Soares at 6/2/2005 5:09:37 PM
Hi!
How can I put two login pages in my Web Application?
for example:
....
<authentication mode="Forms">
<forms name="Auth1" loginUrl="LoginPage1.aspx" />
</authentication>
<authentication mode="Forms">
<forms name="Auth2" loginUrl="LoginPage2.aspx" />
</authentication>
....
<lo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Display Message while code runs.
Posted by David Allison at 6/2/2005 4:51:30 PM
I have written a Login page which initializes a session. I am trying to display a message to the user letting them know that the session is intializing. I would ideally like to load a page that displays while the query is running. Any ideas on how to accomplish this? I have tried to add webforms and... more >>
Textbox not filled in when I click a link button
Posted by UJ at 6/2/2005 4:15:28 PM
I've got a text box that the user fills in. When they are done, the click a
link button that will take them another screen. But in the event where the
button is clicked, the text box still has the old value. How do I get the
new value?
TIA - Jeffrey.
... more >>
Get IIS Path?
Posted by Eagle at 6/2/2005 3:57:07 PM
How do I programmatically get the path of my application and IIS? For
instance, my application is in directory Working, but the progrm could be
running from different servers, so when I attempt to write to a file,
using HTTPContext.Current.Request.ApplicationPath, it tries to write to
c:\wor... more >>
<Div> Help PLEASE!!!!!
Posted by I am Sam at 6/2/2005 3:32:05 PM
I am working on a control that will act like a <Textarea> HTML Control that
will allow persistent data for postback. Problem is that the data will be
contained between the opening and closing <DIV> tag. Problem is there is no
Text property as there is with the <Textarea> tag. Does anyone k... more >>
Using both server side validation and client side validation
Posted by vidya at 6/2/2005 2:36:10 PM
Hi,
I have a button which is a web control. I have some validation in javascript
for the button in .aspx file and some in the button onclick event in code
behind(C#). I need to get through both the java script validation as well as
the click in code behind? How can this be done ? Can I call... more >>
Manually render a aspnet form
Posted by Jinsong Liu at 6/2/2005 1:52:34 PM
Hello:
Is there a way that I can manually render an ASP.NET form? I have an
ASP.NET form, but I don't want to send the HTML generated by the form
to the browser. I want to create an instance of the ASP.NET form in
one of my class, and then use the HTML code generated by the form. Is
it possib... more >>
any easy way to do this?-put items in table
Posted by Paul at 6/2/2005 1:52:09 PM
I have a .net web app with a page that has several controls such as a
datagrid, a dropdown list box buttons, labels with many controls bound to
datasources. The page was done with grid layout. Just wondering if there is
an easy way to put everything in a table, 1 control for each row for exa... more >>
Infragistics UltraChart Image does not appear
Posted by Krushna at 6/2/2005 1:40:37 PM
I am using Infragistics Netadvantage 2003 Vol 3 Webchart (version 3.0)
and visual studio 2003 (.net framework 1.1).
I was trying the chart column type, the data was passed as datatable
but I do not get the image display for the chart, I also don't get any
error. When I move the mouse, the data... more >>
How to force a New Session and SessionID
Posted by Hardin at 6/2/2005 12:52:15 PM
I have an app that uses the sessionID to track user navigation and usage
through the application.
It works fine except in one case:
There is a point in the application where I want to "close" the user's
tracking and handle the user as if he had just logged on. To do that, I need
a new ... more >>
Automated emails
Posted by tshad at 6/2/2005 12:49:29 PM
I am trying to figure out the best way to send automated emails?
I have emails that I want to send out to certain clients that need them
either daily or weekly.
How would I do in asp.net?
Or is it better to write normal app to handle this that I run from the
schedular?
Thanks,
Tom... more >>
aspnet_wp process suddenly takes 99% of CPU...
Posted by Feng at 6/2/2005 12:49:04 PM
Hi,
I am trying to debug an asp.net application problem: From time to time, the
aspnet_wp process running on our web server suddenly goes up to 99% of CPU
usage and since the app supports may users, we can't see what causing it.
When that happens, all the users will experience an extramly s... more >>
Two-way Sorting Using Stored Procs...
Posted by Roy at 6/2/2005 12:22:51 PM
Greetings,
I've been avoiding it for so long, but like an evil wraith it always
returns to haunt me. The bane of my existence, it is... bidirectional
sorting!!!
Checked out previous posts and none seem to be of assistance to me.
Here's the scoop. I have a web app which populates a sortabl... more >>
GAC but still get File or assembly name... was not found
Posted by Jim at 6/2/2005 12:15:18 PM
Hi, I have an assembly and it's satellite in my GAC.
I have referenced the DLLs in my project (from the same location where I
added it to the GAC). CopyLocal is set false.
When I run the project I get our old friend:
Parser Error
Description: An error occurred during the parsing of a... more >>
Sessions and static attributes
Posted by Danny Crowell at 6/2/2005 12:04:01 PM
I have a question related to ASP.net sessions and static attributes. In an
ASP.net application (MyApp) I have a class called Globals with a public
static string called UserName. Will UserName be unique for each session or
will the value of UserName be the same for all sessions?
For example,... more >>
Configuring submit button in C#
Posted by Chumley Walrus at 6/2/2005 11:28:55 AM
I have a function that is sending a value via querystring to another
page by hitting a submit button:
private void btnSubmit_Click(object sender, System.EventArgs e)
{
Response.Redirect("destination.aspx?txtstuff=" +
this.txtstuff.Text);
}
I'm just not sure how to config the submit button... more >>
Usability of Multi-Select ListBox
Posted by George Durzi at 6/2/2005 11:15:18 AM
This is more of a design/philosophical question :)
I have a page in which the user sets attributes for a project. There are 8
attributes, e.g. Project Type, Country, etc. The number of options per
attribute varies. The user is allowed to select as many options per
attribute.
I'm using a ... more >>
Inherited page events not being hit
Posted by AC [MVP MCMS] at 6/2/2005 10:56:09 AM
I feel like I'm missing something so simple...
I have a page (start.aspx) whose code behind is
public class Start : AdminPage
{
override protected void OnInit(EventArgs e)
{
base.OnInit(e);
int x=1;
}
}
And my AdminPage class looks like this:
publ... more >>
gracefully move from details page
Posted by rodchar at 6/2/2005 10:55:26 AM
hey all,
ok i'm on a datagrid (that has paging turned on) and i select a record which
takes me to a details aspx page. when i click close on the details page how
do i get back to the correct page index i left from?
does anyone have any ideas or article references ?
thanks,
rodchar... more >>
ConnectionState problem - managing connections to an Access database
Posted by Nick Gilbert at 6/2/2005 10:45:20 AM
Hi,
I have an asp.net application which runs from a CD-ROM using Cassini. As
such, it is single user only.
The application connects to an Access database when it is loaded, and
keeps the same connection open all the time (as it's single user, this
shouldn't be a problem).
There is logic ... more >>
Forms in Modal IE Window create a new window on postback!
Posted by Nick Poulis at 6/2/2005 10:37:16 AM
In my page I use window.ShowModalDialog
----------------------------------------------------------------
Page.RegisterStartupScript("PopUpPerson", _
"<script language=""Javascript"">" & vbCrLf & _
"window.showModalDialog('Person.aspx?id=" & SelectedPersonID &
"','','dialogWidth:720px; dial... more >>
performance
Posted by elaine at 6/2/2005 9:45:37 AM
I'm going to create a web form to show some textboxes to users, after
clicking the button, i will save whatever user inputed into database
and redirect to another page to display what the user just inputed into
some label controls. I'm thinking not using 2 pages but use panel
server control to g... more >>
Search using multiple keywords
Posted by David Lozzi at 6/2/2005 9:25:24 AM
Howdy,
I am doing a simple keyword search in my SQL database from my ASP.NET w/ VB
application. Currently, I am using a PROC and within the PROC I am doing
something like so:
SELECT * FROM tblStores WHERE strName LIKE '%' + @Search + '%' AND strCity
LIKE '%' + @Search + '%' and so on
... more >>
Extracting Tables and columns with data types from a database
Posted by RSH at 6/2/2005 9:25:13 AM
Im trying to write a simple app that will show all of the user created
tables along with their columns and column datatypes.
Any suggestions on how to approach this???
Thanks!
... more >>
Confirm Delete Message
Posted by Greg Smith at 6/2/2005 8:02:33 AM
What is the best way to present a "Confirm Delete" message to a user and get
the response back?
Any help is greatly appreciated.
... more >>
Accessing Class / Circular Reference
Posted by George Durzi at 6/2/2005 7:29:02 AM
Consider these three projects:
- ProjectWeb (my web application)
- Facade (my class library, does data access, etc.)
- Library (a library of classes I reuse in applications)
ProjectWeb references Facade, and on login adds an instance of a
Facade.UserInfo class (a User class) into the user'... more >>
COM object with CLSID {5D92885E-7D11-4160-BB23-818831ADDD43} is ei
Posted by Thomas Andersson at 6/2/2005 7:22:10 AM
Hi,
I am trying to use a ActiveX Com component in a aspx web page.
First I have made a reference to the .dll.
I have also used aspCompat="true" in the page.
Then I use the code below...
Dim ObjDir As Mydll.Directory
Dim ComFile As Mydll.File
Private Sub Page_Load(ByVal sender As Syste... more >>
access html control in datalist
Posted by zino at 6/2/2005 7:18:03 AM
is there a way to access an HTML control embeded inside a datalist ?
I need to format the datalist depends on specific condition while databinding
( on ItemDataBound)
<datalist runat=server>
<itemTemplate>
<input type=text value='<%#
CType(Container.DataItem,System.Data.DataRowView)("myValu... more >>
Problems with Clustered 2003 IIS and ASP.NET
Posted by henry.derstine NO[at]SPAM gmail.com at 6/2/2005 7:12:56 AM
We have a particularly strange problem. We are running Two clustered
Windows 2003 boxes running IIS 6. Our ASP.NET application run fine but
over night they stop working. The error we get is:
File or assembly name 0x3yhs89.dll, or one of its dependencies, was not
found.
We tracked the problem ... more >>
System.Runtime.InteropServices.COMException
Posted by Bala at 6/2/2005 7:01:09 AM
Hi all,
when i try to access the pdf file from one of the network drive, i am
getthing this problem. it seems it folder permission problem. dont know how
to solve this. i am using windows xp prof. do you have any idea how to solve
this prob.
thanks
bala
error message:
Unable to fi... more >>
Datatable to DataGrid???
Posted by Tim::.. at 6/2/2005 6:50:06 AM
Can someone please tell me how I put the following information into a
datagrid...
I want to be able to use templatecolumns in a datagrid to reformat the
information I have pulled from an ActiveDirectory Database! I'm just not
quite sure how to pull the info into the datagrid!
I tried...
... more >>
SMTP mail rejected by firewall
Posted by Glenn via .NET 247 at 6/2/2005 6:23:09 AM
I setup asp.net web project to send mail. It works fine within my companies network. It sends mail ok to some of our clients, but some are rejected by the clients firewall. I noticed the header of a message sent by my asp.net app says
Received: from server-name (unknown[ip-address](misconfigured... more >>
Win2003 Server Framework2 Beta2 Problems
Posted by Wolfgang Kitzelberger at 6/2/2005 4:44:28 AM
Since I installed the Net-Framework 2 Beta2 and the sql2005 express Bet
on my 2003 Server I got 2 Problems:
1. The ASP.NET Tab in the iiS has gone, so there is no possibility t
configure the frameworks or anything like that.
2.The Volume Shadow Copy Service is not able to start anymore, so
ca... more >>
Submit Button with Validation Controls not working
Posted by AnandaSim at 6/2/2005 4:10:15 AM
Hi All,
A really puzzling phenomenon.
I develop to a Windows 2000 development server in VS 2003. I use Copy
Project to deploy the project to a production server.
The webpage I'm having trouble with has several validation controls in
a Form. On the development server, both IE and Firefox w... more >>
DDL not firing
Posted by Niggy at 6/2/2005 3:25:07 AM
How do I get a Dropdownlist to fire when the user selects an element? My
code is:
Private Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal
e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
Dim selectedItem = DropDownList1.SelectedValue
... more >>
Datagrid problem
Posted by james crosthwaite via .NET 247 at 6/2/2005 3:13:19 AM
Hi,
I'm pretty new to =2ENET and i'm having a major problem which i=
really need some help with=2E
I am developing an application for my office which allows users=
to book rooms=2E I have a Booking Form which contains a datagrid=
listing attendees for the meeting=2E On this form there is... more >>
Howto get the address of a page?
Posted by lgrottland NO[at]SPAM yahoo.com at 6/2/2005 2:54:22 AM
Hello!
How can I get the address of the page that I'm working in?
This address here is
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.aspnet/post?hl=en&_done=%2Fgroup%2Fmicrosoft.public.dotnet.framework.aspnet%3Fhl%3Den%26&_doneTitle=Back+to+topics&auth=DQAAAGoAAAD7r6iC... more >>
Using objects to print pdf report?
Posted by wrytat at 6/2/2005 2:37:02 AM
I have a web application. There's 1 part whereby I'll show a list of items
(order). I did this by using classes and objects. I defined my own classes
(called orderitem and ordermanager), and my aspx file just call the
ordermanager to connect to the SQL 2000 server, perform stored procedure, ge... more >>
User Control Events....
Posted by thomson at 6/2/2005 2:09:04 AM
Hi all,
i do have a user control with 4 buttons, and all the events
are firing properly,
My problem is that i need to right an event handler in the user
control, which gets fired after a specific process is done,, but the
form which will host the user control has to specify what has... more >>
session state variables expiring too quickly
Posted by bennett NO[at]SPAM peacefire.org at 6/2/2005 1:59:18 AM
In the web.config file for my application, in the <sessionState>
section I have set timeout="120" (in minutes), but session state
variables in my application seem to be expiring in about 5 minutes.
Any idea what could cause this?
I have the mode="InProc" attribute set for <sessionState>. I kn... more >>
Retieve last record in the DB???
Posted by Tim::.. at 6/2/2005 1:49:02 AM
Simple question...
I want to retrive the last record in the database if the value of id is
nothing!
Can someone please help!
Thanks
....CODE...
Dim objImpCnt As SqlParameter
If objImpCnt Is Nothing Then
objImpCnt = cmd.Parameters.Add("@newsID", SqlDbType.Int)
... more >>
Data Access in web forms
Posted by news.microsoft.com at 6/2/2005 1:29:12 AM
Hello
I'm trying to make my first asp.net application.
Every tutorial shows how to retrieve data from database into a datagrid, or
datalist or repeter.
What if you have multiple texboxes, comboboxes and radio buttons, and you
want to populate those from the database.
How do we do thi... more >>
Very Confused: Class, Imports, ...
Posted by Shapper at 6/2/2005 12:00:00 AM
Hello,
I am working in a web site where all the code is placed in aspx.vb
files.
After a while I realized that many functions included in my aspx.vb
files where common to all pages.
I created a new file named common.vb where I created a class named
common and where I place all common fu... more >>
Know who is online ?
Posted by Steph at 6/2/2005 12:00:00 AM
Hi,
I would like to be able to know who is actually connected on the website i
am creating.
The users are stored in a sql server table (to enter, they have to be
identified on the login.aspx page...)
I guess i have to use application variables and global.asax, but i don't
know exactly how ... more >>
ByVal var As String
Posted by Shapper at 6/2/2005 12:00:00 AM
Hello,
What is the difference between using in a function:
Sub Change_Culture(ByVal newCulture As String)
Or
Sub Change_Culture(newCulture As String)
The difference is the ByVal.
Thanks,
Miguel
... more >>
.NET SDK. How to compile a VB file?
Posted by Shapper at 6/2/2005 12:00:00 AM
Hello,
I just installed Microsoft .NET Framework SDK v1.1.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en)
I need to compile to a DLL a VB file which has a class with some
functions.
I know that if I have Visual Studio 2003 i... more >>
Getting a property of a control inside a usercontrol, from another usercontrol
Posted by Fabiano at 6/2/2005 12:00:00 AM
Please,
i have a ASPX that contains two usercontrols, TOP.ASCX and CENTER.ASCX. The
first one has a dropdown list inside of it and the second one has a
Datalist.
When user changes the SelectedItem from the dropdown i need to change the
databind from my Datalist.
My doubt are. How can i ... more >>
Is this possible? Visual Studio 2003.
Posted by Shapper at 6/2/2005 12:00:00 AM
Hello,
I am developing a web site with Web Matrix.
I use Web Matrix because I considerer it simpler and faster to use.
I also have Visual Studio 2003 but I haven't it installed.
I need to compile a simple .vb file:
vbc /t:library /out:common.dll common.vb
(Using VS 2003 command-line co... more >>
can '1' be conver to true ,and the '0' conver to false ?
Posted by Kylin at 6/2/2005 12:00:00 AM
any function for this directly In asp.net ?
--
FireCrow Studio
Kylin Garden
QQ:462042991
ICQ:156134382
... more >>
How can i browse directries and file using C#.Net ?
Posted by Alex Smith at 6/2/2005 12:00:00 AM
Hi,
I want to browse Directries and files of my IIS server using C#.Net.
Anybody help me?
Thnking you,
Samir
... more >>
Sorted List Snapshot?
Posted by Andy Sutorius at 6/2/2005 12:00:00 AM
Hi,
Setup/History: Code-behind = C#. I have created an html table with textboxes
in each cell dynamically with asp.net. The number of rows depends on what
the datareader brings back. The columns (6 of them) are static. After the
table is built I take a snapshot of the names of the textboxes an... more >>
DataAdapter.Dispose
Posted by Simon Harris at 6/2/2005 12:00:00 AM
Hi All,
You may have seen my post earlier in the week about using conn.close and
conn.dispose (Thanks Karl for your answers!)
I've read in my MS study guide that DataAdapters open and close database
connections automatically.
So, can I just call DataAdapterInstance.Dispose ?
Previously... more >>
Pagination function for search page returning too many hits to display on one page.
Posted by Henrik at 6/2/2005 12:00:00 AM
Hello all.
I'm after some sort of pagination function.
One that takes some in data that I provide, and returns an array of
controls, pointing to page 2, page 3 etc.
Trying to mimic the way that Google handles the pagination when a lot of
pages are returned.
That is:
If you are at page 1 o... more >>
Refresh Page
Posted by PawelR at 6/2/2005 12:00:00 AM
Hello group.
Sorry my english is very littel but I try explain my problem.
In my www aplication I have long page (about 4 screen). On the bottom of my
page is DataGrid. If I change state this dataGrid to edit site is refreshed
and IE set window on start (top) of my page.
How refresh page and ... more >>
Creating a local windows user
Posted by MAQ at 6/2/2005 12:00:00 AM
Hi,
Is there a way to create local windows user and give them a specific group
membership through ASP?
/LBF
... more >>
How to Get Row Value of a Table from client side ...
Posted by RC at 6/2/2005 12:00:00 AM
Hi,
I have build a webpage with a WebControls.Table (<asp:Table....> ....).
And I will add some rows during Page_Load() and response to client.
Client can change the Text in the Row Cell by client side javascript. Right
now I want to get back the changed value from the client side.
But I ... more >>
|