all groups > asp.net > september 2006 > threads for tuesday september 5
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
Error BC30451
Posted by SinCity at 9/5/2006 10:53:50 PM
I am getting the error "BC30451: Name '__w' is not declared". How can I fix
this? Here is my code...
<script language="javascript">
document.form1.PageUrl.value='<%=Request.ServerVariables("HTTP_REFERER")%>';
</script>
... more >>
Security exception with impersonate true for a webservice
Posted by KaNos at 9/5/2006 10:21:54 PM
Hello world,
I've made a webservice (c# v2) to install in a server IIS 6 on a Windows
2000 last SP. We can use the webservice in local, throw the pages wich
present the methods, with a windows mode connection (<authentication
mode="Windows"/>) if impersonate is false (<identity
impersonate=... more >>
System.Net.Mail SMTP Pickup Dir
Posted by mpaine NO[at]SPAM htxml.com at 9/5/2006 9:52:58 PM
Hi,
I am trying to write .eml files to a remote UNC directory - do you
know if this could be done, such as:
<mailSettings>
<smtp>
<network
host="localhost"
... more >>
wildcard mapping
Posted by Jan Kucera at 9/5/2006 8:53:47 PM
Hi,
does anybody know about wildcard mapping ASP.NET 2 in IIS6?
Any tutorial?
Thanks,
Jan... more >>
OleDbDataAdapter created in code behaves differently from one created by wizard.
Posted by tom c at 9/5/2006 8:28:20 PM
I create 2 data OleDbDataAdapters, one with the wizard, and one in
code. I know the adapter created in code is OK because I use it to
fill a data table.
However, when I try to use the same SQL insert statement in the two
adapters, the adapter created with the wizard works fine, but the
adapt... more >>
Overture/Yahoo & Google PPC referral tracking
Posted by Ben Fidge at 9/5/2006 7:37:00 PM
Hi
My customer has signed up for Yahoo/Overture and Google PPC (Pay Per Click)
and I need to be able to track what sessions are referred via them. It
appears that referrals from Yahoo/Overture pass certain parameters in the
querystring such as "OVRAW" and "OVKEY". Does anyone know if this c... more >>
Q about ASP speeds
Posted by mpaine NO[at]SPAM htxml.com at 9/5/2006 6:35:44 PM
I just converted lots of ASP to ASP.NET (using ASP2ASPX) and noticed a
drop in rendering speed. For example, one ASP page takes 0.0313s to be
generated while the ASP.NET version takes 0.4842s. Granted they are
both fast but the ASP speeds makes me think ASP object caching is
better/faster (as ... more >>
Iframe extra space
Posted by Mike at 9/5/2006 6:24:12 PM
All:
I am a newbee to ASP.NET
I have created an aspx webpage for the title bar which I want to use in
other pages in the website.When I use an iframe in webpages to use the
title bar, I get an unknown white space after the titlebar followed by
the regular pages. I use the following syntax in re... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Authentification - Server Variables ( omg! )
Posted by Adrian Parker at 9/5/2006 6:12:10 PM
Have two domains, which are non-trusted.. and will never be I've been told.
Users on one domain need to access a website on the other domain, but don't
want to have to enter any credentials as they've already logged into their
own domain. Their domain login user name is duplicated in a databa... more >>
Build Failed but no Errors
Posted by Proteus at 9/5/2006 5:27:25 PM
Hi,
I am using ASP.NET 2.0 with VS.NET 2005. Recently when I build a web
project I am getting a lot of failed builds. But no build errors are
displyed. Then I look for ages and manually find the error myself.
Sometimes I can't. Why isn't VS.NET reporting my errors correctly?
Anyone else had... more >>
Do I need to close Reader if I close the Connection?
Posted by tshad at 9/5/2006 4:43:53 PM
I have a situation where I could
Try
Open a Connection
ExecuteReader
Close Reader
Catch
may not happen - Possible if this a Timer in a Windows Service
End Try
The problem is that the connection and/or the Reader may be open when I get
to the "Open a Connection".
... more >>
.NET 2005
Posted by lasalsatx NO[at]SPAM newsgroups.nospam at 9/5/2006 4:20:50 PM
How can I debug javascript code on a page while the page is running?
Thanks,
Victor
... more >>
sending value between user controls
Posted by Jeff at 9/5/2006 4:03:51 PM
Hey
asp.net 2.0
I wonder what C# code I need to send a value from one user control to
another user control on the same webpage? Maybe some of you have a link to a
great example covering this topic?
Jeff
... more >>
Button inside a custom control...
Posted by tranky at 9/5/2006 3:43:16 PM
Hi boys..
....i've a question for you!
I've a custom control with a button.
Well...
I need to create that:
<mytagprefix:mytag runat="server" onButtonClick="Button_Click">
And in the code behind of this page, i find the Button_Click function.
Ok...
....but how to implements the onButt... more >>
Changing Location of Solution File in VS2005
Posted by Charlie NO[at]SPAM CBFC at 9/5/2006 3:13:22 PM
Hi:
When I begin a new project, the solution file is placed in a seperate
directory with "(2)" appended to file name. I don't like this. How do I
move it to another location?
In VS2000, you could just select solution file in explorer and do a save as.
In VS2005 the solution file is not sh... more >>
Web.config guidelines
Posted by MQ at 9/5/2006 3:13:02 PM
Hello,
I'm looking for guidelines of what should NOT go into a .config file. Do
you know if there's such a document around? Thank you!
Minh-Quan... more >>
question about URL + GET
Posted by Jeff at 9/5/2006 3:12:35 PM
Hey
asp.net 2.0 (C#)
Retriving value:
In my webpage, I need to retrieve a value from the URL, this is a parameter
stored in the url, like this: www.helloworld.com?testid=34
what C# code shall I use to retrive this testid value?
Setting value:
Another thing I'm wondering about is what C... more >>
Help debugging...where do I look?
Posted by Darrel at 9/5/2006 2:54:28 PM
I've built a mini-CMS tool that one can use to upload and resize images
with.
It's been working fine for months.
All of the sudden, when attempting to upload an image, I now get this error:
-----------------
[NullReferenceException: Object reference not set to an instance of an
object.... more >>
JavaScript or not JavaScript
Posted by Mark Rae at 9/5/2006 2:49:35 PM
Hi,
Just had an interesting message from someone who was unable to view one of
my sites because they have JavaScript turned off, and expecting me to
re-write my site so that they could view it...
I'm interested in hearing other people's opinions about this. I use
JavaScript all the time,... more >>
Problems with System.Net.Mail
Posted by Proteus at 9/5/2006 2:40:01 PM
Hi,
I have written some very simple code that runs within my website that
use system.web.mail to send an email using the SMTP server here. It
works fine. However when I alter the code to work using system.net.mail
instead and put the code in a VB.NET class library it no longer works.
It does ... more >>
Required Permissions Cannot Be Aquired :-(
Posted by Simon Harvey at 9/5/2006 2:35:11 PM
Hi everyone,
If anyone can help me with the following - I would be VERY grateful.
I need to deploy an 2 ASP.net applications that I've been creating onto
one of our live servers. Both applications use the Microsoft Enterprise
Library dlls and have them located in their respective bin direc... more >>
'Could not load file or assembly' every few days - asp.net 1.1
Posted by Richard Bysouth at 9/5/2006 2:23:02 PM
Hi
I am running a site built on asp.net 1.1 on a windows server 2003 (which is
running asp.net 2.0 - shared hosting at my webhost). The site is low traffic
and very simple (mostly static text apart from a couple of usercontrols that
pull info from a sql db).
The problem I'm getting is th... more >>
Displayed and Saved Images are not the same... WHY??
Posted by ThunderMusic at 9/5/2006 2:16:40 PM
Hi,
I run and aspx page that does a BinaryWrite() to the browser... This
BinaryWrite contains a mimetype (image/Jpeg) and the content of a dynamicly
generated image... The image is displayed exactly as expected... The
problem arise when it comes to save the image... then, elements of the
... more >>
Managing Database Connections!
Posted by AJ at 9/5/2006 2:11:02 PM
Hi all,
Just throwing something out to the newsgroup to get a feel for what others
are doing.
I am noticing that with my current coding practice, every time i want to
update a database i generally implement the following pattern.
1) Open db connnection
2) Execute Query
3) Close Db Con... more >>
Master Page prevents using style sheets?
Posted by JT at 9/5/2006 1:39:36 PM
Hi,
I have done a fair amount of style editing inline in ASP. I'm now
using VS 2005 with a standard web project (not Web Application
Project). This is my first foray into CSS in a style sheet and also my
first true attempt at using master pages. I tried setting up a style
sheet with a simp... more >>
Problem with RaiseCallbackEvent
Posted by Chris Cap at 9/5/2006 1:32:02 PM
I am getting some strange behavior when using RaiseCallbackEvent. I have a
form that implements ICallbackEventHandler. During the client callback, a
session variable is set that is used on the following page load. When
debugging through using Visual Studio, everything works fine. When usin... more >>
making sure page loads
Posted by rodchar at 9/5/2006 1:25:01 PM
hey all,
i have a button on my web form that after it posts back it suppose to throw
up an alert. it works fine but that it throws the alert before the entire
page has been displayed. is there any way i can get it to display the alert
after the entire page is displayed?
thanks,
rodchar... more >>
Web.UI.WebControl.Table Control
Posted by Sonu.NET at 9/5/2006 12:33:02 PM
How to sort Web.UI.WebControl.Table Control in asp.net? Please provide a
sample using vb.net!
Thanks,
XD
... more >>
Nested Master pages question
Posted by D at 9/5/2006 12:24:40 PM
Hi,
I've been toying around with master pages and am trying to set up your
standard banner across the top and 3 areas below that, left content, center
content and right content.
I have the banner part being the top level master page and the left content
be nested master page named subMas... more >>
Is it possible to have more than one login control in a website?
Posted by Afshar at 9/5/2006 12:13:53 PM
Hi All,
Is it possible to have more than one login control in a website?
I have 2 different section in my site that have different information,
so I want 2 login process. Can I do it?
\
Thanks in Advance
Afshar Mohebbi
... more >>
Delayed Code Execution?
Posted by Jim in Arizona at 9/5/2006 11:23:51 AM
I realize that by design, web client/server interaction is disconnected.
I'm wondering if there is a way that when a client/server interaction
occurs, if there is a way to start a time on the web server which will
run some code after a specific amount of time (or variable amount of
time), ... more >>
treeview 2
Posted by lasalsatx NO[at]SPAM newsgroups.nospam at 9/5/2006 10:04:59 AM
What's the best way to create new nodes on a treeview 2.0 and save them to
an xml file?
Thanks,
Victor
... more >>
Pulling from Access Query, Cannot Change Date/Time Formats
Posted by Jim in Arizona at 9/5/2006 9:54:44 AM
I have a gridview that's being populated from an access db query. The
problem I'm having is that the date/time fields in access that are
populating the gridview are showing both date and time, when the field
should only be showing one or the other (date or time).
Even on the back end of the... more >>
Dynamic creation of a user control with a dropdownlist
Posted by Hugo Flores at 9/5/2006 9:41:50 AM
I'm dynamically creating a user control based on what the user selected
from a dropdownlist.
The problem I have is that since I want to use the contols' viewstate
inside my user control, I need to create the user control in the Init
of the page that has the dropdownlist. But in the Init event, I... more >>
Please! Doesn't anyone know a better way to do this?
Posted by Coleen at 9/5/2006 9:39:51 AM
Hi All :-)
I am desperately looking for some help/information on how to direct page
flow. Forget what I have done - here's what I need to do:
I have a large ASPX.Net - VB.Net web application (around 35-40 pages) that
once the user logs in, I need to direct them to the correct page, dependin... more >>
How to deal with different client resolution?
Posted by rockdale at 9/5/2006 9:38:22 AM
Hi, How do you guys deal with the different clinet resolution? For
example, you have
800*600, 1024*768 and 1280*1024 on client side.
We used to put everything into a table with fixed width (the lowest
width of your clients' resolutions) then put everything inside the
table with a percentage ... more >>
Interop Word problem+ASP.NET page
Posted by Hospital S.Sebastiao at 9/5/2006 9:22:01 AM
Hi, i'm in desperate need of help to fix a problem that i have, the problem
is the following:
I have an ASP.NET aplication that to open an word template document, this
aplication is in C#(using .NET 1.1 and VS2003), i have register the office
interop DLL in the GAC an have also install the of... more >>
onbeforeunload error
Posted by David at 9/5/2006 9:15:04 AM
I am using a process to warn users when they leave a page that there have
been changes made. I took the example directly from Microsoft example I
found in searching for help on the event onbeforeunload. I have the event
inside the BODY element in my aspx page and it seems to work just fine. ... more >>
best practices passing userid/pwd session variables from UI to Business layer
Posted by absoft at 9/5/2006 9:07:18 AM
What are the best practices for passing UserId and Password stored in
the Session state on the UI layer e.g. ASP.NET Web Forms to the
Business Layer or the Data Layer.
... more >>
Windows Authentication not working for all machines
Posted by tshad at 9/5/2006 8:37:07 AM
I have my windows authentication on our intranet set up as:
<authentication mode="Windows"/>
This works for 15 machines at work fine. Doesn't ask you to logon. It uses
the logon credentials the user used to logon originally
There are 4 machines that it asks for logon credentials (ev... more >>
xhtml meta tags
Posted by chandy NO[at]SPAM totalise.co.uk at 9/5/2006 8:26:54 AM
Hi,
I am trying to set meta data in an asp.net 2.0 application. I tried
this:
<meta name="keywords" content="" id="metaKeywords" runat="server" />
with this in the codebehind:
metaKeywords.attributes("content") = "my keywords"
but the html meta tag that this output was like this:
... more >>
javascript change lost on postback
Posted by Tom S. at 9/5/2006 7:58:02 AM
Hello all,
I have a page that contains two listboxes and an "Add" button. When
clicked, the button fires javascript that moves the selected item(s) in the
first listbox to the second listbox and removes it from the first. This
works perfectly right now. The problem is that when I click the... more >>
Disco.exe?
Posted by Arpan at 9/5/2006 7:37:27 AM
A Discovery file named "Calculator.disco" exists in
"C:\Inetpub\wwwroot\ASPX\WEBSERVICES" folder.
Now when I enter the following command in the command prompt (at the
C:\Inetpub\wwwroot\ASPX\WEBSERVICES prompt):
disco http://localhost/ASPX/WEBSERVICES/Calculator.disco
the following error ... more >>
3 password in asp.net Login control
Posted by Afshar at 9/5/2006 2:06:41 AM
Hi everybody there,
I have a special Login page that wants users to enter 3 passwords
rather than a single password. But can't do it with Login control. I
tried following scenarios:
1. Put an Login in the page and set its Visible = False instead put my
own username and 3 password on the form.... more >>
Writing the asp.net to a file
Posted by Ido at 9/5/2006 1:21:01 AM
Is there an option to write the viewed page to a file on the server?
I have an asp.net page that produce a report according to a user
information. I want to add a button that when clicked the page will be saved
to a file on the server. Is that possible?... more >>
ASP.Net 2.0 & SQL Express: Cannot find stored procedure...
Posted by den 2005 at 9/5/2006 12:43:02 AM
Hi everybody,
I created several stored procedure in a local sql server 2005 express
database, now when I call/execute them in the asp.net 2.0 web page, it
returns an error message of "Cannot find the stored procedure '<proc_name>'",
this is funny, when I execute the command in a sql quer... more >>
Retrieve a value from a PopUp
Posted by Patricio at 9/5/2006 12:00:00 AM
Hello all
I open a PopUp that receives two variables (values). This PopUp must return
a value as well.
How can I retrieve this value?
Thanks a lot.
... more >>
urlMappings all folders must use default.apsx (2)
Posted by Edwin Knoppert at 9/5/2006 12:00:00 AM
Sorry, first message was posted prematurly :)
I'm trying to set the default page when accessing a (sub-)folder.
I know i can do it with IIS but i would like to do it with web.config.
http://www.mysite.com/ is the default.aspx in the root.
http://www.mysite.com/folder1 should be
http://... more >>
how to use atlas with existing aspx pages?
Posted by Bob at 9/5/2006 12:00:00 AM
Hi,
I discovered the new framework 'Atlas' and i want to use it on my existing
application. The problem is that on any page of my existing page, the tag
<atlas: .../> is not recognized.
So my question is: how to use Atlas with existing pages?
Thanks
Bob
... more >>
urlMappings all folders must use default.apsx
Posted by Edwin Knoppert at 9/5/2006 12:00:00 AM
I'm trying to set the default page when accessing a (sub-)folder.
I know i can do it with IIS but i would like to do it with web.config.
http://www.mysite.com/ is the default.aspx in the root.
... more >>
hi help needed
Posted by gauravkg via DotNetMonster.com at 9/5/2006 12:00:00 AM
I am using repeater to display result
eg.
<asp:Label ID="Label1" Width=100% runat=server Text=<%#((DataRowView)
Container.DataItem)["Deal_Title"]%> ></asp:Label>
i want data to be dipayed without using label control how i can do that.... more >>
Cómo recuperar un valor de un PopUp
Posted by Patricio at 9/5/2006 12:00:00 AM
Buenos días
He creado un popup que recibe dos valores, pero este a la vez debe regresar
un valor a la página que lo ha llamado.
Cómo puedo recuperar éste valor?
Gracias
... more >>
|