all groups > asp.net > july 2003 > threads for tuesday july 29
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
Password TextBox VeiwState Text
Posted by Leon Shaw at 7/29/2003 10:37:04 PM
Why Password Textbox do not Save VeiwState doing Refreshing of page and how
do I accomplish this?
... more >>
using static objects (declared in global.asax) in webforms
Posted by ftajdar NO[at]SPAM yahoo.com at 7/29/2003 10:20:20 PM
Hi.
I'm in the process of moving an application from ASP to ASP.NET, & I'm
writing in VB, using VS.NET. I'm new to the .NET framework & have a
basic question regarding static objects defined in global.asax.
In the global.asax file I want to declare some static objects (like an
ADODB.Conne... more >>
New to ASP.Net forms (and Session variables??)
Posted by jloriena NO[at]SPAM hotpop.com at 7/29/2003 10:13:20 PM
I'm trying to write a simple "register form / validate and store in
database / show welcome screen" application with ASP.Net. With
conventional ASP, I used Session variables and it went something like
this:
*****
form.asp
- <form action="ValidateAndStore.asp" method="post">
*****
Valid... more >>
Help:Why can't I use namespace System.Web? It is said that this namespace doesn't exist. But it should exist.
Posted by Èý¹â at 7/29/2003 10:10:31 PM
Securely logging onto an SQL server
Posted by Boris Zakharin at 7/29/2003 9:11:59 PM
How do I log onto an SQL server without saving my password in the connection
string?
... more >>
Generic Error in GDI+
Posted by Alphonse Giambrone at 7/29/2003 8:11:10 PM
I am currently reading 'Programming The Web with Visual Basic .NET' and
have so far found it to be excellent. Downloaded all the code from Apress
and working in chapter 4, I get the error shown below.
I am running IIS5 on WinXP Pro.
Server Error in '/Chapter04' Application.
-------------------... more >>
Upgrade 1 to1.1 Problem need help
Posted by noone at 7/29/2003 7:39:48 PM
I upgraded VS 2003 and asked my ISP (MaximumASP) to upgrade the server to
net 1.1. That was two weeks ago and I am having a problem that will not go
away. When publishing the site from VS I get an error that 1.1 cannot be
found.
Tech takes a few days to figure it out and consult with MS before ... more >>
Programmatically change width of texbox?
Posted by Gandalf at 7/29/2003 7:26:37 PM
I thought this would be straightforward but it's not. How do I
programmatically reduce the width of a textbox by 20 pixels, say?
TextBox1.Width = TextBox1.Width - 20;
doesn't work.
Thanks in advance!
--
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
renaming files using asp
Posted by Roy Terrazas at 7/29/2003 7:19:00 PM
Hi there.
I have a simple question, i need to rename a file using
asp, does any one have this function, or does any one
knows where can get help or data regarding this?
thanks
will wait for answer please use my email
your friend
roy t.... more >>
Nested Repeater - 3 levels - datasource
Posted by Ed Allan at 7/29/2003 5:59:49 PM
I have extended the example at
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;306154 to build a webform page with 3 layers of nested
Repeaters (ie. parent, child and grandchild).
I added a third DataTable to the DataSet, and created a
second Relation between the second and third ... more >>
Ideal way of posting a value to a new page?
Posted by Satish Appasani at 7/29/2003 5:58:36 PM
Is there any ideal way of passing values to another page using Post method
and avoiding Sessions and Viewstate?
I have used Viewstate unsuccessfully. Though I've set all the required
attributes to the form including enableviewstatemac property to false. But
it did not work.
The I used the f... more >>
Popup Request Hanging Main Window
Posted by PJ at 7/29/2003 5:44:54 PM
I want the user to have the capability to continue browsing the site as they
are recieving a file attachment from a popup window, but any requests just
hang on the browser until the file download is complete. What gives? Can
only one request be processed at the same time from a session? Other
... more >>
C# HtmlGenericControl
Posted by coder5811 NO[at]SPAM yahoo.com at 7/29/2003 5:19:47 PM
Hi.
I have an aspx page which has a datagrid sitting inside of DIV tags.
The users can now scroll down to look at the all the items in the
datagrid.
The only problem is that when a selection is made and the page is
reloaded the scrollbar of the DIV tag goes back up to the top. So the
user ... more >>
Expose Assembly As Web Service
Posted by C at 7/29/2003 4:24:30 PM
Hi,
I have a class withing my ASP.Net project which I want
other applications to use so I am going to create a
separate Assembly for this.
In addition to this I want to know if it is possible to
expose this Assembly as a web service that other
companies can use?
What is involved?
... more >>
Is it possible to monitor request process?
Posted by Joel Cade at 7/29/2003 4:10:39 PM
I'm attempting to use an HTTP Module to monitor the progress of the request.
Is there a way to do this? I've attempted to use the Request.TotalBytes
property, and attempted to use the Request.InputStream, but both seem to
only respond after the request has been sent to the server. Any help woul... more >>
Framework 1.1 ASP.NET smartnavigation problem with Panel
Posted by kevin at 7/29/2003 4:00:55 PM
hi, all
it seems that smartnavigation has problem with the hide/show panel in the
aspx page,
I have three panel wih back/next buttons, the first two page works fine, but
at the last
page, all click on the buttons gives an error saying "Undefine" is null or
not an object.
what cauase tha... more >>
Problems with Oracle 7.3.4 and .NEt
Posted by Chris Holliday at 7/29/2003 3:53:33 PM
I am simply trying to query an Oracle 7.3.4 database and nothing seems to be
working. This is the most basic that seems as though it should work:
Dim con As OracleConnection = New OracleConnection("User
Id=someID;Password=somePW;Data Source=oramia.world;")
con.Open()
Dim myCMD As New Orac... more >>
Session Expired (sessionState mode="SQLServer")
Posted by TSelvan at 7/29/2003 3:42:57 PM
Hi All,
We have developmented Web project with ASP.Net and SQL
server Database. In this project we have
configured "SessionState" mode as
"SQLServer" in Web.Config with timeout="180" as mentioned
bellow. But the session expires in 30 min.
Please let me know Regarding this. Thanks for y... more >>
ASP.NET vs Lotus Notes
Posted by Boris Condarco at 7/29/2003 3:37:04 PM
Hi,
Probably this is not the right place to submit my question, any way, if
someone can help me, i would really appreciate it.
My client have a web application based on Lotus Notes, and he wants to
redesign it. In this order i was thinking to migrate it to ASP.NET, to do
this i need to conv... more >>
closing frameset
Posted by Sabre at 7/29/2003 3:26:25 PM
Hi all
This is my code to open my frameset:
Dim myOpenWindowJS = "<script
language='javascript'>myWin=open('Frameset.htm','mySmallFrameset','width=445
,height=350');</script>"
Response.Write(myOpenWindowJS)
How do I close the frameset from one of the windows within? Or maybe
response.re... more >>
Forms Authentication
Posted by Boris Condarco at 7/29/2003 3:00:05 PM
Hi,
I am working with forms authentication, so when the user leaves the
application pushing the exit option the program execute the following
instrucctions:
FormsAuthentication.SignOut()
Response.Redirect("login.aspx")
but, when the user leaves the application pushing the close button of... more >>
opening a new window
Posted by khawar at 7/29/2003 2:57:33 PM
hi,,, in my *.cs file, when the submit button is clicked
i want to have a page open in a new window open.
can someone tell me the code in C# please, no javascript
thanks
... more >>
This takes forever!!!!!!!!
Posted by Helixpoint at 7/29/2003 2:40:03 PM
I know this is a lot of code, but I was wandering why this takes forever to
render on the web page????
*************ASPX PAGE******************************
<%@ Register TagPrefix="uc1" TagName="_Header" Src="_Header.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="machine.... more >>
Textbox Field Format
Posted by Leon Shaw at 7/29/2003 2:23:00 PM
What is the best way (or How) to format a form textbox field so that when
the user is entering data the text don't move (like it's trying to adjust
itself or something) around?
... more >>
SMTPMAIL on Windows Server 2003
Posted by Kevin Spencer at 7/29/2003 2:15:47 PM
We just moved an ASP.Net app to a Windows 2003 Server, and the SMTPMail
fails now with the following message:
[COMException (0x80040220): The "SendUsing" configuration value is invalid.
]
[TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.Runti... more >>
Warning: Page has Expired
Posted by coder5811 NO[at]SPAM yahoo.com at 7/29/2003 2:15:44 PM
Hi, I get the following message when the back-button is clicked
"Warning: Page has Expired". This message only appeared after I used
the following line of code.
Page.Response.Expires = 20;
Is there any way to avoid that message and still use the power of the
Cache.
- Thanks... more >>
Column Size on a datagrid
Posted by Tobe at 7/29/2003 2:14:01 PM
There are two datagrids on the page. One is used to show
the data inside a scrollable third-party panel. The
other is positioned above that outside the panel to
provide stationary headers. I am setting both the
headerstyle.width and itemstyle.width for each column,
but they seem to be i... more >>
Using Validation Controls with Page.ParseControl
Posted by Matthias Lohrer at 7/29/2003 2:11:33 PM
Hi,
I'm playing around with the possibilities of Page.ParseControl.
I parse a string with an input-field and an RequiredFieldValidator-control.
For testing the server-side validation I disable JavaScript
and get this scenario:
- When you enter a name, no warning appears, that's good!
- W... more >>
Hyperlink w/ImageUrl bug?
Posted by Leigh Kendall at 7/29/2003 2:09:06 PM
I can't find any issue in the MS KB, but I'm experiencing the following =
problem which seems to be specific to IE5, and NOT any other version of =
IE 5.5+ or NN 6+.
Issue:
I'm using an asp.net hyperlink control and setting the imageurl =
property. It seems that when the img tag is rendered i... more >>
dropdownlist in a datagrid
Posted by bob at 7/29/2003 2:03:42 PM
I thought I saw this somewhere, but I want to have a
dropdownlist in a datagrid. I have the column as an Item
template, but when I paste in the code for a dropdown
list funky things seem to happen.
does anyone have an example of this?
also - i do not want the user to hit edit on each l... more >>
Mysterious cookie problem
Posted by Bruce W.1 at 7/29/2003 1:58:36 PM
BACKGROUND
My ASP.NET app has been running (or rather available) on a server for
about 4 months now. The server is at
http://www.webhost4life.com/
They don't add cookies to any of the sites they host.
The app was created with VS.NET v.7. And the server is running Windows
2000 Advanced S... more >>
global.asax
Posted by Vanessa Berni at 7/29/2003 12:45:34 PM
Hi all!
I've created a simple aspx application and when I run it locally on my pc
all works fine.
If I move it on the web server I get the following error
Parser Error Message: Could not load type 'xxxxx.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="... more >>
Copy object
Posted by Ric at 7/29/2003 12:24:50 PM
How can I copy an object, generated in an vb.net windows
applic. into an asp.net application?
Thanks
Ric... more >>
store image in DB or in file
Posted by clark at 7/29/2003 12:23:11 PM
I have an app that needs to upload images for each active
member. Which is the best approach?
1. to store the img directly in SQL Server database
or
2. to store path/filename in db and put file on server
volume is potentially 10,000+ images... more >>
Resuse Code / Web Services
Posted by C at 7/29/2003 12:20:13 PM
Hi,
I have a small application that I am developing in
ASP.Net / VB.Net.
I have a class that performs various functions that code
be called by other applications so I am going create an
assembly for this class. Is there any overhead in doing
this?
My main question is - :
Is there m... more >>
Cant add events to HTML controls in a Calander control
Posted by mcbain NO[at]SPAM aol.com at 7/29/2003 11:16:51 AM
Im not getting any error messages but the event is not going off when
i click the button it just posts back to the same page. I know this
code has worked outside of Calanders with the same code. Anyone have
any ideas?
While rdz.Read()
lb(rdz("id")) = New Button
... more >>
change attribute in html elements
Posted by Linus Martinsson at 7/29/2003 11:02:08 AM
How can I change attribute in html elements from my aspx.cs page?
For example if I want to change the src-attribute in an iframe.
//Linus
... more >>
global.asax problem
Posted by Vanessa Berni at 7/29/2003 10:54:37 AM
Hi all!
I've created a simple aspx application and when I run it locally on my pc
all works fine.
If I move it on the web server I get the following error
Parser Error Message: Could not load type 'xxxxx.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="... more >>
Secure WebService Failing
Posted by Matt Sollars at 7/29/2003 10:45:10 AM
I've struggled with this problem, and it's lack of examples, for a couple of
months now. On several different web applications that we have written, we
need to communicate with a credit card merchant servicer. On one of the
projects a secure connection was made with a WebRequest object and during... more >>
Session variable in javascript
Posted by sramruttun at 7/29/2003 10:38:28 AM
How can retrieve a Session value in javascript which I had set in
code-behind ?
... more >>
serializing a class & performance -- advice?
Posted by Jason Shohet at 7/29/2003 10:33:06 AM
We are thinking of serializing an object & passing it toseveral functions on
web service.
This will happen about 35 times as the page loads. The class has about 20
attributes.
We're not sure on the impact serializing something has on an asp.net page
rendering, compared to say, hitting the d... more >>
System.Web.UI.Design
Posted by nic at 7/29/2003 10:24:09 AM
I have been reading about creating custom controls and
many of them use the System.Web.UI.Design namespace. I
don't have access to it. How do I add the
System.Web.UI.Design to my project? (It doesn't show up
under my references and I don't see how to load it. I
have System.Web.UI loaded... more >>
Moving/Installing an ASP.NET Web App.
Posted by Tom S. at 7/29/2003 10:23:54 AM
I have developed a very simple ASP.NET web application on
my local PC. I have IIS running on my local PC. I am
able to successfully open/run this application in
Internet Explorer on my local PC when I browse to
http://localhost/WebApplication1/WebForm1.aspx.
I then copied the WebApplica... more >>
Can not use 'CDO' any long?
Posted by jeff at 7/29/2003 10:10:38 AM
Hi,
I don't know why, when I use MailMessage to send email I get a error "Could
not create 'CDO.Message' object". But it used to work. What I can recall is
I installed Win2K Sp4 and terminal server. The code I used to send the email
follows:
MailMessage Message = new MailMessage();
Me... more >>
Error:Object must implement IConvertible
Posted by Bob Frasca at 7/29/2003 9:54:18 AM
I'm trying to execute a datareader that calls a SQL Server stored procedure
and I get this error. I also tried loading a dataset using the database
adapter Fill method and I get the same error.
I have other ASPNET applications that do these things without a problem.
Anyone have any suggesti... more >>
Head of Static DataGrid
Posted by PABLIN at 7/29/2003 9:52:23 AM
I need that the head of a DataGrid stays fixes when
downwards takes place the displacement with scroll??
(evitando therefore the use of the paginamiento when I
have more of the registries shown in screen and power to
always see the headed ones of the Grid). ... more >>
ASP.NET MailMessage in XP fails
Posted by Frank at 7/29/2003 9:08:51 AM
Straightforward VB.NET 2002 code that works form both
Windows and ASP.NET apps on a Windows 2000 machine, and
works in the Windows app on a newly installed XP machine,
but fails in the ASP.NET code on XP. The unhandled
exception is "COMException: The 'SendUsing' configuration
value is inv... more >>
An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)
Posted by Marco Gerlach at 7/29/2003 8:48:44 AM
Hello,
on one of our customers servers we get following error on first ASPX-page:
An error occurred while try to load the string resources (GetModuleHandle
failed with error -2147023888)
Description: An unhandled exception occurred during the execution of the
current web request. Please... more >>
How to use RichTextBox in ASP.NET?
Posted by Neo Chou at 7/29/2003 8:22:27 AM
Greetings!
I'm trying to make my ASPX page able to process WORD format document. I
learned that RichTextBox might help me, but I can't use it either by adding
it to my Web Control list or by writing "<asp:RichTextBox id="c1" />" in the
ASPX file. The error message shows "Cannot find RichText... more >>
Basic question b/w ASP & ASP .NET
Posted by Newbie at 7/29/2003 7:59:06 AM
I would like to know what is the basic difference
between
ASP and ASP .NET
VB AND VB .NET
ADO and ADO .NET
look forward to your responses... more >>
How To? Reload webapps main page.
Posted by Deasun O'Donnachadha at 7/29/2003 7:58:33 AM
Good morning all,
I have a page that has a frameset with three frames. It
is called Default.aspx. This is the main way into my app.
On a page in the main frame, thats the right frame, of
the frameset I want to reload the whole app on a btn
click event.
How would I do this in code behind... more >>
How to transfer data files...
Posted by Steven at 7/29/2003 7:39:20 AM
I need help on file transfers, to and from, web servers to
remote user computers. If anyone knows of a good reference
I'd appreciate the tip.
If a remote user browses to my aspx page thru a dial-up
connection, is there a way for my web app to copy files
from the server to the users comput... more >>
Do you need Framework 1.1 to access Active Directory objects on a Windows 2003 server with ASP.NET?
Posted by opsdept NO[at]SPAM ihomeowner.com at 7/29/2003 7:27:11 AM
Some of our developers are having a problem making certain code work
that reads the contents of OUs in our Active Directory. It reads fine
when querying a 2000 domain controller but when accessing a 2003
server, it gets errors ranging from Item not found to "Unable to
access directory services".... more >>
MSGBOX Example
Posted by Chuck Traywick at 7/29/2003 7:21:07 AM
I am trying to get a message box to work in a web form.
The code looks right
But when I browse the form I get
It is invalid to show a modal dialog or form when the
application is not running in UserInteractive mode.
Specify the ServiceNotification or DefaultDesktopOnly
style to displa... more >>
thead in datagrid
Posted by David L at 7/29/2003 6:42:18 AM
Is anyone aware of a method to get the datagrid control to
spit out <thead> and <th> tags for headers?
I really want to avoid some pre-render hack manipulating
strings in the output stream.
Thanks,
Dave... more >>
ASP.Net Validation controls not working in netscape
Posted by Srinivasa Raghavan at 7/29/2003 6:38:21 AM
Hi all,
The Asp.net validation controls are skipping the
validations in netscape.Please suggest a solution for this.
Thanks
Srinivasa Raghavan... more >>
how to detect Browser close event.
Posted by sm mehta at 7/29/2003 6:28:19 AM
Hi,
I have a web Application that must be licensed. When Customer buys 2
licensees for my application they can only have 2 copies open at a time.
What I am doing right now is, I am storing No. Of License in the SQL
Table, and on each connection i would reduce 1 license from the DB. My
probl... more >>
recycling the ASPNet_WP.EXE + application-state Objects get lost.
Posted by joerg.grinninger NO[at]SPAM t-systems.com at 7/29/2003 5:57:33 AM
Hello,
I am using ASP.NET, C# under W2K.
I try to keep some important information in application- and
session-state Objects.
With the recycling of the ASPNet_WP.EXE my application- and
session-state Objects get lost.
Therfore I have some questions:
-) Is it usual that the ASPNet_WP.EXE beco... more >>
File upload.
Posted by Onur Bozkurt at 7/29/2003 5:32:31 AM
How can I make a user upload a file to the web server for
example an image file.... more >>
Form Tag of Current Page?
Posted by sc at 7/29/2003 4:27:33 AM
From my codebehind, I am trying to get an object reference to the
current form, so I can perform a FindControl and work with one of the
child controls.
My problem is that I never know the name of the control. How to find
that (using Reflection?)?
Thanks.
*** Sent via Developersdex... more >>
Datagrids with checkboxes and postbacks...
Posted by gavinallan NO[at]SPAM bigfoot.com at 7/29/2003 4:17:39 AM
Hi,
I am trying to get a list of all of the rows in a datagrid where a
checkbox is checked but am having a major headache with the postback.
I'm using VB and codebehind and I have an example which works fine as
long as I don't repopulate the datagrid. Unfortunately I need to
repopulate the ... more >>
best way to get data: request.form, request.params, controlname.value
Posted by Christian H at 7/29/2003 4:13:41 AM
Hi!
I think I remember somewhere that using request.form was a bad idea (I can't
say I remember why).
So I'm wondering: What is the best way to retrieve form values? Is
request.form the best way, or request.params the best way?
Or is it best to get the values by referencing directly to my con... more >>
Treeview
Posted by Diva at 7/29/2003 3:19:49 AM
Hi,
I am developing an ASP.NET application and I need to
display data in the form of a tree view. My treeview
should allow me to display radio button lists as the
nodes. Is there any simple way of doing this in ASP.NET?
Thanks.... more >>
How to Capture Control Initaited the Post Back.
Posted by Lolam at 7/29/2003 3:14:29 AM
Here is my problem,
I am using 3 user controls in a page(Test.aspx) which are
1.Header UC
2.Body UC
3.Footer UC
HeaderUC has a DropDownList control named "ddlList". On
SelectIndexChanged event of ddlList i am repopulating the
page(Test.aspx) with new set of values.Page_Load event is
f... more >>
handling event in server control
Posted by Lloyd Dupont at 7/29/2003 12:15:20 AM
I am developing a special control, in fact it's a <td> tag
however on click I need to submit somedata.
so I write
protected void Render(HtmlTextWriter htw)
{
// ......
htw.Write("<td name='{0}' onclick='javascript:submit()'", UniqueID);
// ..
}
and implement IPostBackEventHand... more >>
|