all groups > asp.net > september 2006 > threads for monday september 18
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
Embedding Windows Form Control to ASP .NET Security Problem
Posted by Budhi Saputra Prasetya at 9/18/2006 9:22:02 PM
Hi,
I managed to create a Windows Form Control and put it on my ASP .NET page. I
have done the suggestion that is provided by modifying the security settings.
From the stack trace, I would assume that the code throws exception when it
is trying to retrieve the processes list that has certai... more >>
Efficient use of DataReader
Posted by dejavue82 NO[at]SPAM yahoo.com at 9/18/2006 9:17:22 PM
Wound't be wise and efficient to copy the rows into a collection list
ArrayList, close the connection and then process the data? (Rather than
do the processing while the connection is still open).
ArrayList data_array = new ArrayList();
while (reader.Read())
{
... more >>
Visual Web Developer and web server...
Posted by marko at 9/18/2006 8:29:34 PM
Hi,
it is possible to configure the VWD web server to set up as root
http://localhost:1452/file.aspx and not
http://localhost:1452/project/file.aspx?
Thanks to all. Marko... more >>
Help: ListboxControl Horizontal Scrollbar
Posted by Mae Lim at 9/18/2006 8:16:01 PM
Hi all,
I have a question, how can I add an horizontal scrollbar to a listbox
control?
I have tried "overflow:scroll;" using <div> but the scrollbar will be
display outside of the listbox. I want the scollbar within the
ListBoxControl, how can that be done?
Please help, thanks in ad... more >>
Check If Logged In
Posted by pagates at 9/18/2006 7:59:01 PM
Hi All,
This must be a simple question, but I just can't figure it out. I want to
know if the user is logged in programmatically. I tried to use the
LoginStatus control, but of course that only has a LoggedOut event, not a
LoggedIn event (why?).
If anybody has a sample, I'd be very gra... more >>
DataReader and JOIN query
Posted by dejavue82 NO[at]SPAM yahoo.com at 9/18/2006 7:46:18 PM
This is the result of a JOINed query:
question answer
1 a1
1 a2
1 a3
1 a4
2 a1
2 a2
2 a3
2 a4
How would I use a DataReader to output this data without repeating each
question 4 ... more >>
Visual Web Developer express - Client or Server code in source view?
Posted by tom c at 9/18/2006 7:13:34 PM
This is a question on the first walkthrough "Walkthrough: Creating a
Basic Web Page in Visual Web Developer"
http://msdn2.microsoft.com/en-us/library/k4cbh4dh.aspx
It shows that when you first create an ASP.Net web site, the left-hand
drop-down list at the top of Source view will say "Ser... more >>
absolutely position in visual studio 2005 style option
Posted by jason NO[at]SPAM cyberpine.com at 9/18/2006 7:06:17 PM
Any way to automatically default all control to absolutely position
rather than having to change that settting ?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Checking password input with regular expression
Posted by JJ at 9/18/2006 6:48:01 PM
To validate a password as the user is registering I want to use a regular
expressio validator.
I got this one from the Microsoft web site for validating a password of at
least 7 characters, with at least one number and one non-alphanumeric
character:
@\"(?=.{7,})(?=(.*\d){1,})(?=(.*\W){1... more >>
access is denied error in a FileUpload control
Posted by Paolo at 9/18/2006 6:21:07 PM
Hi to all,
I have an error that drove me crazy. Try the following page that should only
allow to upload a file:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server" enctype=... more >>
newbie: What am I missing here?
Posted by Jeff at 9/18/2006 6:19:04 PM
Hey
asp.net 2.0
I'm trying to learn asp.net 2.0 authentication so I created a simple website
project. My problem is that I want the SecTest.aspx (SecTest = Security
Test) to be impossible to view for unauthenticated users. As my settings are
now, if the user is unauthenticated and clicks... more >>
GridView Controls Question
Posted by Samuel Shulman at 9/18/2006 6:01:34 PM
I want to ask the user whether they are sure they want to delete a record
with a message box
How can I do that if the user uses the delete column of the control?
Thank you,
Samuel
... more >>
Using Dynamically Adding Controls on PostBack
Posted by Ben Dewey at 9/18/2006 5:48:18 PM
Okay, so I have a base Page class called ArticlesPageBase. This base class
has reads in an overridable ArticleId and Loads the data into a Panel object
in the ContentPlaceHolder of the Master.
The article that it loads from the Database is a xml field that contains
html code for the articl... more >>
Website version?
Posted by John Baima at 9/18/2006 5:29:29 PM
I recently gave myself a scare because I was running an old version of
my web site. Many changes are not possible to detect when running a
test. That made me think that it would be useful to know the exact
version of the web site and that I never see that on sites. Whenever
we run a desktop app,... more >>
avoiding "server error in '/'application" error page (VBNET, Website)
Posted by ton at 9/18/2006 5:24:02 PM
Hi,
I've developed some webcontrols in VB, I'm using these in a website project
If the webcontrol is getting an error I ll get the message:
Server error in '/' application, and than more information.
This can occur, but I donot want to see this error page. In stead I want the
program to show a... more >>
CssClass property is ignored with wizard control (For some Users)
Posted by ASP Developer at 9/18/2006 5:18:02 PM
I am using the wizard control on one of my asp.net pages. In the master page
I have a reference to my style sheet. For most of my users the font sizes
appear correct on the steps. However, for one of my users, the font sizes
are extremely large. The user has changed his windows font sizes.... more >>
3-tier design; sorting and filtering object-based data
Posted by Sjaakie at 9/18/2006 5:12:09 PM
Hi,
I'm, what it turns out to be, fooling around with 3-tier design.
At several websites people get really enthusiastic about using custom
dataobjects instead of datasets/-tables.
While trying to write such layers myself I got stuck on how to get
filtered or sorted data from the data-layer.
... more >>
GridView-Update-Exception, Parse Error when german culture
Posted by Rolf Welskes at 9/18/2006 4:15:27 PM
Hello,
If I have a simple GridView which has in its data a decimal -type and the
page is German Culture the following happens:
I edit a row, click update-button in GridView, exception.
The exception is that the decimal ist for example 12, 15 instead 12.15
If I set to en-culture and hav... more >>
.Net hosting question
Posted by richard NO[at]SPAM psychocoder.net at 9/18/2006 3:12:27 PM
My web host has the .Net framework 2.0 installed with all updates (even
has the SDK installed on the server) and when I try to open a page that
has the CodeFile="Default.aspx.vb" and Inherits="_Default" attributes I
get a server 500 error (page cannot be displayed). When I take those
out of the ... more >>
Programmatic control creation not working correctly
Posted by Jimmy M at 9/18/2006 3:07:26 PM
I've got a page that generates dropdowns and text boxes based on
database data. I have them all set to auto-postback because I'll be
using this with Atlas to make a more seamless user experience. I've got
the Atlas/AJAX turned off for now.
I've got a page with a Wizard control. On step three o... more >>
DataGrid Sorting Question
Posted by richard NO[at]SPAM psychocoder.net at 9/18/2006 3:06:47 PM
OK, I have got bi-directional datagrid sorting down, have a created a
nice sorting class. My question, how can I add sorting to more than one
datagrid on the same page? Everything I have tried has failed. Any
ideas?
... more >>
Dynamic table / GridView with non-databound data
Posted by Gregory Gadow at 9/18/2006 2:40:56 PM
My latest problem: I am converting an ASP script that dynamically
generated a table with radio buttons, presented the table to a web user,
then processed which of the items that the user selected.
I already know that I can't use the table, because Microsoft saw fit not
to preserve the data wit... more >>
OnItemCommand
Posted by Jim in Arizona at 9/18/2006 2:40:24 PM
I've found that the datalist parameter OnItemCommand will fire
regardless of what button (or link) you press within a datalist item,
even if that button is already referred to one of the other Command
events (OnEditCommand, OnCancelCommand, OnUpdateCommand, and
OnDeleteCommand).
I was hop... more >>
Object Persistence
Posted by Robert at 9/18/2006 2:12:02 PM
I am trying to persist an instance specific object without using a session
object. Is this possible?
For example:
Class object: Car
Properties: Make, Model
Car.Make = Ford
Car.Model = F150
I would like to persist the object across postbacks without using a session
object. Or, if I ... more >>
E-Commerce Login Question
Posted by Samuel Shulman at 9/18/2006 2:08:42 PM
I have a regular e-commerce website
I Need the following:
Protect one folder for admin
Allow visitors to browse the calalogue freely
Allow visitores to login and ammentd their details, complete purchases etc.
I would to some general advice/links of how to solve this problem
Thank y... more >>
Does WebPartZone expose a title?
Posted by needin4mation NO[at]SPAM gmail.com at 9/18/2006 2:00:20 PM
I always get "untitled" for the webpartzone. I can get rid of it by
putting the title= attribute in the control. I am using user controls.
But what if I want it dynamic? then I can't edit the title attribute.
For example, if the user adds a control from the catalog, it's not
going to have t... more >>
<SiteCounters /> ASP.NET 2.0
Posted by Van den Driessche Willy at 9/18/2006 1:50:09 PM
I have a book on ASP.BET beta 2
(http://www.amazon.com/ASP-NET-Beta-Version-Microsoft-Development/dp/0321257
278/sr=8-3/qid=1158580459/ref=sr_1_3/102-2046896-5800955?ie=UTF8&s=books).
There is a section about sitecounters, which can be configured in
web.config.
Apparently this feature didn't ... more >>
Static Field in IHttpModule
Posted by Osama Sayed at 9/18/2006 1:48:43 PM
I have a class that implements IHttpModule to handle URLs with a "RESTful"
nature. It handles them according to a custom configuration section in the
website's Web.Config file. My questions are:
1. Does each client call result in a new instance of my IHttpModule class
being created?
2. Is it be... more >>
Browser History Getting Cleared Sporadically
Posted by BrainTop at 9/18/2006 1:34:50 PM
This is driving me nuts for last one week. Appreciate any assistance.
I have ASP.NET web application with many pages. Some of them post back
to itself and then links to another page.
Everything was working great so far. Recently we did some modifications
(included a new page) and after that th... more >>
Convert HTML String to HTML Document And Save
Posted by csgraham74 at 9/18/2006 1:25:38 PM
Hi,
I have a requirement in work that i give a person the ability to
create a html document using a richt text editor. What i then want to
do is save the HTML doct to my server & insert reference in a database
so that i can retrieve the html document.
Basically i dont have a clue how to co... more >>
ASP.NET 2.0 vs. XSLT
Posted by daph4ntom at 9/18/2006 1:23:01 PM
Right,
I need some some views on the pros and cons of using XSLT versus ASP.NET 2.0
for the Presentation layer of an app. My company are looking at creating
multiple sites and multi lingual support going forward...
I have looked at Chris Lovetts post
http://msdn.microsoft.com/library/def... more >>
ASP.Net 2.0 deployment question
Posted by Chris DiPierro at 9/18/2006 12:47:39 PM
We have an ASP .Net 2.0 application. When I use our .msi installer to
install on a vanilla Win 2003 server, it installs more or less ok, with
one exception. Though it tells IIS to use .Net 2.0, it seems
aspnet_regiis has never been run on IIS. Therefore, when the app is
accessed, it fails un... more >>
ASP component to control meta tags
Posted by Torben Laursen at 9/18/2006 12:40:44 PM
Hi
I would like to have one place where I can control the metatags in my
website. Mostly keywords.
Is there a component that will let me do that or what is the best way?
Thanks Torben
... more >>
ok, 2 issues
Posted by igotyourdotnet at 9/18/2006 12:05:01 PM
Ok, I have my first full blown .NET 05 web application 99.9% complete except
for these 2 issues. can anyone help me out?
1) If a page gets and error and the user clicks on the menu it takes them
back to the login screen. How can I prevent that from happening? If they see
the 'user friendly"... more >>
Repeater Control and Validation in each row
Posted by Ganesh Muthuvelu at 9/18/2006 11:49:01 AM
Hello,
I am using a Repeater control to display data and also allow data editing. I
simply have text boxes in my repeater template and allow the user to make
changes as needed.. I also allow users to enter new rows. I do this by
showing them a blank row.
The question I now have is:
1) In... more >>
Output Parameter not being returned correctly - DAAB in ASP.NET WAP
Posted by Alec MacLean at 9/18/2006 11:29:47 AM
Hi,
I'm using the DAAB Ent Lib (Jan 2006) for .NET 2.0, with VS 2005 Pro. =
My project is a Web app project (using the WAP add in).
Background: I'm creating a survey system for our company, for which =
invites will target selected personnel among our customers via email. =
Each email will... more >>
Show Popup Help Window
Posted by Jonathan Wood at 9/18/2006 11:28:26 AM
Greetings,
I'm new to ASP.NET and am trying to figure out how to popup a help window.
I was able to get the following code to work:
helpButton1.Attributes.Add("onclick",
"window.open('http://www.softcircuits.com', null, 'height=250, width=250,
status= no, resizable= no, scrollbars=no, t... more >>
DataList DataKey button_click assignment Problem (DataListCommandEventArgs)
Posted by Jim in Arizona at 9/18/2006 11:08:02 AM
I'm don't know how I would get around this.
When working with a datalist control, there a specific built in commands
(OnEditCommand, OnCancelCommand, etc). These commands, when the datalist
control is made, refer to a subprocedure (eg:
OnUpdateCommand="MyUpdateProcedure").
When referring... more >>
Sql Integrated Authentication and Default user
Posted by B N at 9/18/2006 10:15:52 AM
Hi,
I have SQL Server running on Server "A" and .NET web pages at server "B".
I the ASP.NET page I am trying to use Window Inegrated Authentication. Here
is my connection string
connStr = "workstation id=""BCA218-01"";packet size=4096;integrated
security=SSPI;data source=A;persist securit... more >>
Date Range lookup between tables in asp 2.0
Posted by NickCR_04 at 9/18/2006 10:11:02 AM
Hi all,
I am (using ASP.net 2.0 in Visual Web developer 2005 Express Edit) trying to
set up an asp front end to a music DB which has 2 main tables:
1) MUSIC - containing music release information (eg label, artist, name,
date reviewed)
2) ISSUES - containing 3 columns - 1) a list of issue... more >>
Asp.Net 2.0 Web Site Map (Web.sitemap)
Posted by shapper at 9/18/2006 9:24:02 AM
Hello,
I have 2 questions about Asp.Net 2.0 web.sitemap:
1. Where can I find the list of all siteMapNode attributes?
I looked eveywhere and couldn't find it.
2. I created a Web.sitemap and somehowI am getting an error:
"The element siteMap in the namespace
'http://schemas/micr... more >>
Access Clickonce from ASP.NET application
Posted by nick.althoff NO[at]SPAM gmail.com at 9/18/2006 9:04:10 AM
I'm developing an ASP.NET application where I'll need to be accessing
some files on the client machine. I basically need to show information
about files in a directory on the client machine in a datagrid. I was
thinking that the best approach for this would be to write an ActiveX
control, but I ... more >>
XML DOM troubles
Posted by sklett at 9/18/2006 8:46:32 AM
** I tried to find a more suitable NG for this issue but didn't find much
(on the MS server) the ones I did find haven't had posts in a loooong time.
Sorry for the somewhat off topic post **
My Situation:
client side scripts make an ajax request for some data
aspx page processes request an... more >>
Need HttpWebRequest help
Posted by Chip at 9/18/2006 7:18:06 AM
We'd like to find somebody to write a quick function to retrieve html from a
website. While probably simple to do, there is a learning curve we just
don't have time for. It requires a cookie(s) to be sent with the request.
Contact me at info <@> intradata <dot> com if interested.
Chip
... more >>
Export to excel !!
Posted by amitmnagarwal NO[at]SPAM gmail.com at 9/18/2006 6:39:16 AM
I have a page where i export to excel the content of Page 1
following code is written on page 2 to generate the excel
Response.Buffer = True
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader("content-disposition", "attachment;
filename=dynamic.xls")
No... more >>
Search and Asp.Net
Posted by shapper at 9/18/2006 5:39:55 AM
Hello,
I am working on a web site which displays various information from a
database:
1. Text articles
2. PDF files for download. The links and displayed information are also
retrieved from a database.
I need to create a search engine on my web site.
I am using Asp.Net 2.0 and SQL 2... more >>
master pages and atlas
Posted by igotyourdotnet at 9/18/2006 4:54:02 AM
I have a treeview menu on my master page, When I click a menu option the page
"flickers" and loads the content section.
is it possible to add atlas somehow to stop the flickering when I make a
menu selection and load the content section? If so how?
... more >>
Best 3-tier design for non-sql backend data?
Posted by Bernie Beattie at 9/18/2006 4:49:02 AM
I'm really struggling with deciding on the best way to approach my particular
website design scenario. Most tutorials and samples assume an sql backend
database.
What I have is a proprietary database (which I'm stuck with) that I
communicate with via a dll which expects requests in xml and ... more >>
Limiting characters brought back from a datalist.
Posted by Roffers at 9/18/2006 4:27:41 AM
Hi everyone.
I've got this problem that I really have no idea how to solve.
I have a datalist that brings back x amount of rows, I need to limit
this datalist by 100 characters and then append a "..." to the end.
<asp:DataList id="dlDataList" runat="server"
RepeatDirection="Horizontal" Re... more >>
accessing local resources
Posted by Ganesh at 9/18/2006 4:23:02 AM
I have a web application that is forms authenticated. From one of the web
forms in this application i invoke a web service. One of the web methods in
this web service accesses database, gets the data ( report data ) and a .pdf
out put is generated. The reporting engine used is data dynamics. O... more >>
Excel.Application
Posted by Gorgo at 9/18/2006 12:57:18 AM
Hello
I'm sorry if this is not the right group to post this post, but
unfortunetly this one is one of the best i know.
I'm doing and asp.net application with need to create excel file thru
DCOM Excel.application object. For that I created special user and make
it as a default user on whic... more >>
Hyperlink Column not displaying
Posted by William LaMartin at 9/18/2006 12:03:56 AM
I have a gridview (with no properties set) on an aspx page which I populate
from an XML file with the code below.
The data in the XML file looks like this
<description>National Trust for Historic Preservation</description>
<URL>http://www.nthp.org/</URL>
<category>Architecture</category>
... more >>
asp can't run in 2003
Posted by Agnes at 9/18/2006 12:00:00 AM
my asp program run very well in my PC (xp professional) , 1st page is HTML,
2nd page is login.aspx
However, when I copy to the window 2003 server , same IIS setting, 1stpage
can show, 2nd page show error "The page cannot be found"
my database is visual foxpro, i had already install vfpoledb... more >>
Master page and problems with background-image
Posted by 3Dfelix at 9/18/2006 12:00:00 AM
I have a problem when using a Master page file in diferent aspx files. Some
of this aspx are in different places. I have see that the problem is with
styles definition on master file, when use "background-image". In some aspx
files this background image are lost.
for example:
backgr... more >>
changing css class on linkbutton
Posted by John at 9/18/2006 12:00:00 AM
Hi
I have been trying to change the css class of a linkbutton without succes
( I dont want to change the cssclass property). Maybe somebody knowshow to
do this?? th.John
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtm... more >>
MD5 encryption
Posted by le0 at 9/18/2006 12:00:00 AM
Hi guys,
I have this logon page in my website project and i want to covert my
password encrypted using MD5, but the problem is this, I totally have no
knowledge about this thing.
Can u give me a sample code or the whole code that i can just paste or
insert in my page, with instruction is... more >>
|