all groups > asp.net > july 2004 > threads for monday july 26
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
Error When using Crystal Reports: 'C' is not accessible in this context because it is 'Private'.
Posted by Richard at 7/26/2004 10:21:40 PM
I keep getting this error and i dont know how 2 fix it. If someone knows
how, please tell me :D
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source cod... more >>
How do I check to see if an object is Null?
Posted by William Gower at 7/26/2004 9:04:41 PM
web.config customErrors cached?
Posted by kelmen NO[at]SPAM hotmail.com at 7/26/2004 8:38:40 PM
Greeting,
We are using the customErrors for error-page-redirection.
There's an instance some error occured and the error-page redirected
as expected. However any subsequent hit to the web app will
consistently being redirect to the error-page.
The problem resolved after we purposely... more >>
Class Library accessing Application object
Posted by William Gower at 7/26/2004 8:31:38 PM
How can a class library access the application object?
... more >>
Help needed Urgently
Posted by walterd at 7/26/2004 8:06:13 PM
Hi
Can anyone help me with the following problem. In my web application, I have
a class that use the MessageBox class to display messages. My only problem
is, messages pop-up on the server screen, not on the client where the user
is logged in. Can someone out there help me with this problem?
... more >>
Redirecting to a new page from a class library
Posted by William Gower at 7/26/2004 7:22:56 PM
When the user logins to the web app, I instantiate my controller class and
call a validate method. From the controller object I want to forward the
user to a web page depending upon the success or failure of the log in. How
do I do a redirect from the class library?
... more >>
Moving from localhost to production
Posted by mavrick_101 at 7/26/2004 6:45:01 PM
Hi,
I am an ASP developer trying to get my hands on ASP.NET. I have created a WebBased Application on my computer (LocalHost). Now I want to move it to site hosted by a hosting company.
Do I move the whole folder? How do I move the application?
Please help.
Thnx... more >>
ASP.NET and Linux
Posted by Mark Goldin at 7/26/2004 6:20:14 PM
Can I run my aspx pages from Linux box?
Will these pages be able to connect to SQL server?
Thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Web Form Design Tutorial?
Posted by Dave Veeneman at 7/26/2004 6:12:38 PM
Are there any good tutorials out there on how to actually design a Web Form
in VS.Net? I'm an experienced .NET WinForms developer, and I am just getting
started with ASP.Net. So far, it's pretty straightforward, except for one
thing: How does one go about building a nice looking Web Form? I'm usi... more >>
IMP:ValidationSummary/CustomValidator/ResetBtn
Posted by SMG at 7/26/2004 5:56:21 PM
Hi All.
My forms has two textboxes, 1 username, 2 password.
Both has requiredfield validator it works fine when there is no input in
these textboxes.
And the errorMsg is shown in ValidationSummary.
Now I want to check the username should contain only chatacters,
( I want to use customvalidat... more >>
Setting an HTML button's onclick property client-side
Posted by Mark Rae at 7/26/2004 5:51:47 PM
Hi,
VS.NET 2003 on WinXPPro, both with all the latest patches and updates,
etc...
I've got a very simple WebForm which is used either to add a new record to a
SQL Server database or edit a record. Depending on whether I'm adding or
editing, I need to do slightly different validation, so I'm... more >>
What about Anchors (#) and ASP.NET?
Posted by Lars Netzel at 7/26/2004 5:01:21 PM
Hello!
I have a LOOOOONG page with a bunch of panels that you can expand and
stuff.. and as you all know when you click on a servercontrol and get a
postback, it reloads and you end up at the top of the page ... is there
anyway to get the postback to add a #anchorname to the Address so I can k... more >>
WebControl from string
Posted by Jack at 7/26/2004 4:47:05 PM
Hi,
I have a webform with Panel.
In callback, I have a string:
"<asp:textbox id="text1">"
I want to "parse and compile" this string. After that textbox should
appears on panel.
Is this possible?
Thanks,
Jack... more >>
Can a common class be used for Header/Footer/Menu? (Beginner - C#)
Posted by nipper1999 NO[at]SPAM aol.com at 7/26/2004 4:37:22 PM
I am new to asp.net development. I have created some aspx pages for
the website and they all have similar "Headers" that reference
external websites and "Footers" that have things like contact
us/faq/etc buttons. Since all of these controls are named the same on
the different pages, I was wond... more >>
Changing Label property
Posted by Viktor Popov at 7/26/2004 4:14:18 PM
Hi,
I'm working on a project that I develop with ASP.NET/MS SQL/C#. When I check
username and password in WebForm1 and they are wrong, I forward the users to
another WebForm2 which have a Label. I'd like to change the Text property
of this Label not in OnPageLoad function of the WebForm2. I'd l... more >>
OWC Chart question
Posted by Ben at 7/26/2004 3:48:09 PM
Hi, I'm making a chart and I have axes / catagory labels that I'd like to
make links. I just have zero clue on how to approach this. I'm thinking
about using an image button and mapping out the location of each top left
and bottom right on each label. The problem there is that I'm also using a... more >>
ASP.NET compiled?
Posted by Ed at 7/26/2004 3:39:34 PM
I want to pay a monthly fee to a hosting company to host my ASP application.
I have some propriety designs in my ASP application which I'm reluctant to
expose the source code. Unfortunately, with ASP, it's all source code.
Is there a way to "compile" my ASP application so that when I upload th... more >>
File Version
Posted by jsetliffe NO[at]SPAM hotmail.com at 7/26/2004 3:26:18 PM
Is it possible with ASP.NET C# to grab either a dll or exe's version?... more >>
MCAD exam question
Posted by martinthrelly NO[at]SPAM yahoo-dot-com.no-spam.invalid at 7/26/2004 3:03:30 PM
hello.
I have decided to study for my MCAD qualifications. I am definetely
going to do a core exam in "Developing Web Applications With C#". I
am also doing a core exam in "Developing XML Services and Server
Components With C#".
These qualifications are very important to me as I am emigra... more >>
Conversion from ASP to ASP .NET steps
Posted by Marcel Balcarek at 7/26/2004 2:38:33 PM
I need to convert (not a rewrite) from ASP to APS .NET to allow session
variable sharing.
Can anyone recommend a link/article/reference that gives the steps required?
Here is what I have so far:
change file names from asp to aspx, and asa to asax
convert ADO to ADO .NET (resultsets to datar... more >>
The best way to uniquely identify anonymous visitors
Posted by muser8 NO[at]SPAM hotmail.com at 7/26/2004 2:37:55 PM
What is the best way in which to uniquely identify anonymous visitors
to an asp.net website? I'd like to create on online poll, but I want
to guard against people hitting the refresh button, scripting posts to
the web form, deleting cookies, ect…
Does anyone have any ideas or know where I migh... more >>
ASP.NET Index Server Windows 2003
Posted by Ryan Moore at 7/26/2004 1:53:39 PM
Anyone have an article about setting up Index Server on IIS for Windows
2003?
I can find plenty of articles on Windows 2000 server, but none on 2003 and
it appears to be different.
Thanks
... more >>
Execution of C#, .NET in Batch under Windows
Posted by news at 7/26/2004 1:44:05 PM
I have a some CPU intensive C#, .NET, MS SQL (with stored procedures) code
to run. I am using a IE to run it now but IE loses the thread after a
while - however the task does complete in the background. I want to run it
directly on server, like a BATCH job (DOS) or CRON job (UNIX).
I dont have... more >>
Read Xml data
Posted by Martyn Fewtrell at 7/26/2004 1:26:16 PM
I am having a problem reading an Xml file and loading it into a dataset in
VB.net (ASP).
I seem to be able to load the remote file from the Url but once in memory I
cant manage to load it in to a dataset.
The readXml appears to want to read a file rather than a variable and I'm
not sure how... more >>
extract UNC path using regular expression
Posted by ksr at 7/26/2004 12:50:38 PM
Hi,
I am looking for a regular expression that would extract UNC paths from a
given string and place that inside a href.
Currently the expression fails if there is a space in the path..
eg. \\server\my doc.doc
is there a regular expression to do this?
TIA,
ks
... more >>
Referencing a User Control in web form code (C#)
Posted by Norton at 7/26/2004 12:50:07 PM
I have dropped a user control onto my .aspx web form.
In VB.Net, I could add:
protected WithEvents myucTest as ucTestCtl
Then, within page load or anywhere else, I could reference the control as
me.myucTest.
How do I do this in C#? I know I probably need a delegate but I am not too
ski... more >>
Adding controls
Posted by Bart Schelkens at 7/26/2004 12:49:56 PM
Hi,
I have another question.
On my asp-page I put a label.
I manually create a table and set that table in the text of the label.
This way my table is displayed.
My question is how can i add 2 columns that contain buttons to that table.
The last two columns of my table need to contain bu... more >>
"Access to the registry key is denied" and OpenRemoteBaseKey
Posted by redvf750f NO[at]SPAM yahoo.com at 7/26/2004 12:34:19 PM
In my test form, WebForm1.aspx.vb, this code successfully connects to
the remote registry:
Try
Dim RegTo As Microsoft.Win32.RegistryKey =
Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive.LocalMachine,
"srvtest")
Catch ex As Exception
End T... more >>
How to setup a sub this way
Posted by Elmo Watson at 7/26/2004 12:27:02 PM
first off - let me say that I'm not using VS.Net - all Inline coding ....
I have a form (using tabstrip) that has a couple of sections - -
CustInfo
BillingCustInfo
I want the name, address, etc to be duplicated from the Custinfo section, to
the Billing Section automatically, for each field.... more >>
Testing Web Application
Posted by Pablo Cedeno at 7/26/2004 12:10:23 PM
Hi all,
I'm looking for a testing tool to test my web application made in aspx
I started working with JMeter but i'm lost in this. I made the simpliest
test, get an aspx page, but now i need to test a login process but i don't
know how to do that.
If someone can help me with this, i really ... more >>
AutoPostback and validators
Posted by Hans Kesting at 7/26/2004 12:02:42 PM
Hi,
I have a pulldown with both AutoPostback set to true and a validator.
When I select an "invalid" value from the pulldown, the validator message
shows briefly, then a postback occurs and the errormessage is gone!
Why doesn't the validator prevent autopostback (or can I set something so
t... more >>
disable enter key
Posted by Stephen at 7/26/2004 11:58:23 AM
Hi,
How do I disable the enter key for a "Form"? so that user has to click the
"Submit" button.
Is there a way of doing it other than using Java/VB script?
Thanks,
Stephen
... more >>
Non secure items on SSL in asp.net
Posted by Brian Henry at 7/26/2004 11:49:32 AM
I created a project and it looks like everything is loading under HTTPS on
all the pages perfectly except one page that it loads saying that the page
contains both secure and non secure items... how would i check to see which
items are loading that are insecure on IIS? the page is writen in ASP.N... more >>
forms authentication
Posted by Brian Shannon at 7/26/2004 11:39:54 AM
I have an intranet site I created when I first began .NET and it is very
basic. Now that I have developed my skills I am looking to revamp the old
with something new. I really like the idea of using forms authentication.
My problem is with assigning roles. The documents I have read talks abo... more >>
Adding javascript event to datagrid control
Posted by Sjaakie Helderhorst at 7/26/2004 11:19:15 AM
Hello,
I need to add a Javascript event (onClick) to a servercontrol
(asp:checkbox). Checkbox is named 'cbDoMail'.
Assumed that 'cbDoMail.Attributes.Add("onClick", "doJavascriptThing()")
would do the job, unfortunately it didn't.
Can anyone point me in the right direction?
Thanks!
... more >>
Question on regular expressions
Posted by ASP.Confused at 7/26/2004 11:12:27 AM
Hey...no one's answering me in microsoft.public.inetserver.asp.general or
microsoft.public.scripting.vbscript, so I'm posting this question here. I
only need help with a regular expression!
----------
Ok. I have the following regular expression:
re.Pattern = "style[^=]*=[^\""]*\""[^\""]... more >>
Web Form Submit 404 Error
Posted by eklypse NO[at]SPAM gmail.com at 7/26/2004 10:56:44 AM
I am running ASP.NET on a Windows 2000 Server and for some reason,
despite the fact that aspx pages load and render just fine, when a
user tries to submit a web form (form runat="server") it returns with
error 404 - File not found.
Any idea why this might be?
Thanks,
-Alessandro... more >>
Copy files between servers
Posted by Chris Strobel at 7/26/2004 10:44:45 AM
I have 2 web servers where I need to write a PDF file and need to keep them
in sync. In others words, If the Server1 is getting called to create the
PDF, then it needs to copy the PDF to the other Server2 and visa-versa. The
2 server are running 2003.
It's a form-based authentication (.NET 1.1... more >>
Providing a live webcam to the website
Posted by Jay Douglas at 7/26/2004 10:18:01 AM
Hello all,
Please provide any advice on a venture that is pretty foreign to me:
I'm going to have a webcam at a remote location that is capturing live
images of a construction site. This webcam is going to need to stream
directly to the clients web site sitting on a webserver with bas... more >>
Setting the backcolor
Posted by WilsonSmith at 7/26/2004 10:15:53 AM
I want to set the back color of radio button to some numeric value.
How to do that(Syntax)?
Something like this.
rbtMyButton.BackColor = #63338b
I am using .Net Framework 1.1.
Thanks.
W Smith
... more >>
event firing
Posted by Paul at 7/26/2004 9:30:09 AM
Hi,
In a class i built, i fire an event when a field changes. In a webform that
has an instance of the class, the event (from the class) is fired and the
code is executed. However, my webpage does not reload (postback) after the
event fires. How do i get the webform to postback when the event... more >>
e.Item.ItemIndex returns wrong value
Posted by sbussing NO[at]SPAM xs4all.nl at 7/26/2004 9:11:15 AM
Hi,
I'm working on a page with multiple Datalist-controls on it. The
problem I'm facing is that when I try to update a record, the
ItemIndex returns a value which is one lower than the Item I want to
edit, so when I update the record, the previous record is changed. I
put some code here, but ... more >>
Closing a web Page
Posted by Mariame at 7/26/2004 8:57:17 AM
Hi Everyone
im trying to close a window using "window.close()"
but it send a message dialog before closing the web page says :
"The Web Page you are viewing is trying to close the window, do you want it
to close this window?"
is there any solutions so that message dialog doesent appear & the we... more >>
Listbox Selected Value
Posted by Big E at 7/26/2004 8:52:39 AM
I'm using ASP.Net and SQL Server.
I have a listbox looks up data from a table and fills the listbox.
I have a stored procedure that looks up the selected values and tries to
show them as selected in the listbox. My FOR NEXT LOOP gets stuck on one
record in the datatable. There are 4 records in t... more >>
virtual static pages
Posted by DotNetJunkies User at 7/26/2004 7:51:18 AM
Hi there,
I need to convert my ASP.NET site from a dynamic querystring site to a static site. Obviously I still want all the dynamic functionality but want all search engines to be able to spider my site.
Can anyone point me in the direction of a full and decent article on this technique as I ... more >>
Sending Emails
Posted by Martin W at 7/26/2004 7:24:55 AM
Hello,
My application sends Emails using the SmtpMail class
and I am reading a HTML page which is then used as the
body for my email.Now this web page has got images also
How would I map the images to be sent as part of the
email.Do I use Server.MapPath
Thanks
Martin
... more >>
How to fill out and submit web forms from a csharp application?
Posted by johnfofawn NO[at]SPAM hotmail.com at 7/26/2004 5:42:44 AM
Hi,
I need to enter data into a database and the only method I have to
enter that data is through a web form.
Is there a way I can write a csharp program that will get the form,
fill it out with the data I provide, and then submit it?
Is this easy or not so easy? What classes do I use to ... more >>
System.IO.IOException: The filename, directory name, or volume label syntax is incorrect.
Posted by sales NO[at]SPAM logicians.com at 7/26/2004 3:51:26 AM
System.IO.IOException: The filename, directory name, or volume label
syntax is incorrect.
I have hit a problem for which I can find no solutions. Has anyone any
ideas?
I am writing XML into a Memory STream and using a Transform to make
HTML. This works fine normally, but I have no the abo... more >>
Windows-only authentication not working
Posted by sid at 7/26/2004 3:31:28 AM
I am trying to connect to SQL serevr using 'Windows only
Authentication'. Below is my code.
Dim strConn As String = _
"data source=localhost; " & _
"initial catalog=northwind; " & _
"integrated security=true;"
Dim conn As New SqlConnection(strConn)
Where as If I change the code to use... more >>
Setting default button on dynamically loaded Web User Control
Posted by Ben Fidge at 7/26/2004 3:29:52 AM
Hi
I'm writing a web application where the entire site is
driven through a single page, and content is dynamically
loaded using Web UserControls. This is achieved by using
Page.LoadControl() from within the main page.
My Login UserControl has a "Login" button and I want that
to become ... more >>
aspx web form controls and client side java script
Posted by Rea Peleg at 7/26/2004 2:15:34 AM
Hi all
Is it possible to handle web controls events on client side???
I wrote a simple favascript function inside the <header> area of an aspx
web form.
This function is called on selectedIndexChanged event of server side radio
button list,
but i can not get there . During compilation, it... more >>
Opening Word from .net
Posted by Thomas Scheiderich at 7/26/2004 1:26:22 AM
I can't seem to open a word document from any of my browsers except the one
on my web server.
Here is the .aspx file:
*****************************************************************
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ import Namespace="System.IO" %>
<Script Runat="Serve... more >>
Converting a generic Dataset to a typed dataset
Posted by William Gower at 7/26/2004 12:43:52 AM
I have a method called RetrieveAll that returns a Dataset
The object that is calling this method expects to receive a UserDS. I don't
want the RetrieveAll to have to know about the UserDS but just return a
dataset and the calling method will convert it to a specific typed dataset.
How do I do... more >>
|