all groups > asp.net > august 2007 > threads for thursday august 16
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
FileUpload Control Question
Posted by Samuel at 8/16/2007 11:01:10 PM
Hi
The FileUpload control doesn't seem to retain the path of the file to
upload, is there a way to change that behaviour?
Thank you,
Samuel
... more >>
Custom Control Installation questions
Posted by Elmo Watson at 8/16/2007 10:40:22 PM
Can anyone send me to a tutorial on how to:
1. Create an Install package that will install a Custom Control to the GAC
2. Create a Custom Tab in VS.Net, with a custom name, which also copy the
control to the New Tab (to be available in all ASP.Net websites)
... more >>
click events no longer work on dynamically loaded web user control
Posted by Jim at 8/16/2007 9:10:01 PM
I have an application that was built using asp.net 1.1. The application
interviews the user with a parent form that loads a series of web user
controls (.ascx files)dynamically with page.loadcontrol. It needs to be
dynamic because the next user control loaded is based on the answer to the
... more >>
Redirection Handling
Posted by at 8/16/2007 7:41:00 PM
Here is my setup:
I have a hosts file setup on the users machine that takes, for
example, www.youtube.com and redirects it to 127.0.0.1. On the local
machine is an IIS server that I would like to handle this youtube
request. So far so good, I can get the request for www.youtube.com
and prin... more >>
validate email and checks blank as well
Posted by Ganesh at 8/16/2007 7:22:17 PM
Hi There,
I need to validate email address with regular expression control, i tried
something like this
^+[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$
but i need to validate even if it is blank, it should say invalid email, but
don't want to u... more >>
Authorization with custom role provider
Posted by Arne at 8/16/2007 6:03:34 PM
I want to implement my own role Provider, by subclassing the RoleProvider
class.
How do I instruct .net 2.0 to use my role provider?
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
Non "mobile" controls on Mobile ASPX
Posted by Alex Maghen at 8/16/2007 6:00:56 PM
Hi. I have Mobile site that I'm building. My problem is that all of my pages
are built as Mobile ASPX pages, but occasionally, I need to use controls
which are not mobile. Most specifically, the "FileUpload" control. Now, most
phones don't support this feature, but some do and for them I need ... more >>
HttpServerUtility instance method
Posted by Arne at 8/16/2007 5:58:36 PM
How do I intitialize an instance of HttpServerUtility?
There should be a method called getcontext or something similar.
Dim s As System.Web.HttpServerUtility
Dim name as string = s.MachineName ' No instance?
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
question on sqldatareaders
Posted by WebBuilder451 at 8/16/2007 5:45:43 PM
given i have a class with a data reader function that returns a reader with a:
function fn_getUserInfo() as sqlDataReader
....
....
....
Return sqlcmd1.ExecuteReader(Data.CommandBehavior.CloseConnection)
end
and the following code for using this reader:
Dim lf As loginfunctions ... more >>
How to prevent a logged-out user from navigating to past pages?
Posted by Richard at 8/16/2007 5:43:49 PM
Hi,
After the user is signed out and taken to the login page, they can still use
the back & history features in the browser to access pages. Every page
(except login) has a check at the beginning to redirect the user after being
logged out, but when the page is accessed via back button, the... more >>
JavaScript in content pages?
Posted by GaryDean at 8/16/2007 5:38:06 PM
I used to do the following to set the cursor when there was no masterpage in
use....
<HEAD>
<title>Login</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultCl... more >>
Connect to SQL Server remote database
Posted by Rnt6872 at 8/16/2007 4:39:25 PM
Hello. All,
I've been trying to connect to my hosting company's (Go Daddy) remote
database. But continuously receive "Server does not allow remote
connections". Do I need a open_source database, or what to have my
web application connect to a remote database?
Please forward any information ... more >>
Vista problem with playing .wav files from C#
Posted by at 8/16/2007 4:07:45 PM
Experts,
I have a simple .aspx page that takes a path to a .wav file, and
plays it. This page works fine on all OSs (Windows 2000, Windows 2003,
Windows XP), but not on Vista. Could the protected mode on vista be
interfering with this page? Any other ideas on why the code does not
work on... more >>
Selecting DDL item based on TEXT? Why isn't this working?
Posted by darrel at 8/16/2007 3:22:30 PM
I have a DDL list along these lines:
item value="1" text="a"
item value="2" text="b"
item value="3" text="c"
item value="2" text="d"
item value="2" text="e"
item value="1" text="f"
item value="1" text="g"
The data I'm retrieving from the database maps to the TEXT field of the
items. So... more >>
Regex problems
Posted by George Ter-Saakov at 8/16/2007 2:35:17 PM
I need a regular expression that would validate string like this.
aa5677
Any 2 literal characters and then any amount of digits from 1 to ...
aa345k is not valid.
Can someone write this for me.
Thanks
George.
... more >>
LinkButton inside a Repeater //OnClientClick //No more quote options
Posted by sloan at 8/16/2007 1:51:47 PM
Asp.Net 2.0
Inside a repeater, I'm trying to do a linkbutton with a OnClientClick
<asp:LinkButton ID="lnbSelect" runat="server"
OnClientClick="location.href='anotherpage.aspx?UserUUID=abc';return
false;">Select</asp:LinkButton>
the above line works, but notice i have a hard coded ... more >>
best way to do a concurrent installation
Posted by Dica at 8/16/2007 1:30:32 PM
i've got an app that needs to install a named instance of SQL Express. VS
2005 allows me to specify required components for my setup project, but
named instances of SQL Express isn't supported. so, my main setup MSI needs
to execute the SQL Express MSI (a concurrent installation). technically,... more >>
Serve up file from outside web application directory
Posted by Brian Simmons at 8/16/2007 11:20:27 AM
I come from a ColdFusion background, and CF has the ability (via something
called CFCONTENT) which allows you to serve up a file which resides outside
your web root directory.
How do I accomplish a similar thing using ASP.net 2 (C#)?
Basically, my web app is creating a PDF document and sto... more >>
Update cache object
Posted by hharry at 8/16/2007 11:16:30 AM
Hello All,
I save a Hashtable of stock symbols + prices to the cache. The prices
are updated every 30 minutes and saved to a database table.
I would like to always have the latest prices in the cache...is there
a way to dynamically update a cache object ?
Pointers appreciated
Thanks
... more >>
Dynamically add row to a table
Posted by AliR (VC++ MVP) at 8/16/2007 11:06:05 AM
Hi Everyone,
I am new to asp.net, and I have a .Net 2.0 webpage with Ajax extensions that
I am working on, on one page I have to maintain a table of edit controls.
When the page is first opened up, it should have one row with an edit
control in it, and an add button. When the user presses t... more >>
Problem with dataset and ajax
Posted by RoFaR at 8/16/2007 10:38:33 AM
I have a dataset, dinamically I create a table and fill them with
data, then I add the table to the dataset, The dataset is stored in a
session variable.
Later When I access the dataset from the session variable I lost all
the changes I did...
Im using microsoft ajax,
thanks for the help.
... more >>
Is Page.Cache shared between all sessions?
Posted by Max2006 at 8/16/2007 9:59:15 AM
Hi,
Is Page.Cache global and shared between all session? What would be the best
way to cache an object and share it btween all sessions?
I like to avoid Application object because it doesn't have Cache's
flexibilities.
Thank you,
Max
... more >>
sqldatasource to fill a datatable
Posted by Tina at 8/16/2007 9:57:42 AM
Can I use a sqlDataSource to fill a datatable in code? How?
Thanks,
T
... more >>
Small ASP Project - Willing To Pay
Posted by at 8/16/2007 9:44:58 AM
See:
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/b986466033404386/89dc163df4fb80f5#89dc163df4fb80f5
... more >>
Unable to configure DNN 4.05.03 - Help needed
Posted by alee at 8/16/2007 8:10:13 AM
Hi,
I am trying to configure DNN 4.05.03 on VS 2005 (DotNet 2) But i am
unable to get it working. I have followed the steps but i am being
failed continuously. Here is the detail what i have done and where i
get fail.
[*] I installed DNN 4.04.03 using VSI Installer. It installed
successful... more >>
Guitars, amps, tabs and more
Posted by cvezvu NO[at]SPAM gmail.com at 8/16/2007 8:05:13 AM
Reviews of latest models of best guitars, fender, gibson, yamaha, and
many more, with pictures and prices.
http://pro-guitars.blogspot.com/
And if you want to win a free guitar go here
http://freeguitars.blogspot.com/
... more >>
ODBC Timeout problems but very hard to pin down
Posted by teddysnips NO[at]SPAM hotmail.com at 8/16/2007 5:51:29 AM
One of our clients has reported a problem. Everything was working
fine on Monday, but since Tuesday all is going wrong. The sysadmin
assures me that there have been no changes to the network, or the
servers.
Three applications, one back-end database server (SQL Server 2000 with
all service ... more >>
validation page
Posted by JJ297 at 8/16/2007 5:24:55 AM
I'm getting an error message on my validation page on this bit of
code:
If Request.QueryString = "" Then
Response.Redirect("cdpadmineditpage.aspx")
End If
This is the error message:
Overload resolution failed because no accessible '=' can be called
with these arguments... more >>
ASP.NET dynamic compilation?
Posted by Sir Psycho at 8/16/2007 12:00:00 AM
Hi,
Does ASP.NET have the same feature of PHP as in can I reupload an ASPX
file and it becomes 'live' with all the new changes?
Do I also need to reupload the site DLL each time I make a code change?
... more >>
Different performance objects for ASP.NET
Posted by archana at 8/16/2007 12:00:00 AM
Hi,
While checking performance of ASP.NET Application using Perfmon tool,
I observed different performance objects for ASP.NET like ASP.NET
v2.0.50727, ASP.NET v1.1.4322, and ASP.NET.
What is the difference between this differnet performanc objects? In
which cases we ... more >>
|