all groups > asp.net > january 2006 > threads for tuesday january 3
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
Classic ASP pages not loading
Posted by KJS at 1/3/2006 11:59:56 PM
Help,
I'm not sure what exactly is happening but I can say this, classic asp
pages are not loading on my local dev box. They use to work! Since
then I have installed .NET 1.1 Studio (that is working, and so is ASPX
pages), installed .NET 2.0 Studio (this never worked, it broke
everyth... more >>
HTML editor for Safari browser
Posted by Dennieku at 1/3/2006 11:59:03 PM
Hi,
I want to make a little WYSIWYG editor for a CMS I'm developing. This editor
must also be supported by the Safari (Mac) browser.
Does anybody have a little script to show how this is done?
Thx,
Dennieku
... more >>
Establish connection between two users
Posted by Varangian at 1/3/2006 11:55:06 PM
Hi there experts :)
Say a game of chess between two users. What options are there to make
two users play a game between each other using ASP.NET.
An option would be accessing a database each time to send the position
of peaces and each time the other user accesses from the database again
to... more >>
Help Needed,Strange Problem With ASP.NET WebService
Posted by batista at 1/3/2006 9:41:52 PM
Hi there,
My problem is that, i've created a simple hello world web service
project, and then, when i run it to test the operation,the invoke
button does not open any window.
I mean there is no response when i click the invoke button, no window
containing the output opens.
It just does n... more >>
Search multiple MS Access database files via asp.net web application
Posted by willington79 NO[at]SPAM gmail.com at 1/3/2006 7:27:21 PM
Hello all,
We have a payroll application that runs with MS Access. It is comprised
of several different database files and one ms access mdb file for each
client. This means there can be from 10-1000 different MDB files. We
have a web application that we designed to do various things with this... more >>
Email message using MS Sql Server
Posted by Just D. at 1/3/2006 6:41:25 PM
All,
What is the simplest way to send an email message through the MS SQL Server?
There was a method to send email messages using a standard C# way via SMTP
server, but the required port was blocked on our server for the security
reasons. So there is the only one method that I see to send ... more >>
BUG: Web User Control
Posted by Trevor Benedict R at 1/3/2006 6:40:56 PM
ASP.NET 1.1
Not sure if anyone else has encountered this. I just created a Web User
Control with a name that starts with a Number. The class gets created with
an underscore. So far so good. The project gets compiled. When I drop this
control onto a Web Form, VS.NET crashes. Has anyone else ... more >>
2.0 dataset issues - again
Posted by GaryDean at 1/3/2006 5:48:54 PM
In an 2.0 asp app I used vs.net 2005 to create a TableAdapter:Dataset in my
App_code directory. I also created a new vb class in that same directory.
I have two issues:
1.
I notice that there are errors in the xml code for the dataset...
<TableAdapter BaseClass="system.ComponentModel.Compo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Popup dialog page
Posted by Kiyomi at 1/3/2006 5:31:22 PM
Hello,
I have some codes under event ButtonSend_Click to check the user input
values. This check is complicated enough using different stored procedures.
Then according the result of the checks, I would like to display a popup
page in which the user can select "OK", "Cancel" etc.
N... more >>
How to use 'VaryByControl' on ASP.NET 1.1?
Posted by ABC at 1/3/2006 5:08:46 PM
<%@ OutputCache Duration="5" VaryByParam="none"
VaryByControl="lblCustomerCode" %>
I have this error when I run my application. How should I to do?
Parser Error Message: The 'VaryByControl' attribute is not supported by the
'OutputCache' directive.
... more >>
Popups
Posted by Tapi at 1/3/2006 4:49:39 PM
Happy New Year to everybody.
How do I show a modal popup in my ASP application in order to display an
error message?
For example, if a user inputs a start date which is after the end date and
then presses a button, the ASP code will check this and display a message
saying "The start date ca... more >>
VS.net installs sql express as default datastore for role/membership management.
Posted by Bruno at 1/3/2006 3:57:47 PM
Hello,
VS.net installs sql express as datastore for role/membership management.
I don't like this! I'm not able to choose other databases like ms-access, in
the Web Site Administration Tool . (Only AspNetSqlProvider)
I've tryed some c# stuff, but id did not work for me, to much trouble. I
wis... more >>
Can sub folder be a website?
Posted by brett at 1/3/2006 3:23:25 PM
On my local machine, I've created an ASP.NET website, which will go
into a sub folder of a website on a remote web server. I did this on
my local machine because at some point, this site will have its own
domain and no longer reside in the web server sub folder.
Everything runs fine on my loc... more >>
Catching authentication session timeout during remote callback
Posted by Sosh at 1/3/2006 3:14:50 PM
Hi,
I wonder if anyone knows how an application that employs remote
scripting/callbacks should deal with an authentication timeout during a
callback? At the moment my application just stops working until I refresh
the page and log in again. I'm not really sure what its going in - perhaps ... more >>
customize repeater for printing
Posted by Fred at 1/3/2006 3:13:57 PM
Hello,
datagrids have GridLines, BorderWidth, BorderColor, ItemStyle.CssClass,
ShowFooter ... properties, which can be used to customize the way they
look when printed, how does one achieve the same effect for repeaters
(this r a few simple pages, i dont wanna use Crystal Reports or anythi... more >>
Something to watch out for
Posted by tdavisjr at 1/3/2006 2:57:26 PM
I was extensively using Masterpages today and I discovered a behavior
that had me stumped for about 1/2 hour.
If you create a aspx page that uses a Masterpage and you define a text
box server control and give it an ID of txtName. Now, let say you want
to style that textbox so with css you use ... more >>
Cannot locate source of "Object reference not set to an instance of an object."
Posted by Gummy at 1/3/2006 2:49:53 PM
Hello,
I've been banging my head against the wall for a few days on this.
When I run a page, either in "View in Browser" or I actually build the
solution, I occasionally and very randomly get the following message:
Object reference not set to an instance of an object.
Description: An unhand... more >>
WebRequest problem ("200,38")
Posted by victor at 1/3/2006 2:46:01 PM
Hello,
I'm running an ASP.NET client app which requests a jpg image from the
server location. This image file is constantly updated by another app
at the same server machine - update frequency varies between 200-500
msecs.
The problem: the response the client gets is always "200", aka "OK",
... more >>
gridView on more than one column
Posted by Nalaka at 1/3/2006 2:41:16 PM
Hi,
Default behaviour of gridView is to show top-down (on a single "column").
like...
1
2
3
4
Is there a way to show a gridView to span horizontally
like ....
1 2 3
4
I have a requirement to show a list of about 100 users on a page.
If just go top-down that it becomes a ... more >>
How to force the Page_Load event running when second opening web page?
Posted by ABC at 1/3/2006 2:29:37 PM
When the first web page loading, it is normal, ok no problem. When second
loading web page without closed IE, it cannot raise Page_Load event, how to
fix this problem?
... more >>
forms authentication question
Posted by m.posseth at 1/3/2006 2:27:46 PM
Hi
is it possible with formsauthentication to only protect certain parts of my
website ?
let say i have the following directory structure
default.aspx
logon.aspx
pmain - map with all main website pages
pshop - map with all shop pages
lets say my user enters the url of my webpage... more >>
Display Images vertically via web service
Posted by Peter Lapic at 1/3/2006 2:16:49 PM
I have to create a image web service that when it receives an imageid
parameter it will return a gif image from a file that has been stored on the
server.
The client will be an asp.net web page that calls the web service to render
a vertical strip of images.
After doing some research I a... more >>
How-to? - Process Client-side AND Server-side Code Blocks With aspnet Button
Posted by Joey at 1/3/2006 2:10:18 PM
I have a web application with a page where user can go to upload data
files. When they click "Upload", which is an aspnet Button, I want to
be able to instantly hide a couple of textboxes and buttons on the
webpage before doing the postback. This is because if I place code to
do this in the serv... more >>
Wiki Library
Posted by Newbie at 1/3/2006 1:16:08 PM
Does anyone have or know of a wiki library which is freely available in VB
or C# that I can use to translate WIKI markup in html ?
Cheers - Mr N
... more >>
How do I protect my login page from prying eyes (forms authentication)?
Posted by Alan Silver at 1/3/2006 1:07:29 PM
Hello,
Sorry this is a bit wordy, but it's a pretty simple question...
I have a web site, http://domain/ which is a public site, part of which
(http://domain/a/) is protected by forms authentication.
I would like to configure it so that anyone not logged in, trying to
access the prote... more >>
How should I to release the pop-up page object on memory when I close the page.
Posted by ABC at 1/3/2006 12:53:43 PM
How should I to release the pop-up page object on memory when I close the
page?
I have main page, which will open a popup webpage when a button clicked. In
the first opened pop-up page, it is no problem. After closed pop-up page,
then second click button, it don't run over the Page_Load e... more >>
How to find out if properties of other controls in page is changed
Posted by madani at 1/3/2006 11:41:48 AM
Hi,
I made custom web control. this control have an Event like "TestEvent",
How can I find out if properties of other controls of parent Page is
changed inside this event when I fire that event ?
I need to know which controls changed during TestEvent. I can not
compare them before and after... more >>
The directory name is invalid
Posted by jhcorey NO[at]SPAM yahoo.com at 1/3/2006 11:37:32 AM
In VS2005 I drop a button and a dropdownlist on a web form.
When I try to change the name of these (i.e. from Button1 to btnEdit)
in the Properties panel, I get a message popping up saying "The
directory name is invalid." and it won't let me change the
name.
Any Ideas?
... more >>
getting two urls to point to same page..
Posted by doemon NO[at]SPAM gmail.com at 1/3/2006 11:34:38 AM
I'm trying to simulate what www.myspace.com does, where two urls point
to the same page.
For example,
The url: http://www.xyz.com/duaneger
points to the url: http://www.xyz.com/profile.aspx?pid=10234
I don't want to use redirect. Either one of the urls will display in
the address bar of the... more >>
1.x and 2.0 simultaneously?
Posted by Andreas Zita at 1/3/2006 11:33:10 AM
Hi!
Is there any issues with running 1.x and 2.0 apps simultaneously on the same
server? (IIS/XP)
/Andreas Z
... more >>
how to increase size of an array in C#.net
Posted by yoshitha at 1/3/2006 11:00:05 AM
Hi
Can any one tell me how to increase size of an array in C#.net with ASP.Net?
its very urgent for me
thanks
yoshitha
... more >>
Windows 2003 Server
Posted by Mark Rae at 1/3/2006 10:55:36 AM
Hi,
I've just built a Win2k3s machine as a UAT box for testing ASP.NET v2 apps.
I installed the OS, then IIS, then applied v2 of the Framework.
However, none of the v2 ASP.NET sites works, and when I look in Control
Panel, Administrative Tools, there is no Microsoft .NET Framework 2.0
Co... more >>
How to solve this problem?
Posted by Andrew at 1/3/2006 10:46:04 AM
Happy new year, friends,
When I tested my asp.net app with a new set of data, I got the following
error:
A potentially dangerous Request.Form value was detected from the client
(TEXTAREA1="...Request = <bitMapMessage type=...").
Description: Request Validation has detected a potentiall... more >>
StringBuilder to Text
Posted by Jim Heavey at 1/3/2006 9:18:03 AM
Hello, I a m building an email message in a StringBuilder Object and then
using the StringBuilder ToString() method to get it to regular text. It
appears to me that when I place a "\n" into the Stringbuilder object that
when this is translated into text, I loose the page break. Is this true ... more >>
Type.GetType and ASP.NET 2.0 /App_Code directory
Posted by johnrlewis NO[at]SPAM hotmail.com at 1/3/2006 8:58:48 AM
I need to dynamically create an instance of a class that is in the
/App_Code directory. I do not know the name of the class at
design-time. It is provided to me in the form of a string.
If I use Type.GetType("MyClassName"), I get a null reference because I
did not specify an assembly name. I c... more >>
Export Datagrid to Excel
Posted by Sridhar at 1/3/2006 8:46:02 AM
Hi,
I have to export data inside the datagrid into an excel worksheet. I have
to do this on button click event. I am trying to do like this.
First get the DataTable from the datagrid and iterate through each row to
get the data. I am not able to get the DataTable from the datagrid. How c... more >>
losing value from session
Posted by Sukh at 1/3/2006 8:27:38 AM
Hi,
I am using ASP.Net with C#. My application is using a control and when
control object is created my application set all the values to that
control. This also contain connection string values. Control add
connection string to session and rest values send to second application
in XML format... more >>
logging out
Posted by Mike P at 1/3/2006 7:55:11 AM
I have a series of anchor tags in a menu. I have added a logout option
to this menu, and I need to end the user session on the logout, which
redirects to the default page. Would it be a good idea to use
Session.Abandon in the Page_Load of the apps default page to do this, or
should I keep this... more >>
Accessing UserControl Property from Page
Posted by tdavisjr at 1/3/2006 7:49:36 AM
Ok.. Here it goes.
I have a MasterPage that includes a UserControl (HeaderControl.ascx)
that has the ID of Header1 in the markup in the Master Page. Now, the
Head1 usercontrol has a property called Title.
Then, I have a Test.aspx page that uses the Masterpage and I want to be
able to acces... more >>
Regex expression to remove some html tags
Posted by Spondishy at 1/3/2006 6:53:54 AM
Hi,
Does anyone have a good regex expression to remove some html tags that
would be efficient in .Net. Basically I want to keep anchors, bolds and
a few others, so an expression that says remove all tags except these
few would be best.
Thanks.
... more >>
How can check for numbers or http links in the text entered in a textbox
Posted by savvy at 1/3/2006 6:19:37 AM
I'm developing a jobsite in which i'm working on Job Posting section.
When the job is posted by the employer or any other agency they need to
fill in all the related details in the respective textboxes. In the job
description section i've provided a multiline textbox, in which i want
to avoid th... more >>
Changing the Webservice reference dynamically
Posted by Vidds at 1/3/2006 6:02:03 AM
Hi All,
Got an error while changing the url behaviour property from static to dynamic.
The error was following
Writing the dynamic URL properties to the config file failed because an
error occurred while trying to open and parse the file.
Can anyone help me on this?
Thanks & Regards
... more >>
Compiler Error Message: CS0433
Posted by paps at 1/3/2006 5:49:01 AM
I've published my website into IIS and i receive this error when i call the
default page
Compiler Error Message: CS0433: The type 'ProfileCommon' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\710cd38c\3f7cccae\assembly\dl3\6f3dd963\8a8c5aef_2e00c60... more >>
Get the client PC Windows user name and PC Name.
Posted by Jared at 1/3/2006 4:44:43 AM
Hi
I am trying to get the Windows username and PC name from the client PC
in VB or c#.
I am using 'forms' authentication and 'anonymous access' in IIS. Is it
possible to get the client PC's windows username and Computer Name
whilst using this combination?
Access levels to various pages a... more >>
When is IHttpModule.Dispose method called?
Posted by Simone Busoli at 1/3/2006 3:45:02 AM
Hello, I am trying to understand when IHttpModule.Dispose method is called.
Is it called when the Application is disposed, or when the request ends?
If I want to make an object Application-wide and close it when the
application ends can I use that method or write something like this in the
... more >>
XML ComboBox
Posted by Thom Little at 1/3/2006 3:44:58 AM
I would like to have a combobox populated with the ID in each node of an XML
file. Is there a preferred way to do this? What was the source of your
information?
A stripped down copy of the XML file is ...
<?xml version="1.0" encoding="utf-8"?>
<profiles>
<profile>
<id>One</id>
... more >>
Dynamically added user control throws object not set
Posted by andyrich_1 NO[at]SPAM hotmail.com at 1/3/2006 1:20:38 AM
HI,
I'm adding a usercontrol to a webform in the following way
Dim ctlRate As New ctlRatesTable
ctlRate.SomeMethod()
Me.Page.Controls.Add(ctlRate)
Where sub routine "SomeMethod" attempts to set the text property of a
lable webcontrol. The problem is... more >>
Webcontrols are NULL under certain circumstances in User Controls
Posted by kens NO[at]SPAM 180solutions.com at 1/3/2006 1:13:37 AM
I've found some odd behavior in dynamically loaded user controls under
ASP.NET 2.0. Specifically, if I load a control dynamically, in the
"Page_Load" event, the code-behind for the user control is unable to
access any of the web controls on the user control, as they are null.
Specifically, I ha... more >>
Authentication in Asp.Net 2.0. Please, I need help. Thank You.
Posted by Miguel Dias Moura at 1/3/2006 1:10:20 AM
Hello,
I am working on an Asp.Net 2.0 / SQL 2005 web project where:
1. All users must login.
2. There will be two user types: student and professor.
The students and professors are not related.
IMPORTANT:
All students and professors will have a name, phone, ...
However, other informati... more >>
How to convert to color?
Posted by VB Programmer at 1/3/2006 12:19:16 AM
How do I convert the following to a HEX code I can use in HTML documents?
1. [A=255, R=0, G=0, B=192]
2. Aqua
FYI: When I print the session variable I'm storing this color in (in the
Immediate window) I get this:
? session("MyBackgroundColor")
"Color [A=255, R=0, G=0, B=192]" {String}
... more >>
|