all groups > asp.net > october 2006 > threads for sunday october 8
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
newbie: what is the name on this?
Posted by Jeff at 10/8/2006 9:29:15 PM
hey
asp.net 2.0
I came accross in the asp.net 2.0 documentation while ago a section about
changing the URL from for example being like this
www.helloworld.com\test\profile\user\newbie\default.aspx to be like this
www.helloworld.com\newbie . This could be set in web.config. Well, maybe it... more >>
Authentication features in ASP.NET 2.0
Posted by Peter Afonin at 10/8/2006 8:54:48 PM
Hello,
I'm still learning the new Authentication features in ASP.NET 2.0. Two
things I cannot figure out:
1. It's easy to change user profile and password. But how about the main
login information? It has user name, email, security question and answer.
I've just found out that there is n... more >>
How to count the active ASP.NET Sessions (SQL Server)?
Posted by JoeSep at 10/8/2006 8:53:01 PM
Hello,
I know that when the SessionState is set to SQL Server (ASP.NET 1.1) these
counters in PerfMon are not valued:
- Sessions Abandoned
- Sessions Active
- Sessions Timed Out
- Sessions Total
Is there another way to get these counters (especially "Sessions Active")
when the SessionState... more >>
SessionId-Problem - New in VS2005 - Each browser child window is a new session
Posted by Rolf Welskes at 10/8/2006 8:31:03 PM
Hello,
the following sample application in ASp.net 2.0 / VS2005 (Webproject).
in an testPage.aspx
................
<P><A href="01Test01A.aspx">Link to 01Test01 A</A></P>
<P><A href="01Test01B.aspx">Link to 01Test01 B</A></P>
Now start the page.
Now DO NOT click on the link, but ... more >>
User.Identity.Name is blank
Posted by John at 10/8/2006 8:30:31 PM
Help!
I've just spend the last three days researching and testing the
following issue without any results.
I have a test page setup to get the Windows logon name of the user.
The site is a private intranet with the following configuration:
Two Windows 2003 servers, load balanced. IIS 6... more >>
IIS forcing app to use .Net 2.0 when 1.1 is specified
Posted by kmsuzuki NO[at]SPAM gmail.com at 10/8/2006 7:54:39 PM
I have a Windows Server 2003 + IIS6 with both .Net 1.1 and 2.0
installed. In the past, I've had no problems using the ASP.NET tab in
the IIS Manager to specify which framework version a given application
should use.
I created a .Net 1.1 VB.NET web service in Visual Studio.NET 2003. I
built ... more >>
Using FOR to edit TextBoxes
Posted by Jl_G_0 at 10/8/2006 7:52:38 PM
Hey all.
I have to check the content of 20 textboxes on my Page_Load event, to
remove the string "nbsp;" from them.
I do it with:
If TextBox1.Text = "nbsp;" Then
TextBox1.Text = ""
End If
Works, but I have a lot of lines on my code... Is there any way to do
a FOR Loop to do this. The T... more >>
newbie: my code crashe, NULL value
Posted by Jeff at 10/8/2006 6:59:44 PM
Hey
asp.net 2.0
My code below crashes at the "return (int)cmd.Parameters["@return"].Value;"
line. In the debugging window I see that when this exception occur, the
"return (int)cmd.Parameters["@return"].Value;" has a NULL value....
public override int SendMessage(MessageDetails message)... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Date Format Incorrect
Posted by jack-e at 10/8/2006 6:17:41 PM
Hi,
Since upgrading servers the date format has been incorrect on my
website. It now show dates as MM/DD/YYYY instead of DD/MM/YYYY
(Australian format).
I changed the international settings on the server to Australia and
when I look in the database (SQL Server Express) everything looks OK.
... more >>
Postback confusion
Posted by Keithb at 10/8/2006 5:10:20 PM
A page's Page_Load event contains initialization code (shown below),
intended to execute only once when the page is loaded for the first time.
After page load, the first time the user clicks an Update button, the
initialization code is executed a second time, cancelling out the users
check b... more >>
Question
Posted by Manny Chohan at 10/8/2006 4:59:02 PM
Hey Guys, I am getting an error when setting the ID of the controls in
Framework 2.0 Visual web developer 2005 express edition.
The message is "The directory name is in-valid".
Can someone please tell me how to correct this?
Thanks
Manny... more >>
VS2005: Cannot run the website from IIS (database problem)
Posted by TTT at 10/8/2006 3:38:30 PM
Hi,
I have developed a website from the model "Starter kits Classified". Well,
the application works good, no problem in my development environment. It
uses a SqlServer 2005 express database (using *.MDF files).
But, when i try to copy it to a IIS website, it dosent work.
- I created a we... more >>
vb equivalent ?
Posted by Jon Paal at 10/8/2006 2:03:21 PM
what is vb equivalent to this C# code ?
converters failed to handle this
"using (SQLiteTransaction mytransaction = myconnection.BeginTransaction())"
... more >>
Session Variables or Cookies in Custom Server control
Posted by Charles Zhang at 10/8/2006 12:07:11 PM
I created a custom server control whose rendering logic relies on
session variables and cookies. It works just fine at run time. The
problem is at the design time, because session variables and cookies are
not available, so that I get error messages. I just wonder if there are
any way such a... more >>
MyBase.Load
Posted by rn5a NO[at]SPAM rediffmail.com at 10/8/2006 12:02:29 PM
Often I come across the following Page_Load sub declaration in ASPX
pages:
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) Handles
MyBase.Load
........
........
End Sub
What does MyBase.Load do here? What for it is used? Is there any
difference between the above Page_Lo... more >>
ODS + GridView -- how to prevent databinding when control parameters not yet set
Posted by H5N1 at 10/8/2006 11:08:25 AM
Hello
I'm displaying report on a gridview through object data source which
gets some parameters from ddl controls. Using sql profiler I've found
out that even when controls are not yet set (by default they are set to
empty string value, so I guess they should be interpreted as nulls)
query (w... more >>
export to excel issue
Posted by Neo at 10/8/2006 10:55:01 AM
I am pasting sample code below which I call on a button click. My problem is
that 6/7 is shown by excel as 7-Jun. I want it to look as 6/7 in excel.
Please let me know if anyone has a solution.
Thanks
string temp = "<html><table><tr><td>6/7</label></td></tr></table></html>";
Response.C... more >>
Changing browser "text size" in VS2005 HTML design view.
Posted by Alan at 10/8/2006 9:15:28 AM
Hi,
IE lets the user set the "Text Size" to use when viewing pages. That
sizing works fine when I view my pages directly in the IE browser, but
the changes don't seem to carry over to VS 2005's design view.
Instead that seems to always be set at "medium". Is there a way in
Visual Studio, si... more >>
Set Conditional AutoPostBack In User Control
Posted by rn5a NO[at]SPAM rediffmail.com at 10/8/2006 8:23:29 AM
Assume that a user control has a TextBox (Page1.ascx)
<asp:TextBox ID="txtName" runat="server"/>
I am encapsulating the above user control in a ASPX page named
Page1.aspx i.e. the ASPX page displays a single TextBox. There's also a
CheckBox in this ASPX page within the <form> tags. Note that... more >>
asp.net 1.1 vs 2.0....
Posted by RAB at 10/8/2006 7:45:08 AM
Why would I want to learn asp.net 2.0? I still haven't mastered all
the functionality in asp.net 1.1. I can buy asp.net 1.1 books for
pennies on the dollar (a lot of them are only 2 years old). I would
have update my visual studio to the most current version...how much
would that cost? What ... more >>
uncleared code
Posted by vijaiyanb NO[at]SPAM gmail.com at 10/8/2006 6:06:38 AM
please explain the following code
Dim rt As String =
"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}}\viewkind4\uc1\pard\qr\f0\fs20 "
... more >>
uncleared code
Posted by vijaiyanb NO[at]SPAM gmail.com at 10/8/2006 6:03:08 AM
please explain the following code
Dim rt As String =
"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}}\viewkind4\uc1\pard\qr\f0\fs20 "
... more >>
Google SiteMap
Posted by shapper at 10/8/2006 5:10:05 AM
Hello,
I am trying to convert an Asp.Net 2.0 XML sitemap file to a Google's
sitemap file.
I am posting the formats of both files.
1. How can I do the conversion?
2. And can I use an .ashx Asp.Net file that when the .ashx file is
called the Google XML file is generated?
Thank You,
M... more >>
Building CMS using ASP.NEt 2.0
Posted by Erry at 10/8/2006 2:20:30 AM
Dear All,
I would like to build CMS by using ASP.NET 2.0, Appreciate if you could let
me know any book or step by step resources for it?
Thanks,
Erry
... more >>
Type could not be found in Visual Studio 2005 ASP.NET Web Applicat
Posted by Vance at 10/8/2006 12:04:01 AM
I'm sure I'm missing something obvious, but in my web application I have
added a couple of C# files containing classes I want to use in
Default.aspx.cs (default.aspx's C# code beside file).
Whenever I reference a class contained in my C# files I get the error, "The
type or namespece name ... more >>
|