all groups > asp.net > october 2006 > threads for thursday october 19
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 with hyperlink
Posted by ziggs at 10/19/2006 11:55:02 PM
I have an outside vendor that just updated there web access to aspnet
on a Windows 2003 server. Just before the new install, I had a
separate Windows 2000 server with IIS 5 that I used to tap into the
vendors database and then spit out a hyperlink that pointed directly
to their web server asp p... more >>
my.settings website
Posted by HaVoK at 10/19/2006 11:44:42 PM
Hello,
i am developing a website and want to use the connectionstring of my
web.config in other sites.
i have a connectionstring in my web.config like this:
<configuration>
<appSettings/>
<connectionStrings>
<add name="Test.My.Settings.conni" connectionString="*******"
providerName=... more >>
Portal functionality with ASP.Net 2.0
Posted by freeflytim at 10/19/2006 11:29:14 PM
Could anyone with some skinning experience in vs2005 tell me if the
master pages and themes capabilities of ASP.Net 2.0 makes it viable to
use for creating a portal.
I want to upgrade an existing 1.1 site and serve up pages with a
different look & feel based on hostnames - instead of copying t... more >>
Get values from textboxes created by code
Posted by Mike at 10/19/2006 11:21:07 PM
Hello!
I'm pretty novice in .NET and having a problem to get values from my
textboxes which I have created dynamicly in my aspx.cs-file. (I'm using
Visual Studio 2005).
I create them like this (code-snippet):
f = getFormField(fields, "a_dbfield");
Response.Write("<td>" + f.getLabel() +... more >>
Cookieless Sessions
Posted by Samuel Shulman at 10/19/2006 11:00:41 PM
Are most e-commerce websites rely on users enabling cookies or sites are
configured to handle cookieless session?
Thanks,
Samuel
... more >>
Declaring controls in base usercontrol
Posted by Eric Theil at 10/19/2006 10:50:56 PM
Hello,
I'm just getting into ASP.Net 2.0 and I can't figure out an effective way
(or at least one that I think is effective) to perform one of the techniques
I used to use in 1.0/1. As an example, I have multiple user controls whose
code behind functionality is identical, but display is com... more >>
machineKey question
Posted by Jeff at 10/19/2006 10:37:12 PM
Hey
ASP.NET 2.0
I'm developing a web portal and are about to move the development
environment to a different computer. I wonder if I have to change the
machineKey because I changed developed computer?
Jeff
... more >>
Are there any open source asp.net e-commerce application?
Posted by nkw at 10/19/2006 10:17:01 PM
Which can compete osCommerce or Zen-cart?
Shipping payment feature, maturity, etc....... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Storage of Data
Posted by Samuel Shulman at 10/19/2006 9:35:02 PM
I need to store the data in the dataview so user will be able to sort the
data in the GridView control
The question is where, storing in the ViewState property will mean that the
entire list will be downloaded and uploaded each time
Storing in the Cache or the Session object will mean that... more >>
Web Application Project and Visual Studio Class Designer
Posted by EagleRed NO[at]SPAM HighFlyingBirds.com at 10/19/2006 8:50:02 PM
I just installed the Web Application Project add-in for Visual Studio 2005.
When I created a Web Application Project I got a message box stating,
"Package Load Failure. Package 'Visual Studio Class Designer Package' has
failed to load properly..." The message go on to warn about a possible ... more >>
System.Drawing.Image.Save() on Transparent GIF
Posted by Dale at 10/19/2006 8:42:01 PM
I am creating GIF images with transparent backgrounds on-the-fly for a web
app and rendering them by using
System.Drawing.Image.Save(Response.OutputStream, ImageType.GIF).
I am confident that the transparency is working properly because if I save
the created image to the local hard disk and... more >>
Large list box
Posted by John Baima at 10/19/2006 8:30:38 PM
I really do not have an immediate need for a large listbox, but it
seems like that is something that comes up regularly. I was using
Facebook just now, and they have a really cool type ahead "listbox" in
a textbox. When you are searching for something in some network, you
type a portion of the n... more >>
Setting up security using ASP.NET Config Tool
Posted by Josh Nikle at 10/19/2006 8:22:26 PM
I'm in the process of building my first C#.NET web app, and I'm having
a tough time with setting the securities up on it. I used the ASP.NET
Configuration Tool and created an admin user in an Administrators group
without any problem, and as far as the login page, I used an ASP.NET
login control... more >>
How do I use an escape sequence in a hyperlink?
Posted by jm at 10/19/2006 8:13:34 PM
I have this:
<asp:hyperlink ....Text='Women's' />
It keeps telling me server tag not well formed. If I take the
apostrophe out of the text property it works. I have tried:
'Women\'s'
and it does not work.
Thanks for any help.
... more >>
populate array with sql table data vb.net
Posted by Sharon at 10/19/2006 8:07:55 PM
hello,
I wanted to populate an array with the data from sql table, but not
sure how to go about it.
This is the array iam using at present, but i dont want to provide the
values. Instead i want to query them from sql table t_holidays.
Dim HolidayList() As Date = {#7/4/2006#, #7/6/2006#, #... more >>
Can't hit the site by name but I can hit by IP
Posted by CK at 10/19/2006 5:41:43 PM
Hi All,
I have a sharepoint site on a box. I can hit the box by going to the ip
address http://10.0.0.1/default.aspx but I can not hit it by name. The
password dialong box comes up and it rejects my domain password. Says you
are not authorized. When I use the IP the password dialong box comes... more >>
VS2003 Compile
Posted by Jeff at 10/19/2006 4:56:02 PM
If I am using VS2003 is it possible to compile a project in ASP.Net 2.0 or
will it always compile in 1.1?
Thanks
... more >>
Bad-looking thumbnails
Posted by JP.Gantlin at 10/19/2006 4:18:30 PM
why would the thumbnails look so cruddy:
http://www.globalproportions.com/why/
I've posted a sample image with the code.
Can you tell my why?
... more >>
load html file into a DIV ?
Posted by jobs at 10/19/2006 4:09:54 PM
I have a list of html files and entries in a database with the file
locations.
I'd like to create a buttons for each file. Any way to load an html
file into a DIV of an asp.net page?
Do I have to read the files in with stringreader ? Any other way?
Anybody got any sample code?
Thanks.
... more >>
Error CS0433
Posted by Mark Rae at 10/19/2006 4:03:16 PM
Hi,
I have an ASP.NET 2 web application (not web site) project and am using a
web deployment project to deploy to the testing, then the production server.
All has been working well for months now, but today after a recompilation,
the app is throwing the error below when accessing a certain ... more >>
Dynamically moving a user control at run time
Posted by Jedi at 10/19/2006 3:54:57 PM
I am trying to achivieve a drag control functional for a windows form.
The user should be able to move the control by dragging it withing the
confines of my form.
How would i implement this drag functionality?
Any help would be highly appreciated.
... more >>
Reading the contents of a page.
Posted by Kuldeep at 10/19/2006 2:40:12 PM
Hi All,
I am trying to read the contents of a page through its URL.
My code snippet is as follows:
public void mtdGetPageDataHWR()
{
HttpWebRequest objRequ =
(HttpWebRequest)WebRequest.Create("http://www.microsoft.com");
HttpWebResponse objResp = (HttpWebResponse)objRequ.GetResponse();
... more >>
Display News Articles
Posted by mmm0987 NO[at]SPAM hotmail.com at 10/19/2006 2:02:57 PM
I've migrating from classic asp to asp.net 2.0. How do I display data
from an database but not display it in a structured order. I have news
articles that I want to disply but not in a datagrid, I want them
scattered around the page, like this:
http://news.bbc.co.uk/
In classic asp I woul... more >>
Need help: Call server side Stored Procedure and get the return va
Posted by david at 10/19/2006 1:25:01 PM
I have trouble with it.
I have created a sproc in SQL Server, called SearchClass, which returns a
searched key from a table. I have tested this procedure in Analyzer and it
works fine. However, in the client side, when I use ExecuteNonQuery as follows
---
Me.SqlConnection1.Open()
classKe... more >>
asp.net 2.0 dev using VS 2005!
Posted by Jens Jensen at 10/19/2006 1:16:20 PM
Hello,
when i runan app under VS 2005using the built in web server, which user is
my web application running under?
Many thanks
JJ
... more >>
Best Practices (Server controls)
Posted by sean_mcad at 10/19/2006 12:56:02 PM
We are starting to standardize what we have been doing with our web
applications and I have a “cost-benefit†question when it comes to some
server controls.
Main two examples is
Plain text vs. <asp:label /> and <div> vs <asp:panels> for current static
information.
In my view if we g... more >>
unterminated string constant
Posted by ken s at 10/19/2006 11:56:02 AM
From server-side code I'm using Response.Write to display a javascript alert
box. It works fine except when I try to include a new line character, which
causes this javascript error:
"Unterminated string constant"
Here's my c# code:
strText = "Line 1 text\nLine2 text";
Response.Write(... more >>
Howto Publish website for RELEASE
Posted by kurt sune at 10/19/2006 11:14:07 AM
I am having trouble publishing a website for RELEASE.
1. web.config: <compilation defaultLanguage="vb" debug="false">
2. in Configuration manager I set the configuration to Release for the
website
3. in Configuration manager I set the Active solution configuration to
Release
4. I right... more >>
Formatting a datetime column
Posted by David at 10/19/2006 11:13:36 AM
I am using .Net 2.0 and VS2005 with SQL server db. The datetime columns on
SQL have the date and time in them. How can I display just the short date
format (e.g. a datetime of 10/19/2006 11:23:57 AM to show as just
10/19/2006)? I do not want to use the SQL CONVERT on the query because it
... more >>
Warning - AVOID SESSION VARIABLES
Posted by BillE at 10/19/2006 10:15:00 AM
Some ASP.NET applications use Session Variables extensively to maintain
state.
These should be re-written to use viewstate, hidden fields, querystring,
etc. instead.
This is because if a user opens a new IE window with Ctrl-N or
File-New-Window, BOTH WINDOWS SHARE THE SAME SESSION VARIAB... more >>
Reference body tag from code-behind?
Posted by tshad at 10/19/2006 9:42:24 AM
In VS 2003, I am trying to set the onload property of the body tag to "". I
do this all the time from my Dreamweaver pages (one page aspx page). But in
a code-behind page I need to set a reference. How do I reference the <body>
tag?
I have the <body> set as:
<body id="myBody" onl... more >>
Getting a multiple recordset into a datalist
Posted by Roffers at 10/19/2006 9:33:16 AM
Okay, so I have my stored procedure that looks something like this
AS
SELECT VAL 1, VAL 2
SELECT VAL1, VAL2
GO
And I need to display these into a datalist control, does anyone have
any idea how I can go about this?
Any examples of code in C# or VB.NET would be greatly appreciated.
Ch... more >>
Interact with word files
Posted by fabrice at 10/19/2006 9:29:50 AM
Hello
I m working with Framework 1.1.
I d like to interact with word files (.doc or .dot) from the server. But
Neither office or word are installed on it.
There is a way for manipulating word file in a such configuration. Or do I
have to pass by a commercial component. That is to say for me... more >>
Multiple Application Pools
Posted by Diffident at 10/19/2006 9:05:02 AM
Hello All,
IIS 6.0 - I have an application which resides in its own application pool.
Does anyone know if we can create multiple application pools for the same
application?
If we can create multiple application pools to serve a single application's
request will it improve the performance... more >>
Specify login page other than Login.aspx
Posted by vikramp at 10/19/2006 9:00:03 AM
Hi,
I am trying to learn new membership/roles features of ASP.NET 2.0.
When we setup forms authentication and specify deny users="?" under
authorization, the application asks for login.
My problem is: It always looks for Login.aspx page by default. What if
the name of my login page is differe... more >>
change row color of empty row
Posted by igotyourdotnet at 10/19/2006 8:51:03 AM
I'm adding a empty row for every so many rows in my GridView. I want to
change the color of the empty row so the grid is "broken up" per say. I tried
this:
grid_RowDataBound()
{
if(e.Row.Cell[0].text.Equals(" ")
{
e.Row.BackColor = Color.Orange;
}
}
and it doesn't work
I a... more >>
Uploaded input text files...need options
Posted by Greg at 10/19/2006 7:41:19 AM
I need to create an aspx page that accepts an uploaded text file from a
user and parses the file contents into various, normalized database
tables/columns. The input file is an industry standard, fixed-width
file layout. The file is 'old-school' with the first three columns
representing a segm... more >>
xp sp2 visual studio 2005 sql express 2005 bookcatalagapp
Posted by seacoff NO[at]SPAM gmail.com at 10/19/2006 7:41:01 AM
Hi
I just installed Visual Studio 2005 90 day trial which comes with the
sql server express database
I want to run the sample application
2-2--5 Building a Mobile Book Catalog with Visual Studio .NET 2003
It uses the pubs db on sql express
Part of this app asks me to create a webservice whic... more >>
How do I view a log of HTTP 500 errors?
Posted by CS Kev at 10/19/2006 6:37:29 AM
I'm running several ASP.NET applications on our local Intranet. Just
recently, all of our users still using Windows 2000 clients have begun
receiving the following error:
HTTP 500
Internal Server Error
Clients on Windows XP work fine.
My question is, how do I see where the details of th... more >>
DropDownList
Posted by zoneal NO[at]SPAM yahoo.com at 10/19/2006 6:18:37 AM
hi guys,
i am using asp.net2.0 in VS2005.
The case i am having is that i have a dropdownlist with a list of
values like item one , item two and item three; inside the DB i am
storing the values as number not the item name like 1 for item one, 2
for item two and so on.
what i want is that... more >>
SqlDataReader & Stored Procedure
Posted by rn5a NO[at]SPAM rediffmail.com at 10/19/2006 5:32:48 AM
Suppose a SQL Server 2005 stored procedure looks like this:
ALTER PROCEDURE SPName
@UserID int
SELECT COUNT(*) FROM Table1 WHERE UserID = @UserID
SELECT COUNT(*) FROM Table1
In the ASPX page, I can get the result of the first query in the above
SP using
While (sqlReader.Reader)
... more >>
need help on using word docs in asp.net
Posted by AVL at 10/19/2006 5:31:04 AM
Hi,
I've a requirement in which I need to show a word document in the web page,
allow the user to edit the document and then save the document ina
particular location, How can I acheive in asp.net 1.1? need guidance....
... more >>
ASP.Net DLL Reference Search Paths?
Posted by Chris Ashley at 10/19/2006 3:52:56 AM
I have a managed C++ wrapper which is referencing an unmanaged C++ DLL.
How can I modify the reference search paths for ASP 2.0 so it can find
the unmanaged DLL? It copies the managed DLL okay, but can't find the
unmanaged DLL ('the specified module coult not be found'). It only
seems to work wh... more >>
.Net: setting project location
Posted by Frans at 10/19/2006 2:37:01 AM
When opening a .Net solution in Visual Studio 2003, a message appears asking
to set the location of the working copy of the WebUI project. Whatever I try,
the path is not accepted. The message that then appears states that the file
location does not correspond to the URL location: the two need... more >>
OOP problem
Posted by Jeff at 10/19/2006 1:45:22 AM
Hey
ASP.NET 2.0
I've studied a code example in a .net book and found code I've got some
trouble with unerstanding: This is about 2 classes, one class inherit from
the class
The problem is that I cannot do this:
Message m = new Message(all the parametes goes here);
m.Id <-- this is my ... more >>
Webservices
Posted by devjnr NO[at]SPAM gmail.com at 10/19/2006 1:10:58 AM
I have to call e NET web service via Oracle.
this is my asmx:
=========================================
<%@ WebService Language="C#" class="MyClass" %>
using System.Web.Services ;
public class MyClass
{
[WebMethod()]
public int Add ( int a, int b)
{
... more >>
How to get listing of all sectionGroups in defined subnode of Web.config file?
Posted by Frank at 10/19/2006 12:45:53 AM
Hi folks,
based on the Web.config snapshot on bottom I would like to know how to
get a listing of elements in a defined level. Let's assume I would like
to get a list of all sectionGroup elements within the sectionGroup
called "TopLevel". How to do that?
I tried to define the "type" attribu... more >>
Handling Exceptions
Posted by Shahar Nechmad at 10/19/2006 12:42:27 AM
I want to be able to log all exceptions that occur in the application (I'm
using Enterprise Library and ASP.NET 2.0). Because with almost all exception
I'm not going to do anything besides logging, I prefer dealing with it in
one central place instead of writing try catch statements all over t... more >>
|