all groups > asp.net > october 2004 > threads for friday october 8
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
Really dumb question: Access server listbox from client side
Posted by Eddie Clark at 10/8/2004 11:49:43 PM
I'm trying to access the items in a listbox from a client-side vb script.
<asp:listbox id="ListBox1" style="Z-INDEX: 101; LEFT: 16px; POSITION:
absolute; TOP: 120px" runat="server" Width="400px" Height="104px"
AutoPostBack="True"></asp:listbox>
I've tried several different ways using docum... more >>
How to detect if user has close the browser?
Posted by Lord2702 at 10/8/2004 11:10:02 PM
Fri. Oct. 08, 2004 11:10 PM PT
In ASP.NET application, How to detect that user has close the browser, IE or
Netscape, or may be any other ?
Thanks,
... more >>
Sizing fields
Posted by John at 10/8/2004 10:23:11 PM
Hi
Is there a way to "make same size" fields on a webform, like with windows
forms?
Thanks
Regards
... more >>
getting the application state object.
Posted by Joshua Weir at 10/8/2004 9:47:02 PM
Hi,
I have setup my asp.net app so that i have one globalobject that contains
all information for my application. I am trying to work out the best way to
implement the applicationstate object with my variables.
Would i get the object from the applicationstate on page_load? and then keep
... more >>
Determining the domain name used
Posted by Jonny at 10/8/2004 8:57:22 PM
Hi I have a couple of domains names which point to the same ASPX page. I
would like to determine which domain name the user accessed the page from eg
www.abc.com or www.bcd.com etc. Is there an easy way to do this in ASPX C#?
Many thanks
Jonny
... more >>
Passing values between pages
Posted by John at 10/8/2004 8:49:51 PM
Hi
I need to move from page1 to page2 but I also need to pass a string value
between the two. Is there a way to achieve this?
Thanks
Regards
... more >>
String format, thousand separator and decimals
Posted by hansiman at 10/8/2004 8:38:44 PM
In a datagrid I want to format a sql db bigint field with zero
decimals as 1.000.000 where full stop (.) separates thousands.
I use:
<%# DataBinder.Eval( Container, "DataItem.Amount", "{0:0,0}") %>
....and get 1,000,000 (where there is a value and 00 (double zero)
where there is none.
Th... more >>
Changing the URL of an ImageButton
Posted by John Espinosa at 10/8/2004 8:18:46 PM
I have a user control that I need to change the ImageURL of. usercontrol B is inside of aspx page A. What is the code that I use in aspx page A to change the ImageURL of usercontrol B?
Thanks!... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Validating fields
Posted by John at 10/8/2004 6:12:39 PM
Hi
I have an enquiry form webform with fields of types date. How and where can
I validate that users enter valid date fields? Also is there a way to
provide format mask in a date field?
Thanks
Regards
... more >>
Saving Excel OWC data to Web Server
Posted by Jon Sagara at 10/8/2004 5:47:27 PM
Say that I have an Excel OWC on my Web page and I want to save any data the
user has entered to the server when s/he clicks on the submit button. Is
that possible?
Thank you,
--
Jon Sagara
... more >>
Crystal Report Problem
Posted by Michael Chong at 10/8/2004 5:30:20 PM
How can I change the sql query in my crystal report document during runtime?
TQ
Michael.
... more >>
Interop problem: Specified cast is not valid
Posted by coenve at 10/8/2004 5:03:49 PM
We use ActiveX control to render images server-side in code-behind.
Reference is added to the project, Interop assembly is created, project
compiles, builds, all's fine. All files are moved to the testserver, ocx
that hosts the control that's interoped is registered with regsvr32. On the
lin... more >>
General advice required
Posted by John Mas at 10/8/2004 4:41:02 PM
Has anyone got anyrecommendations on charting components for use in an
intranet app, particualry interested in SVG
thanks
John
... more >>
datagrid control focus
Posted by Ian Oldbury at 10/8/2004 3:20:07 PM
i do a postback on a field within a dot.net datagrid (in editmode) and need
to set the focus to a specific field within the grid. Has anyone done this,
any suggestions?
... more >>
validator causing password prompt to popup
Posted by Justin at 10/8/2004 2:59:06 PM
I have added the following required field validator to a simple form and it
is causing a password prompt to popup:
<asp:RequiredFieldValidator ControlToValidate="FullName"
ErrorMessage="Required" ID="rfvName" runat="server" /><BR>
How can I get rid of the password prompt?
Thanks, Justin... more >>
Firefox browser support
Posted by ES at 10/8/2004 2:47:05 PM
Hello,
I'm developing a asp.net application with VisualStudio 2003, framework 1.1,
etc. I use the Firefox browser at lot and I've noticed a lot of differences
in how things appear, even when what is generated for IE would work just
fine for FF. For example, a asp:panel is rendered as a div ... more >>
What will happen..
Posted by Anil at 10/8/2004 2:33:17 PM
Question related to ASP.Net web application with .Net Framework 1.1. I am
using ADO.Net and ODBC namespace.
When the user clicks the process button I am doing database INSERT/UPDATRE..
activity and it will take 30 seconds to complete the database activity and
then the user will be redirect... more >>
Getting the parent frame querystring
Posted by Amadelle at 10/8/2004 2:28:16 PM
Hi all,
I have multiple frames which I would like to get the query string from =
within one of the subframes. But when I do=20
HttpContext.Current.Request.QueryString["section"]
or Request.QueryString["section"]=20
doesn't return the parent frame's querystring but the current page's =
que... more >>
sql server and asp.net problem
Posted by Brian Henry at 10/8/2004 2:07:07 PM
I moved my asp.net site to a windows 2003 server with SQL Server 200 on the
same machine and it gives me the error
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trac... more >>
Help:How to avoid button click event when Enter key is press in a TextBox?
Posted by Jie at 10/8/2004 1:49:09 PM
Hi, All,
I have a simple ASPX page that has one textbox, one linkbutton and one
button. When I enter something on the textbox and press ENTER key, the
button click event gets fired. What I want is the LinkButton click event
gets fired. I wrote a java script to fire the LinkButton Click event in... more >>
Sessions getting mixed up
Posted by Adrian Parker at 10/8/2004 1:21:07 PM
We're getting reports from a customer saying that if she browses to any page
on their site, then from another PC browse to a different page on the site,
then when the first browser is refreshed, it shows the page from the 2nd
session.
Could this be caused by a cache somewhere ?
Thanks
A... more >>
Databound control displays old data
Posted by eric.maia NO[at]SPAM metrokc.gov at 10/8/2004 1:16:16 PM
I have an ASP.Net page with a Repeater that displays a list of
records. These records have "delete" links which redirect to a
separate page for confirmation and delete the record. When the
deletion is complete, the browser is redirected back to the list page.
When I delete a record and get ret... more >>
Any way to control spacing between controls in web form?
Posted by KatB at 10/8/2004 1:10:44 PM
Still searching for a way to accomplish this.
For example, I have a radio button list of unknown listitems placed on a
web form, beneath that I have another control (of any type). Depending
on how long the radio button list ends up being when populated from the
dataset, I can't correctly place... more >>
DLL not register
Posted by yugant NO[at]SPAM gmail.com at 10/8/2004 1:04:16 PM
I am making .APSX and .aspx.vb file .. somehow the code in .aspx.vb
file doesn't excute ,also when i debug my application the control
doesn't go to aspx.vb file. i know i haven't registered any
asp??net.dll. Can any one tell me how to find a solution for the
same...
Jazz... more >>
Security
Posted by Demetri at 10/8/2004 12:35:02 PM
I have a client that would like the asp.net application to have security as
follows:
Impersonated using account XXXXX for the purpose of using SSPI in making the
database connection. This way no user information is stored anywhere but IIS
security settings.
At the same time the app will ... more >>
Porting ASP.Net applications?
Posted by George Hester at 10/8/2004 11:56:14 AM
If I install the .NET Framework in Windows 2000 Server (no IE 6 in that) =
but develop the applications in Windows 2000 Professional (IE 6 in that) =
can I just bring over the applications developed in Windows 2000 =
Professional to Windows 2000 Server and have them work in Windows 2000 =
Server... more >>
net framework redist. install path
Posted by Ricardo at 10/8/2004 11:33:18 AM
Hello
I need to install the Net Framework 1.1 Redist. Pack on another folder, not
the default one...in another disk. How can I do that ?
Regards
Rick
... more >>
filter dataset
Posted by Mike at 10/8/2004 10:57:02 AM
I have a page that passing data to a new page via a querystring, on the other
page i need to fitler the dataset and populate a datagrid based on the items
being passed via the querystriing. Does anyone have any suggestions on how to
get this working? Right now its only getting the last item in... more >>
PostBack and Main Window
Posted by Sunil Sabir at 10/8/2004 10:35:21 AM
Dear all,
I have a web form which opens a new window when a button is clicked . I use
java
script to open a new window. In this window I have several text boxes in
which a
user fills his details and presses save button.when a save button is pressed
the data
is inserted in the database ... more >>
Mixing ASP with ASPX
Posted by winzin at 10/8/2004 10:29:04 AM
I am not sure if this is true... or has anyone seen any weirdness of mixing
asp and aspx in the same web site/instance (under IIS).
does this causes OS memory to be fragmented?
I am seeing a lot of asp SCRIPT ENGINE error (C0000005 access violation).
... more >>
Maximum number of apps. on IIS?
Posted by Paul W at 10/8/2004 9:39:50 AM
Is there a maximum (reasonable) number of applications that can/should be
hosted on a single IIS? I am CONSIDERING deploying hundreds (thousands?) of
similar apps on a server. Obviously, the workload of each app would be quite
light. If I did this, would it:
a) work?
b) have significantly ... more >>
Architecture design question
Posted by Griff at 10/8/2004 9:31:23 AM
Hi
I'm after some advice about the architecture to employ for a web front-end.
First, I'll describe the system. We host several customers' back-office
systems (which are identical) and which are accessed by our customers'
employees by remote connection. Our customers now wish us to host an... more >>
ErrorPage from ErrHandler
Posted by Eje at 10/8/2004 9:27:06 AM
I'm designing a 3-tier web application in .NET. In the
middle tier I have an error handler. I use Try-Catch
where I feel it's necessary. If I get a critical error I
would like to redirect to a "Critical Error page"
directly from the error handler without going up to the
UI tier. Is that po... more >>
SQL Server Web App
Posted by kpg at 10/8/2004 8:50:09 AM
Hi all,
I have MS SQL Server 2000 Dev on a Win2k machine.
On the client machine I run a VB.NET Windows Forms App
and connect to the SQL Server.
I create a VB.NET Web App, copy the routine, and I fails
to connect (Access Denied or Server Not Found).
On the Server I haveTCP, Named Pipe... more >>
Datagrid with checkbox - how to select cell values?
Posted by KatB at 10/8/2004 8:00:50 AM
Hi, here is my HTML for the datagrid:
<asp:datagrid id="dgToppings" style="Z-INDEX: 107; LEFT: 144px;
POSITION: absolute; TOP: 517px" tabIndex="4" runat="server"
Font-Names="Verdana" Font-Size="11pt" Height="40px" Width="336px"
GridLines="None" ShowHeader="False" BorderColor="Red"
Auogenerate... more >>
Debugging
Posted by Mark Rae at 10/8/2004 7:50:33 AM
Hi,
Is there any way to make Visual Studio.NET 2003 debug ASP.NET by using the
actual machine name rather than localhost? E.g. when I hit F5, I want the
browser to display
http://DEV/mytestapp/default.aspx
instead of
http://localhost/mytestapp/default.aspx
Thanks.
... more >>
AssemblyInfo version display on WebPage
Posted by Chris Fink at 10/8/2004 7:49:10 AM
How do I retrieve the value of the [assembly: AssemblyVersion("1.1.*")] in
the AssemblyInfo.cs file so I can display the version of the app on the
webpage footer?
Thanks in advance.... more >>
Control added at runtime not raising events.
Posted by Wade at 10/8/2004 7:42:48 AM
Hi all,
I am dynamically adding a link button to a page, but for some reason it is
not raising the click event in the code behind. Here are some snippets from
my code -- any help is greatly appreciated:
' declaring variable
Protected WithEvents lbtEquipment As
System.Web.UI.Web... more >>
Calling a web service from asp.net
Posted by John at 10/8/2004 7:27:37 AM
A little basic but ...
I've created a web service sucessfully and it can be consumed in the
creating app (Visual Foxpro).
When I go into asp.net it is looking for something of the form:
Dim CallWebService As New ServerName.WebServiceName()
WebServiceName is, of course, the name of m... more >>
hiding columns in datagrid not working
Posted by klynn at 10/8/2004 7:23:03 AM
I queried a series of fields from a database and passed into a datatable.
Then bound this to a datagrid. I need to hide 2 of the colums. This doesnt
seem to be working the standard way. (with datagrid columns hide). When I
query for number of columns in datagrid I always get 0 no matter what, ... more >>
datagrid delete question
Posted by rodchar at 10/8/2004 7:09:03 AM
hey all,
i've got an asp.net page with a datagrid on it. when i delete all the rows
in the datagrid it just shows the column headers. how are some ways i can
clean that up?
thanks,
rodchar
... more >>
compling vb.net web appliction
Posted by laxcoburn at 10/8/2004 6:23:08 AM
I am trying to create the Knowledge Base Articl 326340 project. One of the
last steps is to "Save all files, and then compile the project". How exactly
do I compile the project? Do I do it from within VB Studio some where. Do I
need to compile from the command line?
Thanx in advance... more >>
Operation must use an updateable query.
Posted by John at 10/8/2004 2:16:04 AM
Hi
I am getting [OleDbException (0x80004005): Operation must use an updateable
query.] error on ExecuteNonQuery() . Full code is given below. The values I
have given are; ('trtrt', 'retret', '1/1/2', '333'). Any idea what is the
problem?
Thanks
Regards
Dim sSQL As String = "INSERT int... more >>
variables in memory and reloading a page
Posted by Joshua Weir at 10/8/2004 2:05:04 AM
Hi,
I have 2 questions:
1.
IF i create an object on the Page_Load event function of a specific aspx
page. Like so:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim myObject as new AnObject
End Sub
When is this object delete... more >>
Hyperlink and onClick event
Posted by Joshua Weir at 10/8/2004 2:03:05 AM
Hi,
Is there an onclick event function for hyperlink buttons? I couldnt seem to
find one.
How else would i do checks at the client side (such as if correct
information is displayed in a textbox etc.)
Say i wanna use a normal web control button instead. Is there an easy way i
can use a ... more >>
showModalDialog
Posted by Mike at 10/8/2004 1:09:03 AM
Hi,
In an ASP.NET page, I am using the following script to open a modal window:
window.showModalDialog("About.aspx", window, "dialogWidth=800px;
resizable=no; scrollbars=no;");
The window opens okay, but I cannot select the content. Is there a way to
make the content selectable, so th... more >>
Reset button code
Posted by John at 10/8/2004 12:49:21 AM
Hi
What is the vb code that will reset a webform?
Thanks
Regards
... more >>
access denied to DCOM, winXP sp2
Posted by Ubbe17 at 10/8/2004 12:15:03 AM
Hi,
I have a web application that accesses a DCOM. Every thing works fine on
Windows XP sp1 but when I installed service pack 2 I got an access denied
when the application tried to create an instance to the DCOM.
C# code where I get the access is denied occurred.
OPCserverObj = Activator.... more >>
Access denied to DCOM ASP.net WinXP sp2
Posted by DotNetJunkies User at 10/8/2004 12:09:34 AM
Hi,
I have a web application that accesses a DCOM. Every thing works fine on Windows XP sp1 but when I installed service pack 2 I got an access denied when the application tried to create an instance to the DCOM.
C# code where I get the access is denied occurred.
OPCserverObj = Activator.Crea... more >>
|