all groups > asp.net > november 2004 > threads for tuesday november 2
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
Is MCAD.NET cert based on VS2003 still worth to take?
Posted by andy lim at 11/2/2004 10:30:43 PM
hello all,
i developed several ASP.NET web application with VS2003.
i'm preparing myself to take an exam on the path to MCAD.NET.
then, the VS2005/.NET framework 2.0 (beta) came in to my hand. after i
played around for some time with it, i found that VS2005/.NET 2.0 includes
so many built-in ... more >>
Installation problem in .net
Posted by AVL at 11/2/2004 9:05:02 PM
Hi,
I had installed vs.net 2003 on my sytem at home. But the problem is
that I'm unable to debug the applications and also the web applications are
not running correctly. I'm ubale to trace out the problem.
Whenever I'm trying to debug an application, its giving me the following
error... more >>
weird problem: urgent
Posted by Param R. at 11/2/2004 8:53:10 PM
Hi all, we just recently upgraded our server from win2k server .net 1.1 sp1
to windows 2003 .net 1.1 sp1. We have started seeing some strange behavior
on postbacks. On a frequent basis when users submit forms they get back a
blank page instead of getting the next page. The data is not updated.... more >>
strange login occurrence
Posted by rodchar at 11/2/2004 8:48:01 PM
hey all,
i have an asp.net app and i create a login.aspx page for it, i changed the
web.config to windows forms authentication and deny users="?" for
authorization. i browsed to a page and got redirected to login several times.
that's perfect.
well, i had to run the data adapter wizard a... more >>
Question about window.open
Posted by Danny Ni at 11/2/2004 8:42:42 PM
Hi,
I have a webform that will pop up window by clicking button or links
inside data grid.
Here are some sample code snippet:
'For button
btnOrder.Attributes.Add("onclick", "window.open('order.aspx?.............
'For datagrid
<asp:TemplateColumn>
<ItemTemplate>
<a href="#" onclick="... more >>
Shared Components
Posted by Simon Harris at 11/2/2004 8:34:46 PM
Hi All,
Has anyone got any advice about how to share code in an Intranet
environment?
In classic ASP, we had include files with functions, connections etc in - We
now need to do similar in asp.net, sharing class libraries, so they are
available to all applications on our intranet.
Reg... more >>
3D Array in VB.NET
Posted by Vishal at 11/2/2004 7:57:24 PM
Hello,
I am trying to create a 3D dynamic array, however I
dont know. I dont know the size when I create the array. I
have to loop through a dbase and add the return values
from the row to the array. Can anybody give me a small
example please?
Thanks... more >>
Field validation
Posted by John at 11/2/2004 7:53:04 PM
Hi
On my webform I need users to enter info in two fields in the format
dd/mm/yyyy and 99-99-99 respectively. How do I achieve this?
Thanks
Regards
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to make all pages have the same layout
Posted by briand at 11/2/2004 7:32:01 PM
How do I make many pages with the same layout?
I have created header, side bar, main body, and footer web controls and
added them to a table. I have many pages that want to use this same layout,
BUT I DON"T to have to duplicate the layout in each page.
Is it possible to use the layout from one... more >>
ASP.net , http and socket creation
Posted by saintthomson NO[at]SPAM yahoo.com at 11/2/2004 7:22:05 PM
Hi all,
please help me out
"IF 25000 users request a yahoo page, will 25000 sockets will be
created"
For the Server to know which client has requested what there
has to be a socket with the client port no and IP address with the
server port no and IP address. This is my kn... more >>
charting in asp.net
Posted by Robin at 11/2/2004 6:50:32 PM
What charting is available in asp.net as standard?
... more >>
events in a datagrid with webmatrix
Posted by Vishal at 11/2/2004 6:13:56 PM
Hello,
I have some pages in VS.NET which I now copied and
modified for the web matrix project. The pages contains a
datagrid, which lets me edit/delete and update the data.
However the events which i have copied from VS.NET doesnt
not work. They are never called. Is there something I ... more >>
Find footer labels in DataGrid
Posted by tshad at 11/2/2004 5:14:06 PM
How do I find (and set) a couple of labels in the Footer after a DataGrid is
filled?
I have a bunch of DataGrids that get displayed nested inside a DataList.
The datagrid looks like:
*******************************************************************************
<asp:DataGrid visible="Fa... more >>
2 onlick events?
Posted by DC Gringo at 11/2/2004 5:08:29 PM
I have a clickable image that I would like to convert into a server control
imagebutton accessing a server-side onClick event and a client-side
javascript onclick event as well. Is this possible? How can I invoke both
the client side javascript event and the server side VB?
Here's what I sta... more >>
Trouble with forms authentication
Posted by Justin at 11/2/2004 5:01:02 PM
I am trying to password protect a subdirectory using forms authentication. I
am using the "Location" tag to specify the directory to be protected. The
login.aspx page is in the root directory of the app. Here is the web.config:
<location path="Admin">
<system.web>
<authentication mode="F... more >>
Data Grid Date Formating
Posted by JAPHET at 11/2/2004 5:00:16 PM
I am Trying to Format date in my Datagrid to SHORTDATE format with the
following codes,
Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs) Handles
DataGrid1.ItemDataBound
Dim dt As DateTime
dt = e.Item.Cells(2).Text
... more >>
Winddows authentication AND Forms Authentication
Posted by Galore at 11/2/2004 4:52:33 PM
Hello!
I wonder if there's a way to a web site has both kinds of authentication:
windows and forms. The web application I'm working on will be accessed by
two kind of users: administrators, that will access it throught Intranet
(windows authentication), and customers, that will access it thoug... more >>
Populating DropDowns
Posted by sck10 at 11/2/2004 4:49:48 PM
Hello,
I have two dropdown objects that I want to use the same datasource for each.
I tried the following, but it doesn't populate the second dropdown. Do I
need to close the OleDbDataReader and then re-open it to populate the second
dropdown object?
Thanks in advance,
sck10
'Pop... more >>
Strange problem with Visual Studio .Net
Posted by Ed Chiu at 11/2/2004 4:34:01 PM
Hi,
I have a strange problems with VS. Net 2003. I have used a lot of users
controls in a web application. I declare some varaibles as Public in the code
behind files of some user controls. I don't know why or how, VS .Net will
change my variables scopes from Public to Protected.
Any I... more >>
disabling ValidateRequest for one textbox
Posted by Andy Fish at 11/2/2004 4:31:40 PM
Hi,
I have one textbox on the form that needs to have ValidateRequest disabled,
but it seems that it can only be enabled/disabled at a page level.
assuming I have to disable it at for the whole page, how can I invoke
ValidateRequest functionality for the other text boxes individually? I wa... more >>
how to debug a remote project
Posted by ALI-R at 11/2/2004 4:13:23 PM
I have created an asp.net application from my computer on a remote server ,I
dont know how to debug it ,how can I set the breakpoint ?
thanks for your help
Ali
... more >>
I have a regular ATL COM object which works fine in my ASP.Net page unless...
Posted by WTH at 11/2/2004 3:59:48 PM
....I call a method on it which trys to read the registry. I can
open/close/manipulate databases just fine but the registry? Bang,
exception...
The object works fine from a regular C# windows application, a VB .Net app,
or an unmanaged C++ app.
The weird thing is, this older COM object I ... more >>
Download file from Database by ASP.net Webform
Posted by Ken Yu at 11/2/2004 3:53:52 PM
Hi,
I have one database table to store file (example : PDF, DOC, XLS
...... ) DateType (BLOB),
How can download one or more file (same time) from database by asp.net
webform ???
tks a lot !
Ken
... more >>
sharing usercontrols across projects
Posted by darrel at 11/2/2004 3:29:49 PM
Is it practical?
I have a site we've been working on where a lot of the objects on the page
are usercontrols...the header, the footer, navigation, etc.
I need to make a stand-alone mini-site that should not be connected to the
larger project, as it will be maintained by a different group by ... more >>
Updating Web Form Control From Thread
Posted by jervinjustin NO[at]SPAM yahoo.com at 11/2/2004 3:27:11 PM
Hi,
I've been having this problem for some time with Web Forms:
I have a web app that sends data to a service when the user presses a
button. Based on the data, the server will send several replies. Since
there is no way for a service to post to a client, I am using a thread
on the client t... more >>
close the all openwindows at once
Posted by krishna murthy at 11/2/2004 3:25:26 PM
hi,
how to close the all open windows in MDI form.that MDI form should be
active.plz give me the right solution.
krishna murthy
... more >>
CSLA.NET vs other software?
Posted by NOSPAM at 11/2/2004 3:14:49 PM
I have been looking into a good object/relational framework solutions for my
software application. Regardless CLSA is free, how does CSLA.NET framework
compare to other O/R solutions?
CSLA.NET
http://www.lhotka.net/
eXpress Persistent Objects (easy to use, but seems it's not robust enough,
... more >>
Getting a list of file types
Posted by JD at 11/2/2004 2:47:59 PM
Hi all,
Can anyone tell me is there a way to get a list of file types either
supported on the server or clients computer and bind it to a drop down list
in C#
Thanks
Jonathan Dixon
... more >>
Namespace Error
Posted by faylau NO[at]SPAM mail.com at 11/2/2004 2:43:03 PM
Does anyone know how to debug this problem?
My project compiles without any errors. But when I try to bring up
the page in the browser, I get this error:
"Could not load type 'Website.Company.ContactUs'."
Which refers to this line in my HTML:
<%@ Page language="c#" Codebehind="ContactUs.as... more >>
editcommandcolumn not working with template
Posted by tshad at 11/2/2004 2:29:59 PM
I have a row like this that works fine:
***************************************************************
<asp:DataGrid visible="False"
border=1
id="DataGrid1"
runat="server"
Width="400px"
... more >>
Binding Repeater control to heirarchical dataset
Posted by Charlie at 11/2/2004 2:27:31 PM
Hi:
I have one-to-many relation (customer > invoice > invoice_items) that I
would like to display on web page using Repeater control. Can the control
be bound to a heirarchical dataset to render this kind of data. For each
parent it would display associated children, then move on to next ... more >>
~/myfile => www.myserver.com/myvirtdir/myfile ?
Posted by Lloyd Dupont at 11/2/2004 2:11:27 PM
how do I transform a ~/path into an absolute url ?
I have a web app with plenty of directory and things use here and there.
I wrote a function which, from a ~/path return an URL (on the current
server) but I wonder if such things already exist?
example, I have these image
~/res/banner.gif
... more >>
Getting error adding an extra header to datagrid
Posted by AMD Desktop at 11/2/2004 1:55:17 PM
Hi,
I need to add a header to a datagrid.
This is the code I am trying to use:
Dim dgStaffingReport As New DataGrid
Dim dgitem As New DataGridItem(0, 0, ListItemType.Header)
Dim mycell As New TableCell()
mycell.ColumnSpan = 2
mycell.Text = "Staff"
dgitem.Cells.Add(mycell)
dgStaffi... more >>
SQL Injection Attacks
Posted by poppy at 11/2/2004 1:49:10 PM
I think a site I developed has been the victim of a sql
injection attack.I know how to stop this happening in
future but:
Is there any way I can trace such an attack?
... more >>
load order question
Posted by Dan Nash at 11/2/2004 1:45:03 PM
Hi guys
Ok, i have an aspx with a user control. In the user controls pageload i set
a property (mystring = "test";). i then want to access that from the
page_load of the aspx thats using the control.
the problem is that the pageload for the page fires before the pageload for
the control,... more >>
CreateChildControls before LoadViewState = Bug in DataGrid and Repeater
Posted by Ferret at 11/2/2004 1:44:47 PM
I've found what seems to be a nasty bug in the DataGrid and Repeater
classes. If CreateChildControls gets called before LoadViewState,
ViewState fails to map and you end up with nothing on a Postback.
Please try the following test, and let me know if you can reproduce
this:
- Create a custom... more >>
ListBox selection
Posted by VB novice at 11/2/2004 1:24:01 PM
This should be too simple. I want to click on an item populated in a ListBox
and have that item appear in a textbox.text field. I can not get the item to
appear.
The items in the ListBox get there originally through a query generated from
a dropdown selection. All the examples I can find o... more >>
window.showModalDialog and ASP.NET
Posted by Paul K at 11/2/2004 1:15:06 PM
I'm not quite sure if the problem I'm having is a restriction of
showModalDialog or if there is a way around it.
The web app I am working requires the user to select a record from a list.
I pop this list (generated by a second page) in a second window. When the
user selects a record on th... more >>
accordion style menus
Posted by Andy G at 11/2/2004 1:09:28 PM
Is it possible to create accordion style menus in asp.net like windows
explorer uses? If so, could someone point me in the right direction. I
have a SQL database with questions that belong to certain 'Segments'. I
would like to show the 'Segments' with little +'s by them (just like
Explorer) ... more >>
reset form - from a total newbie
Posted by keith at 11/2/2004 12:58:02 PM
I've been looking and trying suggestions from here and elsewhere, but I can't
seem to make them work. I'm using VisualStudio.net Development Environment
7.0.9466.
I am trying to duplicate the functionality of a straight html page that I
was given as a mock up.
I have a web form with seve... more >>
reset form - from a total newbie
Posted by kdt at 11/2/2004 12:58:01 PM
I've been looking and trying suggestions from here and elsewhere, but I can't
seem to make them work. I'm using VisualStudio.net Development Environment
7.0.9466.
I am trying to duplicate the functionality of a straight html page that I
was given as a mock up.
I have a web form with seve... more >>
Events and Render mentod
Posted by Philip Poole at 11/2/2004 12:50:02 PM
Hello everyone,
I have come across a weird probloem and do not know whether it is a bug or
established design. I have some user controls which after an event will
cause chnaged to happen inside them. I then need to render my main page
after the page_load of all of the controls has occured.
... more >>
form background question
Posted by niv at 11/2/2004 12:43:04 PM
Hello,
I set my form's background to an image but the images
seems to be repeating..how do I stop this?
Also, I want the image to stay exactly as is.. if the
webform changes in size.. i dont want the image to
stretch..
Thanks,
niv
... more >>
ASP.Net Life Cycle
Posted by prem at 11/2/2004 12:03:18 PM
Hi,
Iam new to ASP.NET.
Any one can please give full description about ASP.Net life cycle.
Thanks in Advance,
Prem.
... more >>
PersistenceModeAttribute problem
Posted by Praveen Ramesh at 11/2/2004 11:50:19 AM
Here is a request for a change in Whidbey:
We develop a lot of base assemblies which will end up being used either by
Windows Forms OR ASP.Net. These assemblies include a lot of properties of
collection types and we need to include the PersistenceMode attribute to
those properties for proper p... more >>
weird error only on ie
Posted by gh0st54 at 11/2/2004 11:49:42 AM
Hi
I have a weird javascript error that only happens on my live server
when i open the page http://www.imrated.co.uk/reg.aspx
i get the error 'Problems with this page ... blablabla
Line : 3
Char : 1
Error:Syntax error
Code : 0
URL : http://www.imrated.co.uk/reg.aspx
i even tried rem... more >>
Photo Gallery
Posted by bob garbados at 11/2/2004 11:30:17 AM
I'm looking for thoughts on photo galleries and security/performance
implications... I'm working on an asp.net site in vb that will include an
updateable photo gallery that will display thumbnails on a page and clicking
on the thumbnails would pop open another window with the full-sized image.
... more >>
page directive moves each time I view html
Posted by Mark at 11/2/2004 11:04:33 AM
We have an ASP.NET 1.1 project in VSS. We have one page where a small
snippet of the .aspx code MOVES each time you flip from HTML view to Design
view. This results in it 1) always asking us if we want to save our
changes, and 2) always prompts us to check out the files from VSS. Below
are th... more >>
Default Picture
Posted by hoz at 11/2/2004 11:01:25 AM
Hi ,
lets say i have an sql table Users ( id, name ,pictureurl)
i use datagrid to show records . my problem is , when pictureurl is null how
can i load default.jpg picture ? binding is done on run time ( using
DataEval.DataBinder)
... more >>
FAIL TO LOAD A PICTURE FROM DATABASE TO WEBFORM
Posted by Comfort at 11/2/2004 10:10:38 AM
How can I load a picture direct from the database to my webform? Right now I
can load it from the database to a certain drive and load it from that drive
to my webform using .imageurl
... more >>
HTTP Header to cache .xml & .xsl files
Posted by Rahul Agarwal at 11/2/2004 9:20:23 AM
Hi
We use few .xml and .xsl files in our web application and we found that
these files even though fairly static gets downloaded to the client's
machine everytime the page is refreshed.
What should be the http header or what attributes in http header should be
added to avoid downloading of ... more >>
Custom Control That Accepts Inline Code
Posted by JWhitted at 11/2/2004 9:13:03 AM
I created a control which parses its sub objects and wraps the code in an
HTML wrapper. For example:
<abc:Section ID="Section1" Runat="server" Title="Example">
<p>This is an example.</p>
<p>This is an example.</p>
</abc:Section>
When the above example is rendered to HTML it appears as fo... more >>
Template Column, EditCommandColumn issues
Posted by Ron at 11/2/2004 8:46:02 AM
Hello,
I am trying to create a page that pulls class rosters from an SQLServer
database. The roster table definition is: emp_id(pk, fk), sec_id(pk, fk),
reg_date and reg_status. Status can be Pending, Cancelled or NoShow. I want
the page to display section information (working fine) as well a... more >>
Error while trying to run project: Unable to start debugging on the web server. Click help
Posted by Mosh at 11/2/2004 8:41:48 AM
I was able to debug an asp.net application with no problems even after
installing xp sp2.
In the last few days I am getting "Error while trying to run project: Unable
to start debugging on the web server. Click help for more information" (no
additional infomration)
I followed all the suggesti... more >>
Referencing Dataset row not Datagrid row
Posted by Craig at 11/2/2004 8:29:49 AM
How do I reference the dataset row number for the data in the datagrid and
not the datagrid row itself when calling a function from the HTML?
When I am calling a function from a datagrid column as shown below I can use
'Container.ItemIndex' which refers to datagrid row number but I want the row... more >>
ASP.NET + Client Access Licence
Posted by Hani Atassi at 11/2/2004 8:04:04 AM
If i am using a form type authintication, do I need a licence for each logged
in user?
The application maintain their own user list and they are not Windows
accounts.
If I am using SQL Server from my web application, and SQL server uses 1
windows account, how many CAL do I need for my web ... more >>
Page_Load
Posted by Vi at 11/2/2004 8:02:02 AM
Is there a way to determine in Page_Load as a result of what action (what
button click) the form was submitted?
Thank you... more >>
Web User Control - fire function from client side
Posted by amontes NO[at]SPAM bigfoot.com at 11/2/2004 7:41:12 AM
I'm building a Web user control that has several public functions. Can
I fire them from the client side? for example Javascript and an HTML
button... more >>
Simple Nested Datalist
Posted by anthonykallay NO[at]SPAM hotmail.com at 11/2/2004 4:09:16 AM
Hi there,
I have a simpletable that i have succesfully bound to a datalist..
It just shows name, description and image.. FINE.. However i would now
like to simply split them into sections i.e 1,2,3,4.. So i added
another field to the table called section..
However this is proving really h... more >>
Dot Net Web Server has died - aspnet_wp.exe Problem - Help !!
Posted by m00nm0nkey at 11/2/2004 3:53:02 AM
Hello.
My organisation has been developing in VB.NET for a couple of months. We've
been sucessfully implementing our software on a server with the dot net
framework installed for a couple of weeks.
Although we are still able to install and run VB.Net Windows Services, we
are now unable... more >>
ASP.NET Application from Multiple Projects
Posted by Galore at 11/2/2004 2:52:39 AM
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01C4C087.04210F90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello!
I'm trying to setup an ASP.NET multiple web projects application, =
following the article How To Cr... more >>
Window focus
Posted by Wei at 11/2/2004 2:04:57 AM
I need the current window stay on focus. The user will have to click on
exit button to exit the window.
When I use the following code, I got an error: "Not implemented"
Code:
private void Page_Load(object sender, System.EventArgs e){
Response.Write("<script>window.onblur = window.focus();</... more >>
Saving a dynamic Tables state
Posted by Joe at 11/2/2004 1:44:19 AM
I have a table which I dynamically add rows to. One column of the rows
contains a checkbox. Now I need to be able to get the state of the
checkbox(s) once the 'Next' link is clicked.
I've been searching around and trying to add elements to ViewState but I'm
not having luck.
Thanks,
Joe
... more >>
How can I communicate between web servers on the same machine?
Posted by Gery D. Dorazio at 11/2/2004 1:43:59 AM
Gurus,
I have a server running Windows Server 2003 Web Edition running multiple web
sites on the same server. All the web sites on this server are owned by the
same company. The company does secure credit card processing through a
payment processing company gateway service.
The company t... more >>
Access to ASP net application on IIS with Mozilla
Posted by Alessandro Rossi at 11/2/2004 12:29:01 AM
Hi,
I developed an ASP.net application which is running on IIS. If I access to
the pages in this application by Internet explorer, all works properly, but
if I access to the same application by Mozilla, this show me the prompt to
ask username and password for "localhost".
Why?
Who can help ... more >>
using word from asp.net application
Posted by mr net at 11/2/2004 12:07:39 AM
Hi,
I'm trying to write:
Dim objWord As New Word.Application
in the codebehind page but I'm getting the error written
below. The question is what is the correct way to use word
or any other office automation in asp.net applications? In
the old (asp) days I used to write the code in a com.... more >>
|