all groups > asp.net > december 2005 > threads for sunday december 4
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
How to display articles in an article list in different ways?
Posted by Øyvind Isaksen at 12/4/2005 11:02:09 PM
I have 4 articles stored in one category. What I want is to list them out
like this screenshot:
http://www.webmanager.no/screenshot.jpg
(Each article is shown in red box)
The first article shall display the picture in the top, then the article
under this picture.
The 2.nd and 3.rd articl... more >>
2.0 Client.RegisterClientScriptBlock(Type, String, String)
Posted by Jason Chan at 12/4/2005 10:49:08 PM
in asp.net 2.0, Page.RegisterClientScriptBlock is replaced by
Client.RegisterClientScriptBlock
function signature:
Client.RegisterClientScriptBlock(Type, String, String)
what should i put on the Type?
... more >>
Trying to figure out forms authentication
Posted by Randall Parker at 12/4/2005 10:36:52 PM
Some questions on forms authentication:
1) Can one do one's own checking of username and password and totally bypass calling
FormsAuthentication.Authenticate?
2) does the "new FormsAuthenticationTicket" create a cookie?
3) Can one send the cookie back to the browser just by doing the new ... more >>
CompareValidator not working
Posted by tshad at 12/4/2005 10:22:18 PM
The CompareValidator doesn't seem to work correctly.
I have the following to compare 2 controls that are Currency and no matter
what I enter, it seems to give me an error. I saw in the MSDN that Currency
is supposed to allow decimals with Currency symbols ("A decimal data type
that can contai... more >>
Is Visual Studio 2005 a bug release or what?
Posted by clintonG at 12/4/2005 9:52:13 PM
Regions that relocate themselves in the source when the - icon is used to
contract a region?
Regions that decide they want to indent themselves?
When it is selected the + icon just decides to disappear and regions can no
longer be expanded or contracted?
This occurs in both HTML and cod... more >>
Visual Studio setting
Posted by et at 12/4/2005 7:49:05 PM
I apologize if this is not the correct newsgroup but I couldn't find
anything that was specific to visual studio and still asp.net.
While in debug mode, my values are displaying as Hexidecimal &H9, &H7,
rather than the actual integer values, what did I do to get this and how do
I change it ... more >>
Localhost vs machine name
Posted by Mark Rae at 12/4/2005 7:44:11 PM
Hi,
In ASP.NET v1.x it was possible to specify on a project by project basis
that the site would load as the machine name instead of localhost when
running within Visual Studio.NET e.g. you hit F5 and the site loads as
http://myDevMachine/myTestSite
instead of
http://localhost/myTest... more >>
ASP.NET: HtmlInputText = Nothing
Posted by Ma³y Piotruœ at 12/4/2005 7:41:18 PM
Hello,
(I am sorry for my English - it is not my native language.)
I am learning .NET. Could you help me please with the following
problem?
I created .aspx page with a HTML control:
<input id=CustomersType name=CustomersType type=hidden runat=server>
and I made declaration in behind-code:
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
downloading file get empty from one server.
Posted by Frank at 12/4/2005 5:38:04 PM
Hi,
On one of my server, downloading file by clicking a button give empt
file. On the other servers work perfectly. Is any idea ? What should be
change in IIS Metabase setting?
After click the button on an aspx page, IE prompts the users whether they
want to open, save or cancel the do... more >>
Need help with skin file for Usercontrol
Posted by Philipp Lenz at 12/4/2005 2:51:47 PM
I'm very confused about how this works, all the tutorials out there
show me how to apply a skin to a webcontrol, but I want to know how
I can access the components of a control....for example:
I have a usercontrol, the ascx is defined like this:
<%@ Control Language="C#" AutoEventWireup="... more >>
Register Client Script
Posted by Goh at 12/4/2005 2:22:45 PM
Hi,
May I know how to register a java script inside the <head> tag not the
body? I found only got method that able register at the body like
RegisterStartupScript and RegisterClientScriptBlock.
I would like to register this script inside user control. and this
script must be run ... more >>
vwd, IIS6.0 unalbe to get websites to work
Posted by Matt at 12/4/2005 2:08:01 PM
I am unalbe to get a website created with vwd 2005 running on IIS6.0 with
ASP.NET version: 2.0.50727. I get a server application unavailable. I have
..htm websites that run.
I checked the event log:
Failed to execute request because the App-Domain could not be created.
Error: 0x80070005... more >>
"Failure Sending Mail" when using System.Net.Mail and ASP.Net 2.0
Posted by HoustonComputerGuy NO[at]SPAM gmail.com at 12/4/2005 1:53:56 PM
I am working on getting my web applications moved to .Net 2.0 and am
having some problems with System.Net.Mail. I get the following error
when sending the mail:
System.Net.Mail.SmtpException was unhandled by user code
Message="Failure sending mail."
Source="System"
StackTrace:
... more >>
calendar question
Posted by rodchar at 12/4/2005 1:51:03 PM
hey all,
i've seen some javascript calendar examples where when you click the
calendar image button it shows a calendar. And it appears over the text
instead of pusing contents down. how is that done? it doesn't look like a
popup window but then again i'm not sure.
thanks,
rodchar... more >>
How to Harvest the HTML Response from a Server?
Posted by Brad at 12/4/2005 1:37:53 PM
This seems so elementary and obvious that it escapes my notice!
I'm just trying to post a simple query string with parameters (e.g.,
www.google.com?key1=value1&key2=value2) and harvest the response from the
server without using an .aspx page. How do you do that in ASP.NET?
This seems so s... more >>
Problem calling C# web service with Ref parameter from a VB.NET Web application
Posted by Pratcp at 12/4/2005 1:24:54 PM
Hello,
I have an asp.net Web app in vb.net trying to call a C# web service
which takes a reference parameter. I tried a simple C# web app to call
the Web service and it works perfectly. However, when I try it in the
vb.net web app, I run into XML definition errors. Looks like the proxy
class ... more >>
Pros and cons for using https on a logon page?
Posted by Randall Parker at 12/4/2005 12:31:33 PM
1) What sorts of scenarios make the possibility of sniffing out a password a higher risk?
2) Do packets travel unencrypted over 802.11 wireless? Is it easy to sniff such
packets and catch a submit of a logon web page using http? Wireless strikes me as the
greatest risk.
3) Have you used ht... more >>
How to keep RETURNURL in the URL if incorrect password?
Posted by Randall Parker at 12/4/2005 12:26:02 PM
I'm coding up C# CodeBehind source code for a Logon.aspx file. I have a newbie few
questions:
1) If a PostBack comes in and you return from it (rather than redirect) then will the
original arguments in the URL (e.g. RETURNURL) stay there? Or does one have to put
those arguments back in the ... more >>
Full trust and automated log-in for 127.0.0.1?
Posted by Randall Parker at 12/4/2005 12:00:23 PM
I am using Forms authentication for people who come to a web site over the internet.
But for people who are sitting right at the server and and using a browser on the
server I want to allow automated automatic log-in with full access.
Can one do this just thru Web.config? Can one use the fact... more >>
ASP.NET 2.0 Can't download EXE files
Posted by Michael Tissington at 12/4/2005 11:51:52 AM
I have a web site with some EXE files for people to download.
However, when ever I try to download one of these filese I get an error
Can't find Server or DNS error ...
And yes the url is correct.
Any idea what might be causing this ?
--
Michael Tissington
http://www.oaklodge.com
ht... more >>
On choosing ASPX authentication cookie name
Posted by Randall Parker at 12/4/2005 11:50:48 AM
Looking at the fields for configuring a web site's security and I'm using Forms
authentication. Saw the part about assigning a cookie name. I assume this is the
cookie that gets set when a person logs in.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspne... more >>
valign datalist item template
Posted by mharness at 12/4/2005 10:41:10 AM
Hello,
Can anyone tell me how to vertically align the contents to the top of an
item template in a datalist?
Many thanks,
Mike
... more >>
How to modify <head> tag when using a master page?
Posted by ericgla NO[at]SPAM gmail.com at 12/4/2005 10:21:22 AM
I am creating a web app using asp.net 2.0 where all pages are based a
single master page. On some of the aspx pages I need to add javascript
to the head tag in order to use Google maps.
I tried this to access the header:
In the master page:
<HEAD runat="server">
In the aspx page: Page_L... more >>
How to set background color of Login control in ASP.NET 2.0?
Posted by Hardy Wang at 12/4/2005 9:33:33 AM
Hi all,
I have a login control, like below
<asp:Login ID="loginPanel" runat="server" BorderPadding="0"
PasswordRecoveryText="Click to retrieve your password"
TitleText="Enter Your Username & Password to Login">
<LabelStyle CssClass="ItemCaption"... more >>
Installing .NET 2.0 on 1.1 Server. Issues?
Posted by ML at 12/4/2005 8:47:31 AM
Are there any issues or major concerns with putting .NET 2.0 onto a
production webserver currently running 1.1? What issues need to be handled
for the existing applications?
... more >>
Getting Database query error...
Posted by RAB at 12/4/2005 8:22:00 AM
I tested my code on my local computer and it worked fine. When I
uploaded it to my webserver at Godaddy.com, I get the following
error...
Exception Details: System.Data.OleDb.OleDbException: Operation must use
an updateable query.
The line of code with the error is:
objCmd.ExecuteNonQue... more >>
ImageButon: PostBackURL
Posted by Rob Meade at 12/4/2005 7:45:37 AM
Hi all,
I've just added an image button control in my .net 2.0 app and I was
surprised to see a "PostBackURL" property...needless to say I was slightly
aroused :oD
Coming from an ASP background I would typically have a form, and then post
that to a form handler page, when I made the swit... more >>
|