all groups > asp.net > may 2006 > threads for thursday may 25
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
Move website from File System to http
Posted by loga123 at 5/25/2006 11:53:27 PM
Hi All,
I am new to asp .net 2.0. I am using VSD 2005 and asp .net 2.0.
I have created a web application on my desktop under 'File System' (not
under 'http').
I would like to make it available for other users using my computer's
IP.
I have database set up on my desktop. I have IIS 5.0 on m... more >>
VS 2005 ASP.NET applications and /bin/*.dll file(s)?
Posted by Willy S at 5/25/2006 11:26:01 PM
Where has the /bin directory with the *.dll file(s) gone in asp.net projects
in vs 2005?
I cant find any /bin directory in the projects - so how can I ftp a new
web/web-service to prod. server without the corresponding *.dll file(s)?
....
Finally I found a new item in the Build menu, "Pub... more >>
Can not get IIS to run ASPX when I am connecting to SQL DB.
Posted by Phillip Vong at 5/25/2006 10:43:27 PM
I'm using VS 2005 connecting to a SQL 2000 DB on another server. The SQL is
also running IIS 6 with ASP.NET 2.0
When I test the aspx on my computer, it has no problem getting the
information from the SQL. Doing some research, I found I needed to run
aspnet_regsql.exe against my DB. I did and I... more >>
2.0: unexpected Application_Error
Posted by R.A.M. at 5/25/2006 10:39:25 PM
Hello.
I need your help in the following problem:
I have ASP.NET application with starting page Default.aspx.
On Default.aspx.cs page I have (.aspx contains no code):
public partial class DefaultPage : System.Web.UI.Page
{
class DemoLogin : Login
{
public DemoLogin(string ... more >>
calendar control
Posted by Jessica Weiner at 5/25/2006 10:02:11 PM
I have an ASP .NET web application and I am using the calender control to
display the month view and some events that are scheduled to happen during
the month. Whenever the user selects a month, the page re-loads to show the
update calender view. I would like to make it as seamless as possible so... more >>
Who Knows the CreateUserWizard Control?
Posted by clintonG at 5/25/2006 9:25:18 PM
Does anybody know how to modify the style of he Previous and Next buttons
displayed by the CreateUserWizardStep?
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
... more >>
Namespaces?
Posted by Rob Meade at 5/25/2006 9:06:02 PM
Hi all,
I was wondering if someone could offer me some advice with namespaces...
Primarily when and where to use them - you're explanations will need to be
aimed at the namespace-newbie :o)
I started a project this evening where I was given my classes namespace
declarations, but started... more >>
WebParts - Export/Import cycle
Posted by Robert Bogue [MVP] at 5/25/2006 7:26:32 PM
I've got a test harness I've been building and playing with to manage
ASP.NET web parts. One thing I've noticed is that I do not seem to be able
to reimport the webparts I've exported back on to the same page.
I added a web part from the declarative catalog. I exported the web part.
I tri... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
2.0: SIMPLE QUESTION
Posted by R.A.M. at 5/25/2006 6:23:16 PM
I have a (sample) project 01-ClientScript of the following structure:
App_Data\ (empty dir)
App_GlobalResources\Resource.resx
Bin\ (empty dir)
Default.aspx
Default.aspx.vb (contains Page_Load)
web.config
when I open it in a browser (localhost/01-ClientScript) I can see
result produced by... more >>
Login Control LoggedIn event is user Authenticated
Posted by Shimon Sim at 5/25/2006 5:46:04 PM
I am working with LogIn control and need to set some property for profile
after user is authenticated. I thought that LoggedIn event is the right
place but system tells me that the property can't be set for anonymous user.
I checked User.Identity.IsAuthenticated = false. So when is the good pla... more >>
view state
Posted by Vikas Kumar at 5/25/2006 5:44:31 PM
view state is saved on server or on client side
like it is used in postbacks and finally in encrypted form saved on client
side
but is it also on server side
... more >>
question
Posted by John at 5/25/2006 5:30:00 PM
I took over an existing .NET 1.1 app and when its getting data its using
about 99% of inline SQL statements, such as SELECT * from table, or UPDATE,
and INSERTS, and its also doing some SELECT on views. I would like to
convert all of the inline SQL statements into stored procedures, but the DB... more >>
Javascript alert() when deleting rec with gridview
Posted by loga123 at 5/25/2006 5:13:16 PM
I am using a gridview with ASP 2.0 and VB.Net 2005. I would like to be
able to pop-up a javascript alert('Are you sure') confirmation when the
user clicks the 'Delete link' without adding an additional column for
this, but I cannot figure out how. Can someone help? Thanks.
... more >>
Reading contents of DataList problem
Posted by David at 5/25/2006 4:06:38 PM
Hi,
This one appears a little strange to me. Here is the scenario.
I load a datalist the first time a page is run. The page has a !IsPostback
and the datalist gets loaded at this point.
I have a button on the page, where I want to read the contents of the
datalist. As an example that I ... more >>
Multiple Data sources in TemplateColumn
Posted by tshad at 5/25/2006 3:54:01 PM
The following gives me an error:
Character is not valid
The TemplateColumn
<asp:TemplateColumn Visible="true" HeaderText="Meets Job Rqrmnts"
ItemStyle-Width="170px" ItemStyle-VerticalAlign="middle">
<itemtemplate>
<asp:Label ID="ScreenSkills" Text='<%#
Container.DataItem(... more >>
ViewState.Count = 0
Posted by paul.hester NO[at]SPAM gmail.com at 5/25/2006 3:08:08 PM
Hi all,
Does anyone know why the ViewState would be empty?
When I'm receiving a postback, I can access a posted value using
controlName.Value but not ViewState["controlName"].
I have EnableViewState set to true in my master page and content page.
Thanks,
Paul
... more >>
Block the history
Posted by gralet at 5/25/2006 3:08:02 PM
Hi,
What can I do to block or erase the history of the Internet Explorer when a
user navigates in my ASP .NET 1.1 application?, I don't want that the user be
able to return to a previous page.
thnks.
--
__________________
L.I. Luis Graillet Ramos... more >>
Page Dispose
Posted by mac at 5/25/2006 3:05:20 PM
Hi!
Please help me on this, How can I dispose all the object variables I
recently declared on my form ?
seuppose I have this code.
Private dt as datatable
Private ds as dataset
My questions is how can I dispose this private variables before closing the
page?
Than... more >>
Stringbuilder equivalent to XMLTextWriter?
Posted by darrel at 5/25/2006 3:03:29 PM
I want to write an XML file but not to a file...just into memory, so I can
then pass it to a string and stick it in a database.
Seems that XMLtextWriter requires that I write to a filestream.
What I'm looking for is the ease of writing XML that XMLTextWriter has with
the ability to just wr... more >>
asp.net book
Posted by Paul Watt at 5/25/2006 2:54:46 PM
Hi,
Can anyone recomend a book on asp.net and visual studio 2005?
Many thanks
--
Paul Watt
http://www.paulwatt.info
... more >>
Request.Form or IsPostBack and ViewState
Posted by paul.hester NO[at]SPAM gmail.com at 5/25/2006 2:51:15 PM
Hi all,
I'm in two minds about whether to use IsPostBack and ViewState or
Reqest.Form for handling form data.
Is there any advantage in using the old Request.Form method, other than
generating less HTML for the page? Has anyone ever seen any reason to
keep using this method.
Thanks,
P... more >>
Data display? (Continued)
Posted by Ben R. at 5/25/2006 2:51:02 PM
Since the original thread is marked as answered, I thought I'd post here to
ensure visibility.
Hi John and Steven,
I'm going the dataset route as access doesn't seem to be too keen on that
level of complexity in joins. Anyway, I'm curious as to why it makes more
sense to fill a datatable... more >>
running aspx page once a day..how?
Posted by Justin at 5/25/2006 2:29:28 PM
I am trying to setup a window tasks that runs aspx page once a day. Is
there any way I can set this up without resorting to vbscript..
If there is a way I can set this up without vbscript, that would be
helpful...
Thanks
... more >>
Error executing child request for MyPage.aspx.
Posted by EagleRed NO[at]SPAM HighFlyingBirds.com at 5/25/2006 1:56:02 PM
I am developing an ASP.NET 2.0 application using a master page. I have a
DataList control on the master page that has a datasource this is an
ArrayList of objects that have a CmdURL property. This property contains a
string that hold the name of the page to which control is redirected, e.g. ... more >>
User login
Posted by Wayne Gibson at 5/25/2006 1:53:35 PM
Hi,
Was wondering if anybody could help.
I'm looking for a way for a user to sign in only once, so that they can't
sign in again on another machine or browser.
But I also need to handle automatically signing out the user if they don't
sign out correctly..
Anybody got any ideas?
Many t... more >>
Output to Word & Excel
Posted by Mark Rae at 5/25/2006 1:36:32 PM
Hi,
My client has asked me to provide a "quick and dirty" way to export the
contents of a DataGrid to both Excel for analysis and Word for editing and
printing, so I'm investigating client-side automation.
N.B. the environment is a totally enclosed intranet, all the client machines
have ... more >>
question about databind in user control
Posted by ¥øÃZ½Þ at 5/25/2006 12:35:35 PM
Dear All
I have write a user control which is uses to popup a new browser and
inherited ImageButton
It have a user defined property named url
and in the aspx page, the code like this
<ctl:PopupImageButtonControl id="ctlButton"
runat="serv... more >>
Taborder after postback
Posted by kpg at 5/25/2006 12:32:23 PM
After an autopostback event the control that gets focus next
is not the one defined in the taborder, but the first control.
This makes sense becuase the page is reloaded, but of course this
is not the desired behaviour.
I have seen the use of a hidden field, which stores the name of the cont... more >>
problem with getter and setter not working
Posted by Adam Sandler at 5/25/2006 12:26:06 PM
Hi all,
I hope this is an easy one... Using VWD 2005. When I call my accessor
method (getName) I always receive an empty string back. Debugging
shows there should be something there but I cannot figure out where the
problem is actually occurring.
The first couple of lines of my code behin... more >>
Datagrid paging without javascript?
Posted by the friendly display name at 5/25/2006 12:24:01 PM
Simple question:
How to make datagrid paging work without javascript? I have a simple
datagrid, which gets populated by a dataview, it works perfectly, paging
works too, but, as I said, it does only with javascript. I know how to set
the index of the grid etc. My Idea would be using my... more >>
Refreshing page after closing popup?
Posted by VMI at 5/25/2006 11:50:02 AM
My aspx (source.aspx) has a hyperlink that opens a popup page:
HyperLink_anadirNota.NavigateUrl = "javascript:CreateWnd('followup.aspx?id="
+txtNum + "',850,410,true)";
Now I want source.aspx to refresh automatically after I close followup.aspx.
How can I do this?
Thanks.
... more >>
incosistent error on windows 2003 server machines
Posted by Jimi200478 at 5/25/2006 11:46:20 AM
Hello All,
Okay....here goes.We are currently in the process of updating our
servers to windows 2003 server from Windows 2k. Before making any
changes to our production environment, we ran the new servers on our
test environments to make sure that we had everything configured
correctly. We ha... more >>
Controls reset after postback, why?
Posted by Art at 5/25/2006 11:35:02 AM
I have few buttons on my ASP.NET page which are supposed to hide and show
pannels. On the initial load everything is properly populated but then when I
press one of the buttons, which are supposed to hide one and show another
pannel, the state of a button goes from disabled (on the initial l... more >>
How do I suppress the display of validation messages
Posted by Pacer Dawn at 5/25/2006 11:09:02 AM
I have a web control that takes a date input. There are two types of
validation I want to do on this:
1) validate that the date input is in the proper format, and display a
message if otherwise
2) validate that the date is not prior to today, and display a message if
otherwise.
For the... more >>
Visual Web Developer Express and source control?
Posted by briansmccabe NO[at]SPAM gmail.com at 5/25/2006 11:07:24 AM
Does anyone know if Visual Web Developer Express works with Visual
Source Safe?
... more >>
Can't get viewstate to work
Posted by multiformity NO[at]SPAM gmail.com at 5/25/2006 11:01:19 AM
The following page will not load the view state from the statebag
without throwing an exception. After we get this working, I will be
working on viewstate for some custom controls, but one thing at a time.
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls... more >>
I can delete files OUTSIDE my authenticated app, but not inside it.
Posted by darrel at 5/25/2006 10:54:26 AM
I'm trying to figure out why I can't delete a file from within my
application.
Part of my application is protected via forms authentication. If I try to
call a delete file function from within that, I get prompted for a
username/password by the browser/server and eventually just get a permi... more >>
login control validation - how use simple password?
Posted by VB Programmer at 5/25/2006 10:08:22 AM
In ASP.NET 2.0, the login control seems to automatically want strong
passwords. How can I allow simple passwords, such as 6 in length with at
least 1 number?
Thanks!
... more >>
Any idea how to do this? (zoom in/out)
Posted by VB Programmer at 5/25/2006 10:04:53 AM
Any idea how to do this zoom in/out, move, feature:
http://www.anthropologie.com/shopping/product/product_detail_zooms.jsp?productID=11553&tabID=3&view=frt
I want to incorporate this onto one of my ASP.NET websites...
Thanks!
... more >>
Application Object Stores the Same Key Multiple Times
Posted by Alan Foxmore at 5/25/2006 9:52:01 AM
Hi Everyone,
I'm new to ASP.NET so maybe this is easy. I'm using ASP.NET 2.0.
I'm finding that the Application object (the HttpApplicationState
object) is allowing me to add the same key multiple times. The easiest
way to describe the problem is to just show you.
In my Page_Load() I hav... more >>
Debugging mode failure
Posted by Herb at 5/25/2006 9:40:02 AM
while trying to run this project. I recently loaded VS2005 onto my WinXP Pro
computer. Prior to that I was able to start my VS2003 ASP.NET apps in debug
mode.
When I attempt to do so now, I get "Error while trying to run this project.
Unable to start debugging on the web server.
I've ch... more >>
how to use Eval with mailto?
Posted by Arvan at 5/25/2006 9:23:24 AM
hi,all.
i wanna use Eval("DataField") to bind datarow in item template of GridView.
for example:
<asp:Label runat="server" id="Label1" text='<%# Eval("DataField")
%>'><asp:Label>
but how to use eval with control HyperLink?
<asp:HyperLink runat="server" id="email" NavigateUrl='mailto:<... more >>
Menu Controls and CSS
Posted by Bryan at 5/25/2006 8:29:55 AM
Is there a way to make a Menu control ignore the styles set by a
stylesheet?
The reason I ask is that I have built an ASP.Net site with content
pages that use a master page which uses a CSS for formatting. The
problem with this is that I have a menu on the master page that I want
to behave di... more >>
Page Timeout
Posted by Arne Garvander at 5/25/2006 8:11:01 AM
Is there a timeout value for a page.aspx execution?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)... more >>
initializing a date in Calendar control with DayRender
Posted by Peter at 5/25/2006 7:34:02 AM
I tried to initialize a date in Calendar control with DayRender event handler
as the following code:
protected void Calendar1_DayRender(object sender, DayRenderEventArgs e){
e.Cell.ForeColor = System.Drawing.Color.Pink;
Calendar1.SelectedDate = new DateTime(2002, 7... more >>
XML Posting to Web Service Problems
Posted by michael.esposito NO[at]SPAM gmail.com at 5/25/2006 7:11:03 AM
I am having issues with this code. It posts the XML file to the web
service without a problem, but when I go to get the response, it times
out. Even when the timeout was set to infinite, it ran all night
without any response. Anyone know what might be wrong?
Thanks,
Michael
Dim strURL As ... more >>
Master pages
Posted by yossimotro NO[at]SPAM gmail.com at 5/25/2006 7:10:08 AM
Hi,
I have a server that only supports ASP.NET 1.1, as I understand master
pages are available only from version 2.0.
What can I use instead that is as elegant as master pages?
Thanks,
Yossi.
... more >>
new guy needs some help
Posted by Tom at 5/25/2006 7:05:02 AM
Hi,
I'm new to asp.net 2.0 and I'm working on creating a web site that allows
user to log into the web site and view information pertaining to them such as
accounts, sales, and other information they are assoicated with. I've been
reading about the membershipAPI and the Logon Controls, which ... more >>
GridView.SelectedRow - need Help Please
Posted by mosscliffe at 5/25/2006 7:01:53 AM
I have a gridview and in the GridView1_SelectedIndexChanged routine I
am attempting to get at the data in the row
I have done it successfully with cells
'Access the contents of a field in a GRIDVIEW
Dim joe As String = GridView1.SelectedRow.Cells(1).Text
lbxDebug.Ite... more >>
multiple validation summarys and user controls
Posted by steven scaife at 5/25/2006 6:15:02 AM
Hi
I have created two user controls that are the basis of two forms. I havent
included the form tag in the user controls. one of the controls accepts one
input which is a numeric text field and a button that checks the database for
a value. I have a required field validator and a regular... more >>
VB.NET ebook needed
Posted by Pradeep at 5/25/2006 5:58:18 AM
hey,
if anyone has any ebook on vb.net, it would be of most help to me..I
need to refer some concepts on data access and data manipulation in a
database
Pls mail me if you have one
pradeep.mani@gmail.com
Bye
Pradeep
... more >>
Confusion in com application
Posted by yudi at 5/25/2006 5:53:40 AM
from the starting itself i have a confusion in "com component". i want
to know what is a com component. and how to include it into our
project..
... more >>
Null Values in ItemUpdating Event
Posted by clickon at 5/25/2006 4:31:02 AM
I have a DetailsView control and when it get's updated i send an email
containing the new details. I have used the ItemUpdating event handler for
the DetailsView and i am populating the MailMessage.Body property with a
string variable which i build up using something like
String strMessage... more >>
How to debug
Posted by TARUN at 5/25/2006 2:58:58 AM
Hello all
I am new to web technology, so plz excuse me for posting such a silly
question .
I have a code in C#.NET , ASP.NET, Javascript . I am a begginer of
Javascript i don't
understand the usage of script in web application development.
Can i set the debug enviroment for Javascript code... more >>
Invalid character in a Base-64 string. [HttpException (0x80004005): Invalid_Viewstate
Posted by adrian.besimi NO[at]SPAM gmail.com at 5/25/2006 2:05:00 AM
Hi,
I got a serious problem regarding the Server.Execute and/or
Server.Transfer.
Here's the idea of my application:
I have 1 web page named Default.aspx where I execute all my other
pages.
Example: I use:
Server.Transfer(Request.QueryString["Page"]);
this will execute any content... more >>
Creating help file
Posted by jack at 5/25/2006 12:25:44 AM
Hi Im newbie in dotnet and wanted to create help file from dotnet is it
possible to create a help file is there any tool to create help file
thanks for replying me.
... more >>
|