all groups > asp.net > november 2004
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
ASP.Net book
Posted by f.blair at 11/30/2004 10:38:14 PM
What books are recommended for newbie. I have done some ASP earlier but not
a lot. I also only have a beginners knowledge base of OOP.
Fred
... more >>
Query across multiple databases/SQL Servers
Posted by no.one NO[at]SPAM no.where.com at 11/30/2004 10:37:11 PM
Is it possible to run a single query that pulls data from multiple
tables in multiple databases, perhaps also from multiple SQL Servers?
Any input would be appreciated.
Thanks!
RichardF... more >>
ASP.Net vs MySql and PHP
Posted by f.blair at 11/30/2004 10:35:20 PM
What is easier to learn and implement, ASP.Net or using PHP and MySql?
Fred
... more >>
Computed columns in datagrid
Posted by Raymond Du at 11/30/2004 10:11:24 PM
Hi,
Can I have computed columns in a datagrid? If yes, how?
TIA
... more >>
Window.Close Opens New Annoying Window
Posted by vijay_kerji NO[at]SPAM yahoo.com at 11/30/2004 10:04:24 PM
Hi,
Please go through the following scenario.
1)On Button click, Parent window opens a child window using
showModalDialog
2)Button is a server control and showModalDialog script is registered
using the following code:
string scriptblock = "<script language='javascript'>returnValue =
window.... more >>
How to delete a hidden input's value in code-behind
Posted by Alex at 11/30/2004 10:02:09 PM
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C4D728.3D118AC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Is there any way to delete the value of a html hidden input field from =
code-behind? I use an html hidden in... more >>
why does simple aspx hang FOREVER
Posted by Amil Hanish at 11/30/2004 8:19:47 PM
I'm having an issue on IIS 6 on Windows 2003 Server. The following simple
file hangs the client forever (I quite waiting after about five minutes).
No error in IIS error file or IIS log file. The website has no traffic
except my testing.
<HTML>
<HEAD>
</HEAD>
<body>
<form ... more >>
Highlighting DataGrid Rows on mouseOver
Posted by WebMatrix at 11/30/2004 7:09:04 PM
Hello,
I need to extend functionality of ASP.NET datagrid. Onmouse over, the whole
row needs to be highlighted. OnClick highlighted color must remain, and the
value of one of the columns must be set to innerHTML property of a <div> tag
(no postBack).
Has anyone done anything like that? ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Isdate() not working properly
Posted by Nita Raju at 11/30/2004 6:27:14 PM
Hi,
I have to validate a textbox for date without using the validation controls.
So i had to use IsDate(). It's not working properly when i give "11//2004".
When i enter the above date it returns true.
What can i do about it??
Regards,
Nita
... more >>
Query Builder
Posted by Michael Chong at 11/30/2004 6:25:08 PM
Regarding Query Builder from OleDbCommand, it seems doesn't work well with
SQL syntax "ColName LIKE 'abc'", is that right? My SQL syntax works
perfectly in my database testing but it doesn't work at all in aspx.
Please advice! TQ
Michael.
... more >>
IIS won't run ASP.NET apps. "Specified metadata not found"
Posted by theyas NO[at]SPAM community.nospam at 11/30/2004 6:19:11 PM
Windows XP SP2 + Symantec AV + VS 2003 with .NET Framework 1.1
IIS won't load or run existing ASP.NET applications and VS can't create or
load web projects (HTTP/1.1 500 Server Error).
Event System log shows a warning with the following attributes: User: N/A,
Source: W3SVC, Category: None... more >>
required field validator
Posted by hansiman at 11/30/2004 6:15:38 PM
I'm having trouble getting the required field validator to work. I can
still save the row in the datagrid... I can't see what I'm doing
wrong.
<asp:TemplateColumn SortExpression="c.Password" HeaderText="Password">
<ItemTemplate>
<asp:Label runat="server" Text='<%# DataBinder.Eval(Container... more >>
Page.RegisterStartupScript not working in Netscape
Posted by Marshal Antony at 11/30/2004 5:32:45 PM
Hi,
I have a problem with using Page.RegisterStartupScript to call some
javascript code from ASP.NET using C# is not working in Netscape.It is
working fine in Internet Explorer.Does anybody know how to fix this problem?
Any help is appreciated.
Thanks,
Marshal Antony
..NET Developer
... more >>
calling an aspx page
Posted by Gina L. Hernandez at 11/30/2004 5:26:23 PM
Hello:
From an aspx.net , I am trying to call a second one when a user presses a
button. On the second page he selects a row in a data grid, after this I
need to return the control to the first page preserving all the fields that
the users has previously filled in, adding values of the selec... more >>
ASP.NET page lifecycle and In-Line code
Posted by redhair at 11/30/2004 4:54:00 PM
In a asp.net page (.aspx) below, I'd like to know the in-line code
("<%Output()%> ) will be executed
in which page process lifecycle? thanks.
<Script Language="VB" Runat="Server">
Sub Output()
........
End Sub
</Script>
<form runat=server>
<Asp:ListBox runat=Server ID=user_... more >>
.net 1.1 form submission & iis 6
Posted by Param R. at 11/30/2004 4:51:14 PM
Hi all, this is my 2nd post on the issue. I havent been able to find a
solution.
Web Server:- Windows Server 2003 Web with all latest updates. ASP.Net
application running over SSL (self-issued, CA is trusted).
Client: Windows XP SP2 with all latest updates. Connects via ISA 2001 SP1 to
web ... more >>
Form Authentication
Posted by Anil at 11/30/2004 4:49:27 PM
Hi All,
We will be using form authentication in out website. We have two totally
different types of users in our site.
Type 1
Has 2 different roles in it
Type 2
Has 3 different roles in it
The data we collect for Type 1 is very different than Type 2.
That's why, we want to use tw... more >>
How to work many peoples in a web project?
Posted by Dexter at 11/30/2004 4:45:13 PM
Hello all,
i'm developing a web project with Visual Studio.net, and now,
i need that many peoples work in a unique web project.
I have a web server with all source codes running with IIS 5.0,
and i want that all peoples use this web server.
How i can to work of this way?
Thanks
Dext... more >>
Private Variables in a WebForm
Posted by Manuel at 11/30/2004 4:38:17 PM
If I modify the value of a Private Variable in a web form and the user
clicks a button, the variable resets. How can I maintain an object (not just
a text) for the lengh of the web application?
... more >>
Session variable vs. Stored Proc
Posted by Andy G at 11/30/2004 4:11:22 PM
I have a registration page that captures 75% of the users data. After they
enter that info they are redirected to one of two pages depending on how
they answered a question on the registation page. My question is would it
be better to store all of the fields(15 or so) from the first page in
se... more >>
Get Value of Selected Item From Drop Down List
Posted by Stephen Adam at 11/30/2004 3:59:49 PM
Hi there,
I'm sure i'm missing something really simple here, all i want to do is get
the value of the selected item in a list box. Even after much fiddling about
last night I still could not get my code to work. Below is some code which
highlights my problem. All I want to do is set the lable ... more >>
session timeout problem
Posted by Germán at 11/30/2004 3:55:02 PM
I was experiencing problems with session in asp .net.
I´ve set up session timeout on 180 minutes at web.config, machine.config,
iis and even in application code, always session expires on 20 minutes after
last request.
Any solutions?
Thank you in advance.... more >>
Datasource Page
Posted by José Newton Fernandes Ferreira at 11/30/2004 3:34:47 PM
Hi,
I am developing a ASP.NET application that has a custom base Page class,
so all my asp.net pages inherits from a non-default Page
like:
public class WebForm1: MyBasePage
{
...
}
I have a property on this class that I want to use as the Data... more >>
[BUG?] (2) Update database using stored procedure and OleDbDataAdapter.Update
Posted by joun at 11/30/2004 3:23:29 PM
As suggested by Cor Ligthert, i've created a simpler sample, with the same
problem; this is the full source code,
so everyone can try itself:
Access database "dati.mdb":
Tables:
"myTable"
Fields:
fNumber Numeric
fString VarChar(50)
No primary keys defined.
Stored Procedures:
"q... more >>
Detecting Failed Authorization
Posted by Bijoy Naick at 11/30/2004 3:14:08 PM
I've implemented forms authentication and authorization on my application.
In my Web.Config, my authorization section looks like this..
<authorization>
<allow roles="admin" />
<deny users="*" />
</authorization>
If an authenticated user, who is NOT designated the role "admin" attempts... more >>
need some help with shopping cart
Posted by nicholas at 11/30/2004 3:09:49 PM
Hello,
Got a kind of e-commerce site.
There are products with product options, such as color, size, etc
All are defined a table:
tbl_products: the table with the products.
tbl_options: the table with the options (Columns are: optionID,
parentoptionID, optionname).
Ex. of content for tbl... more >>
What happens between events Load and PreRender. ASP.NET bug?
Posted by Francois at 11/30/2004 2:41:19 PM
Hi,
First of all sorry for the long post but I believe it is quite an
interesting as well as advanced and complex problem.
I have a problem with the checkbox control I have in my repeater.
I am using a repeater that I bind to some data in the Page_Load method.
That page is heavy and highly ... more >>
Important Stack Trace Data Missing When App Moved
Posted by RC at 11/30/2004 1:54:45 PM
I have implemented an error logging routine that writes out the stack trace
(associated with the Exception object). It tells me the exact line(s) of
code that lead up to the Exception.
Example:
at MyApp.MyPage.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\MyApp\SubDir\MyPage.aspx.... more >>
Q: Refresh button
Posted by JIM.H. at 11/30/2004 1:51:03 PM
Hello,
how can I realize refresh button on asp.net? when I click a button I need to
access database and fetch data.
Thanks,
Jim.
... more >>
Index and search PDf files in ASP.net
Posted by ra294 at 11/30/2004 1:30:40 PM
I need to build an ASP.net application that index & search inside a folder
with PDF files.
I know I can use MS index server to index and search inside PDF files using
a plug-in from Adobe.
Anyone has any examples of implementation of such service in ASP.Net using
Index Server on Windows ... more >>
Problem with Custom Web Control.
Posted by Dexter at 11/30/2004 1:24:09 PM
Hello all,
I'm developing a custom web control that mount a webpage,
but now i don't can to modify the properties of my custom web control.
by exemplo:
the property NumeroGuia is 0 by default, but if i try to modify to 5236,
i don't can.
Somebody can help-me with this custom web control?
... more >>
datagrid
Posted by Steph at 11/30/2004 1:17:27 PM
Hello,
I have a datagrid dgGrid and want add column depending of a context. I am
usin this following code :
....
while (Clcpt<7)
{
ButtonColumn myCol = new ButtonColumn();
myCol.HeaderText = Clcpt.ToString();
myCol.ButtonType = ButtonColumnType.LinkButton;
myCol.Text = "<img src='images... more >>
MatrixProjects.mdb - where can I find it?
Posted by mehl NO[at]SPAM cyvest.com at 11/30/2004 12:58:02 PM
Hello --
I am just getting started with dotNET and WebMatrix.
The example in http://www.asp.net/webmatrix/guidedtour/section15/dgcodebuilder.aspx
refers to
MatrixProjects.mdb
I can't find it.
Can someone tell me if it exists and, if so, from where can I download it?
Thanks for any h... more >>
String Array as function return....
Posted by Ram Achar at 11/30/2004 12:51:39 PM
Can I get string array (single dimension) as function return parameter?
I am developing ASP.Net application using VB.Net in .Net Framework 1.1.
Thanks,
Ram
... more >>
xsl transofrmations
Posted by Mariusz at 11/30/2004 12:27:06 PM
Hi,
I would like to know if this is possible to do some xml/xsl transformations
in ASP.Net. Cause I need to produce html code from xml file, I'v got xsl
transformation file but I don't know how to apply xsl to xml in Asp. I
have'nt found anything abaout this in doc, maybe there is some 3rd pa... more >>
Locking Error while Updating an Image---- Urgent!!! Please advice
Posted by Stephen at 11/30/2004 12:07:27 PM
Hi,
I made use of the suggestion provided by a fellow developer in this
newsgroup. I am trying to display an image on a page. I made use of an image
control like this:
<asp:image runat="server" id="myimage"
ImageUrl="[filename].aspx?id=1&width=200&height=200" />
the [filename].aspx?id.......... more >>
Accessing Datagrid properties within a user control from the outside
Posted by Craig G at 11/30/2004 11:50:27 AM
i have a user control which is basically a datagrid, which has
add/edit/delete buttons on the grid
is there anyway of accessing the actual datagrid from the form itself?
basically i want to set the add/edit/delete options visble/invisible on the
datagrid depending on the users's role, but fo... more >>
playing with data within the databound repeater
Posted by darrel at 11/30/2004 11:47:17 AM
*sigh*...I've asked this before, but have long forgotten the answer.
In the past, I'd often use repeater controls, bind data to it, and then
reference the data fields from within the repeater:
<%# DataBinder.Eval(Container.DataItem, "agentMobilePhone") %>
More recently, I've been doing mor... more >>
Dropdownlist in Datagrid
Posted by Richard at 11/30/2004 11:43:05 AM
I've seen articles on GotDotNet and elsewhere on how to put a ddl in a
datagrid, and have been able to implement this technique. For a new item,
among the datagrid columns there is the one ddl for the user to choose an
account description, and when the user saves, then the value is saved and
... more >>
Datagrid in a Datagrid
Posted by tshad at 11/30/2004 11:32:59 AM
I am trying to find out how to put a datagrid in another datagrid.
I want to be able to display the summary data that I get from my tables to
show in the first grid. The when I press a "+" sign on one of the rows, I
wanted it to expand to show another datagrid below it, with the detail.
I... more >>
Response.Redirect from Application_Error - session changes lost
Posted by Jon Paugh at 11/30/2004 11:10:53 AM
Hi,
So in Application_Error method in Global class of my
ASP.NET web project, I add:
HttpContext.Current.Session["SomeSessionThing"]
= "SomeSessionThing";
Then, in Application_Error method I Response.Redirect to
a error page. In the page's load, I check the value of
HttpContext.C... more >>
What does "WXBUnit undefined" mean?
Posted by Flip at 11/30/2004 10:50:54 AM
I'm seeing one of my websites giving me an error message on the page after
it loads up as "WXBUnit Undefined" What does that mean? The formatting of
the site is horrible! I'm not sure what is going on with it.
Thanks.
... more >>
Selecting some values in DeropDownList
Posted by Dave at 11/30/2004 10:43:03 AM
Hello.
I have DeropDownList control on my page and want to select some value by
SelectedValue, but before selecting I want to ensure that the value exists
in DeropDownList control's items.
How can I check it?
P.S. I must check only by value not by text.
Thank you.
... more >>
[Newbee] Print .aspx page...
Posted by ares at 11/30/2004 10:18:32 AM
Hi!
I'm a new bee in asp.net. I have a page that includes a table and a repeater
web control, they have been filled dynamically with a stored procedure. So I
would like to print this page with a print button. When I click the print
button, a new window must be opened and window.print() dial... more >>
Problems with aspnet_wp.exe
Posted by Everett Muniz at 11/30/2004 10:15:04 AM
System: Windows 2000 SP4
..NET Frameworks Installed: 1.0, 1.1 SP1
..NET Framework In Question: 1.1 SP1
Web Server: IIS 5
Process Model User: machine
Development Environment: VS.NET 2003
Development System: WinXP
The wednesday before Thanksgiving our web server started exhibiting some
incr... more >>
.NET version of ServerXMLHTTP?
Posted by David at 11/30/2004 10:11:05 AM
Hi,
I am very new to XML and webservices.
The server that I have to write a client for is NOT a .NET webservice, but
has a bunch of ASP pages that takes XML requests and spits out XML strings
in return.
So from examing the VB code that works against the server, I see that VB
uses Serv... more >>
How does DataList Itemcommand handler knows the value of its contr
Posted by Ed Chiu at 11/30/2004 9:59:04 AM
Hi,
In a Datagrid ItemCommand Handler, I can use e.item.cells(0).text to get the
value of the second column of the current row.
Is there something similar in DataList? Say I have 1 databound column
defined using <%# Databinder.eval(Container.DataItem, "CustomerID") %> tag,
how do I get... more >>
ActiveXZip Help - Extracting zip files
Posted by ACaunter at 11/30/2004 9:37:05 AM
Hi all,
I found this code to unzip a file automatically in an asp.net application...
Dim xxx As New ActiveXZip
xxx.open(zipfile:=strfilepath)
xxx.extract(Item:="*.*", extractDir:="c:\test", password:="")
xxx.close()
Kill(strfilepath)
The o... more >>
url question
Posted by Nikhil Patel at 11/30/2004 9:11:38 AM
Hi all,
I have installed an ASP.Net application on a production server. When I
type the url for the application, it insterts some strange random string in
the URL.
For example:
If I type http://localhost/opportunitymanager/proposals.aspx in the
address box of the internet exp... more >>
Differences between 2 tags
Posted by Ed Chiu at 11/30/2004 9:05:03 AM
Hi,
What are the differences between
<%# Container.DataItem("CustomerID") %>
and
<%# Databinder.eval(Container.DataItem, "CustomerID") %>
I saw both of them used in a lot of sample codes.
TIA... more >>
|