all groups > asp.net > may 2005 > threads for friday may 27
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
Weird RequiredFieldValidator problem
Posted by coolbest NO[at]SPAM gmail.com at 5/27/2005 11:22:12 PM
Hi,
I've been having a really weird problem with required field validator.
Here's the detailed description of the problem:
I have originally been developing my web application on Windows XP SP2
under IIS5 with .NET framework V1.1.4322. I have had a couple of
RequiredFieldValidator, to ensu... more >>
HttpModule/HttpHandler and condtional Response
Posted by BK at 5/27/2005 8:02:42 PM
This is probably a fairly simple question, but I can't seem to get it to
work. I have a situation where I have written an HttpModule to do some post
processing. Everything works beautifully except this last piece.
In the _EndRequest method, I need to modify the Response based upon a
condition.... more >>
How to store session ID without cookies and without "Cookieless=True"
Posted by Paul W at 5/27/2005 7:16:55 PM
Hi -
I don't want to rely on my users having cookies enabled.
If I use Cookieless=True it of course mangles the urls which means there is
no browser caching of the pages, so it is slow.
What are the other options to use to be able to store a small amount of
session data? I know it can b... more >>
Programmatically Sending the User to Another Page
Posted by Nathan Sokalski at 5/27/2005 6:54:45 PM
I would like to be able to send the user to another URL programmatically.
Because the destination URL is not known until runtime, I cannot use the
Response.Redirect method. I do not want to use the Server.Transfer method
because I need the new URL to be displayed in the browser's address bar. ... more >>
name value pair
Posted by Andy Sutorius via DotNetMonster.com at 5/27/2005 6:30:02 PM
Hi,
What collection can I use to store name value pairs that contain duplicates
in both columns?
Thanks,
Andy
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200505/1... more >>
Can't get simple web service reference to work in Beta 2
Posted by Michael Rodriguez at 5/27/2005 5:31:42 PM
I created a basic website with two lines of code and was able to debug it
fine.
I created a webservice with the basic HelloWorld function and was able to
run it and debug it fine.
I went into my website and added a reference to the same web service,
doesn't work! I can run either one in... more >>
Post xml to Asp.net page
Posted by quest at 5/27/2005 5:11:50 PM
My windows application (console application) posts xml (HTTP "POST") to
Asp.net page. My question is:
1. How should I code my Asp.net page so that it is able to 'detect' that
something is posted to it ?
2. How do I extract the xml from the html page ?
Thanks.
... more >>
How to avoid instantiating the class more than 10 times
Posted by HarishP at 5/27/2005 3:44:05 PM
Hi,
How to avoid instantiating the class more than 10 times
Harish.P
Sr. Software Engineer
Comat Technologies Pvt. Ltd.,
Bangalore
Email: harish.p@comat.com
Phone: +91-80-2361 8951/52
Mobile: 9886041109
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Image and Text
Posted by Rudy at 5/27/2005 3:14:02 PM
Hello all!
A quick question. I have a datalist with a images and labels. How can I
have the labels line up right to the right of the image, instead of below?
Thanks!
Rudy... more >>
Tablecell backcolor?
Posted by Fetty at 5/27/2005 2:52:32 PM
// Add the new cell that will host the child grid
TableCell newCell = new TableCell();
newCell.ColumnSpan = cellsToSpanOver;
newCell.BackColor ="#fafad2"; ************ I know this is not right
--
David
... more >>
Fitting lots of fields on one web page
Posted by Geoff C Melbourne at 5/27/2005 2:28:03 PM
I'm new to asp.net.
I have an ASP.Net form that contains literally 50 fields for the user to
enter for a contacts details.
All these fields are stored in the one table.
So I have a class that I load the values into and out of.
All that is fine.
The issue is that the form is very long ve... more >>
Dynamic WebUserControl in ASP.net 2.0
Posted by Robert Ward at 5/27/2005 2:13:11 PM
I am trying to load a web user control from code behind. This used to be
something simple in .net 1.1
Dim myControl As ControlName = CType(Page.LoadControl("ControlName .ascx"),
ControlName )
you would then have access to that controls properties, both custom and
inherited. But this do... more >>
ASP/Custom Activex Error
Posted by John Gabriel at 5/27/2005 2:10:03 PM
I have set up a website and am testing ASPs. I have created
a very simple ActiveX component with two interfaces:
AboutBox() - displays About details
calcpi() - returns 3.14159
Here is my configuration (All the most up to date versions
except for Visual C++):
Windows XP (... more >>
dynamic positioning of web controls
Posted by Paul at 5/27/2005 2:02:18 PM
HI I have some controls under a datagrid and the datagrid can have 1 to 10
items. I would like to place some other controls just below the datagrid so
need to somehow dynamically place the controls when the page loads. Any
sample code or ideas?
thanks.
--
Paul G
Software engineer.... more >>
Export DataGrid to Excel problem
Posted by Bidarkota at 5/27/2005 1:52:28 PM
When i export DataGrid to Excel all the HTML contents are also exporting to
excel. i am using stylesheets in the ASPX Page and i am getting an alert
message that stylesheets are missing. i need to export only the contents of
the Datagrid to excel. i don't need all other stuff which is present ... more >>
Select Drop Down List Value From Client-Side Script
Posted by PB at 5/27/2005 1:07:56 PM
I have an aspx with 4 Drop-Down list boxes on it. All the list values are
hard-coded in the aspx.
I want a client-side JavaScript function to select a value in each of those
DDLs.
I can create the JavaScript function and wire it up to a link - but I need
help with the syntax required to ... more >>
2 User Controls on a page need to talk.
Posted by UJ at 5/27/2005 12:55:44 PM
I have two user controls on a page. When a user selects something from one,
the other one has to react. How do I go about this?
TIA.
Jeffrey.
... more >>
Client-Side Hourglass
Posted by Mike Labosh at 5/27/2005 12:30:42 PM
We have an internal application where one button the user clicks executes a
*LONG* stored procedure, and they want me to have the IE 6.0 window set the
mouse cursor to an hourglass.
In a "Forms Application", I know how to do this, but I'm not sure how to do
it (or even if it is possible) in... more >>
Application_End method of Global.asax and Shutting down an asp.net application
Posted by J-T at 5/27/2005 12:16:43 PM
I have my applciation installed in an appplication pool (a worker
process) -IIS 6.0-which is defined to be shut down after 20 minutes of being
idle.If I put a breakpoint in Application_End method of Global.asax and
there is no request for 20 minutes ,dose the breakpoint works for me?
Is there ... more >>
vs 2003 proyect for deploy on W2k with IIS5
Posted by Luis Esteban Valencia Muñoz at 5/27/2005 12:05:58 PM
Hello, my customer has w2k with iis5. My boss says that I have to developer
with vs.net 2002 because they have that configuration.
He is not an expert as me so I think he is wrong. The an
THe answer I gave to him is the only thing the customer needs is FrameWork
1.1 and that I can work on my o... more >>
Unable to get a popup to recognize hidden field ??
Posted by aaa at 5/27/2005 11:17:12 AM
I am unable to get a my popup to recognize a hidden field on the calling
page. I have this working on a different page although that page is a tad
simpler. The page I am trying now calls from a templated column of a grid
from a UC but the hidden field that I am calling is on the main page. Here
... more >>
Sorting DataGrid
Posted by Diego F. at 5/27/2005 11:01:42 AM
Hi. I need to sort datagrid fields. What are the steps I had to follow?
If I sort a DataGrid, does the bound DataTable alter its fields also or it's
independent?
--
Regards,
Diego F.
... more >>
Can I have a second TRY inside the first TRY/CATCH in ASP.NET ???
Posted by bienwell at 5/27/2005 10:49:42 AM
Hi all,
I'd like to use TRY, CATCH to open my database connection. I have 2 servers
that have the same table name "myTable". If the first connection to Server1
is failed, then the program will try to connect to Server2. Can I have the
secong Try inside the first Catch for this purpose ?. Pl... more >>
Double click not working
Posted by tshad at 5/27/2005 10:49:34 AM
I have been working with setting my drop boxes to allow double clicking to
select an item.
It worked fine until I made some changes. I then stripped the page down to
the bare essentials to find out why it quit working. I found that if I
didn't have a linkbutton, it quit working?????????
... more >>
Access DB & transactions
Posted by Neven Klofutar at 5/27/2005 10:45:48 AM
Hi,
Is it possible to use transaction while connecting to Access DB in any way
(fake it in some manner) ?
If not, how can I be shure that all of my data has been entered into DB?
All that I can think of is to use lots of TRY - CATCH blocks, and create
manual "rollback" functions.
Thanx,... more >>
Repeater control - how to access contained control values?
Posted by dotnw NO[at]SPAM hotmail.com at 5/27/2005 10:24:08 AM
Say I have the following simple situation:
A user control, that contains a textbox, is put inside a repeater.
A link button is put on the main form page, but *outside* the repeater.
When the link button is clicked, how do I loop through the repeated
textboxes to get their text values?
Thank... more >>
Newbie Question: Share Classes/... between 2 ASP.NET projects in 1 solution
Posted by Nick Wouters at 5/27/2005 9:45:35 AM
Dear All
How do I share classes which are build in project "x" so I can use them in
project "y" in ASP.NET
I know how it is done in VB.NET by simple adding a reference to the other
project.
However this seams not to work with ASP.NET projects
Please help
Best Regards
a newbie (Nick -... more >>
aspnet_regiis not rebuilding mappings
Posted by john NO[at]SPAM roeville.com at 5/27/2005 9:21:25 AM
Hi
I'm still having a problem with missing ISAPI mappings and my browser
will not render ASP.Net pages.
Its fine with ASP though.
I have even reloaded IIS and the Framework v1.1.4322 several times and
have run aspnet_regiis /i each time. This is not adding .Net ISAPI
mappings to the Web ... more >>
window.open
Posted by DavidS at 5/27/2005 9:12:02 AM
Have XP SP2. Using VS.NET 2003 v7.1.3088, Asp.NET v1.1.4322.
For some reason - cannot open file on local machine using window.open command.
Sample syntax : window.open("C:\\Downloads\File.txt", "_blank")
This works on another development laptop - but not here - no error message -
just won't op... more >>
Global.asax
Posted by mavrick101 at 5/27/2005 9:05:16 AM
Hi,
I'm handling application level errors in Global.asax file. When I move my
project to production, do I need to move Global.asax.cs file to? or the
project.dll in bin folder takes care of it?
Thnx
... more >>
How to find path
Posted by Shimon Sim at 5/27/2005 8:40:48 AM
I have web project that includes few sits that must share some pictures. The
project has following structure
Root - just a folder with solution files - this is on IIS regular folder
Site 1 - web application 1 (has asp.net project here) - site saves and
views the pictures
Site 2 - w... more >>
1 large application versus many smaller pieces
Posted by PCK at 5/27/2005 8:38:02 AM
I am working on porting our existing intranet from classic ASP to ASP.NET.
Currently the code is in a single application. After I complete the
conversion there could be up to 6 developers maintaining the application. I
feel that for scalability purposes it would be better to break it up int... more >>
DNS Server Error when Hitting Database?
Posted by KCHighland at 5/27/2005 8:01:56 AM
We have an ASP.NET application that permits anonymous access and runs
as the IUSR account. The application accesses a SQL Server database
located on a different server. All the data access code is in a .NET
DLL that the ASP.NET application references. When accessing the
database, we use SQL Serv... more >>
Which version is enough for Sql Server and ASP.NET applications at the same time?
Posted by Luis Esteban Valencia Muñoz at 5/27/2005 7:29:32 AM
Which version is enough for Sql Server and ASP.NET applications at the same
time?
What are the differences in versions and prices?
... more >>
VisualSource Safe questions?
Posted by Luis Esteban Valencia Muñoz at 5/27/2005 7:27:41 AM
AS my company plans to have the sql server in the same machine than IIS
server my question is the following.
Can any developer program on their machines with VSS and make the test on
their computer and then upload to the VSSS server?. . This question is
because as far as I know its not recomm... more >>
Page_Load not firing first consistently
Posted by mollyf NO[at]SPAM hotmail.com at 5/27/2005 7:20:59 AM
I have a web application where I have my users log in and it takes them
to default.aspx. On that page, I have 2 user controls. Everything
works fine the first time a person logs in. I have a logout button on
one of the user controls which takes the user back to the login screen.
If the user ... more >>
Stored Procedure vs direct execute SQL
Posted by JIM.H. at 5/27/2005 6:55:29 AM
Hello,
Is there any difference to between SLQ string in the code and call execute
query and call a stored procedure and execute the query that way concerning
speed, effectiveness, reliability, …?
Thanks,
Jim.
... more >>
How to upload an excel file and export into database
Posted by ad at 5/27/2005 6:19:46 AM
I want user can upload an excel file and export into database.
How can I do that?
... more >>
Postback/ EventArgs Problem...
Posted by Tim::.. at 5/27/2005 6:04:04 AM
Can someone please tell my why I get the following problem when I type the
following piece of code!
How do I get around this???
The idea is that when a user clicks a button on a form it causes a postback
to occur which in turn triggers a sub in a user control...
Error:
Argument not spe... more >>
pass variable between webpage
Posted by dollar at 5/27/2005 4:38:36 AM
I want to ask what is the best way to pass variable between asp.net we
pages, and user controls , any examples
-
dolla
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-------------------------------------------------------------... more >>
Photo Gallery with next and previous buttons
Posted by msnews at 5/27/2005 3:18:56 AM
Hi All,
My client has following request. I am not sure how to do it.
Dynamically from database, we are getting set of images names. Now we want
to display them with next and previous buttons.
I am able to pull all the information from database and put it in javascript
array. Now using two f... more >>
ASP.Net will not render - Missing ISAPI mappings
Posted by john NO[at]SPAM roeville.com at 5/27/2005 3:12:42 AM
Hi
I'm suddenly having a problem running ASP.Net apps from an XP Pro
laptop machine which was working fine.
The apps now just time out will not render anything in the Browser.
I have removed IIS and the Framework and then re-installed both (IIS
first) on several occasions but can't resolv... more >>
Problem with sub???
Posted by Tim::.. at 5/27/2005 2:23:03 AM
Can someone tell me why I get this error???
And how do I fix it??
Thanks
Compiler Error Message: BC30408: Method 'Public Sub UploadData()' does not
have the same signature as delegate 'Delegate Sub EventHandler(sender As
Object, e As System.EventArgs)'.
Source Error:
Line 221:<TD wi... more >>
hidden input field
Posted by wrytat at 5/27/2005 2:11:05 AM
Hi! How do I define an asp component that is equivalent to a hidden input
field in html?... more >>
Forms Navigation
Posted by Shaker at 5/27/2005 2:11:04 AM
Hi,
I have three ASP.Net Forms,
Homepage,
Page 1,
Page 2.
Page 1 consistes of tabular entry fields and Next button,
Page 2 have a DataGrid that display filtered data based on fields on page 1.
and has a back button(client side script)
Whe I navigate from Page 1 to page 2 I'm using the... more >>
WebResource with ASPNET beta 2
Posted by Frédéric Mayot at 5/27/2005 12:49:50 AM
Hi,
I'm trying to use web resources in ASP.NET 2.0. Unfortunately, it doesn't
seem to work for me.
Here are the steps I followed :
- Create a project WebSite
- Add a class library project to the solution
- Add the image "toto.gif" at the root of the class library
- Add to the AssemblyInfo.... more >>
Frames
Posted by Ishan Bhalla at 5/27/2005 12:32:02 AM
Hello,
Am not sure if this is the right group for HTML frames.
I have a htm file where i have defined 2 frames. After going through a
process i want to break out of the frames. How do i do that?
Whenever i do a redirect it loads the page in the frame.
Any ideas?
Thanks
Isha... more >>
|