all groups > asp.net > april 2004 > threads for thursday april 22
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
Connecting to SQLServer 2000 from ASP.NET
Posted by Patrick at 4/22/2004 10:49:31 PM
I have an ASP.NET application that connects to a SQL Server database.
The SQL Server resides on a seperate development server from the IIS5.1 on
Windows XP SP2 on development PCs which host the ASP.NET application.
I would like to use Integrated Windows Authentication like
Integrated Secu... more >>
Trap all errors
Posted by Andrew Banks at 4/22/2004 10:41:43 PM
Is it possible to trap all errors within a web app and do the following
Send the user to another page "Error.aspx"
Send an email to myself with the filename and as much information about the
error as possible.
I take it this would be done in the Global.asax file but not too sure where
to st... more >>
Merge Modules
Posted by A.M at 4/22/2004 9:14:50 PM
Hi,
I have a merge module and i need to install them on my web server (IIS6).
When I double click on them, windows 2003 doesn't recognise *.msm files.
How do I install merge modules (msm files) on a web server ?
Thanks,
Allan
... more >>
Windows Control in Internet Explorer
Posted by Mircea Pleteriu at 4/22/2004 8:13:42 PM
Hi all,
I implemented a Windows control which provides an event.
The control has a method which starts a timer.
I have inserted the control into an ASPX page within HTML OBJECT element.
From within java script I call the method but the call back method of the
timer is never invoked.
Why?
... more >>
ASP.Net Page compatible with IE and Mozilla browser
Posted by spai NO[at]SPAM immunetolerance.org at 4/22/2004 7:42:17 PM
Hello there,
I need to make my .aspx pages compatible with both these browsers...
Could anybody guide me to some tutorials or some tips I just have a
<table> tag and a few <td> and <tr> in there in the whole of .aspx
page?
Thanks,
Srikanth Pai... more >>
MSDN Universal question
Posted by DMan at 4/22/2004 7:31:54 PM
I have an MSDN universal subscription. Is there any way I can add a second
passport login for a recently aquired business partner I took on? I really
don't want to give them my login information!
Thanks
... more >>
Javascript Function w/ webcontrol as a pramater
Posted by jft247NoReply NO[at]SPAM hotmail.com at 4/22/2004 7:30:47 PM
I would like to pass a reference of a webcontrol into a javascript
function. Below I have a snippet of code. "me.selectedValue" returns
undefined. I was hoping that would return the value that the user has
selected in the radio list..
ps: this is my first post, be gentle:)
**aspx page**... more >>
DATA BOUND
Posted by Juan Huachaca Gomez at 4/22/2004 7:27:13 PM
Amigos como le hago si deseo activar un campo a fin que me visualize el
campo de una tabla que se ubica en SQL SERVER.
Gracias de antemano
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Newbie question about playing videos....
Posted by Kevin at 4/22/2004 7:01:31 PM
When I click on a button, I want the default media program to play an
MPG file. How is this done in ASP.NET?... more >>
DateTime trouble
Posted by Shawn at 4/22/2004 6:33:09 PM
Hi.
I can't figure out how to solve this problem, so if anyone here can help me
I will be forever grateful.
I have a web application, which is placed on two different servers. One of
the servers has the following date and time formatting set in regional
options in the control panel:
Date: dd.M... more >>
Passing a DataReader between methods and getting RETURN_VALUE
Posted by Martin Raychev at 4/22/2004 6:31:14 PM
Hi all,
I have the following problem:
I have a private method that returns a SqlDataReader. For this to work I
have not to close the DB connection in the above method. I do this only to
have the possibility to iterate through the entire rows set in a while loop,
located in the calli... more >>
Center Align Label and Hyperlink Control
Posted by Tom Bernsen at 4/22/2004 6:06:30 PM
This should be simple, I did it with a datagrid easily enough. Using VS Net
1.1, I want a label over the datagrid and a hyperlink below it (from
WebForms toolbox), with BOTH of them centered (text and control) over the
page. In other words, everything centered, automatic with window size.
If y... more >>
SQL Statement
Posted by John Smith at 4/22/2004 5:37:46 PM
Can you do a Select Statement within a Select Statement? I want to build a
query similar to queries built in Access which link to other queries but
using only SQL Statements. Is it possible? If so, how do you do it?
Thanx in adv.
... more >>
Reload window
Posted by Grey at 4/22/2004 4:25:25 PM
I have one main window and one dialog window. Is it possible to reload =
the content of main window which is triggered from one button on dialog =
window.
Million Thanks... more >>
Pages User Permissions
Posted by ruca at 4/22/2004 4:00:48 PM
hi,
How can I setup the user permissions over some pages of my web application?
I want to deny that some users access some of my web pages. How can I do
this in code?
At this moment I have a session variable that have False or True value. I
get this value from my DB.
Then in my Page_Load e... more >>
Close dialog window in ASP.NET
Posted by Grey at 4/22/2004 3:49:55 PM
I use window.showModalDialog("AddBoktype.aspx") to create the dialog =
window. When I use a button, ASP.NET server control button, to close =
with btnCancel.Attributes.Add("OnClick","window.close();"). However, I =
cannot close the dialog window, but a new window with dialog window =
content wa... more >>
HTML Page Shell/Template and BasePage Class
Posted by Alex Maghen at 4/22/2004 3:41:06 PM
I have a site where most of the pages will have a common "shell" or layout. There will be an outer table which will hold HTML elements but which will *also* hold UserControls (Global Nav, etc.). Right now, all of the HTML and the @ Register directives for the shell's UserControls are copied onto eac... more >>
Repost: DataGrid column width bug
Posted by Jeremy at 4/22/2004 3:21:25 PM
I have googled for this issue, and many other people have the same problem
with no resolution. The data grid column sizes automatically resize based
on their contents no matter what the Style.Width is set to. I was looking
at the HTML output, and the values I entered for Width does not even get... more >>
Problem with Delete and Edit button in Datagrid - will not reach handler
Posted by Alex at 4/22/2004 3:09:25 PM
I have a datagrid with two additional columns (edit, delete).
However the edit and delete handlers in the code behind page are never
reached.
When I click on the delete or edit button the load page handler gets
executed nothing else.
What could I do wrong?
Here some code:
private void In... more >>
Looking for tutorial on deploying a website to a client
Posted by Jake at 4/22/2004 2:55:09 PM
Hello,
We have developed a comprehensive website and are wanting to deploying
it by creating a setup package. Can someone provide me with a tutorial on
how to do this? I would appreciate it. Thanks in advance.
Jake
... more >>
Opening New Window through code
Posted by Devin at 4/22/2004 2:31:03 PM
I want to open a new window through code. Can someone provide me with an example or point me to one in the VB.Net language. Thank
Devin... more >>
asp.net killing foreign letters??
Posted by Jerome at 4/22/2004 2:09:10 PM
Hi,
I've made an input page in asp.net and the records are saved BUT without
the 'foreign letters' like é, ä, ü and so on!?
What could be the problem?
My SQL database accepts these letters without problems, so it has to be
asp.net who deletes them while inserting the record into the SQL... more >>
__dopostback javascript problem
Posted by Fredrik Elestedt at 4/22/2004 2:06:37 PM
Hi,
I have a problem with the __dopostback script when I run my webbapplication
on certain servers. The code is not recompiled and the aspx filer are
untouched...
This is what happens, on a server where it works the formname used in the
__doPostBack javascript function is __aspnetForm and in ... more >>
Multiple images via one MemoryStream?
Posted by Alec MacLean at 4/22/2004 1:14:30 PM
Hi,
I'm trying to write a set of charts (as bitmap objects) out to a memory
stream so that a variable number of charts can be displayed using just one
html <img> tag in a holder page. I have everything working except that only
one chart is ever displayed, no matter how many are actually created... more >>
Accessing a control (eg. Label) inside a datgrig
Posted by bredal Jensen at 4/22/2004 1:12:25 PM
Hello there,
I need to show or hide a label cotrol in one of the cell of my datagrid.
I tried the following:
----------
DataGridItem item = MyDataGrid.Items[ MyDataGrid.EditItemIndex];
Label status= (Label) item.FindControl("MyGridStatus");
----------
But i get the followi... more >>
event for button
Posted by Luke at 4/22/2004 12:58:19 PM
Hi
I created web control, with dynamically created buttons,
I linked them with some event (using Click event),
so when someone clicks
this events is executed. Everything is working if page is loaded
directly from server, but when I return to this page using GoBack in
browser and then I press... more >>
asp.net application won't run from subfolder
Posted by m_evergreen NO[at]SPAM yahoo.com at 4/22/2004 12:43:04 PM
I am able to access my application when it is on the server, but if I
put it in a sub folder I recieve an error. I know that I need to set
up the folder somehow, but I don't know how. Can anyone help?... more >>
Exclude Files from Copy Project?
Posted by Chuck Ritzke at 4/22/2004 12:40:24 PM
Is it possible to exclude certain files from the "Copy Project" command,
like can be done in FrontPage when publishing a web? How?
This would be very convenient. For example, I have settings in my WebConfig
file that need to be different on my server than on my development machine.
So I'd like... more >>
URL parameters
Posted by at 4/22/2004 11:58:06 AM
When I start the application by entering param1 in the url, I want to be
redirected to webform1, and when I start the application by entering param2
in the url I want to be redirected to webform2.
What event should I use to achieve this kind of processing?
I know that I can use Page Load... more >>
Intermittant Server Error reading an MS Access DB
Posted by Chuck Ritzke at 4/22/2004 11:52:15 AM
Hi all,
I am getting an intermittant error after uploading a project from my
development machine. I click on a link which opens an aspx page that, upon
page load, reads a very small amount of data from an MS Access database,
using ODBC and a stored query. There is no problem on my development... more >>
Major Security Issue
Posted by Amir Ghezelbash at 4/22/2004 11:38:50 AM
Hi every one
I have a major MAJOR MAJOR problem
Ok I have been using cookies for my site for a while and now I have been
trying to use session less cookies because I find them much faster
Any way now the problem
With session less cookies since ID is embedded within URL every time
someone... more >>
How do I transfer user to another server after POST
Posted by Piotr Strycharz at 4/22/2004 11:35:57 AM
Hi all
I do have a problem.
How can I transfer user to another server using POST. The problem is that
Server.Transfer (preserves form data) works just in current server.
Response.Redirect - uses GET method. However I have to open remote server
page using POST method. Normally this can be ac... more >>
why doesn't EnableViewState work
Posted by akoda11 NO[at]SPAM hotmail.com at 4/22/2004 10:40:59 AM
This is becoming very painful to learn. I am going through a wrox
book and trying the code. My aspx pages continue to come back with my
selection highlighted. It looks like EnableViewState is not being set
to False.
What gives here I am in Chapter 4 and simple things are failing?
Mike
... more >>
per the active schema, the element <BR> must be included within a parent element
Posted by MSNews at 4/22/2004 10:37:41 AM
I am new to ASP.NET and have found these context errors in the HTML for the
ASPX pages, the site/pages work fine. Can anyone explain why these warning
are coming up?
Regards
... more >>
Formatting Datagrid Multi-Header
Posted by Ed at 4/22/2004 10:31:57 AM
Hi,
I would like to build a datagrid with many columns, but one of them
should be a big column with a "Note" field, so I want to write a row with
many columns and the next row should have just one column with a big
content. Both those two rows are for the same record in my database.
H... more >>
Random Compilation Error - Access Denied to my linked assemblies
Posted by Raterus at 4/22/2004 10:16:03 AM
I'm just throwing this error out for my sanity, I've seen posts about =
this, but never solutions.
I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error =
about every 1 out of 10 times I try to start to run/debug a project =
(through Visual Studio)
Server Error in '/Intranet' A... more >>
getting user info from an exchange server
Posted by john at 4/22/2004 9:51:04 AM
Can anyone tell me how to query an exchange server to return a list of the users
Name, e-mail, phone etc
If you have some sample code, that would be great. (c# preferred
Thank
... more >>
Possible to detect monitor display settings in ASP.NET?
Posted by simchajoy2000 NO[at]SPAM yahoo.com at 4/22/2004 9:45:33 AM
Hi,
Is it possible to programmatically detect what display settings the
user has on their monitor with ASP.NET? I need to be able to resize
some of the things on my webpage if the user has their monitor set to
800 x 600. Any help would be greatly appreciated! Thanks!
Joy... more >>
Resize new windows in ASP.NET
Posted by simchajoy2000 NO[at]SPAM yahoo.com at 4/22/2004 9:42:59 AM
Is it possible to resize new windows in ASP.NET like you can with
javascript? For example, I want to open up a picture in a new window
when the user clicks on a hyperlink - and I want the new window to be
the exact dimensions of the picture. Does anyone know how to do
this?? Thanks for the he... more >>
Formatting pages
Posted by TomB at 4/22/2004 9:17:58 AM
In classic asp, I would have my standard page format in an include file,
which I would include on every page. Thus, the whole site has a consistent
look and can be changed through one file.
How do people do this in asp.net? I've been told that I'd need to create a
class inheriting from the P... more >>
line of code for download
Posted by alanb at 4/22/2004 8:57:50 AM
Can somebody be willing to provide me a few lines of code?
a submit botton on page that when clicked will open a directory folder i.e
networ/public directory with files and then make a file selection for
download to their pc? It is something like WS-FTP except it is on page.
--
alan
... more >>
try/finally with data access code
Posted by RepStat at 4/22/2004 8:51:06 AM
If I have code such a
SqConnection cndb = new SqlConnection(connstr)
SqlDataReader dr = null
tr
cndb.Open()
SqlCommand cmd = new SqlCommand("exec mysp", cndb)
dr = cmd.ExecuteReader()
catch (System.Exception e1) {Debug.WriteLine(e1.Message);
finall
if(dr != null) dr.Close()
... more >>
Problem running local asp.net app with web site on network share
Posted by JR at 4/22/2004 8:50:17 AM
I have a Web server running on Windows XP. On this Web server, I have a Web
site configured with its home directory on a network share. In the Web site,
there's a virtual folder pointing to a local folder on the Web server
containing an ASP.NET application.
I get a "Failed to start monitoring ... more >>
ImageButton ?
Posted by TM at 4/22/2004 7:30:00 AM
I have this line below coded in the aspx/html at design time:
*****************
<TD>
<asp:ImageButton id="Imagebutton1"
onmouseover="this.src='<%=MyImage2%>'"
onmouseout="this.src='<%=MyImage1%>'"
runat="server" ImageAlign="Left"
ImageUrl="<%=MyImage1%>">
</a... more >>
Accessing session data in a class file- which class do I inherit from?
Posted by Charlie NO[at]SPAM CBFC at 4/22/2004 7:18:39 AM
Hi:
The code to add items to shopping cart is a seperate class file so I don't
have to keep repeating it. If I want to be able to access session data in
this class, which class should I base it on?
Thanks,
Charlie
... more >>
Unable to debug ASP.NET Application (Urgent)
Posted by Naresh Sharma at 4/22/2004 6:36:01 AM
I have Windows XP and VS.NET installed on my machine. Also the ASPNET account is made part of the Debugging usres and Administrators group. Even then when I try to run my application in debug mode it says :
"Unable to start debugging on Web Server. You do not have permissions to debug the server.
... more >>
Cannot package some folders into MSI file
Posted by Tom at 4/22/2004 6:21:03 AM
Hi
I can package dll, images and aspx files into a msi file. However, it said some folders cannot be built into msi.
I have totally 20 folders and 3 out of them cannot be built.
How can I fix it as I need to send the msi to another department for installation
Regards... more >>
Thread in ASP.Net
Posted by Humair Ahmed at 4/22/2004 5:18:09 AM
Hi
I wana to ask that
can i make script in ASP.Net using thread?
Regards
Humair
... more >>
Newbie IIS6 question: How to delete items from the Default Application Pool?
Posted by deko at 4/22/2004 4:59:25 AM
Running IIS 6 on WS03
When I launch IIS Manager and expand Application Pools >> DefaultAppPool,
there are some Default Applications, and also a bunch of stuff that is
residue from practice web applications created from Visual Studio.Net:
WebApplication1, WebApplicationi2, etc.
How do I dele... more >>
The server failed to load application '/LM/W3SVC'.
Posted by Sharon at 4/22/2004 3:40:47 AM
Hi to all.
My IIS has kicked the bucket.
When i try to load an aspx page i get this:
Server Application Error
The server has encountered an error while loading an application during the
processing of your request. Please refer to the event log for more detail
information. Please contact the ... more >>
Firing Click events and Reading IFrame Source of External URL in ASP.NET web form
Posted by ej1002 at 4/22/2004 2:56:03 AM
Hi
I have developed a Windows Application(C# Windows Form) which will get the IFrame Source of the page it is navigating using Webbrowser Control. Now I want do this in ASP.Net web application(C# Web Form).
Is there any other method through which I will be able to access the IFrame Source of t... more >>
Windows Credentialing Security Problem
Posted by Joseph Geretz at 4/22/2004 1:17:37 AM
I'm having a credentialing problem in my web application. Actually, I don't
think this is an IIS security issue, since I'm able to access the page I'm
requesting. However, the executing page itself is not able to access a
specific network resource and I just can't figure out why. First of all, le... more >>
Getting values from dynamically created control.
Posted by Jen at 4/22/2004 12:16:02 AM
Hi
I have created some controls (HtmlInputText, HtmlGenericControl, TextBox) dynamically. But I have problem getting the values from these controls to save them. Is there a way to do that?
Regards and Many thanks
Jen
... more >>
|