all groups > asp.net > june 2006 > threads for monday june 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
Newbie question: how to create users after publish a form authenti
Posted by nick at 6/26/2006 10:36:02 PM
I've publish my form authentication app to my web host. It seems the
"publish" function removed the admin user I created. How to add users to the
application? ... more >>
formview insert
Posted by Chris at 6/26/2006 10:24:02 PM
I have a formview based on an SQL Data Source see below. I have a formview
bound to it. The item insert template has a command button with a command
name insert. When I press it the insert doesn't take place in the database.
What obvious thing am I doing wrong!!? Regards, Chris. Could it be so... more >>
Calling a C# from
Posted by Alan T at 6/26/2006 10:08:07 PM
I have written a class or a project contains a form in C#.
How do I call this class/project from within asp.net web page ?
... more >>
CSS problem
Posted by nick at 6/26/2006 9:40:01 PM
I did a search on this forum and find others also encountered the same
problem.
I have the following code on master file:
<head>
<title>My Club Site</title>
<link type="text/css" rel="Stylesheet" href="clubsite.css" />
</head>
The CSS file works fine until I denied the anonymou... more >>
Dropdown List not retaining its SelectedValue
Posted by jung_h_park NO[at]SPAM yahoo.com at 6/26/2006 9:06:46 PM
From: jung_h_park@yahoo.com
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: Dropdown List not retaining its SelectedValue
Date: Mon, 26 Jun 2006 21:02:57 -0700
Hello,
My dropdown list control does not retain its SelectedValue. Unless I
read the SelectedValue right after the ... more >>
Dotnet 2005 Themes
Posted by jack at 6/26/2006 9:02:11 PM
Hi all,
I was just reading books and came across asp.net themes, when i browsed
this location
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\
i was unable to find any themes folder in this location where as the
book clearly states that the theme if in this location
is anythin... more >>
2 servers .... application and database
Posted by Gabriel at 6/26/2006 8:47:32 PM
Hello,
I need your advise. For a big application, we have 2 servers, one for the
application server and the other for the database. Could you tell me the
technical way to use to make search and bring back data from database server
to application server ? (webservices?)
Thanks,
... more >>
Graphic aspect of a text
Posted by Gabriel at 6/26/2006 8:43:57 PM
Hello,
Coulf you tell me how to change the graphic aspect of a text in ASP.NET?
Thanks,
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
File Upload and doPostBack
Posted by Marko Vuksanovic at 6/26/2006 8:15:05 PM
I am trying to cause the uplaod button, id=3D"Upload",when clicked, to =
exectue the onClick event for Button1, id=3D"Button1".
<asp:FileUpload id=3D"FileUpload" runat=3D"server"> =
</asp:FileUpload>
<asp:Button id=3D"Upload" Text=3D"Upload file" runat=3D"server"> =
</asp:Button> ... more >>
ASP.NET/ CONTRACT/ FL
Posted by OMNI GROUP at 6/26/2006 6:37:57 PM
OMNI GROUP
tgugger@sbcglobal.net
419-537-9447
ASP.NET/ CONTRACT/... more >>
Image Conversion in C#
Posted by Dilmurat Sulayman at 6/26/2006 5:30:48 PM
Hi,
I have a jpg image. Now, I'm going to put some text and merge it with other
emf file. So, I converted it to emf file with Image.Save. but I couldn't
load it.
My code is:
Image imgFile = Image.FromFile("test.jpg");
imgFile.Save("test.emf"), ImageFormat.Emf);
Metafile Img1 = (Metafi... more >>
WebResource.axd returns error
Posted by Sergiy Korzh at 6/26/2006 5:09:49 PM
Hello,
We have encountered a strange problem with WebResource.axd service. Please check
a look at the following two web sites:
http://www.easyquerydemo.com
and
http://beta.easyquerydemo.com
Both sites are THE SAME - .aspx pages, .aspx.cs files, web.config, all
assebmlies in /bin ... more >>
Creating files on Client side
Posted by Tanmaya Kulkarni at 6/26/2006 5:01:56 PM
Hi,
Since C# / VB.Net code executes on the server, all the path given during
file creation point to physical path on server.
Is there some mechanism where were can create text files on the client. I
want these files to be different for each client.
TIA,
Tanmaya
... more >>
App / DAL Design
Posted by aeden.jameson NO[at]SPAM gmail.com at 6/26/2006 4:57:37 PM
Hi,
Suppose I'm retreiving all the orders for a customer from the order
DAC. There are several pieces of identifying information I could use
do this. They usually are
1) Primary key, it's usually available. (e.g. Stored in session on
login)
2) Customer identity (e.g. User.Ide... more >>
How to use a webcontrol with Javascript.
Posted by Peregrin at 6/26/2006 4:27:52 PM
Hello world.
I will try to explain my problem. I've a webcontrol with an interface which
provides a choice of methods. After including the webcontrol in a special
aspx page, I want to call an interface webcontrol method from a javascript
function part of special aspx page.
But I don't know h... more >>
newbie: installing visual web developer express 2005
Posted by Jeff at 6/26/2006 3:19:08 PM
Hey
When installing visual web developer 2005, the installation suggest
installing on C: But I want to install it on D:, because I only got 1.6 GB
available on C: and D has 30 GB available...
So I change installation location from C:\Program Files\Microsoft Visual
Studio 8\ -> D:\Progra... more >>
FIPS validated cryptographic algorithms.
Posted by ssgame NO[at]SPAM gmail.com at 6/26/2006 2:21:42 PM
I am trying to create my first ASP.NET 2.0 application but keep getting
this error, no matter if there is nothing in the code other than that
created in the original files.
"This implementation is not part of the Windows Platform FIPS validated
cryptographic algorithms."
I am using VS 2005 ... more >>
CookieLess Sessions and Bookmarks
Posted by Harolds at 6/26/2006 2:19:02 PM
We are currently converting our web site for asp.net 1.1 to asp.net 2.0.
We use cookieless sessions.
We have discovered a problem, when someone using a bookmark set from when
the site was 1.1 they receive the following error:
Description: HTTP 404. The resource you are looking for (or one of it... more >>
Assemblies Need To Run With Different Framework Versions
Posted by ieg999 NO[at]SPAM hotmail.com at 6/26/2006 2:08:34 PM
I have an ASP.NET 2.0 application that uses mulitple assemblies. I
need certain assemblies to use .NET 1.1. These are library (DLL)
assemblies used in my application. These same DLLs are also used in a
WinForm app that will still be using 1.1 so they can't be updated to
the newer version at t... more >>
ASP.NET 2.0 and SQLServer 2000
Posted by Steve at 6/26/2006 1:59:01 PM
Hello!
I have a problem to connect to SQLServer 2000 on ASP.NET 2.0. When I logon
the .NET show me the error <I>"An error has occurred while establishing a
connection to the server. When connecting to SQL Server 2005, this failure
may be caused by the fact that under the default settings SQL... more >>
2.0: CompareValidator problem
Posted by R.A.M. at 6/26/2006 1:53:30 PM
Hi,
I am learning .NET 2.0 and I have a problem with asp:CompareValidator.
On .aspx page I have:
Birth date:
<asp:TextBox ID="BirthDate" runat="server"
ValidationGroup="BirthDate"/>
and it works fine; but when I add:
<asp:CompareValidator ID="BirthDateValidation" runat="server"
Valid... more >>
.NET 2.0: DataLlist with nested LinkButton
Posted by R.A.M. at 6/26/2006 1:42:34 PM
Hello,
Please help me in simple problem. I defined DataList, FooterTemplate
with nested asp:LinkButton, and command handler procedure:
<asp:DataList ID="BooksList" runat="server"
OnEditCommand="BooksList_Edit"
OnUpdateCommand="BooksList_Update"
OnC... more >>
test in code that another web server is operational
Posted by John A Grandy at 6/26/2006 1:38:58 PM
How to write code to test that a web server is currently serving pages ?
For example, in a config file I have :
<DocumentServer>http://docserver.domain.net/docs/en-us/doc</DocumentServer>
In code , I'd like to test that docserver.domain.net is currently serving
pages .... (before includin... more >>
Microsoft Interview
Posted by mark.brito NO[at]SPAM gmail.com at 6/26/2006 1:24:56 PM
My primary intention is to help another person land a job with
microsoft as a senior SDE ASP.NET/SQL/c# positions at >100,000/yr. with
Microsoft, and not to recruit or cash in, as I am an engineer myself.
I just attended 2 interviews with Microsoft (both in Redmond and
Mountain View) and was e... more >>
newbie: cannot move objects
Posted by Jeff at 6/26/2006 1:24:47 PM
Hey
I've downloaded and installed Visual Web Developer Express (I downloaded it
today from microsoft). My problem is that I cannot move the gui objects I
put on the form, I can only resize them?... There must be setting in the IDE
that allow me to move gui objects to their preferred locati... more >>
Determing web-site root
Posted by Mantorok at 6/26/2006 1:05:11 PM
Hi all
Is there anyway of locating the root folder for your current web-site, ie if
I have a site running on http://intranet/applicationname, is there anywhere
in .Net that contains that info?
I've looked at the Uri class but it doesn't seem to cover that, it will go
up to http://intrane... more >>
Session not being displayed
Posted by tshad at 6/26/2006 1:00:43 PM
I am trying to set a session variable an find that the session variable
doesn't get set until I refresh the page.
I am trying to display an image with text on it (Captcha) and need to save
the text that gets printed. Each time the page gets refreshed a new random
number is used. I save th... more >>
Custom Extension
Posted by bfrd at 6/26/2006 11:56:02 AM
I have a small web application that will create a an M3U playlist. I have
done all the work and can generate the required format and have set the
proper MIME type. However I have run into a small problem with WMP. If I
load the file (M3U.aspx?custom=blahblah) the player will play just fine,... more >>
strange file upload behaviour (404 with one pdf but not with another)
Posted by mikecom NO[at]SPAM gmx.net at 6/26/2006 11:30:21 AM
Hi
Maybe there is an oracle out there who can help.
I have an aspx site and a simple fileupload control on it.
Everything works fine except:
I can reproduce an 404 error when trying to upload some files.
It only happens when trying to upload PDF Files, and not on every PDF
File.
Let me ... more >>
how to disable caching pictures
Posted by Ufit at 6/26/2006 11:22:09 AM
I have image control with jpeg url on my asp.net web. That jpeg has the same name but changes
Problem is that web is caching the old one even if its contents have changed.
I cannot change the name of that pic but I must display current image.
Please help with some good solution. Thanks
Ufit
... more >>
Possible to have non-image based rollover buttons?
Posted by Doug at 6/26/2006 11:12:21 AM
Using ASP.NET, is this possible? All I want is something simple, like
bold-facing the text.
An alternative would be to use plain text links (IE 6.0, so we can rely
on CSS and the anchor hover).
Maybe there's a 3rd party control out there that does this? Possible
to make your own? Thoughts?... more >>
Pocket PC Passing credentials to webservice?
Posted by Jay Balapa at 6/26/2006 9:46:11 AM
Hello,
Win Forms app is able to connect to my webservice passing credentials as
follows-
myService.Credentials=System.Net.CredentialsCache.DefaultCredentials;
Compact Framework does not have a CredentialsCache class. Is there an
alternate way of passing default credentials?
Thanks.
... more >>
gridview datakeys empty when sqldatasource is used
Posted by Narshe at 6/26/2006 9:24:57 AM
I have a gridview with datakeyname="Id" that is using a sqldatasource.
When I click delete on the gridview, the datakeys property is empty
during the deleting event.
... more >>
ASP.NET 1.1 with SQL 2005
Posted by Avinash at 6/26/2006 9:09:27 AM
Hello Friends,
I have my application using SQL 2000 database. I want to know if we
migrate this database to SQL 2005 then does the application run as it
is???
I mean with out changing code if we migrate only database to SQL 2005
does existing application will run as it was running previousl... more >>
ASP.NET CustomValidator on dynamic textboxes
Posted by theresa at 6/26/2006 9:03:28 AM
Hello. I'm creating a form that has (up to) 10 identical panels on the
page, with each panel containing the same 8 textboxes for things like
school name, address, etc, and one dropdown box. The user chooses how
many schools they need to enter information for, and the form shows the
appropriate n... more >>
UserID of Anonymous user
Posted by matt.sickler NO[at]SPAM gmail.com at 6/26/2006 8:15:19 AM
Does anyone know how to get the UserID of the Anonymous user?
The following only returns the UserName, not the UserID
HttpContext.Current.Profile.UserName
and
HttpContext.Current.Request.AnonymousID
also, this does not work for anonymous users
MembershipUser mu =
Membership.GetUser(Ht... more >>
MD5 and MS Access
Posted by musosdev at 6/26/2006 8:10:02 AM
I want to use the Security.Cryptography class to create an MD5 encrypted
password, as detailed here..
http://aspnet.4guysfromrolla.com/articles/112002-1.aspx
However, I'm using an MS Access database. Does Access have a Binary field
(cant find it!)? The only thing I can find is the OLE dat... more >>
Read Client Side Text File in ASP.Net?
Posted by dinoo at 6/26/2006 8:08:01 AM
Hi,
I would appreciate if some one could help me out.
I have to read a client side ini file in Aspx page and use that data in
server side processing. Can any one help me out here?
Please refer to a link if possible.
Thanks,
Dinoo... more >>
Clientside debugging
Posted by Arne Garvander at 6/26/2006 7:25:02 AM
Sometimes I get an exception in the browser and I get prompted to start
Visual Studio 2005 for debugging.
Sometimes I would like to start client side debugging on demand. How can I
do that?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)... more >>
Invalid postback or callback argument Error
Posted by Ibrahim. at 6/26/2006 7:14:01 AM
Hi,
I'm getting the following error when requesting asp.net page.
Invalid postback or callback argument. Event validation is enabled using
<pages enableEventValidation="true"/> in configuration or <%@ Page
EnableEventValidation="true" %> in a page. For security purposes, this
feature ver... more >>
Need help on Master Pages.
Posted by Learner at 6/26/2006 7:00:48 AM
Hello ,
I have a Master page defined with three content place holders.
one on the left side to provide the links for the site navigation
one on the top to display who logged in
and on at the bottom to display the acutal content when a link was
clicked.
Now, my client is asking me to prov... more >>
Question about Roles
Posted by rudolf.ball NO[at]SPAM asfinag.at at 6/26/2006 6:56:10 AM
Dear NG,
I plan to have a Datagrid in ASP.NET 2.0, with Users in Rows and Roles
in Columns, eg.
RoleA RoleB RoleC
Bob x x
Sue x x
Frank x x
The amount of Roles and Users is growing, so it... more >>
Throwing exceptions
Posted by Sridhar at 6/26/2006 6:36:01 AM
Hi,
I would like to know the general procedure to throw exceptions. Lets say
I have a datagrid in my webpage and I am pulling the data for my webpage
using a function. The function accepts parameter CompanyId and returns
datatable. If I pass an empty CompanyId from the webpage, the func... more >>
ASP.NET 2.0 "Website" vs. 1.1 "Web Application"
Posted by Kobee at 6/26/2006 5:54:43 AM
Hi,
I'm having a few issues adapting to new 2.0 "website" project vs. the
old 1.1 "web application". One of the major issues I'm having is with
the notion of namespaces. Using the old way, I could add a directory to
my project (say, "Controls"), then add a user control to that
directory. From... more >>
Trace in asp page
Posted by Wallace at 6/26/2006 5:24:27 AM
Hai All,
How can I put a trace file in an asp page not asp.net?
Help needed...
Thanx in advance...
... more >>
Bitmap as a Image web control
Posted by Ben at 6/26/2006 4:31:56 AM
Hi Ya,
quick question for you. Im a little new to web controls and im trying
to have a control that returns a bitmap image.
So i have created a web control library, added a control,
have the following
public class MyImage : System.Web.UI.WebControls.Image
{
Public Bitmap MyBitma... more >>
Get Value Dropdownlist Page_PreInit
Posted by Lammert at 6/26/2006 1:12:25 AM
Good morning,
I create an ASP.NET 2.0 web application. The situation:
1. One masterpage where the users can select an organisation in a
DropDownList.
2. Different content pages.
I will get the value of the DropDownList in the Page_PreInit event. How
can I do that? The content in the cont... more >>
Forcing a save of a downloaded document
Posted by teeBull NO[at]SPAM gmail.com at 6/26/2006 12:39:47 AM
Hi all,
We'd like to take advantage of code we already have for transforming
XML into HTML (using XSLT) for our users to save the HTML as an MS Word
document locally. I've dug around and found the following code to
include in the code behind:
Response.ContentType = "application/vnd.ms-word... more >>
php5 or asp.net
Posted by Jeff at 6/26/2006 12:00:00 AM
Hey
I'm about to start developing a website. My problem is that I'm not sure if
I should go for php or asp.net. I would prefer asp.net but all I got is the
Visual studio 2003 c# standard, (it's not the full version of visual studio,
it contains c# and asp.net)... I fear that if I set a lot ... more >>
Excel data import problem
Posted by msnews.microsoft.com at 6/26/2006 12:00:00 AM
Hi friends,
First of all sorry for my not very good English.
I have very strange problem, I have to import a data from excel sheet. I
have 10 columns and all the data is coming properly except the data from one
column. The data from this column is ok if it is some string but if the data
... more >>
Binding XML document to a GridView
Posted by Rotsey at 6/26/2006 12:00:00 AM
Has anyone had any success binding a XML doc to a Gridview tha includes a
Delete and Edit columns.????????????
Emphasis on the Delete and Edit columns as I found this very difficult
It is easy to just load a dataset with the ReadXML and bind to the grid but
try binding to XMLDataSource and... more >>
I always have a question no one can answer
Posted by Rotsey at 6/26/2006 12:00:00 AM
I have created a ASP.NET 2.0 websevrice on a server and I want to secure it
with Windows authentication
The web service is in a Vritual Directory.
I have add a Windows user to the server.
I have set the security to Integrated Windows Authentication and removed
anonymous access
I have set P... more >>
|