all groups > asp.net > november 2004 > threads for tuesday november 23
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
Magazine for asp .Net and vb .Net development
Posted by mokles at 11/23/2004 11:52:02 PM
Hello all,
I want to subscribe to some magazines for asp.net and vb.net development.
Does anyone know what will be best one to subscribe for this purpose?
Thanks a lot.
-Mokles
... more >>
Connection pooling
Posted by Vam$ at 11/23/2004 11:33:02 PM
Hi all
Iam working on a web based project using asp.net and sql server 2000. I have
written stored procedures whenever i want to interact with data base and in
connection string i had put min pool size=1;max pool size=500.
And in each page load one stored procedure will get executed as iam... more >>
aspx and ascx
Posted by rom at 11/23/2004 11:16:26 PM
I have an user control inside me aspx page and I want a
button in the user control to call a sub in the aspx page.
is it possible?
I tried to several things like:
1. just call the className.SubName but I get error "Object
reference not set to an instance of an object...."
2. I tried:
Dim c... more >>
Parsing controls
Posted by Stirling at 11/23/2004 10:38:53 PM
Hi all
currenly I am trying to load a static file from a the file system in
asp.net and parse it to produce ASP.net controls from the file. In a
quick prototype I have use the Page.ParseControl() method to create the
control and then add it to the page. However I would like to move this
f... more >>
How to change user account properties by ASP.NET?
Posted by Evgeny Zoldin at 11/23/2004 10:13:10 PM
Hi ALL.
I have the configuration:
1. WinXP PRO with MS IIS 5.0 and installed ASP.NET
2. ASP.NET application A configured to authenticate only users from
local Users group.
I would like to de the following:
Logged on user is able through ASP.NET-Pages to change its own Logon
... more >>
Upload control
Posted by Peter Afonin at 11/23/2004 10:01:02 PM
Hello,
I'm looking for a very simple upload control for my ASP.Net application to
let my clients upload the small images to the server. So far I could find on
the web only the sophisticated ones with the progress bars and other things
that I don't need. Could you please recommend me one?
I ... more >>
Sorting a datalist
Posted by Dufus at 11/23/2004 9:36:56 PM
Hi,
I am working with a DataList and am binding objects to it. I normally use
IList or other collections that implement the IEnumerable interface. I have
a datalist that I need to be able to sort on every column. Does anyone have
any ideas on the best way to sort a DataList?
Thanks in... more >>
general question concerning dynamically created buttons
Posted by djc at 11/23/2004 9:05:52 PM
On the page_load event I am querying a database and binding data to some
text boxes, list boxes, and a repeater control. When the page loads it uses
the value of one of the database fields (status) to determine what options
should be available for this particular item (which is an issue... small
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
remove "ReturnUrl=" from url
Posted by gala.grant NO[at]SPAM gmail.com at 11/23/2004 9:02:59 PM
Hello,
I am trying to find if there is a setting somewhere that I can change
that will remove the "ReturnUrl=blah.aspx" from the url when someone
tries to access a page without being logged in. Bookmarks don't
actually work on our site, so they serve no purpose, and I feel it
would be clean ... more >>
session_end
Posted by news.microsoft.com at 11/23/2004 7:32:41 PM
For some odd reason, session start fires but session_end does not.
I am running the web server inproc, the web.config is configured as:
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.... more >>
how to find dropdownlist selectedvalue in dataset datatable to update foreign key in another table
Posted by ambersaria420 NO[at]SPAM yahoo.com at 11/23/2004 6:03:32 PM
Hi all,
Here's scenario:
Table 1:
Table1_pk
A
B
C
Table2_fk
Table 2:
Table2_pk
A
B
C
I have dropdownlist on a webform which selects value B from Table 2.
When I select a value from the dropdownlist, I need able find
Table2_pk for that selected value and insert into Table2_f... more >>
open a new window without javascript and without hyperlink
Posted by Dan at 11/23/2004 5:29:05 PM
hello all,
is there a way to open a new window without javascript and a href=_blank?
i need to connect a button click with some lines of code and then, a new
window shall get opened.
but i didn't find a way to opüen a new window as result of a buttonm click.
thanks for help,
dan... more >>
Visual Studio problem with BODY tag
Posted by Alan No Spam at 11/23/2004 5:13:02 PM
I am using Visual Studio 2003 and in order not to repeat body tag details in
every page
<body leftmargin=0 topmargin=0 ....
I put those details as an variable in my class:
public class WebRoot: System.Web.UI.Page {
public String my_body = "leftmargin=0 topmargin=0";
......
}
and then... more >>
Table Formatting
Posted by Martin Eyles at 11/23/2004 4:57:36 PM
Hi!
I am trying to make several 1x3 tables on a webpage, where all three cells
have black backgrounds and white text. However, I want the space around each
of the cells, and the whole box to be coloured (see
http://www.bytronic.com/martinTest/table.gif). I will be programatically
changing the... more >>
Open photo in own window - no extra space around photo
Posted by RC at 11/23/2004 4:21:32 PM
I want to display photos and when the user clicks on one the photo gets
displayed in its own window. This is what I"m currently using.
<A id="picAnchor" target="_blank" href="../Photos/somePic.jpg"><img
src='../Photos/ etc... </A>
It works great - as expected the photo shows up in a new b... more >>
Forms Authentication Webconfig
Posted by Beren at 11/23/2004 4:08:48 PM
Hello I've got a pretty urgent question.
I've just started to use the forms authentication of .NET
and to force the authentication I use
<forms ... loginUrl="login.aspx" ... />
<deny users="?"> to prevent anonymous access.
Now only login.aspx is accessible by ppl who haven't logged in.
How... more >>
Dropdown controls
Posted by Jon at 11/23/2004 3:50:20 PM
I am using a dropdown control and populating it from an SQL select, like
below
SQL = "SELECT RegionNumber, Description FROM SalesRegion WHERE DateClosed IS
NULL"
cmd.Connection = dbCon
cmd.CommandType = CommandType.Text
cmd.CommandText = SQL
drTemp = cmd.ExecuteReader(CommandBehavior.Sequ... more >>
asp.net dll's question and problem
Posted by THX-1138 at 11/23/2004 3:27:47 PM
hi,
I am having a trouble at work. We currently have many pages in our site and
we are having trouble with dll's.( we think )
Our site outputs static pages as .aspx pages becasue we have a toolbar that
uses .net so all pages that use the toolbar need to be .aspx. We have many,
many page... more >>
Retrieving Identity After Dataset update
Posted by Justin at 11/23/2004 3:25:02 PM
I have created a dataset with two tables and an insert command, I need to be
able to retreive the Key Identity after inserting into table "A" for use in
table "B".
Should I use ExecuteScalar() or is there a better solution?
Thanks, Justin.... more >>
not sure why close window function not working
Posted by Paul at 11/23/2004 3:21:02 PM
Hi I have 2 functions in java script, one opens a second window-this works,
the other is supposed to close this second window, does not seem to be
working. Just wondering if anyone had any ideas.
Here is the code,
the functions are
<script language="javascript">
function openwin(){
win_usr... more >>
Format DataGrid Text
Posted by Arpan at 11/23/2004 3:20:37 PM
This is a multi-part message in MIME format.
------=_NextPart_000_0077_01C4D16F.FC4EBC50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
How do I format only the Header text (column names) in a DataGrid? =
Consider the following code snippet:
... more >>
Runtime Error
Posted by Bill Patel at 11/23/2004 3:15:13 PM
I am getting Runtime error on line 50. Please Help.
Thank You
Bill
1 <%@ Page Language="VB" %>
2 <%@ import Namespace="System.Data" %>
3 <%@ import Namespace="System.Data.SqlClient" %>
4 <script runat="server">
5
6 Sub Page_load(Src AS Object, e AS EventArgs)
7 ... more >>
Begginer question: How do I replace passwords with * in the textbox control
Posted by Tom at 11/23/2004 3:06:57 PM
I have a textbox control for password and am attempting to hide the input,
however I don't see a property for this.
I do seee there is an HTML password control... do I need to use this
instead?
... more >>
pre-compile error
Posted by Random at 11/23/2004 3:05:46 PM
I deployed my ASP.NET site to another server, and am getting an error "The
file '/default.aspx' has not been pre-compiled, and cannot be requested.".
I have deployed my web app before, and have never encountered this problem
on the development machine or the deployed-to server. The applicati... more >>
dynamically adding controls question
Posted by djc at 11/23/2004 2:52:30 PM
I have something like the following:
---------------------------------------------------
Dim btnAddUpdateDetail As New LinkButton()
btnAddUpdateDetail.Text = "Add/Update Issue Detail"
btnAddUpdateDetail.CommandName = "AddUpdateDetail"
AddHandler btnAddUpdateDetail.Command, AddressOf HandleAct... more >>
.Net Framework SP1
Posted by Arpan at 11/23/2004 2:38:04 PM
This is a multi-part message in MIME format.
------=_NextPart_000_005F_01C4D16A.0AAA7BA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have been trying to install .NET Framework SP1 in my system but am =
unable to do so. The 10.2 MB SP gets d... more >>
datagrid_ItemDataBound question
Posted by rodchar at 11/23/2004 2:37:03 PM
Hey all,
how do i get to the fields of the datarow of the datasource thats about to
be bound to the datagrid row?
e.item.cells(2).text = ??? datarow.field.value
hope this makes sense,
thanks,
rodchar... more >>
How to identify whether a DLL is running from Which environment
Posted by N S S at 11/23/2004 2:19:01 PM
I have a need to identify the Environment under which the DLL is
Executing.
The same DLL may be running under or from IIS,Webservice, windows service
or remoting.
Any ideas how to find it ?... more >>
web services/iis issue
Posted by Param R. at 11/23/2004 2:14:47 PM
Hi all, we recently upgraded our servers to 2003 and have begun seeing
several problems. We have a web services that runs locally and is called by
..aspx pages of other websites. Ever since the upgrade we have been getting a
ton of the following errors:-
System.Web.HttpUnhandledException: E... more >>
.net 1.1 form submission
Posted by Param R. at 11/23/2004 1:55:14 PM
Hi all, we have a few apps running on server 2003 with .net 1.1 sp1. Simple
web forms with db backend. Websites run over SSL with client certs. Clients
are Windows XP SP2 with all updates and IE. On a frequent basis when the
client submits a form he gets a blank screen. When this happens he ha... more >>
Error loading object into Session
Posted by Andrew Corley, MCSD, MCDBA at 11/23/2004 1:47:06 PM
We have developed an ASP.NET application that uses a custom component that
we developed.
We are trying to load the custom component into the session state using
"System.Web.HttpContext.Current.Session.Add("objectname",
customobject)"
and we receive the following error messag... more >>
Problem with Datagrid updating using VB (ASP)
Posted by thenickm NO[at]SPAM hotmail.com at 11/23/2004 1:21:38 PM
Hi guys,
I've been trying to implement an editable datagrid and i have been
succesful up to the point where i can update my datagrid row by row.
However what used to happen was that once i updated one row, all of
them were updated so i immediatelly figured out that i have to include
the id of ... more >>
Struggle with The Move to .NET
Posted by Michael Geist at 11/23/2004 1:19:02 PM
I have been building web apps for about 7 years with (mostly) script and some
COM. I am comfortable with OOP and have taken several Microsoft-designed
ASP.NET courses including their ASP to ASP.NET course (which in my opinion is
a waste of time for anyone with more that a passing familiarity ... more >>
Custom Validator newbie question
Posted by MattB at 11/23/2004 12:57:42 PM
Hi. I've looked at a couple of examples and I thought I had a handle on
this, but it's not working like I expected.
I created a custom validator on my form that (for now) only has a server
side check that performs a luhn check on a credit card number. I've created
the validator, and the ser... more >>
Forms authentication doesn't work for downloads
Posted by Peter Afonin at 11/23/2004 12:41:20 PM
Hello,
I'm using Forms authentication, and it works well. If user is not
authenticated, he is routed to the login page.
However, this doesn't work for downloads. If I have a file located in the
restricted area and put a direct link to it - anyone can download it.
Why is this? I expected t... more >>
Session State Variables not being persisting correctly
Posted by yoshibebe NO[at]SPAM hotmail.com at 11/23/2004 12:23:19 PM
Hi, I have developed a project on my local machine. The session state
variables are working fine on my local machine. When I port it into a
another server called v-projects, and I try to run the project from
that other server, the session state variables are being set randomly.
For example, in t... more >>
Save/Submit not working in deployment when validators are enabled
Posted by GP at 11/23/2004 11:37:01 AM
We are facing a strange problems everything works fine when we are using the
visual studio environment .But when we deploy it in the webserver the save
buttons/submit buttons which has the cause validation property to true is not
working ..meaning the other aspx pages which doesn't have the pa... more >>
can you rename this item
Posted by rodchar at 11/23/2004 11:25:09 AM
hey all,
i was just wondering if you name the web.config any name as long as it has
the .config? True or False, why.
thanks,
rodchar... more >>
w3wp.exe locking DLL and PDB files.
Posted by z. f. at 11/23/2004 11:18:32 AM
This is a multi-part message in MIME format.
------=_NextPart_000_063D_01C4D14E.2A5CDE00
Content-Type: text/plain;
charset="windows-1255"
Content-Transfer-Encoding: quoted-printable
Hi,=20
i have an ASP.NET project that is using a (Class Library Project) VB.NET =
DLL.
for some reason ... more >>
Rowfilter no longer working
Posted by Mike at 11/23/2004 10:57:02 AM
I have code that allows the user to filter out car models, such as Chevy
PickUp, Chevy Truck, etc. by region. When i added code for the Chevy Cars and
filter by region i'm still getting the Trucks and Pickups in that region. How
can i only get teh Cars, for the selected region?
Code:
with ... more >>
ASP.NET 2.0 Maintain Scroll Position on PostBack with Mozilla FIREFOX in the works?
Posted by ed at 11/23/2004 10:11:52 AM
Does anyone know if ASP.NET 2.0 is going to incorporate "maintain scroll
position on postback" in non-IE browsers like Firefox?
This seems like an often requested feature on these newsgroups since the
beta version of .NET.
Microsoft heavily advertises it's .NET browser detection advantages, ... more >>
Sending Emails using C#
Posted by A at 11/23/2004 9:53:58 AM
Hi all!
I would like to ask a question on sending emails...
I have a web application that requires sending emails using email templates.
The templates that I've made are separate HTML files and would require some
data based on what the user has entered.
Please help!!!
Thank you so mu... more >>
Bound DataGrid Wizard with built in Update/Delete/Insert?
Posted by mark_moeykens NO[at]SPAM progressive.com at 11/23/2004 9:48:21 AM
I have a repetitive task where I need to edit a table in SQL Server
through a web page. Nothing fancy, just populate a datagrid and use
the commands Insert/Update/Delete/Cancel.
Is there a quick and dirty way to do this within 60 seconds? I don't
care if I have to use those design-time conne... more >>
Web Server not running ASP .NET version 1.1 Error while publishin
Posted by N S S at 11/23/2004 9:29:01 AM
Hi
I am getting Error " Visual studio .NET has detected that the specified
web server is not runnin ASP.NET 1.1"
When i am trying to publish the web site on the Testing server from my
development server using Copy Project, i get this Error.
Interestingly, i did publish my web si... more >>
Assembly Referencing Question
Posted by Jason MacKenzie at 11/23/2004 9:14:26 AM
We are clearly going about this the wrong way so before we get too far I
would like some advice.
We have all common assemblies like our page base class etc located on our
Dev server.
We reference them in all our applications with Copy Local set to trued
We then publish them to the produ... more >>
please help with webservice problem
Posted by David at 11/23/2004 9:06:58 AM
When I call a webservice with an ASP.NET application, I get the following
error:
"The underlying connection was closed: Unable to connect to the remote
server. "
With my brower, I can get the asmx page and get the expected output on the
page.
With a console application, I can call the... more >>
Access Client machine key through ASP.NET
Posted by aatif.malik NO[at]SPAM gmail-dot-com.no-spam.invalid at 11/23/2004 8:58:56 AM
Can I get machine key of the client accessing a web page through
ASP.net, like I can make an exe which is installed on the client side
to get his machine key, but how will it be transferred to the page, if
he tries to access the page.
Anybody have any idea about it, all I want to do is to re... more >>
Datagrid question
Posted by Henry at 11/23/2004 7:25:04 AM
Hi. I've posted this at another discussion board(WebControls) and I was
wondering if anyone knows or could help me in the right path to solving my
problem. Thanks.
Henry
(Here is the original post)
-------------------------------------
I have a question regarding freeze header on datag... more >>
Trouble authenticating to Remote SQL Server
Posted by Brent Waldrop at 11/23/2004 7:07:07 AM
Ok everyone, i have been pulling my hair out on this one. I have been
working on it for 3 days with no sucess. This problem is occuring at home
where i am running a workgroup. I have Windows 2003 Ent Server on one
machine and windows xp sp2 on another. The db server is located on the
Windows 20... more >>
Unable to start debuggin on the web server
Posted by David at 11/23/2004 6:49:17 AM
When trying to debug, all of a sudden, I am getting
"Error while trying to run project. Unable to start debugging on the web
server."
I have XP Pro. It started happening out of the blue. Any ideas?
... more >>
Max Length Custom Control
Posted by Mike Moore at 11/23/2004 6:47:04 AM
Does anyone have a good example of a custom validator for max and min length
validation?... more >>
Web matrix - SQL / Access
Posted by StephanieBujold2 NO[at]SPAM yahoo.ca at 11/23/2004 6:43:01 AM
Hi everyone,
Big problem. I'm in my final (university) and I use web matrix. The
problem is that I have to connect to access database and when I try
via the data / new connection button it asks me to connect to sql or
msde. I don't have the option to connect to an Access database. My
connecti... more >>
Problem creating FileInfo Array
Posted by etantonio NO[at]SPAM libero.it at 11/23/2004 6:37:15 AM
Good morning,
I've the following file system :
C: -> HTML -> Aziende -> Azienda_1 -> a.jpg
-> Azienda_2 -> a.jpg
...
-> Azienda_N -> a.jpg
my desire is to create an array of fileinfo containing the a.jpg ,
a.jpg , ... , a.jpg
in a way that I ... more >>
Code Re-use or classes
Posted by robopro NO[at]SPAM gmail.com at 11/23/2004 6:30:59 AM
I've been coding in asp.net (vb) for a while now and I miss being able
to create functions in modules (like in ms access) so that I don't
need to reuse my code in all the code behind pages. I know that
creating classes is the accepted way to get around this in .net but I
have not been able to f... more >>
isvalid not working for a text box
Posted by louise raisbeck at 11/23/2004 6:09:05 AM
Hi, I have a text box with corresponding comparevalidator as so..
<tr><td align="right">End Date :</td>
<td><asp:TextBox id="dtEndDate" runat="server" onTextChanged="set_Duration"
autopostback="true" cssClass="mandatory"/></td>
<td><asp:CompareValidator id="vdEndDate" runat="server"
cssCla... more >>
Datagrid viewstate contents?
Posted by Dave at 11/23/2004 6:01:03 AM
Hi,
When binding a dataset to a DataGrid and paging 10 records at a time, is the
entire dataset still encoded and sent to viewstate as well OR just the
current page and what's visible to the user stored in the viewstate on the
browser?
I've added some excerpts from some articles so I'm n... more >>
java script help please
Posted by Raghu Raman at 11/23/2004 5:49:37 AM
hi,
Given 2nd testing for masterphysician and made changes as per the
result.Other refinement going on
with regards
raghu
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
How to access client side XML data island from server side?
Posted by adolf garlic at 11/23/2004 5:33:04 AM
I have an aspx which has some client side script.
The client side part of the page also features an xml data island [<xml
id='blah'....]
What I want to be able to do is to get at the data island from the server
side part of the page.
I've managed to do it with a simple text field using
... more >>
ASP Pages are being compiled at every request
Posted by Roger Helliwell at 11/23/2004 4:52:17 AM
Hi there,
Our website is serving pages incredibly slow. On further inspection it
looks like each page is getting re-compiled at each request. Task
manager shows that 'aspnet.exe' runs for a fraction of a second,
followed by 'csc.exe' which executes for about 4 or 5 seconds. This
occurs on new... more >>
UI Operation in Remote Scripting
Posted by vijay_kerji NO[at]SPAM yahoo.com at 11/23/2004 3:49:31 AM
Hi,
Using remote scripting in .NET, is it possible to operate on the
server controls?
i.e. I call a method foo() of A.aspx, using remote scripting. Inside
foo(), can I Populate a datagrid or anything like that?
Thanks in Advance,
Vijay K Kerji... more >>
file upload
Posted by rom at 11/23/2004 3:14:35 AM
hi,
I'm uploading a file using a simple <input type=file>, and
after every page refresh, the file uploads again! any
ideas?
Thanks.... more >>
encoding
Posted by sara at 11/23/2004 2:57:21 AM
hi to all
i woek in a web application that need to write aribic data to sqlserver
in webpage arabic apper
when i write in the table in sql arabic that save arabic
but when i write from .net to sqlsever the arabic is not appering
thanks
... more >>
How to refer to textbox in class?
Posted by John Mason at 11/23/2004 2:39:32 AM
Hi,
I am trying to work out how to make reference to an asp textbox control
within a class, contained in a user control, but receive the following
error...
BC30469: Reference to a non-shared member requires an object reference.
Here is the code...
<%@ Control Language="VB" runat="serve... more >>
Writing a file on a shared host
Posted by anon at 11/23/2004 1:45:25 AM
I am a bit of a newbie to asp.net, and I have purchased a cheap shared host
account to try to learn about it.
I've tried a few things quite successfully, but when I try to write an XML
file out (XmlTextWriter) it fails due to an unauthorised access. I think I
am probably trying to write to c:\... more >>
Dynamically loading stylesheets
Posted by Alan Lambert at 11/23/2004 1:09:11 AM
I have an ASP.Net page which, depending on a parameter being passed via the
QueryString, needs to use a different stylesheet.
I've tried creating a runat="server" version of the link tag:
<link rel="stylesheet" type="text/css" href="" id="pageStyle" runat="server"
and then accessing it vi... more >>
treeview property
Posted by sara at 11/23/2004 1:09:10 AM
hi to all
i want to know how can i change font and other property for treeview
webControls
thanks
... more >>
Page_Load and Page_Init get called twice, sometimes!
Posted by dotnw NO[at]SPAM hotmail.com at 11/23/2004 1:04:32 AM
I've read quite a few threads on these groups about this. When
someone says the following:
"My Page_Load gets called twice on a button click postback"
The replies are:
"Do you have AutoEventWireup=True in your page header?"
In my project, I have this set to false - everywhere.
Also,... more >>
|