all groups > asp.net > september 2005 > threads for sunday september 4
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
Multiple <Forms in 1.1
Posted by Jordan at 9/4/2005 11:27:50 PM
I have a situation in which I need to:
1. Programmatically construct an html <form... method=POST> (NO
runat=server)
2. My user clicks to POST that form to a separate Web site.
3. When the <form gets posted to the other Web site, the other Web site
responds by showing a new pa... more >>
Resetting an HtmlInputFile Control
Posted by Nathan Sokalski at 9/4/2005 9:58:31 PM
I have a System.Web.UI.HtmlControls.HtmlInputFile control that I want to
reset after uploading the file. However, all of the properties seem to be
ReadOnly. How can I programmatically reset the control so that the user does
not accidentally upload the same file twice? Thanks.
--
Nathan Soka... more >>
DataList example from Prosise yields no output - don't know why
Posted by Richard Lionheart at 9/4/2005 8:50:53 PM
Hi All,
I took the code from Prosise's DataList example and copied judiciously (I
think) into a new WebForm application. I got only a blank user page as
output. I set breakpoints on statements in the Page_Load but none of them
fired. Below is the code from WebForm1.aspx. Any ideas?
T... more >>
One session per user, how to :
Posted by Fabrice at 9/4/2005 7:28:22 PM
Hello,
I'm looking for solutions to manage the user sessions. At present, i'm using
a MySQL Table to store : Username and password.
But in the Application Web, the couple Username/password must be unique and
not shared between many users. How to ensure this tip.
thanks for your help
fa... more >>
DropDownList is always returning the value from index 0
Posted by Nathan Sokalski at 9/4/2005 7:07:25 PM
I have a DropDownList that is returning the value from index 0 regardless of
which item is selected. The code that I am using to test which index it is
returning is:
Label1.Text = ddlDeleteEvents.SelectedIndex
This is the first line of code in a Button's Click event handler, so I know
... more >>
tool to convert VB.NET into C#.NET
Posted by dee at 9/4/2005 4:16:27 PM
Hi
Is there any tool out there to convert VB source code into C#.NET?
Thanks
Dee
... more >>
XML documentation.
Posted by Raymond Bennett at 9/4/2005 3:31:02 PM
In C# I use the XML schema mentioned on
http://www.mantrotech.com/technology/csharp/article_using_xml_for_csharp_1.asp
in order to document my code. I want to be able to do this for my ASP.Net
code (inside of my .aspx page). Is this possible, and if so, how do I go
about extracting the infor... more >>
How to bind data in datalist
Posted by Jay Villa at 9/4/2005 3:26:14 PM
I have a aspx webform which has executes a query
"Select * from userslist"
I have a datalist for which i have to bind this query
Dim oDataAdapter As OracleDataAdapter = New OracleDataAdapter(sSQL,
ClientConnection)
Dim ds As New DataSet
oDataAdapter.Fill(ds, "LoginInformation")
d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Rebuilt Server, now ASP.NET Problems
Posted by branton ellerbee at 9/4/2005 3:14:20 PM
I rebuilt my server, now my asp.net pages don't work.
The primary problem is that the .aspx page now display the source code.
Before that I was getting an error that said "Virtual Directory Does Not
allow listing"
What in the world is going on? Does Anyone have any idea?
... more >>
How many connections to access 2000 in asp.net are allowed?
Posted by Nick at 9/4/2005 2:36:52 PM
hi,
It seems that I only can have one connection to access 2000 in asp.net.
When I tried to new another one, it says Could not use, file is already
in use.
So, there is no way to create more than one connection to access 2000?
thanks.
... more >>
TextBox's MaxLength does not work when TextMode=MultiLine
Posted by Nathan Sokalski at 9/4/2005 2:14:18 PM
When using a MultiLine TextBox (which generates a TextArea) setting the
MaxLength property has no effect. However, because I am saving the contents
of the TextBox to a DB field, I must limit the number characters allowed. I
would prefer not to do this serverside because that would require a la... more >>
using reflection in codebehind
Posted by PJ6 at 9/4/2005 1:04:48 PM
This kind of threw me, using Me.GetType in a page's codebehind returns a
page type and not the type of the actual vb class. Is there a way to
retreive the vb class type during execution?
Also, is there a way, from the vb-declared type, to retrieve the
ASP-declared type?
Thanks,
Paul
... more >>
caching information locally
Posted by PJ6 at 9/4/2005 11:06:10 AM
I read that information in HttpContext.Cache is persisted through postbacks.
What is the best way of caching information completely locally (more than
10K, less than 500K), without using cookies?
Paul
... more >>
Thread Not Processing?
Posted by AndrewF at 9/4/2005 10:22:24 AM
Hi all.
Hopefully someone will have run into this problem and will be able to
shine soem light on it for me.
Right. I have a class that is being called from an ASPX page which gets
all of its properties set and then calls a function which in effect
means it has to process quite a lot of fil... more >>
Thread was being aborted
Posted by Loui Mercieca at 9/4/2005 9:15:14 AM
Hi,
I have a login page, and after i validate a username and password i use a
response.redirect to the default page. The username and password are stored
in an sql db. In the response.redirect i use some session variables to be
added in the query string. However i am getting a "Thread was b... more >>
ASP.Net Application not working after installation
Posted by Benny at 9/4/2005 9:02:08 AM
Hi,
My wife has made an ASP.NET application...and as a great surprise for all of
us it actually works. It works on her computer, it works when installed on my
computer, it works when installed on customers test-computer. It has now been
handed over to customers it-department for installatio... more >>
Everything happens inside a datagrid, a Complex one ?
Posted by velu at 9/4/2005 2:05:01 AM
{Remember Everything happens inside a DATAGRID}
Situation: I have a datagrid that populates a query from SQL. I have added
another column to it. Now I have placed a link button and a Panel. Initially
the panel is set to visible as OFF.
My need is : I altuaclly need to get he user IP addre... more >>
Objective survey of PHP vs ASP.NET vs JSP?
Posted by David at 9/4/2005 12:34:59 AM
Anyone know of objective a survey of the development time and run-time
considerations of PHP vs. ASP.NET vs JSP? Most arguments for one
environment appear to be more on the personal level.
Thanks
P.S.
I guess I would like to see a test app given to three programmers with
1-2 years in... more >>
w3wp.exe 100% CPU
Posted by Jacky via DotNetMonster.com at 9/4/2005 12:00:00 AM
hi everyone,
I'm developing my website with asp with IIS and 2003 server. Today when I
did some test after editing my asp script, my browser just took forever to
load the page. Then I manually closed my browser and reopen it again for
testing. But the same thing happened again after a few mor... more >>
HTML natual language search engine
Posted by Rob Nicholson at 9/4/2005 12:00:00 AM
I have a folder on a network share containing many HTML documents, in lots
of sub-folders. I'd like to implement a simple search facility whereby the
user can carry out a natural language search on the HTML documents. I'm
guessing the solution would be a robot/crawler service running somewhere... more >>
Transfering to page then coming back again, save viewstate?
Posted by Colin Peters at 9/4/2005 12:00:00 AM
Hi,
Following on from other questions on this issue.
Suppose I have a form and one of the fields is best populated from a
list which is held server side. So I have a button next to the field
which navigates to a new form which shows the list (maybe a list of
images, for example) and allo... more >>
Accessing a control within LoginView
Posted by Davie at 9/4/2005 12:00:00 AM
I'm trying out the new membership services in ASP.NET 2.0.
This is a basic question, but how can i access a control within a LoginView
?
I want to set the value of a label which is inside the LoggedInTemplate.
this.LoginView.LoggedInTemplate
Many thanks.
... more >>
How to get the virtual directory?
Posted by ad at 9/4/2005 12:00:00 AM
Hi,
My Asp.Net program is run in a vitrual directory of IIS.
How can I get the name of virtual directory?
... more >>
asp:DropDownList and databinding
Posted by Mark at 9/4/2005 12:00:00 AM
Hi, I have a DataList which I populate with databound templates.
In one of the template I have a dropdown list which is bound to a database
field consisting of comma-seperated values.
What I would like to be able to do is split the values and for each value
generate a new listitem.
e.g. the... more >>
ASP.NET Server-Form at Runtime
Posted by ingo.beyer*nospam NO[at]SPAM pc-*nospam-*ware.de at 9/4/2005 12:00:00 AM
Hi all,
i've a asp.net page with no content at design time. all it's content must be
rendered at runtime.
i need to use asp.net server controls. - therefore i need a <form
runat="server"...> - is there any way to insert this form definition into
the page at runtime.
the server form se... more >>
|