all groups > asp.net > february 2005 > threads for wednesday february 9
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
Datagrid - Changing row colour
Posted by Simon Harris at 2/9/2005 11:06:50 PM
Hi All,
Ok, I have 6 datagrids, populated from 1 dataset. Each datagrid has 3
columns. There are 18 columns in the dataset.
I have written a sub to change the background colour of the row in the
datagrid, if the current rows 'booked' column value = 'yes'
Here is my code:
Public Sub Che... more >>
Datagrid: Edit all rows?
Posted by David at 2/9/2005 10:21:02 PM
Hi,
How can I edit all rows of a datagrid at the same time?
I have a datagrid that has some bound columns and some template columns with
a asp:textbox inside. (Textbox for values that can change..)
From the event handler of a link button at the bottom of the page, how can I
loop through... more >>
How to place my user controls in a webpage
Posted by ALI-R at 2/9/2005 10:12:42 PM
Hi I've created a bunch user comtrols for the footer,header,navigation bar
of a webpage ,I have two problems:
1) All the controls are in the folder "Control" of the root and all the
images are in the folder "Images" of the root ,all the hosting pages for my
user controls are also in the ... more >>
need project
Posted by sivashankar at 2/9/2005 9:50:54 PM
hello experts
-can any one give me some module to do in asp.net
-if u give me the description i will give u with free of cost,since am new
[ie] now am in my final semester of MCA,just give me some time.
-Can any one give me some project to do
-If so i will be greatfull to u
Thanks In Advan... more >>
POST question
Posted by TR at 2/9/2005 9:46:57 PM
MyPage.htm has <FORM ACTION="Register.aspx" METHOD="POST">. Where does
Register.aspx reference the values passed to it via the Post method in
MyPage.htm?
Thanks in advance.
TR
... more >>
Creating a Web Proxy
Posted by Chamander2kool at 2/9/2005 9:26:01 PM
I use Godday.com for hosting.
What I'm trying to do is create a web proxy.
This is the code I have currently:
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.IO" %>
<%@ Page Language="VB" Debug="true" %>
<script language="VB" runat="server">
Dim u
Dim wc as WebCl... more >>
ASP.net content for project work
Posted by sivashankar at 2/9/2005 8:27:04 PM
hello experts,
-I'am in my final semester of MCA.
-My project is in asp.net.
-For this wat is the asp.net content to be placed
[i mean in the sense of asp.net only].if so plz give the link sir.
-For the project i finish the documentation.
Thanks,
sivashankar
... more >>
Browser-Settings for ASP.NET?
Posted by Frank Schumacher at 2/9/2005 6:47:10 PM
Hi NG,
I have a weired problem with the IE.
I have developed a web-application, which uses Session["xxx"] to track
sessiondata. I hadn't any problem with it until ...
.... I installed the program on another server (WXP, IIS5.1). The first
time, I call the website, everything wirks fine, i... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DropDownList Issue with Firefox
Posted by Olivier Verdin at 2/9/2005 6:40:21 PM
Hi,
I have a page with several Textboxes and several DropDownList. When I click
on a 'save' button, it creates a record in a database.
The page works fine under Internet Explorer.
It does not work under FireFox. The dropdownlist are always selecting the
zero index value. If I debug and ... more >>
Creating Virtual Directory
Posted by Jaydeep at 2/9/2005 6:26:54 PM
Hi,
Anybody knows how to create virtual directory programmatically under root
directory ofcourse from code-behind.
I am developing web-based application where I need to create a folder and
making this folder as virtual directory in IIS.
I know in ASP how to do it.
Set objIIS = GetObject("I... more >>
CODE and ALL Tabs
Posted by Maurice Newton at 2/9/2005 5:28:13 PM
I'm new to ASP. Currently, I only have the "Design" and "HTML" on the
ASP.NET page. I need to know how to add the "Code" and "All" tabs. Thanks.
... more >>
Exporting to Excel via a Modal Dialog with <base target="_self"> in header
Posted by arbabi NO[at]SPAM yahoo.com at 2/9/2005 4:23:51 PM
Hi Guys,
I have a problem with exporting to excel from a modal dialog box.
Basically, i have an ASPX page that gathers user criteria, and passes
it to a dialogbox (showModalDialog), There is a grid on the dialog
that will be populated based on the criteria. Since i am doing some
postback on... more >>
BinaryWrite Files over SSL
Posted by Roman at 2/9/2005 3:51:04 PM
Help, please. I have just spent an entire day troubleshooting a problem that
just makes me want to throw myself through my monitor.
I have the following code in asp.net:
<%@ Page language="c#"%>
<%
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
Response.A... more >>
Deploying Headache: Need to change path to server
Posted by sling blade at 2/9/2005 3:18:27 PM
I have developled my first major app and i am trying to deploy it in to
a host server for publication.
However the app tries to use the physical path used during development.
Is the path hard coded in my dll or similar file?
In trying to nail down exactly where this path is located, I ha... more >>
ASP .NET Application vs. Windows Service
Posted by Untitled at 2/9/2005 2:52:01 PM
I have an ASP .NET web application that displays information. At the
same time, i have a web service that collects information from various
client applications. This data needs to be processed continuously in
many ways and stored in the database. I need timers to poll the data
and process on it ... more >>
Checking DataSet value for null
Posted by Andy G at 2/9/2005 2:40:48 PM
How can I check this for null? dsPrsn.Tables(0).Rows(0)("WORK_STATE")
I tried If IsDbNull(dsPrsn.Tables(0).Rows(0)("WORK_STATE")) Then it seems
not too work. I am attempting to check this field in my data set to see if
it is null or not. If it is null I want to set my drop down list to a
cert... more >>
Read client file server-side
Posted by Michael at 2/9/2005 2:40:35 PM
I am trying to open a file on the client machine from an aspx page running
server side. The design requirements of the page specify that the
HtmlInputFile control is not to be used.
Since the HtmlInputFile has an HttpPostedFile object containing the client
side path to the selected file, there... more >>
Windows.Open (fullscreen) does not work in SP2, please help.
Posted by Steve F. at 2/9/2005 2:37:21 PM
Hi,
I have an ASP.NET page that needs to open in full screen mode for one of our
intranet applications, yet, SP2 does not seem to allow that. Do you guys
have any ideas how I could get around that limitation?
Thank you
Steve
http://www.ShopHereNow.net
... more >>
Checkboxlist
Posted by Sandy at 2/9/2005 2:27:05 PM
I have a checkboxlist that is populated from a small table consisting of 9
rows numbered 1 through 9 and a description for each in the second col. The
description is what appears on the interface.
I am trying to get the value of Col1 for each of the items checked (i.e., 1,
2, 3, 4, etc) in... more >>
opening a page in new window
Posted by venky at 2/9/2005 2:25:26 PM
Hi,
I have a main page. On some button click, say "addpayment" button,
i want to show a different page in new browser window?
i used transfer, it changes the current page url to new url which i
don't want
venky
... more >>
How would I fix this error?
Posted by Rudy at 2/9/2005 2:17:02 PM
Hello all!
Option Strict On disallows implicit conversions from
'System.Web.UI.Control' to 'System.Web.UI.WebControls.TextBox'.
How would I make this conversion?
Thanks!
Rudy... more >>
visual studio doesnt update codebehind
Posted by Servé La at 2/9/2005 2:12:16 PM
I drag a normal web forms DropDownList component to my aspx page I change
the id into DropDown but for some reason the codebehind doesnt get the
DropDown attribute.
How can I get this fixed?
... more >>
Urgent! Feb9th Update Killed My Site! Panicing!
Posted by nx-2000 NO[at]SPAM winvoice.com at 2/9/2005 2:01:46 PM
Last night I dutifuly installed all the server 2000 updates that where
released and I finally get called a few hours ago by a client wondering
why our site was down. Then a steady flood of calls happened after
that.
I'm assuming that MS05-004 ASP.NET Path Validation Vulnerability has
somehow ... more >>
Lock down print access on Intranet
Posted by Esteban404 at 2/9/2005 1:55:03 PM
I work with an application that is currently mixed HTML and JavaScript. It
pulls up documents into the Office application that created it or as PDF. The
PDFs can be locked down and so can the Office docs with a password, but if
that password is lost or the document corrupted, we can't recover ... more >>
problems reading network file from ASP .NET
Posted by zxkuqyb at 2/9/2005 1:27:05 PM
I've written a simple ASP .NET web application that reads a text file and
displays it in the web browser. Works fine when reading a local path; but
fails with "can not find a part of the path", or "can not access network
file" when attemting to access a UNC network path. I am using IIS 6.0 o... more >>
drop down list should display data as user enters value in it
Posted by pmud at 2/9/2005 1:25:05 PM
Hi,
I have a drop down list bound to a database thorugh a data reader. It reads
the customer names from data reader.
Now, I want the user to be able to type more than one alphabet & the list
becomes shorter & shorter for the user to choose a value from. For example,
suppose the user wa... more >>
Image Display
Posted by Meena Desai at 2/9/2005 12:48:40 PM
Hi,
In my .aspx page there are some .jpg images. When I browse the page using
IE6, it goes into an infinite loop in downloading the image. No image is
displayed after that. If I browse .htm page with same images, it downloads
immediately. I found one solution to this problem, that is install K... more >>
web.config and impersonation
Posted by Paul Bergson at 2/9/2005 12:18:46 PM
Hello,
I have placed the following web.config file at the root of the web site. Is
this correct? I'm not having luck so I'm guessing I have done something
wrong.
Is there anything I have to put in the code as well?
<configuration>
<system.web>
<authen... more >>
Shopping Cart
Posted by Bill at 2/9/2005 11:50:54 AM
Can anyone recommend a good FREE .Net shopping cart application that
includes source code?
--
Bill
... more >>
Pre Compile
Posted by Ming Zhang at 2/9/2005 11:38:23 AM
Hi All,
We are developing an ASP.NET applications in last three years. Now there are
240 assemblies in the whole application. You can guess that everytime after
modifying an ASP.NET page, it's very slow to load it up because of the first
time compilation. In takes 2-3 minutes in our case.
I ... more >>
I can't do regular expressions...
Posted by riversmithco NO[at]SPAM hotmail.com at 2/9/2005 11:29:42 AM
I need some help on a regular expression if any has the skill.
I need to specify a string in which there can be any number of numbers
followed by a character in the range (d, h, or s)
Exmple:
123d
Thanks
... more >>
Starting a webapplication with a modal web form
Posted by Fabrizio at 2/9/2005 11:27:06 AM
Hi,
I would like to start my webapplication in a window browser without address
bur, toolbar etc... like a window modal .
Can I?
how?
Thank you
fabrizio... more >>
Effects of <identity impersonate="true"/>
Posted by Meena Desai at 2/9/2005 11:24:36 AM
Hi,
What are the effects of using <identity impersonate="true"/> in web.config
on windows auhtentication? Does it affect windows security?
Thanx in advance,
Meena.
... more >>
Beginner ASP.Net questions
Posted by Richard Thornley at 2/9/2005 10:45:31 AM
Hello,
I currently have a website with an asp shopping cart that I developed. I
currrently to add some more functions to the shopping cart and I am thinking
of rewriting the shopping cart in asp.net. Since this would be my first
asp.net application I am concerned with browser compatibility ... more >>
Could not access 'CDO.Message' object.
Posted by MattB at 2/9/2005 10:40:48 AM
Yes, it's this one again.
I have a web application that works in most environments, but we've
installed at a client site who wanted to use a Win2k3 domain controller
(yes I know this is a bad idea) for their web server.
On this particular server, the asp.net application cannot send out email
... more >>
Specified cast is not valid problem...
Posted by VB Programmer at 2/9/2005 10:26:04 AM
I am setting up forms authentication.
In my code I keep getting this error. Any ideas?
Error....
Server Error in '/LandOLots' Application.
--------------------------------------------------------------------------------
Specified cast is not valid.
Description: An unhandled exceptio... more >>
trivial ? build error
Posted by Carlos at 2/9/2005 10:11:54 AM
Hi all,
II am getting a build error for the folowing statement:
String sGetVarVal = Request.QueryString("myvar");
error:
System.Web.HttpRequest.QueryString' denotes a 'property' where a 'method'
was expected
I though that the statement is correct!! have seen it a lot of times. Can
... more >>
textbox control styles not added for Mozilla
Posted by Tony Brand at 2/9/2005 10:07:33 AM
Hi,
Is there a way to force .NET to add styles to controls to display
properties as set in the VS.NET designer? I'm using Visual Studio.NET
2002, and therefore 1.0 .NET framework.
For example, I've created a page that has a textbox control with its
width set in the VS.NET designer. When t... more >>
Passing arguments to WebForms
Posted by Mantorok at 2/9/2005 9:24:44 AM
Hi all
I'm pretty new to ASP.Net, is it possible to pass arguments (maybe objects
too) to web forms without using a querystring in the URL?
Thanks
Kev
... more >>
Creating generic dialogs
Posted by PontiMax at 2/9/2005 9:23:04 AM
Hi,
my application allows to perform various operations on data records. Each
operation has a set of parameters which can be adapted by the user.
Is there an advisable way to create a generic dialog box by which these
operation parameters can be adapted? I do not want to create a seperate ... more >>
HTTP/1.1 500 Internal Server Error
Posted by Juan Dent at 2/9/2005 9:17:06 AM
Hi,
In an ASP.NET application that I have had for some time, when I open the
solution I ocassionally receive an error dialog saying that:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://toshiba17/PearlCi... more >>
Response With DLL
Posted by Esref DURNA at 2/9/2005 9:01:02 AM
How To Response With dll or exe file ("not inside the aspx page");
its hard to explain but we should do these for earning 5 tera bayt capacity
from our harddisks.
There is 2 copy for each images at our Servers.
1) "the orijinal"
2) "painted one"
I want to delete all the painted images... more >>
DropDownList and AutoPostBack
Posted by Anonymous at 2/9/2005 8:31:33 AM
Hello,
I have a ddl (ddl1) which when postbacks fills
(OnSelectedIndexChanged) a second ddl. Now other second
ddl (ddl2) fills a third one (ddl3) when it postsback. The
problem is now that when the second one does a postback
then it doesnt maintain his state. Viewstate is enabled.
A... more >>
Multiple instances of ASPNET_WP.EXE?
Posted by Ben Fidge at 2/9/2005 8:21:05 AM
Hi,
Our hosting company recently shut-down our site because of the resources it
was using on a co-hosted server. Apparently, it was spawning multiple
instances of ASPNET_WP.EXE.
I'm having a little trouble recreating this locally so was wondering where I
can information about when, why a... more >>
Configuration Error
Posted by murphy NO[at]SPAM murphysw.com at 2/9/2005 8:13:08 AM
I see this error sometimes and fix by rebooting, removing asp.net cache
and rebuilding my solution. This very slow process has now stopped
working. The error log below might mean something the developer who
wrote it but I can't translate it. The file in question is definitely
present in one p... more >>
Thrid party grid control
Posted by venky at 2/9/2005 8:10:20 AM
Hi
I need suggestion for some good third party grid controls for asp.net.
Default one provided by micrsoft has lot of problems in Paging.
venky
... more >>
Control where 'Enter Button' takes you
Posted by ACaunter at 2/9/2005 7:17:07 AM
Hi there..
I write in a textbox to search for something on my asp.net page and when i
click the enter button, i want the Find button to be activated..
instead, one of the other buttons is being pressed. I found this code but
it is not working... any ideas???
<body onkeydown="if(event.... more >>
Reusing Code
Posted by Zodiac at 2/9/2005 6:34:23 AM
Hi all,
I've been studying ASP.Net for a couple of weeks now.And it's starting to
come to me. For me the next step is trying to figure out what is the best
way to reuse code and webforms.
For example I wrote a logon page, in combination with a user management
page(edit, create, delet... more >>
IFrames.
Posted by oscar.redondo NO[at]SPAM gmail.com at 2/9/2005 6:02:56 AM
Is it possible to read the values of an IFrame (textboxs, labels...)
from the master page?
Really thanks
- Oscar -... more >>
updating from datagrid
Posted by jason NO[at]SPAM cyberpine.com at 2/9/2005 5:15:58 AM
The guts of the below asp.net vb code was pieced together from another
thread - all due credit to it's original author. Thank you!
I've modified it to maintain a small local Microsoft 2000 access DB
via a datagrid control.
The add and delete functions work great, but the edit does not actua... more >>
Q:launch a new IE
Posted by JIM.H. at 2/9/2005 5:11:07 AM
Hello,
I am using Response.WriteFile(myFile) to display excel file in IE. Now I
need to start another IE windows and display the file. Not in the current
window. How should I do this?
Thanks,
Jim.
... more >>
Accessing a parent web form control from within a nested user control?
Posted by Roy at 2/9/2005 4:30:14 AM
How is it done? BTW, I'm reposting this here, as the datagrid newsgroup
appears functionally comatose...
I have a nested datagrid setup. When one updates the child grid using
edit, it also updates a field in the parent grid (the parent grid
update is done using a simple select query inside the... more >>
Form Authentication
Posted by Rena at 2/9/2005 2:42:05 AM
Hi all,
What should i do if i need to have a customized form authentication?
I used authentication mode as form, and I disable anonymous access of the
web application in order to make it work.
It did work smooth on my local computer, however once other PC connect via
internet to the web app... more >>
Regular Expression
Posted by sara at 2/9/2005 12:45:01 AM
Hi to all
How can i implement space in Regular expression
thanks... more >>
Please help - weird problem
Posted by ×™×•× ×™ גולדברג at 2/9/2005 12:37:06 AM
Hi,
While trying to create new directory i recieve the following error
message:
"System.IO.DirectoryNotFoundException: Could not find a part of the path
"\\premfs16\sites".
The path exists, even when i check the path
with the code: Directory.Exists(...) the result is true.
Here is the cod... more >>
MouseUp/MouseDown events for ASP.NET ImageButton
Posted by Nathan Sokalski at 2/9/2005 12:19:16 AM
I want to create a pushbutton-like control on my webform that has an image
on it. I used to think that this is what the ImageButton control was, but it
seems to me that the ImageButton is nothing more than an image that can be
clicked. I have figured out a way to make the ImageButton look like... more >>
Dynamic Logout Link - with style?
Posted by Jon Natwick at 2/9/2005 12:11:11 AM
I'm trying to add a dynamically created logout link on my pages.
The link to the logout page will show if the user is logged in.
I put a placeholder on the aspx page and then dynamically create the link,
if the user is logged.
So far, so good. It's working.
Aspx
<asp:PlaceHolder... more >>
|