all groups > asp.net > june 2004 > threads for thursday june 10
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
Change cell color when hover
Posted by VB Programmer at 6/10/2004 11:48:02 PM
How do you change the background/fg color of a cell when the mouse is
hovered above it?
Examples would be nice.
... more >>
Calling ASP from ASPX
Posted by gemel at 6/10/2004 11:14:47 PM
I have an existing ASP application that generates an e-mail when
someone visits the page. The page uses vbscript to creazte the mail
object and then populate it.
Firstly I tried to copy the script including the <% %> into the body
of the ASPX file. No errors occurred when the page was called, ... more >>
Creating ASP.NET web farm
Posted by LearninGuru at 6/10/2004 10:17:01 PM
Hi,
I would like to know what are the different ways possible to create a ASP.NET web forms. I am interested in knowing what are the various softwares that allow creating a ASP.NET web farm? From my initial research I know that Microsoft Application Centre can be use. What are the other ways o... more >>
Triming the Back Button
Posted by Ron Lautmann at 6/10/2004 10:05:35 PM
Is there a way to remove items from the Back Button programatically? When a
user gets to a certain page and presses the back button I want to bypass
some of the pages that he got to on the way to that page. For example, I
don't want the user to see the forms he posted before he got to this page... more >>
MailMessage
Posted by Steven Licciardi at 6/10/2004 9:56:02 PM
I have a WebService that I use to send e-mails (MailMessage class) this
works fine from my work machine, however when I put the service on another
machine (different ISP not on any network) it seems to work, no errors are
thrown, but I never receive any email. Can anybody advise what may be
wro... more >>
New to ASP.NET
Posted by Simon Wigzell at 6/10/2004 7:47:34 PM
I have spent 2 years developing a website with ASP. Now has come the time to
make it available as a standalone package. Before I invest too much time in
ASP.NET can someone just answer some simple questions:
Will my server side ASP.NET code be compiled?
What is involved in converting from ASP ... more >>
Printing Question
Posted by John Smith at 6/10/2004 7:28:02 PM
How to print when the user clicks a button in ASP.Net application. Is it
possible to call print dialog so that the user can printer properties before
printing? My development environment is .Net 1.1.
Thanks for your answers.
John
... more >>
delete question
Posted by Mike at 6/10/2004 7:12:04 PM
In my grid I"m showing my date as {0:yyyy/M/d}
now my date is the key in the table so i need it to be as it is in the table
to delete
mm/dd/yyyy, How can I reverse the display format so i can delete the row?
i have
dim eDate as string
strSQL = "DELETE from Points where eDate = ' " & eDate... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Updating data without reloading the page
Posted by Urs Vogel at 6/10/2004 6:55:56 PM
Hi
I would like to update certain controls based on the user's entered data
(e.g. entering a cutomer id would display the name and address). This
wouldn' be a problem, but I would like to do this in the 'background'
without reloading the page. Any hints (including ASP.NET Server Controls or
j... more >>
Examples of building web site navigation for ASP.NET site?
Posted by Jason Hanks at 6/10/2004 6:17:22 PM
Hi, are there any examples that demonstrate how to build an ASP.NET page
with consistent parts of the layout, such as page headers, footers, and
navigation links (such as going into each section like Products, Company,
Services, etc)?
I know there are controls that you can use to build menus ... more >>
Listbox Selected Text
Posted by Big E at 6/10/2004 6:15:50 PM
I'm using ASP.Net and 1 Listbox and 1 ComboBox.
When a user selects the contents in the listbox I want to populate the
combobox with the text that he selected or double clicked. I've tried
various things with the selecteditem, index properties to no avail.
Meaning: LISTBOX has CAR, DOG, BAT, ... more >>
Problem printing datagrid - known issue?
Posted by Dave Bartlett at 6/10/2004 5:22:36 PM
Hello,
When we print a page containing a datagrid, the first page prints fine, but
all subsequent pages are printed without table / cell borders i.e. the data
is just floating on the page.
Is this a known issue?
Any ideas?
Thanks
... more >>
Cannot Write To Already Existing Event Log.
Posted by Marauderz at 6/10/2004 5:21:23 PM
Yup.. that good old question. But wait.. I've already created the eventlog
and source objects via an installer.
The registry key for the Event log is in
HKLM\System\CCS\...\EventLog\MyLog\MySourceName
Yet I still get the not enough rights error when I try to do anything. So
any suggestions?... more >>
Adding an item to the datagrid
Posted by Chris Leuty at 6/10/2004 5:12:20 PM
I have a datagrid (with viewstate enabled), and my edit/update/delete
buttons in the grid are all working fine. I have a textbox and a button
underneath the grid for adding items to the grid. When the button is
clicked, the following code runs:
Dim drNew As DataRow = dsTrades.Tables(... more >>
calling a class defined in an ASP.NET project from windows application
Posted by z. f. at 6/10/2004 5:05:33 PM
Hi,
I'm working on a web project and i create classes to do business logic and
connect to DB.
i also need a windows application to do the same functionality as defined
in classes inside the ASP.NET project.
when i reference the web project DLL (inside the BIN directory) I
successfully make ... more >>
How do I prevent multiple connections when drawing dynamic images?
Posted by Ken Varn at 6/10/2004 4:59:09 PM
I have an ASP.NET page that draws over 32 dynamic images using an HttpModule
object through the <IMG> tag. Since IIS under Win2K Pro has a limit of 10
connections, some of the images do not get drawn because it appears that the
connection limit is exceeded (I get a red X for the image). If I ri... more >>
Close button on web form
Posted by Ron Lautmann at 6/10/2004 4:45:14 PM
I want to close a browser window so I created a Close button that does this:
private void Button1_Click(object sender, System.EventArgs e)
{
RegisterClientScriptBlock("GetData","<Script>close()</Script>");
}
But when this runs the browser puts up a dialog box saying: "The web page
you a... more >>
How to stop a script?
Posted by Russ at 6/10/2004 4:41:59 PM
I have a form page with a submit button. When the submit is
successfull (good return from web service), I insert a script to put
up a message box saying "Form submitted".
That works fine, but afterwords, if the user uses a different button
to go to a different page (using Server.Transfer), an... more >>
VB module or plugin...
Posted by EEEdiot at 6/10/2004 4:22:02 PM
How is a VB module or plugin set up under ASP.NET?
TIA.
... more >>
how to validate a textBox for 0-9 Digits only
Posted by RSB at 6/10/2004 3:55:10 PM
Hi every one,
how do i check the text box that one can only enter the numeric Digits. i
have the maxlength of the Text box as 6. so one way i thought was to
validate the Number between 0 and 999999. so is there any other way ..say
using the RegularExpressionValidator control.
Thanks
RSB
... more >>
Web Setup Prject and Remote Servers
Posted by gemel at 6/10/2004 3:35:23 PM
Can the web setup project be used to actually install the web
application remotely by using its url?
John... more >>
Group members
Posted by Adam Billmeier at 6/10/2004 3:33:16 PM
I am working on an internal aspnet application that will pull some security
from our active directory.
I have a special user Security Group created in the AD. I now need to find
that group via code in ASP.NET and populate a dropdown list with the groups
members.
I have not been able to fin... more >>
Design Puzzle!
Posted by dwa at 6/10/2004 2:44:22 PM
A general .NET releated design question:
Short Verssion:
What is the best way to have a data access layer target a different database
at run-time, without having to pass in some identifier or string to select a
database?
Background:
Many of our clients have very similar database proces... more >>
Subheaders in Datagrid?
Posted by spammy at 6/10/2004 2:41:14 PM
Hi all,
Is it possible to create subheaders in datagrids? Or rather to add a parent
header row to an existing datagrid? Currently my DG looks like this:
NAME | A - PART1 | A - PART2 | A - PART3 | B - PART1 | B - PART2
whereas id like it to look like:
NAME | A ... more >>
Dynamically change imported/linked stylesheet
Posted by JezB at 6/10/2004 2:40:07 PM
How can I dynamically change an external stylesheet link (or import) at
runtime in server-side code ?
I don't want to use a placeholder as in
<link id="myTheme" rel="stylesheet" type="text/css"
href="<%=CurrentTheme%>">
because this requires that I declare a public string (CurrentTheme) i... more >>
newbie help
Posted by RP at 6/10/2004 2:32:20 PM
Hi all, we plan on implementing a project where we will provide our users a
1 page website. Something like a PWP. What we would like to have it each
user would have their own url e.g. http://users.domain.com/username1,
http://users.domain.com/username2. Now instead of having to setup a new
virtu... more >>
problem adding css to my page
Posted by delcom5 at 6/10/2004 2:13:01 PM
Hi,
When I add the foll to my page
<LINK href="border.css" type="text/css" rel="stylesheet">
I get the message "The active schema does not support the element 'LINK' "
Any ideas? I am using flowlayout.
Thanks... more >>
Number formatting
Posted by rguti at 6/10/2004 2:11:48 PM
I have a web form. I would like to format a numeric field. For example if
they type in 3,400.33 to format the control to $ 3,400.33 while they're
typing, basically the same as in many windows programs. Is this possible?
thanks
... more >>
Gantt
Posted by Chris Botha at 6/10/2004 1:41:58 PM
Have anyone came upon a Gantt Chart that works with ASP.NET or just ASP for
that matter, that is not too pricey either. There are many charting
solutions but I did not find that many Gantt charts. Preferably it should
have some notification events on the client side (Java Script events when
clic... more >>
any good idea about Update many records in one page, one batch
Posted by Edward at 6/10/2004 1:27:01 PM
as title.
Thanks.
... more >>
Server Error in '/' Application.
Posted by Sean at 6/10/2004 1:11:22 PM
HI There,
I am having trouble deploying my .aspx pages to a remote server, I have made
changes to the config file and it still returns an error. I have also
contacted the server administrator to create an application in IIS, what
other checks can I make?
Sean
!-- error mesage
Runtime Er... more >>
MySQL & Datagrid using C# - getting compile error
Posted by Erik H. at 6/10/2004 12:57:49 PM
Trying to connect to MySQL db on localhost, and populate datagrid from a
dataset using code inline method.
Getting the following compile error:
Error Message: "CS0246: The type or namespace name 'CoreLab' could not be
found (are you missing a using directive or an assembly reference?)"
I ... more >>
Variable problems in aspnet
Posted by ltt19 at 6/10/2004 12:32:01 PM
Hi...
This my first webapplication using aspnet, so I just notice this problem yesterday.
I create a Private Variable in the webapplication class, with no start values, in a certain function it changes the value of the variable, but when I try to read the variable again it is clear, or its value... more >>
Consume php webservice in asp.net
Posted by Paul Hermans at 6/10/2004 12:25:58 PM
Hello,
Are there code samples, technical information to consume a php webservice in
a dotnet environment like asp.net?
Thx in advance,
Paul
... more >>
show images and texts in datagrid or other server controls
Posted by msanaei NO[at]SPAM gmail-dot-com.no-spam.invalid at 6/10/2004 12:25:38 PM
Hello.
I have a question.
I want make a news board but i dont know how can i put an image for
each news,i save images to database and retrive them,then i make a
template in datagrid and put a table with 2 rows in it,one row
contains an image control and another row contains a textbox
control... more >>
How to use same menu html code on each page
Posted by KB at 6/10/2004 12:12:11 PM
My fellow virtual friends, allow me to ask for your collaboration with this
simple yet not-so-trivial matter,
My application has a menu which is defined and stored in a database. This
menu will be part of any page. Currently I implemented it as a user control
which gets the menu from the datab... more >>
Q: HttpContext.RewritePath
Posted by Jiho Han at 6/10/2004 11:54:44 AM
Can someone explain in layman's term, what HttpContext.RewritePath does?
SDK doc explanation is kind of scant.
Does it only affect the request processing for the duration of the
processing(meaning server side), or is the client in anyway affected?
Thanks
... more >>
Redirecting to Network file.
Posted by Tim Marsden at 6/10/2004 11:53:21 AM
Hi,
I would like to redirect my browser to a Network file (not on the Web
Server), whrn a button is clicked.
For example a Excel workbook.
I would like options to open it in Excel, in the Browser or download it to
my local Machine.
I am using VB.NET and ASP.NET
Regards
Tim
... more >>
Really cool site about CSS
Posted by VB Programmer at 6/10/2004 11:43:48 AM
Take a look at the SAME site, with different CSS style sheets:
http://www.csszengarden.com/
Cool stuff.
Interesting article on CSS vs Tables:
http://www.hotdesign.com/seybold/index.html
Are any of you using purely CSS and no tables for page layouts? Just
wondering.
... more >>
Framework 1.1 and Forms Authentication
Posted by Dotnet Guy at 6/10/2004 11:39:01 AM
Hi,
I have different asp.net applications as sub applications within an application and was using Framework 1.0. And I use forms authentication across the applications. In the web.config file of outer application I have
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="Default.a... more >>
Hidden Texbox
Posted by Rob T at 6/10/2004 11:35:57 AM
I have a user control that need to have a hidden textbox. (I have some JS
that needs to get some info out of it) If I make a standard textbox
(<asp:TextBox ID="txtTest" Runat="server" />) in my control it works
fine....of course it shows it on the screen
It seems so simple...but how the heck... more >>
Reading Text
Posted by T Cordon at 6/10/2004 11:12:58 AM
I am using a StreamReader to read text from an HTML file and display it as
part of a page in a Label Control. Buy it is not displaying characters as:
ñ, ó, ú, etc.
Please Help.
Thanks
... more >>
Dynamically switch page direction
Posted by mohdowais at 6/10/2004 11:11:01 AM
Hi
I am fairly new to ASP.NET and I am trying to migrate an existing ASP 3.0 application to asp.Net, and I seem to have hit a roadblock (maybe I just need more coffee). The current application is bi-lingual - it supports both English and Arabic. For users who prefer Arabic, the page switches to r... more >>
Compiler Error Message: CS1519: Invalid token 'using' in class, struct, or interface member declaration
Posted by Erik H. at 6/10/2004 10:32:06 AM
I have an ASPX page in which I am trying to bind a datagrid to a dataset
pulled from Microsoft Access DB using code inline method. For some reason,
the compiler is having a problem with 'using'. Any help here would be much
appreciated. Thanks!
Getting the following error:
Description: An erro... more >>
error handles clause requires With Events Variable
Posted by Sean at 6/10/2004 10:17:38 AM
HI There,
I am trying to submit a form when a selection is made from a dropdown list,
I keep getting the error "Handles clause requires With Events Variable".
Could someone help me with the syntax?
Sean - Thanks in advance
<script language="vb" runat="server">
Private Sub lstRegion... more >>
Rendering aspx page to email
Posted by Adam Pedder at 6/10/2004 10:09:19 AM
I'm trying to send an aspx page by email. I am quite happy sending html
email from aspx pages but want to know is there is a straight forward way to
render a whole page to an email?
I have found resources that tell me how to render individual controls, but
the page I want to send is quite comp... more >>
Upload file Check file size
Posted by dwlawren NO[at]SPAM uiuc.edu at 6/10/2004 9:58:38 AM
Using <INPUT type"file" runat="server"> to upload a file. When the
file size is too large I get a "page cannot be display" error. Thats
cool I'm down with that. But is there a way to check for file size
(client or server side), so that error doesn't occur?
Thanks
--Dietrich... more >>
Access 2002 to ASP
Posted by troy at 6/10/2004 9:52:01 AM
I built a very small Access 2002 database. My boss would like it on the intertranet. Is ASP the easiest way to go? If so how would I go about doing this. Could all the forms be shown with the security or do I need to build them from scratch in ASP.
Thanks ... more >>
ODBC data acess and asp.Net applications.
Posted by Jordi at 6/10/2004 9:42:01 AM
Hi,
I have a problem when accesing data with and ODBC provider under asp.Net applications.
The question is that if I run the application in the same server where data is stored then data is displayed normaly, but if the ODBC catalog file is in other computer in local netwok (with his Domain S... more >>
bulk insert - form collections for novice
Posted by Sean at 6/10/2004 9:34:38 AM
HI There,
I am making the transition from asp to asp .net, I am currenty writing an
application that requires a bulk insert from a webform into SQL server,
normally I would just create rows of html textboxes and then use the
Request.Form.Count property to collect each field. What I would like ... more >>
Creating Virtual Directories at my ISP
Posted by gemel at 6/10/2004 9:27:05 AM
Apart from using the web setup project, is there any other way that I
can get the IIS at my ISP to recognize mt application as a web
application?
Thanks
John... more >>
Urgent help needed
Posted by Jie at 6/10/2004 9:23:41 AM
Hi, I am using Visual Studio .Net 2003 in XP environment. It keeps coming up
the following error. So I have to restart the PC every time it comes. Please
advise what is wrong with this. Thanks.
Configuration Error
Description: An error occurred during the processing of a configuration file
re... more >>
Literal control - why?
Posted by VB Programmer at 6/10/2004 8:18:18 AM
What's the real advantage to using a literal control over a simple label?
What are the pros/cons/typical usages for the literal control?
Thanks.
... more >>
Getting a value from a sorted datagrid in asp.net?
Posted by Jason at 6/10/2004 8:13:23 AM
I've been trying to figure out a good way to do this but haven't had much
luck, any input would be greatly appreciated.
Basically, after a datagrid is sorted, how can I get the primary key value
of the item selected by the user? That is, not the datagrid index
'location' of the item the user s... more >>
Undetected runtime errors
Posted by jamezw NO[at]SPAM hotmail.com at 6/10/2004 8:03:52 AM
I have the Application_Error event method in the Global.asax setup to
send me an email regarding errors. But, I am getting reports from
users that a specific page is producing a runtime error message from
time to time, but I am never receiving any email notification
regarding the error.
Does ... more >>
Writing a custom section handler for browserCaps
Posted by Andy Emmerson via .NET 247 at 6/10/2004 7:58:13 AM
Hi
I am looking to write a custom section handler so that I can populate the MobileCapabilities object from my our custom data rather than the browserCaps section in machine.config.
From my understanding (limited) it looks like you can implement the IConfigurationSectionHandler and use the IC... more >>
Border for only portion of a cell?
Posted by VB Programmer at 6/10/2004 7:54:52 AM
Is it possible to show the border for only 1 or 2 sides of a cell?
... more >>
interrupt the page load-cycle
Posted by (cmrchs NO[at]SPAM yahoo.com) at 6/10/2004 7:48:25 AM
Hi,
from the moment an exception is generated in Page_Load() do I want to prevent subsequent Page-events (e.g. PreRender) to be carried out.
is it possible ?
thnx
Chris
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzyso... more >>
Authentication
Posted by Dave at 6/10/2004 7:26:01 AM
I wrote a little Active Directory class that retrieves the groups a user is a part of. When I call it using a console application, evrything works great. When I call it from an aspx page more work is required: 1) I have to use impersonation; 2) I have to use Basic authentication in IIS; and 3) the... more >>
create html and .net controls programatically
Posted by alex at 6/10/2004 6:41:01 AM
Hi i have a problem.
I want to write html and .net controls dynamically.
Now i do like this:
Response.Write("<html><head>................<td>")
Dim txtBox as New TextBox
txtBox.ID = "myBox"
Me.Controls.Add(myBox)
Response.Write("</td>.......................</html>")
But the textbox is disp... more >>
ASP.NET Security and Webpages
Posted by Devin at 6/10/2004 5:43:01 AM
I would like to start blocking some people from visiting certian pages of my website. I looked at all of the forms authentication pages and that seems extremly confusing. I was thinking about just hashing(?) the password asn storing them in an SQL database. Then on the pages that I want, using a se... more >>
ASP.NET Security
Posted by Devin at 6/10/2004 5:28:01 AM
I am interested in starting to get some security on my webpages. I was thinking that I should just hash? passwords and store them in an SQL table. Then on pages where I would like security, write a function that checks for a session varible to make sure that the user is authenticated. Does this pres... more >>
Stopping further processing with an Exit Sub in the Page_Load Event not working.
Posted by jkposey NO[at]SPAM hotmail.com at 6/10/2004 5:23:07 AM
I have an ASP.NET page that needs to use values set in session
variables to perform certain functions. I have code in the Page_Load
event that makes sure the session has not been restarted:
If Session.IsNewSession Then
Response.Write("<script>alert('Your session has
expir... more >>
Request.UrlReferrer with IIS redirection ???
Posted by ozcankanbur NO[at]SPAM yahoo.com at 6/10/2004 5:11:29 AM
I created two iss folder under my aspx project and I redirected each
one of them to same aspx page by IIS that is test.aspx. on the page
load of test.aspx I have to catch where the request come in! (what is
the previous link or reqest)
I try to use Httpcontex.Current.Request.UrlReferrer.Absolut... more >>
DropDownList in usercontrol does not display new value
Posted by Benedict Teoh at 6/10/2004 3:13:01 AM
I created a dropdownlist containing day, month and year field and expose a property to assign a date. When I call from a aspx page and assign the value, the new date is not displayed until a submit is performed.
How do I force the usercontrol to display the newly assigned date? I don't have thi... more >>
.net error when sending emails
Posted by Nick Brown at 6/10/2004 3:11:01 AM
Has any1 else had this error message. If so how do u solve it?
The specified module could not be found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in ... more >>
direcotry as application in IIS (Could not load type)
Posted by Thomas D. at 6/10/2004 3:07:01 AM
Hello,
Where to start? Well, I was creating a little back office for a website. That website is in fact a virtual directory in an existing website. So, I have this:
-- WEBSITE1
|---- [Some Files & Directories]
|---- WEBSITE2 (Virtual Directory -- dirname: "koea")
|------ [Some Files & Direc... more >>
HTTP Handlers
Posted by C at 6/10/2004 3:04:01 AM
Hi,
I want to detect where a user has come from withinh my application.
If they are on page1.aspx and they go to page2.aspx, I want to be able to find what was the previous page they were on.
Can I use a HTTP Handler to get this info?
How?
Thanks,
C.... more >>
DataGrid
Posted by Baren at 6/10/2004 2:31:01 AM
Hi! All..
I ahve a query related to DataGrid. I used DataReader to populate the DataGrid and it has a Hyperlink Column. On click of the hyperlink i want to pass the complete Row value to another page and print it there.. How do i Do it
Thanks
Baren... more >>
SQLConnection event catch, please help
Posted by amaretos NO[at]SPAM yahoo.com at 6/10/2004 2:07:27 AM
I have an SQLConnection object that is being used through all my
webpages of my site. I have a base Web Page that has this Connection,
and all my pages inherit from that one. Is there any way, any event
that i can catch BEFORE any sqlstatement that is being executed with
this connection to handl... more >>
ASP.NET doesn't return a page
Posted by pmb at 6/10/2004 12:23:11 AM
I've been experimenting with ASP.NET pages for some weeks, but
suddenly it stopped working! When I try to load any script from my
browser, like this: http://localhost/myfolder/myscript.aspx, I get no
response, just like when a web site cannot be found.
IIS is running. aspnet_wp.exe is listed u... more >>
How to get PATH?
Posted by Mark at 6/10/2004 12:09:22 AM
I have an application the uses usercontrols (sidebar.ascx, sidebar1.ascx,
ect.))to display a side menu with content that will vary depending on what
folder the user is currently accessing.
like this:
root/folder1/somepage.aspx or root/folder2/somepage.aspx
I think there should be an easy(?) ... more >>
|