all groups > asp.net > april 2007 > threads for sunday april 15
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
HTTP Post
Posted by BVS at 4/15/2007 11:45:24 PM
Presently, my website which is written in c# uses this command to move
around my site:
Response.Redirect("products.aspx?pro="+thechosenproduct)
Is there a way to switch this to a POST method so that the pro= doesn't
appear in the address bar?
... more >>
Is there such a thing as strongly typed URLs?
Posted by Polaris431 at 4/15/2007 11:34:18 PM
In code, you can type the following:
this.Response.Redirect("~/index.aspx");
Is there anything in ASP.NET that you can use in place of strings when
referring to URLs? It would be nice to refer to URLs in a strongly
typed fashion. Something like:
this.Response.Redirect(URLs.Index_ASPX);
... more >>
Architecture Q - BLL for Web UI and Forms UI
Posted by Monty at 4/15/2007 8:40:02 PM
Hello,
I have a class library of business objects that will accessed both by an
ASP.Net front end and a WinForms front-end. A typical business object in
class library, let's say "Employee", has a save method. In the save method,
after the employee record is successfully saved, a record is c... more >>
Session & Casting & Generic, how??
Posted by Jeff at 4/15/2007 8:33:42 PM
ASP.NET 2.0
In the business logic layer I've got the code (see CODE) below, this code
gives a compile error (see ERROR)
CODE:
List<Message> messages = null;
messages = HttpContext.Current.Session["inbox"];
ERROR:
Cannot implicitly convert type 'object' to
'System.Collections.Generic.... more >>
Dynamic Controls Lost On Postback
Posted by vcuankitdotnet at 4/15/2007 7:53:55 PM
Hi. I have tried to search for this online, but can't find what I'm
looking for so I decided to come here. I have a ASP.NET 2.0 website
with a masterpage. My .aspx page uses the masterpage. Here is the HTML
from my .aspx page:
<asp:Content ID="Content" ContentPlaceHolderID="MyContentArea"
run... more >>
question about "return false"
Posted by Ben at 4/15/2007 7:23:00 PM
Hi;
I use ain asp.net the CreateUserWizard control for new users. When it's
done, i want to redirect them to another page (modifyprofile.aspx). This
works with the code below.
My question is: if i suppress the line "return false" in the javascript
function profile(), the user is created ... more >>
Tabbed Browsing and SessionID
Posted by GaryDean at 4/15/2007 5:36:08 PM
Bringing up a new browser instance when using an asp.net application using
forms authentication, of course, initiates a new session with a new
sessionID and requires authentication again.
But, I see that browsing to that same asp.net application using a new tab in
ie7 or firefox uses the sa... more >>
how to change redirection to default.aspx when logged?
Posted by Ben at 4/15/2007 4:21:47 PM
Hi,
when loggeg with the login control, the user is automatically redirected to
the file "default.aspx'.
Any way to change that (i guess in web.config)?
Thanks
Ben
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
print the current time on the screen
Posted by Allen Maki at 4/15/2007 3:06:25 PM
Hi everybody,
I need help.
I want to print the current time on the screen. After research I managed to
run the codes below in regular C++. But I could not make it to run in .NET
Framework environment. Can anybody tell me how to make these codes to work
in .NET Framework or sho... more >>
Login failed for user (null). Not associated with a trusted SQLSe
Posted by Sherri at 4/15/2007 1:32:02 PM
I know this question has been posted in many places, but I have not been able
to solve our current problem. The developers in my office are all new to
C#.net. We have been developing an application using Visual Studio .NET 2003
and IIS 6 with SQL Server 2000. Up until this point each develo... more >>
Does GridView paging feature limit number of records coming back from database?
Posted by Ronald S. Cook at 4/15/2007 11:26:43 AM
I was told that if calling lots of records from the database (let's say
100,000), that the GridView's paging feature would automatically "handle"
everything.
But the 100,000 records are still coming to the client, right? I mean, the
paging feature isn't somehow making calls to the databa... more >>
Error after converting to VS2005
Posted by fiefie.niles NO[at]SPAM gmail.com at 4/15/2007 9:28:40 AM
I converted my VS2003 ASP.Net project to VS2005.
In 1 of my aspx page, the first line was:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Color.aspx.vb" Inherits="Auction.Color"%>
It gave me an error when I hit F5 (Start Debugging): "Attribute
'Codebehind' in the @ Page directive ... more >>
Validation (Internet Explorer 6): Attribute 'target' is not a valid attributeof element 'frame'
Posted by fiefie.niles NO[at]SPAM gmail.com at 4/15/2007 9:24:15 AM
I converted my VS2003 ASP.Net project to VS2005.
I use frame in VS2003 with no problem like the following:
<frame name="banner" scrolling="no" noresize target="contents"
src="SPTop.htm">
In VS2005 it gave me the error: Validation (Internet Explorer 6):
Attribute 'target' is not a valid attrib... more >>
asp.net debugging on local IIS
Posted by gadya at 4/15/2007 5:52:01 AM
I can't get to debug on my local IIS using VStudio.net 2005 Prof. I can on
the development server. I get the msg 'the server does not support debugging
for asp.net...'
I have done the following as in 'How to: Enable Debugging for ASP.NET
Applications'
Under Debuggers ASP.NET box is selec... more >>
integer validation
Posted by Eugene Anthony at 4/15/2007 4:42:04 AM
How do I validate an integer number using asp.net with c#?
Eugene Anthony
*** Sent via Developersdex http://www.developersdex.com ***... more >>
manual rendering of control on postback?
Posted by patrickdrd at 4/15/2007 3:00:03 AM
Hi everyone!
I have a user control (not ascx though - rendered when the page loads),
actually it's a basket control on a master page.
This master page includes a wizard page too,
however when the user clicks next to navigate to another page (e.g. page2),
I remove the basket's contents,
but... more >>
|