all groups > asp.net > july 2004 > threads for thursday july 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
mouseover changing bordercolor
Posted by Eirik Eldorsen at 7/8/2004 11:41:51 PM
Is it possible to make the mouseover event of a ImageButton to change the
border color?
I use this code to change the src:
ImageButton.Attributes.Add("onmouseover", "this.src='someImage.jpg'");
Eirik Eldorsen
... more >>
COMException is Raised
Posted by Sabi at 7/8/2004 10:08:02 PM
hi,
I have created a collection of serviced components that performs money transaction between 5 schools. I have marked all the components with Transaction(TransactionOption.Required) attribute. All the methods in the components are marked with the AutoComplete() attribute.
But when I run the ap... more >>
Calling an executable from an .aspx page hosted on Windows 2003
Posted by Marlene Arauz Martin at 7/8/2004 9:17:15 PM
Hello,
How's everybody???
I have an aspx. page that is calling an executable,....like this...
System.Diagnostics.ProcessStartInfo psi= new
System.Diagnostics.ProcessStartInfo();
psi.FileName="RATE2.exe";
psi.WorkingDirectory=Application["TempDir"].ToString();
System.Diagnostics.Pr... more >>
Basic DB examples
Posted by Robin at 7/8/2004 7:43:09 PM
Does anybody know of good asp.net (vb) tutorials of how to create a form
retrieves and updates a SQL database, for somebody who knows ASP.
... more >>
Creating HTML for A Tag
Posted by Robin at 7/8/2004 7:42:33 PM
In ASP.Net is there some classes and methods which can be used to generate
HTML for an A tag?
... more >>
configuring SQL and connecting to database
Posted by Ammar at 7/8/2004 6:52:33 PM
hi all...
it is me again asking silly questions lol
i am trying to access SQL database through ASP.NET, and i am having some
troubles
i just installed MSDE 2000 and you can safely say that i dont know that much
about configuring the whole thing
here is what i am doing:
<%@ Import Namespace=... more >>
Estimate of hours to be spent on a project
Posted by bob5sf NO[at]SPAM yahoo.com at 7/8/2004 6:23:12 PM
I have recently joined a healthcare company where I am the solo
programmer. I am going to be starting work on a project. The
management has asked me to provide an estimate of hours I am going to
spend on the project.
How do I estimate the number of hours I am going to spend on
programming in ... more >>
Array to a comma Separated String
Posted by RSB at 7/8/2004 5:53:20 PM
Hi Everyone,
How do i convert an Array to a Comma Separated String.. Is there any direct
Function...
Thanks
RSB
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
**Help! Why is XSL cached in ASP.NET app?
Posted by Don at 7/8/2004 5:36:04 PM
Hi:
Anything I can change in VS.NET or IIS to get changes from and XSL
stylesheet to show immediately without rebuilding?
I have an ASP.NET application to with one page that renders XML/XSLT.
The initial purpose was to have the page setup, then make any changes to an
XSL file and have the... more >>
Regular expression question.
Posted by Guoqi Zheng at 7/8/2004 5:16:08 PM
Sir,
I am writing a script to remove html tag using Regular expression.
For example, I have a string = "<td class="whatever" width=12>some content
here</td>"
What I want to return is "<td class="whatever" width=12>", I used pattern =
"<td(.*)>"
However instead of returning "<td class="... more >>
QueryString Question
Posted by Judy Ward at 7/8/2004 4:58:01 PM
I have an ASP.NET code example I am trying to use:
Within an asp repeater item template in Master.aspx:
<a href='<%# String.Format( "details.aspx?id={0}", Container.DataItem( "EmployeeID") ) %>'><%#
Container.DataItem("LastName") %></a>
In Details.aspx:
Dim intEmployeeID As Integer
intEmpl... more >>
Error : "SELECT permission denied on object"
Posted by Mr.KisS at 7/8/2004 4:26:58 PM
Hi,
In my aspx page i use a stocked procedure and in this
procedure, there is a SELECT query. And whene the aspx page
calls the procedure i get this exception :
System.Data.SqlClient.SqlException: SELECT permission
denied on object 'users', database 'wizou', schema 'dbo'.
So, i must give... more >>
Open page in new window instead of using redirect
Posted by moondaddy at 7/8/2004 4:16:20 PM
I need to open a page in a new window from the code behind. Normally I use
response.redirect to navigate to a new page but up to now its always been in
the same window. I know how to do it from JavaScript in the browser, but
this logic needs to run from the server.
Any good ideas?
--
mo... more >>
problem with insert into
Posted by belange at 7/8/2004 4:00:57 PM
I have this line of code : string insert = @"INSERT INTO Reservation
(StudentName, Day, Hour, Station) Values('julien', '8 july 20004', '12.00
pm', 'station 1')";
but when I run the web form, I have this error
Exception Details: System.Data.OleDb.OleDbException: Syntax error in INSERT
INTO ... more >>
WebMatrix Database problem
Posted by Ammar at 7/8/2004 3:49:23 PM
hi all...
I built an empty database with WebMatrix, set a primary key and everything
wnt fine, then i went to the Data tab in web matrix to enter data, and the
moment i click on the table i get this error message:
Can not access disposed object, Object name DataGridTextBox.
anyone knows why?
A... more >>
XSL does not refresh in ASP.NEt unless I rebuild
Posted by Don at 7/8/2004 3:45:20 PM
Hi:
I have an ASP.NET application to with one page that renders XML/XSLT.
The initial purpose was to have the page setup, then make any changes to an
XSL file and have the changes immediately rendered on a browser refresh,
WITHOUT Rebuilding the project.
The XSL changes do not show up u... more >>
Response.Write inserting extra
Posted by Steve at 7/8/2004 3:22:28 PM
Hello,
I'm creating an .aspx page that gets an XML document (as a string) from a
server via .NET remoting and returns it in the Response.Write method.
I'm saving the document to a file before I return it from the server and it
looks good, well formed and all. But, when I use Explorer to hit the ... more >>
DataGrid: How to clear the contents of a DataGrid
Posted by RSB at 7/8/2004 3:22:04 PM
I have a data grid and i want to Clear the Contents ..
How do i do that.. Is there any direst property ??
thanks
RSB
... more >>
must be marked as Serializable or have a TypeConverter other than ReferenceConverter to be put in viewstate
Posted by Harshdeep Mehta at 7/8/2004 3:16:18 PM
Hi all,
I have written a page in which I want to preserve value of object - suppose
A - value, so I used viewstate. but that give me error.
Code :
ViewState["ObjValue"] = objClassA; // Before PostBack
objClassA = (ClassA) ViewState["ObjValue"] // After PostBack
Any Body can help me out?
... more >>
NullReferenceException on Validate()
Posted by Jeff Evans at 7/8/2004 2:56:01 PM
I have a custom composite control which has a validator for a textbox. The validator and textbox are declared in the class and created in the CreateChildControls() method
Here is the code for the textbox, in CreateChildControls()
searchBox = new TextBox();
searchBox.ID = "searchBox";
search... more >>
Large Size XML files for data transfer
Posted by RAJ at 7/8/2004 2:27:23 PM
Hi,
Need some advice with regards to XML files. Here is what I am trying to
achieve:
I have an SQL Server 7.0 database and a Web service running on a Windows
2003 enterprise machine (for development). The web service (developed using
VB.NET) creates an XML file which contains most of the data... more >>
MIME type and application
Posted by QZ at 7/8/2004 2:19:02 PM
I have a proprietary application "A" and a proprietary file extension *.xyz. If I double click on the file filename.xyz, it will be opened by application "A". My question is how to do that through *aspx page. The goal here is to dynamically generate the *.xyz based some kind of id and connect the ge... more >>
input type=file customisation
Posted by Ersin Gençtürk at 7/8/2004 2:11:55 PM
hi ,
I need to customize <input type=file , tag.
I find a way to do that : on the client side by javascript and css first , I
am hiding the fileupload object , then I am calling the click event of
fileupload object.This opens the select files dialog box of file upload and
user will be able ... more >>
How to make multi-Row header in the datagrid
Posted by vaidas gudas at 7/8/2004 2:01:43 PM
apllication wide settings storage
Posted by Glenn Thimmes at 7/8/2004 1:56:17 PM
I am needing to read and write application settings from within my ASP.NET
application. My web.config is not an option since I need to be able to write
settings as well. My database is not an option either as the database
location itself is one of the settings.
I've been trying to work with Is... more >>
How to programatically unbind a web control?
Posted by Gromit at 7/8/2004 1:43:34 PM
Hi,
Apologies for the cross posting, but I sent this into the web controls
board 10 days ago and unluckily for me no-one picked it up. I'd really
appreciate any ideas, because I'm quite stuck on this one. Thanks!
I have a bunch of controls that have their initial values bound to
database va... more >>
Differentiating postback requests using a web server log analyzer
Posted by pjaffe NO[at]SPAM nevo.com at 7/8/2004 1:41:36 PM
I've seen a few posts on this topic, but still haven't found a clean
solution. Anyone have other suggestions or feel that one of the
options I highlight below is the way to go?
The Problem
-----------
A sequence of user interactions span multiple ASP.NET http POST
PostBacks within the same ... more >>
N-tier and STATIC
Posted by Andrea Williams at 7/8/2004 1:32:28 PM
I would like to be able to create a singleton when using my Error Handling
object. It uses a static Instance() method to return the currently
activated object. But my question is, since it is static, it is shared
between users on a web site? That I would not like since each user needs to
have... more >>
User Controls - help
Posted by Timothy V at 7/8/2004 1:28:44 PM
Hi,
I was wondering if there is a way to pass parameters to a User Control
within asp.net.
Thank you,
Timothy.
... more >>
Printing HTML Server Side
Posted by Ahmad Abu-Raddad at 7/8/2004 12:59:17 PM
Hey Guys,
Does anyone knows of a way to print HTML source directly to the printer
(Server Side)?.
I tried the PrintDocument class and the e.Graphics.DrawString and
e.Graphics.DrawImage() but these does not take HTML.
If anyone can help please do.
... more >>
Loop through a reocord set
Posted by Brian Shannon at 7/8/2004 12:50:29 PM
How can you loop through a record set?
Thanks
... more >>
viewstate?
Posted by Brian Henry at 7/8/2004 12:19:33 PM
for my <input type="hidden" name="__VIEWSTATE"
on output forms... the value of the __VIEWSTATE is over 10 pages long! it
makes forms load so slow, why is it that long and what can i do about it?!
thanks!
... more >>
MSAccess problems
Posted by Annick Van Hoof at 7/8/2004 12:11:29 PM
Hi,
I'm having my ASP.NET application hosted at a Windows 2003 server (IIS6).
This works almost all the time (I have uptimes of 100% on most days), but
then all of a sudden a few days in a row I have the following phenomenon:
..aspx still get processed, but as soon as any of them try to read... more >>
public functions
Posted by Random at 7/8/2004 12:06:19 PM
I need to write a global function that I could use in every page codebehind
and every control. I've created a component (page_base.vb) that contains
the class Page_Base...
Public Class Page_Base
Inherits System.Web.UI.Page
Sub Page_Load(...)
(script that runs on every page... more >>
setting css properties of items
Posted by Brian Henry at 7/8/2004 12:01:51 PM
I have my styles.css file filed with the styles used for the site, now how
would i specify a control to have a certain style id from that styles.css
file in code?
i thought mycontrol.style would do it but that seems to only be making one
at a time changes, i want to be able to say this control... more >>
Web Custom Control library
Posted by Frédéric Mayot at 7/8/2004 11:53:51 AM
Hi,
Why don't my web custom controls work in a class library and does work in a
web custom control library ?
Thank.
Fred
... more >>
Assembly.LoadFrom(...)
Posted by Henrik de Jong at 7/8/2004 11:50:52 AM
I'm using a sort of plugin mechanism in combination with a commandfactory
(pluginfactory). This factory looks in a special dir when it's starting.
Each assembly(*.dll) will be loaded with Assembly.LoadFrom(assemblyname).
After loading, it walks through all types in the assembly looking for a
inf... more >>
Session Bean (jsp) are there any similar thing in ASP.net
Posted by angus at 7/8/2004 11:44:35 AM
Dear All,
Are there any similar thing in ASP.net like Session Bean in JSP?
\
Regards,
Angus
... more >>
How to download multiple files
Posted by moondaddy at 7/8/2004 11:32:36 AM
I have a asp.net app where a user will need to download multiple files at
once.
Below is some sample code I'm using to download a single file which works
perfectly, however, rather than a single file, I need to download all the
image files for a single order being processed by the user. Is it... more >>
storing the datatable into the session?
Posted by angus at 7/8/2004 11:23:32 AM
Dear All,
my problem is that,
i have a table to display, and, it allows the user to enter a new unit in
the text box
e.g.
*original table (empty)*
unit
--------
*user enter "cm" in the textbox add press enter*
unit
-------
cm
*user enter "mm" in the textbox add press ente... more >>
Session var lost using InProc or StateServer mode
Posted by kloodge NO[at]SPAM yahoo.com at 7/8/2004 11:08:34 AM
On my development machine my application works fine but on the
deployment server my session variable gets lost after a postback on a
webform. By doing a watch on the Session object I can see that the
SessionId is changing and the mode is StateServer. (I changed from
InProc to StateServer to try ... more >>
what is the difference between component and web user control ?
Posted by SoftLion at 7/8/2004 11:06:58 AM
what is the difference between component and web user control ?
Thanks !
... more >>
How to get the returned value from Stored Proc. ?
Posted by Jiggaz at 7/8/2004 10:41:17 AM
Hi,
I have a stored procedure (ms sql 2005) which is return add
the user in the table USERS. But the sp (stored proc) tests
if a user with the desired nickname already exists. If
exists, return -1 otherwise return 1 and execute the INSERT
query!
But, how to get the returned value from the ... more >>
Why doesnt this work in Opera ?
Posted by JezB at 7/8/2004 10:33:59 AM
I have some javascript to restore the scroll position of a DIV over
postbacks. I've tested it on all major browsers and the only one it doesn't
work on is Opera. Could someone tell me why, and what I can do to (a) test
that it's Opera that's running and (b) how to get and set the scroll
position... more >>
Programmatically requesting an email response receipt.
Posted by Wade at 7/8/2004 10:32:30 AM
Hello,
I have a question regarding the creation of an email via ASP.NET. I would
like the email, which is programmatically generated, to request a response
receipt from the receipient, so that the account which sends the email can
be alerted when the receipient reads the email.
Can this be... more >>
data grid conditional row formatting
Posted by Brian Henry at 7/8/2004 10:24:49 AM
How would i format a web data grid conditionally?
If column 1 is the value true i want the row to be white, else if it is
false i want the row to be blue, thanks
... more >>
boarders on data grid only on data items
Posted by Brian Henry at 7/8/2004 10:19:58 AM
Is it possible to get underlines on a data grid only under the data item
rows and not around the header and footers? if so how? i am trying to create
a look similar to hotmail's email listing where the emails are seperated by
a single line boarder in the list... thanks!
... more >>
Blocking mouse right click....
Posted by Veeresh at 7/8/2004 10:04:12 AM
In my asp.net application I want to block mouse right click on my web pages.
That means instead of popup menu I may just display some message or no
message at all.
Hot to do that?
Thanks,
Veer
... more >>
Can't get datagrid to Update record using UpdateCommand
Posted by D. Shane Fowlkes at 7/8/2004 9:59:27 AM
I have a Datagrid which in theory, should allow you to edit and update the
records. I've stripped my test page down so that it's only attempting to
update one field - "description". Yet when I make the changes and click
Update, it reverts back to the old value. I'm stumped! I've also checked
... more >>
Exception Management
Posted by Bijoy Naick at 7/8/2004 9:22:17 AM
I have an asp .net application where a user can click a button to
retrieve certain data.
The structure of the onClick handler is as follows:
Protected Sub button_click(blah blah)
Try
run some queries
call FindSomeData()
display confirmation message
Catch ex Ass Exception
... more >>
Change table bgcolor programmatically
Posted by sri_san NO[at]SPAM mailcity.com at 7/8/2004 9:21:37 AM
Hello Group,
I have a table which consists of few web datagrids. Based
on certain condition, I want to change the table bgcolor from the code
behind. Any help would be great!!
Thanks,
Sam.... more >>
Using Style Sheet with Asp.Net
Posted by Selden McCabe at 7/8/2004 8:20:54 AM
I'm trying to use a style sheet and am missing something. In one project
the following procedure works, and in another it won't:
1. Create a new Webform
2. Drag Styles.css to the Webform's design surface
3. Add a control (say, an label)
4. Set the control's CssClass property to one of the... more >>
error 80070522 - aspnet_wp.exe could not be started after installa
Posted by steve king at 7/8/2004 6:41:01 AM
Hello,
I am recieving the following error message in the applciation log when I am unsuccessfully trying to run an aspx page;
"aspnet_wp.exe could not be started. The error code for the failure is 80070522. This error can be caused when the worker process account has insufficient rights to rea... more >>
Copy files over the network
Posted by Mark Goldin at 7/8/2004 6:16:03 AM
In general, can server side code copy files that it will create over the
network?
Thanks
... more >>
asp.net & body-tag????
Posted by thomas.hauser NO[at]SPAM hannover-leasing.de at 7/8/2004 6:01:57 AM
hello,
i want to create the background-color of my aspx-site dynamically
could i use a existing class or control to realize that, or i have to
use "<% =variable %>"
thanks for answering
regards
Rasta... more >>
File Timestamp and Saving Transformed XML to Server
Posted by Greg Collins [MVP] at 7/8/2004 5:59:37 AM
For background, please refer to my original thread: =
http://groups.google.com/groups?selm=3Defe5w7tYEHA.3112%40tk2msftngp13.ph=
x.gbl
I've thought of a potential way around the issue, but I'm new to ASP.NET =
and C# and need the expertese of individuals with more experience in =
these langua... more >>
About ASP.NET (v2) Authentication...
Posted by Mr.KisS at 7/8/2004 5:31:48 AM
Hello,
I use ASP.NET v2. But i think it's the same (if it is..)
for 1.1!
So, i wanna know if it's possible (like php) to use
sessions AND/OR cookies authentication but not 1 or 0, not
show the page or go login.aspx.
I want to have a page with design and others things and put
this code (like... more >>
Diskinformation on remote servers
Posted by Alstersjo at 7/8/2004 4:41:01 AM
Does anybody know how I can get infomation about what logical disks that exists on a remote server and how much space/free space there is?
Best Regards Henrik ... more >>
Regional Settings en-GB CultureInfo.CurrentCulture.Name = en-US
Posted by yurps NO[at]SPAM yahoo.co.uk at 7/8/2004 4:12:18 AM
Hello,
I know I can set the Culture to what I want, but shouldn't the current
culture be taken from the regional settings on the web server's
control panel!!!
Mine is set to "united kingdom"
but in my asp.net page I do
string cl = CultureInfo.CurrentUICulture.Name;
string cn = Culture... more >>
Error: No default member found???
Posted by Tim::.. at 7/8/2004 2:53:01 AM
Can some one please tell me why I'm getting this error! I presume it is because there is something wrong with my Database connection but am not really sure what!
Thanks
...:: Error ::..
System.MissingMemberException: No default member found for type 'Boolean'.
...:: CODE ::..
Private Su... more >>
Debug Client Side Script
Posted by Neil at 7/8/2004 2:47:01 AM
I have an aspx page which calls some javascript functions in a separate js file, is there a way to step into this js file and debug from visual studio?
I have seen some examples where the js code is embedded in the HTML but not where a separate js file is called.
Thanks... more >>
Problem with HTA and file download + Your general opinion please.
Posted by Martin Feuersteiner at 7/8/2004 2:08:24 AM
Hi,
You're my last hope to shed some light on this!! Otherwise I'm doomed!
Maybe it's very stupid what I do but I thought this is the best solution.
Any criticism welcome!
The story:
I've craeted an aspx application. To call the application, the user goes to
e.g. www.mydomain.com/app/i... more >>
Form authorization problem
Posted by nick at 7/8/2004 1:34:53 AM
Hi, How should I write the web.config file to allow some of the aspx files
be executable to all users and others are required users to login? All the
aspx files are in the same folder.
... more >>
Weblog application
Posted by PontiMax at 7/8/2004 12:37:01 AM
Hi,
which blogging engine would you recommend? Of course, I could settle for a mature application like Movable Type, but I would prefer a system written entirely in C#/ASP.NET - if possible with complete source code in order to adapt it to my requirements.
Are there any ASP.NET blogging engine... more >>
window.open() in HTTP Response/Request?
Posted by Martin Feuersteiner at 7/8/2004 12:32:51 AM
Hi
Sorry, I'm not good in this.
Is there any way to open a new window with code something like the one
below?
Response.Write("_blank")
Response.Write("window.open()")
Thanks for your expertise!
Have a good day!
Martin
... more >>
|