all groups > asp.net > august 2006 > threads for monday august 21
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
Loading/splash screen / RegisterOnSubmitStatement
Posted by Brian Christensen at 8/21/2006 11:57:19 PM
Hi,
Due to long periods during postbacks I'm experimenting on having a load
screen. Best practice for this I have been unable to find so I hope
someone here can point me in the right direction. I use the ASP 2.0
framework.
I want it to be a generel thing and hence I've played around with
Cli... more >>
DropDownList
Posted by Rick at 8/21/2006 11:21:18 PM
I have been trying to get this dropdownlist to run and I am having nothing
but errors. Anyone know what I am doing wrong?
Any help would be much appreciated!!!
Here is my code.
<script runat="server">
Public Sub Page_Load(sender as Object, e as EventArgs)
Dim conClsf As OleDbConnectio... more >>
Override web.config 2.0 with 1.1 ?
Posted by shibs at 8/21/2006 10:27:06 PM
Hi,
I have a root website in .net 2.0 and a child application (virtual
directory) inside it as 1.1 version. But I am not able to access 1.1 because
error occurs in web.config, because it is inheriting from the parent web
application and it does not understand what it gets.
localhost > 2.0 ... more >>
Put ASP .NET Web Form Data Into a .PDF file
Posted by Rigs at 8/21/2006 10:26:02 PM
Please help!
My client has a .PDF file which he prints and uses as a template for a
rental agreement contract. He would like me to create a web app that will
take some data from a database as well as data from an ASP .NET Web Form and
insert those values into various locations in the .PDF ... more >>
Master-Content in Asp.net - How to set individual Head for each content page
Posted by Rolf Welskes at 8/21/2006 10:10:08 PM
Hello,
Master-Content in asp.net is very powerful.
But:
I have the following:
One Master-Form.
30 Content-Forms which are the webpages used.
Each of this content-forms must have own html-Head-informations.
Example
Master:
<head>
..... for alle content pages
</head>
Conte... more >>
HTTP 404 Redirect does not work
Posted by wwwmike NO[at]SPAM gmx.ch at 8/21/2006 8:56:22 PM
For some reasons my HTTP Redirect for 404 errors does not work for
certain files like .gif .jpg
on IIS Version: 5.1, but it works perfectly with the VisualStudio2005
internal webserver
****Web.Config****
.......
<customErrors mode="On" defaultRedirect="http://www.cnn.com">
<error sta... more >>
Data Only Update
Posted by kpg at 8/21/2006 7:47:18 PM
Hi all,
I have a complex page that displays data that is updated every 30 seconds.
The data itself can be put in in xml format and is rather small, so I would
like
download the data only every 30 seconds and update the page client side.
I'm sure I can figure something out but I'm sure th... more >>
Creating an Application Pool with a Domain Account identity
Posted by Anthony Yott at 8/21/2006 7:28:06 PM
Folks,
Does anyone have a link to the "manual steps" needed to give a domain
account permission to run as the Identity in an Application Pool on IIS 6
with .NET 2.0. Forget about aspnet_regiis -ga. All that command does is just
return a list of options. I've tried about every permutation wi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
The name 'Container' does not exist in the current context
Posted by Arjen at 8/21/2006 7:11:48 PM
Hi,
I do this inside a repeater:
<% if ((Boolean)((DataRowView)Container.DataItem)["Image"] == true) { %>
<%} %>
I get this message:
CS0103: The name 'Container' does not exist in the current context
I need to check this...How can I fix this?
Thanks!
... more >>
LISTBOX : how to insert VBTab or Blank spaces ?
Posted by teo at 8/21/2006 7:11:38 PM
I have a LISTBOX
how to insert VBTab or Blank spaces ?
in Example
Listbox1.Items.Add ("Hallo" & vbTab & "GoodMorning")
or
Listbox1.Items.Add ("Hallo" & " " & "GoodMorning")
Unfortunately I get no separation beteween
I get only: "Hallo GoodMorning"
... more >>
dynamically deleteing subfolder causes ASPNET2.0 website to reset
Posted by msnnews.msn.com at 8/21/2006 6:58:12 PM
hi there,
i've got a photo gallery that programatically creates a subfolder for each
gallery, if i delete the album in my site, it also deletes the subfolder,
but resets my website and i lose the active sessions..
please help! whats the solution to this so it doesnt reset on delete?
tha... more >>
If Statement in HTML
Posted by Rick at 8/21/2006 6:43:27 PM
I am new to ASP.NET I have worked many years in Coldfusion. I am having a
problem finding out how to put an IF Statement into the HTML. How do I do
this in ASP.NET?
Thanks for any help you can give!!!
For example in CF if I want to put an IF Statement I would do something link
this.
... more >>
Directory Securiy: UNCPassword and AuthFlags
Posted by Anthony at 8/21/2006 6:12:48 PM
I am using the Altiris system management web service on IIS6.0. The
Directory Security is fairly straightforward: all the virtual directories
have Windows Integrated authentication, and some of them allow Anonymous.
I need to change the authentication method to be Digest, so it can work
acros... more >>
SQL Connection Error on Profile.Save()
Posted by JoeFusion at 8/21/2006 6:09:34 PM
Hi folks,
I am trying to use the new User Profile functionality in ASP.Net 2, and on
initial impression, it looked simple enough to use.
But I seem to be getting in a bit of a mess as to what is going on
internally, making it difficult for me to trace the SQL connectivity errors I
seem t... more >>
reading from text area throwing exception with <p>
Posted by Vikas Kumar at 8/21/2006 5:26:15 PM
propertyDescription += "<br>" + lblpropertyDescription.Text; //here
i am reading some text from text area
i test wrting "p" in my text area it wrks fine but when i write
<p> in my text area it gives the following error
Error Message:A potentially dangerous Request.Form value was d... more >>
post back does not work after paste
Posted by WebBuilder451 at 8/21/2006 5:19:52 PM
I have an odd problem. I created a page and am using a master. Then i copied
controls from another page on to the content page. I added a link button.
When i hit the link button it does not post back, but jumps to the middle of
the page. I'm sure this has happened to someone here and i did try... more >>
HttpWebResponse.GetResponseStream returns incomplete stream
Posted by ThePants at 8/21/2006 5:17:01 PM
Hi, given the following code, I've been successful in grabbing pages
for parsing, but for a certain page template (containing a particular
piece of code) the stream always ends right after that code. If you try
this with just about any type of url (incuding urls from the same site
without that p... more >>
Speech synthesis software with program interface?
Posted by LurfysMa at 8/21/2006 4:42:11 PM
I am developing some educational software. One of the applications
tests users on spelling. The program currently uses recorded sound
clips saying the word and asks the user to type it in.
For the word "capital", for example, the human would record something
like, "Capital. What is the capital... more >>
Simple 2.0 dataset?
Posted by Justin at 8/21/2006 3:39:28 PM
I'm just learning ASP.NET 2.0 and everything I find on Datasets including
the MSPress book I bought go way to far for what I need. I do not need to
bind a datasource. My source will be a text file that I will read line by
line.
All I want to do is create a dataset and add records to it m... more >>
Dynamicaly adding buttons to Asp 2
Posted by Totto at 8/21/2006 3:20:31 PM
Hi,
Anyone know the best solution to dynamically add buttons to a asp 2.0 page
using data from Sql server?
Are there any contols suitable for this or is it best to iterate the dataset
and dynamicaly add buttons in the asp page?
Totto
... more >>
CSS problem under ASP.NET
Posted by Bruno Alexandre at 8/21/2006 2:55:31 PM
Hi guys,
I need your fine expertise on this matther
I think the problem must be because of CSS (under Style properties)
but, the question is:
Why this is not the same in IE and Firefox?
http://portal.filterqueen.dk/reinholtfinans.dk/aspx/default.aspx
What am I doing wrong? I passed th... more >>
Switching from local server to IIS in VWD Express
Posted by Chakravarthy at 8/21/2006 2:48:13 PM
Not sure if this question has been addressed earlier.
I create a web site using the default web server in VWD Express 2005. When i
then convert the folder to a IIS Virtual folder, the application stops
connecting to the (local)/ASPNETDB database which has the membership data
(created throug... more >>
Dynamic Membership Provider
Posted by ryan.mclean NO[at]SPAM gmail.com at 8/21/2006 2:42:49 PM
Hello everyone,
I am wondering, can the membership provider be changed at runtime?
Perhaps the connectionStringName?
I would like to use a different database based on the server the site
is on.
I suppose that a custom provider could be used to accomplish this, is
there another way?
It... more >>
strange server-side validation postback
Posted by Tim_Mac at 8/21/2006 1:28:55 PM
hi,
using .net 2.0, i have a web form with lots of textboxes, drop-down-lists
etc. There are lots of required field validators and regular expression
validators. When i click the 'save' button, the client-side validation is
executed immediately and the errors flash up on screen. However at... more >>
Put project back online
Posted by Chris at 8/21/2006 12:44:01 PM
Hello
I am using VS2003 to develop a website. The webserver was not available
this morning so I opened the project offline. How do I change this back so
that it opens on the webserver?
TIA... more >>
Refresh page after user downloads file
Posted by Altman at 8/21/2006 12:17:33 PM
I am really scratching my head with this and can't figure out how to do
it or if it is possible. I have page that the user selects the items
they want to import into their local program. The user then hits ok
which the server then generates a text file which shows the file
download box to the ... more >>
aspnet_regiis_–ga_question
Posted by Anthony Yott at 8/21/2006 11:09:01 AM
Folks,
In using the aspnet_regiis –ga command I'm running into an issue. I'm using
this command against a domain account e.g. aspnet_regiis –ga MyDomain\ayott
and it works fine. If I perform the command against another domain account it
doesn't do anything but show all the options. I'm ... more >>
ASP 2005 Localization Issue
Posted by netasp at 8/21/2006 11:00:26 AM
Hello,
I was wondering, how is done for languages that read Top-Bottom or
Right-to-Left? is there away around that or does it have to be a complete
redesign?
because as you know, all controls would have to be shifted either to
Top-to-Bottom or starting from Right-To-Left?
thanks
... more >>
Hashtable question
Posted by Steve at 8/21/2006 10:58:10 AM
Is it possible and feasible to load 40,000 records to a hashtable. If this
happened on a page load event would there be performance issues?
What are other alternatives?
Thanks
Steve
... more >>
DB insertion question
Posted by ^MisterJingo^ at 8/21/2006 10:55:37 AM
Hi all,
I have an asp.net page which allows a user to upload an xml file. The
file is parsed for 2 fields (forename, surname), the result is placed
in a dataset.
I next check to see if the user contains specific information in the
DB, if they don't that data is then inserted.
To do this... more >>
Open or Save a file from .net 2005 treeview control
Posted by shil at 8/21/2006 10:53:25 AM
Hi,
I am trying to list some files from server using .net 2005 treeview
control, which I could successfully do it. Also, I would like to open
the Open/Save dialog box when user clicks on a file name from the list.
How can I do that? If I could open the file even with out the dialog
box, that ... more >>
get drop down value for grid link
Posted by CSharpguy at 8/21/2006 10:25:06 AM
Let me explain,
I have 2 drop downs on my web form and they populate my gridview via a
button and a stored procedure. I have 2 links in my GridView, I need to pass
the value of one of the drop downs in my URL via the query string and that
value is not returned in the stored procedure that is ... more >>
MySQL connector?
Posted by rockdale at 8/21/2006 10:15:40 AM
Hi, All
This is the first time that I code asp.net against mySQL database. I am
confused that which connector should I use 'cause I do not want make
the wrong choice and have some problems later on?
one is from mySQL official website
http://www.mysql.com/products/connector/net/
or ODBC... more >>
Cancel RedirectFromLoginPage
Posted by Matt at 8/21/2006 10:13:59 AM
I have found a scenario where I would like to cancel the =
RedirectFromLoginPage. If a user is authenticated in my web application =
then they manually enter a URL to a valid web page but do not have =
access they are redirected back to the login page, the only problem is =
now when they login ... more >>
Starting point for Atlas?
Posted by VMI at 8/21/2006 9:29:02 AM
I'm looking for some good tutorials on Atlas. I'm working on a simple web
application and I'd like to do it in Atlas.
Any suggestions?
Thanks.... more >>
How to debug using a private address?
Posted by Fred Flintstone at 8/21/2006 9:28:03 AM
I have an odd problem. I'm beating myself bloody trying to get
debugging to work. I have VS.Net 2005 installed on a Windows XP SP2
workstation and on a W2003 Server. The asp.net application is
working. I need to debug. I get the error:
"Unable to start debugging on the web server. The de... more >>
ASP.NET - Making websites look good
Posted by dermot at 8/21/2006 9:27:52 AM
Hi,
I'm a vb.net developer (normally windows forms) and I'm new to ASP.NET
Does anyone know of a code online resource, to download nice master
pages/css style sheets/skins for use in a ASP.NET application.
Many Thanks
Dermot
... more >>
VBScript causing problems
Posted by rishabhshrivastava NO[at]SPAM gmail.com at 8/21/2006 9:07:48 AM
Hello All,
I am using ASP.NET 2.0 and I am experiencing a problem using vbscript
that is this script on client side is preventing the postback of my
controls.
I have a dropdownlist which is supposed to perform some fucntion when
the selected index is changed, it works fine without vbscript co... more >>
Framework 1.0, 1.1, 2.0 Installation order
Posted by SAL at 8/21/2006 9:02:02 AM
From my understanding, you can have Side-By-Side Execution of multiple
versions of the .net framework installed on the same PC when developing ASP
pages, however you must install Framework, 1.0, 1.1, 2.0 in version order for
it to work correctly.
Is this correct? If so, where can I find ... more >>
accessin PC from a PC on network
Posted by saurabh at 8/21/2006 7:57:11 AM
I have a page test.html in my c:/inetpub/wwwroot.... When i am trying
to open that page using http://<IPaddressofmypc>/test.html i get to see
the page....But when somebody else on the network try to run this url ,
he is not able to open this html page....I dont know what to do with
this ????
... more >>
ContextMenus on WindowsLive Mail
Posted by PromisedOyster at 8/21/2006 6:43:30 AM
I like what Microsoft has done with their ContextMenus on their bowser
based WindowsLive email (formerly hotmail).
Does anyone know how they acheived this?
Are there any third party products that do this?
... more >>
User.Identity.IsAuthenticated return true
Posted by Zulander at 8/21/2006 6:23:44 AM
Hi, For some reason my session are expireing when the web browser
closes and User.Identity.IsAuthenticated is truning true,
I have a webcrontrol from login:
Protected Sub Login1_LoggedIn(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Login1.LoggedIn
Dim UserTicket As... more >>
ASP application with antiquated dll
Posted by Caroline at 8/21/2006 6:11:02 AM
Thanks ahead for any suggestions.
Newby question here concerning state.
I am working on a protype for a web page that uses an antiquated 3rd-party
dll. This dll was compiled with Microsoft Powerstation 4.0.
My ASP application will:
1. gather data from a user and write that data to... more >>
window.onbeforeunload get called on other buttons in page
Posted by sonali at 8/21/2006 5:41:11 AM
i want to dopstback should get called on brower's close button click
also
function closewindow()
{
if (window.dialogArguments) {
// Calling the method (given as argument) to cause the postback
window.dialogArguments.doPostBack();
}
else
{
opener.doPostBack();
... more >>
Help, my asp.net application is very slow
Posted by Markus Klein at 8/21/2006 3:40:35 AM
Hello,
my application is really slow.
how can i find out what part of my application is the fault?
somethin is really slowing down anythink. a simple selection in a
calender-object takes more than 5 seconds.
maybe i can put some timers in the application and show it in a textbox
or som... more >>
How to get all Http Headers
Posted by Max at 8/21/2006 12:35:24 AM
hi
In my application i allow user to send mail. now for security perpose
when any user send mail using application i want to store all the http
headers of the user so that i can track the user, means from which IP
mail was sent and other such information. so how i can get all the http
header ... more >>
Steve orrs Droop dpwn calendar
Posted by Flodpanter at 8/21/2006 12:20:02 AM
I have used this dropdown calendar recently and found that it cannot be on
top of windowed controls. this is usually because it isnt itself a windowed
control.
Is this correct?
--
Thanks in advance.
Jonas Toft Christensen... more >>
Getting All Active Web Sessions
Posted by Atul at 8/21/2006 12:00:00 AM
Hi,
I am running .NET Framework 2.0 on windows XP SP2. I am stuck in a situation
where I need to find out a list of all active sessions running in IIS for a
web application.
I know that .NET 2.0 has introduced a new class that facilitate this task
very easily, somehow couldnt recall its ... more >>
|