all groups > asp.net > january 2006 > threads for sunday january 29
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
Can't access label in MasterPage
Posted by clintonG at 1/29/2006 11:49:39 PM
I'm having a problem with a label in a MasterPage which is not in a
ContentPlaceHolder. The naughty label will not allow me to change its text
property.
<%-- renders the label's text directly to the page --%>
<div id="footer">
<asp:Label ID="CurrentTimeLabel" runat="server" Text="CurrentTim... more >>
DropDownLists and NULL values
Posted by Neil at 1/29/2006 11:05:52 PM
I'd like to know what the best method is for handling NULL (or 0)
values within a DropDownList.
If a database lookup value is optional I would normally consider
leaving it NULL but this leads to problems with DropDownLists because
there is no value to bind to and an eror is raised.
I consid... more >>
ID & NaimgContainer
Posted by Lloyd Dupont at 1/29/2006 11:04:23 PM
I'm createing a NamingContainer (which could be nested deep in the
hierarchy)
Which contains an HtmlInputField
I then want to do some javascript on the (hidden) input field.
Problem is, I don't know how to get my InputField id :-/
So far I'm using hidden.ClientID but this returns me:
ctl0... more >>
VWD Validation error - Element 'form' is missing required attribute 'action'
Posted by Alan Silver at 1/29/2006 9:59:21 PM
Hello,
I'm getting an odd validation error from VWD. As I understand it, an
opening ASP.NET for tag is supposed to look like...
<form runat="server">
with an optional ID attribute. VWD gives me the following validation
error...
Element 'form' is missing required attribute 'action'
... more >>
Need Help: AccessDataSource and Assigning Variables for Data (ASP 2.0)
Posted by Michael at 1/29/2006 8:28:30 PM
I am using Visual Studio 2005 (ASP 2.0) to build a webpage that uses a
Microsoft Access Database. The data in the database
simply holds the information on a link to a document that I am storing on
the website. The information is written into the webpage
dynamically. That way when I add docu... more >>
Creating first project
Posted by y1799 NO[at]SPAM yahoo.com at 1/29/2006 4:33:32 PM
I have a problem with creating new Web project
I use Win XP pro. I installed VS 2003 and after installation ran
"aspnet_regiis.exe /i "
I got error message: "The web server reported the following error when
attemping to create or open the Web project located at the following
URL; "http://lo... more >>
GridView SqlDataSource Help
Posted by Krish at 1/29/2006 4:31:37 PM
Hello Gurus,
I have Master GridView & Detail Gridview and following another detail
gridview control. On "select" master grid , detail grid shows data, On
"Select" No. 1. detail grid, No.2 detail grid shows data, but if there is no
data in 1st detail grid, still 2nd grid is showing data from... more >>
anyway to call cdosys email from within asp.net page?
Posted by GJH at 1/29/2006 2:37:25 PM
I am hosting with Godaddy.com and they will not let me use the
system.web.mail object that comes with asp.net. I can use CDOSYS. is there
anyway to call cdosys email from within a asp.net webpage.
thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Dynamically created Hidden field
Posted by cnickl at 1/29/2006 1:41:27 PM
I have the following problem: I’m creating a hidden control dynamically in
the page_load event handler using the following code
C#:
..
HtmlInputHidden Hidden1 = new HtmlInputHidden();
Hidden1.Name = "Hidden1";
Hidden1.Value = "This is the Hidden Value";
this.PlaceHolder.Controls.Add(Hidd... more >>
Declaring controls in FormView
Posted by photo NO[at]SPAM ultraweaver.com at 1/29/2006 1:04:29 PM
Hi!
I am new to .net (vb) and moving from classic asp. I ran into a problem
that has left me with less hair on my head.
For some reason, my button and calendar that sits inside an
insertItemTemplate in a FormView, will not allow me to declare it. The
controls (Calendar1, InvoiceDate) are in... more >>
protect source
Posted by js NO[at]SPAM someone.com at 1/29/2006 12:58:07 PM
Hi,
The user can ftp the my aspx application.
how to protect the source code? that is: want user to use it, but not view
or modify it. Please advice. Thanks...
... more >>
Sending E-Mails from ASP.NET 2.0 page using System.Net.Mail
Posted by Eric Sheu at 1/29/2006 11:59:03 AM
Greetings,
I have been searching the web like mad for a solution to my SMTP problem. I
am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a
web site I have created to the members of my organization. I think my problem
is incorrectly setting the settings on my server... more >>
getting problem in asp.net SQL update command
Posted by thangchan NO[at]SPAM gmail.com at 1/29/2006 8:56:41 AM
Hi all,
i am getting SQL update problem. as below
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Derror me=
ssages =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Server Error in '/CMS' Application.
------------------------------------------------... more >>
CreateUserWizard - how clean up data before accepted?
Posted by VB Programmer at 1/29/2006 8:28:54 AM
I am using the CreateUserWizard. In there I have "Username" and some other
fields (stored in profile). For a few of the fields I want to "clean up"
the data before the data is saved. (Remove the spaces, remove special
characters, etc...) How can I do this? Do I use the "_CreatingUser" eve... more >>
How to return an excel file or excel data from ASP.NET
Posted by Anonieko at 1/29/2006 7:35:39 AM
Here are some of the approaches.
1. Transform DataGrid
http://www.dotnetjohn.com/articles.aspx?articleid=36
3. Use the Export approach
http://www.aspnetpro.com/NewsletterArticle/2003/09/asp200309so_l/asp200309so_l.asp
---->
This article will show how to create a class which ... more >>
Publish Web Site Headaches
Posted by Alex Greenberg at 1/29/2006 3:29:15 AM
I don't know, but I find the Publish Web Site feature very lacking and
weak.
I mean, why does the damn thing have to delete unrelated directories
like /images /documents etc.
This is so impractical, what if my users generate these documents or
images through their interaction with the site,... more >>
Hyperlink Rollover images in Repeater error
Posted by Patrick.O.Ige at 1/29/2006 12:00:00 AM
I want to have a rollover image on an hyperlink inside a Repeater control
but when i run the page i get
"Image1 is undefined"
Any ideas?
I have a Hyperlink and an Image control in a repeater like below:-
<ItemTemplate>
<tr width="150px" style="cursor:hand"
onmouseover="style.b... more >>
Is Nothing Equivalent?
Posted by Adam J Knight at 1/29/2006 12:00:00 AM
Hi all,
Can anyone fill me in on the C# equivalent of this VB statement?
If Not (Request.QueryString("myQString") Is Nothing) Then 'Do Something
Cheers,
Adam
... more >>
C# DB Null?
Posted by Adam J Knight at 1/29/2006 12:00:00 AM
Hi all,
How can i determine if a reader record is DBNull is C#???
What reference do i need?
if(rdrExam["OutcomeID"].??)
{
Response.Write("Here I am");
}
Cheers,
Adam
... more >>
|