all groups > asp.net > october 2004 > threads for thursday october 28
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
C# <ItemTemplate> and passing variables...
Posted by Jesper Pedersen at 10/28/2004 11:36:05 PM
Hi !
How do I access the following spillerID and Session["Session_player"] from
another *aspx page in my application?
<ItemTemplate>
<a href="player_details.aspx?spillerID=<%#
DataBinder.Eval(Container.DataItem, "PlayerID") %>"
target="_parent"> <%# DataBinder.Eval... more >>
How to display in-memory image?
Posted by Olav Tollefsen at 10/28/2004 11:26:09 PM
I'm getting an array of bytes returned from a web service representing a
jpeg image. How can I display this on an asp.net page? The Image control
seems only to take an URL as a paremeter.
Olav
... more >>
CreateObject vs New
Posted by ericbrooksby NO[at]SPAM hotmail.com at 10/28/2004 10:50:29 PM
Ok, so I am a bit new with asp.net. I have done everything to import
the com object correctly in ASP.NET and the following line works like
a charm.
Dim MeSrvCtrl As New MeSrvCtrlClass
Why does the following line not work?
MeSrvCtrl = CreateObject("MeSrvCtrlClass", Myserver_name)
... more >>
asp.net login form
Posted by Abul Hasan Lakhani at 10/28/2004 10:50:11 PM
Hello Everyone,
I am using Form Authentication Mode to authenticate users of my website. I
have specified user list in web.config file. I have created a login form and
a start page. Problem is login.aspx is not redirecting to my start page and
it shows the login page again and again. I have no... more >>
Transparent Gif not working in IE
Posted by tshad at 10/28/2004 10:38:32 PM
I have some transarent gifs (actually PNG files) that are not working in IE.
They work fine in Netscape and Mozilla. In IE the following shows a grey
border around the figure (which should be transparent.
<asp:ImageButton ID="ExpandButton" runat="server"
Font-Size="2" ImageU... more >>
Free open source datagrid?
Posted by John Dalberg at 10/28/2004 10:06:37 PM
I am looking for a good free open source datagrid. The best one I have seen
so far is hierargrid. Any others?
John Dalberg... more >>
Session is lost if a directory is created under virtual directory
Posted by sunil NO[at]SPAM volcanomail.com at 10/28/2004 10:04:10 PM
Dear All,
We have just ported our applications to .net 1.1 from .net 1.0 and
updated all our WebServers to .net 1.1...we are typically using IIS
5.1...
We have observed that when a directory is created under the Virtual
directory (not under bin) f.e.x. if http://pc_jack_lt/StockRatio/ is
my... more >>
Bug in Asp.Net Form design
Posted by WJ at 10/28/2004 9:40:35 PM
I have a form that had a text control. When I deleted the control using the
Design surface, it was deleted but the text behind was not. Somewhere in the
code behind, I referenced the TextControl, because this line of code failed
to be removed by the designer (protected System.Web.UI.WebControl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
SSL problem returning PDF file...
Posted by Wayne Brantley at 10/28/2004 9:26:35 PM
Here is the test case:
Create a new asp.net project.
put a file - test.pdf in the web application directory.
add a a button and a hyperlink to webform1.aspx
The hyperlink - simply links to the pdf.
The button - simply opens the pdf, reads the data and writes it to the
response object - co... more >>
Reference GAC assemblies for ASP.NET applications
Posted by Adam Getchell at 10/28/2004 9:13:01 PM
I'd like to reference the SQLHelper.dll from the Microsoft Application Data
Block. I've created an installer which installs it into the GAC. From reading
articles, I've noted that the GAC enumerates by path; hence, you cannot
reference your own assemblies in VS.NET (lame!) The way to do it for... more >>
How to send a DIME attachment with SOAP
Posted by ipsita.mohanty NO[at]SPAM gmail.com at 10/28/2004 7:18:36 PM
Hi!
I am trying SOAP with DIME attachments in web services. The web
service sends the file as attachment say "test.doc", and the client
has to read that and populate it in a textbox control. I had asked
this question earlier, and got the reply that the data is tranferred
in binary format on t... more >>
declaration expected ?
Posted by TJS at 10/28/2004 7:18:01 PM
In a code class, why is this line resulting in an error message about
needing a declaration ?
System.Web.HttpContext.Current.session("msg") = "xxx"
... more >>
Page client validations are not working...
Posted by Murat YILMAZ at 10/28/2004 7:04:03 PM
Hi all,
I have develop a web page and there are 4 textbox on it. I have put 4
validation for these.
Issue is that If I have request this page and submit form validations are
not working. But I have put other computer then try again. It is working...
I have look source from "view source" se... more >>
A better way to refer to DB columns?
Posted by Darrel at 10/28/2004 7:02:43 PM
Right now, I'm pulling data from a db, attaching it to a ds, then navigating
the ds to build HTML to spit out to the page. My calls to the individual
columns are like this:
ds.Tables(0).Rows(rowCount).Item(1).ToString)
This works but as I change things, it gets a bit akward to have to keep
... more >>
Conflicting Web.config between web site and web service
Posted by Joe at 10/28/2004 7:01:10 PM
I have a web service which is a subfolder of my web site. Each with their
own web.config.
I added a httpHandlers element to my web.config for my web site and now the
web service comes up with an error:
Parser Error Message: File or assembly name LspWs, or one of its
dependencies, was not foun... more >>
updating muliple records
Posted by Darrel at 10/28/2004 6:43:26 PM
I'm creating a table that contains multiple records pulled out of the
database. I'm building the table myself and passing it to the page since the
table needs to be fairly customized (ie, a datagrid isn't going to work).
On this page, people can update a variet of records. On submit, I want t... more >>
Infinite loop when using Server.Transfer
Posted by Alexander Bosch at 10/28/2004 6:35:40 PM
Hi,
I'm having a problem similar to the one that's stated in this KB
http://support.microsoft.com/default.aspx?scid=kb;en-us;839521
When I'm posting a page to itself with the bool value as true it falls into
an infinite loop and later a StackOverflow Exception. I need to do this and
not a Respo... more >>
Go to first Text box on content part of the page.
Posted by tshad at 10/28/2004 6:24:43 PM
Is there a way to tell it to go to the first textbox on the page?
I would like the user to start off at the textbox on my page instead of
having to tab down through my meu to get to it or to have to use the mouse
to get there.
Same with the DataGrid. It would be nice to be able to go dire... more >>
After PostBack - back to same place on page
Posted by tshad at 10/28/2004 6:22:00 PM
I have some nested DataGrids in my Datalist. There could be 20 datalist
items.
If I scroll down to the 18th item and expand it to show the DataGrid, the
page always goes back to the beginning of the page instead of going back to
the same spot on the page or move the page up to show the gri... more >>
datagrid-edit mode by selecting (or double clicking field)
Posted by tshad at 10/28/2004 6:13:07 PM
Is there a way to go into the edit mode by just clicking on a field in the
row of the DataGrid you want to edit?
I would like to "not" show the Edit button when I show the grid. I would
like to show the text boxes or dropdownlist by just selecting the field.
Is this possible?
Thanks,
... more >>
Change Templatecoloumn Layout
Posted by Kenneth Keeley at 10/28/2004 5:06:32 PM
Hi,
Can I change the layout and style of a TemplateColumn at run time to
display information differently base on one of the fields of data. If the
item is labled as urgent the title my appear Red instead of black, a Link
may take you to a different page depending on the type of item and so on.... more >>
window focus
Posted by Wei at 10/28/2004 5:06:03 PM
I need the current window stay on focus. The user will have to click on exit
button to exit the window. How can I do this in asp.net in C#?
Thank you
... more >>
Retirn only a limited number of results.
Posted by Kenneth Keeley at 10/28/2004 4:56:45 PM
Hi
How can I limit the number of results returned from and SQL database to a
datagrid. Ie I only want to return the latest ten news items for a news and
events page.
Thanks
Kenneth
... more >>
dropdown menu... in ASP
Posted by Cheryl at 10/28/2004 4:43:50 PM
I have grabbed a menu from a javascript site (
http://www.dynamicdrive.com/dynamicindex1/topmen3/index.htm ) and added to
my page.
The problem is however the dropdown comes down on top of text and input
boxes , as you would expect and desire, *but* behind dropdown boxes on the
page.
Surely... more >>
Data transfering with few WebForms
Posted by Piotr Karwatka at 10/28/2004 4:29:58 PM
Hi!
I have a little problem an qeustion.
In .NET Windows Forms I can do something like that:
- i have forms - Form1 Form2, on first form i have TextBox1 control on 2nd
form I have Button1 control
- on second Form i can acces data from Form1 like that:
for example: MessageBox.S... more >>
Stress Testing Using Forms Authentication
Posted by Glenn at 10/28/2004 4:24:01 PM
Hi,
I have a web site that ASP.NET that I am trying to stress test under a
number of different scenarios. This site uses forms authentication and each
user of the system cannot be logged in more than once (generates login
failure message).
I would like to be able to setup ACT with 20 us... more >>
validate a link
Posted by Guoqi Zheng at 10/28/2004 4:18:28 PM
How can I check in real time whether a link is valide or not?
I am thinking to use system.net.webclient to connect directly to the web
server. However, that will get all the content of that webpage which may
takes some time. Is there a way to only get the header info of that webpage
which is e... more >>
When MailMessage.BodyFormat = MailFormat.Html, SmtpMail.Send throws exception
Posted by acambre NO[at]SPAM mail.smu.edu at 10/28/2004 3:19:29 PM
Why does SmtpMail.Send throw an exception if the MailMessage's
BodyFormat = MailFormat.Html? I've searched all over the place and
cannot find a solution anywhere. I am running this on Windows XP SP2,
and IIS's SMTP and WWW servers are installed.
Here is the error trace:
System.Web.HttpExcepti... more >>
Unchecking two items in a checkboxlist?
Posted by Chelimar at 10/28/2004 3:15:03 PM
Hi,
I need to tell a checkbox list that if two of the items have been checked,
to uncheck themselves. I need help! Thanks :)
~Chelimar... more >>
Widnows Authentication
Posted by Ganesh Ramamurthy at 10/28/2004 1:52:39 PM
Hello Experts.
I use windows authentication in my ASP.Net application. I have disabled the
anonymous access for my web site in IIS. I get a windows authurization
dialog box (the grey box), wherein i can enter the correct userid and
password to access the page.
I want to display the user inf... more >>
prevent aspnet process to restart after web.config is changed
Posted by Daniel at 10/28/2004 1:36:00 PM
Hi, is the a way to prevent aspnet process to restart after web.config is
modified?
like, waiting for all sessions to close, or not restart at all ?
Thank you,
Daniel
... more >>
AutopostBack for a TextBox
Posted by Vi at 10/28/2004 1:30:03 PM
Hello,
I want to be able to reload a DropDownList when a TextBox changes its value.
So I set the AutopostBack property of the TextBox to true and in the code
behind I do something like:
if(IsPostBack)
{
if( ((TextBox)sender).ID == "myTextBox" )
myDropDownList.DataBind();
}
... more >>
How to find user controls?
Posted by TomislaW at 10/28/2004 1:27:58 PM
How to find all user controls (ascx) loaded on a Page?
... more >>
Forms Authentication errror
Posted by sumaira.ahmad NO[at]SPAM gmail.com at 10/28/2004 1:03:14 PM
Hi,
Please help me with this..
I am trying to use Forms Authentication in a sample project. I
basically want to have two folders in my application , one in which
I store pages that can be accesed without authentication and one
which can be accessed only by authenticated users..
In my An... more >>
Server Error in Photos Application
Posted by Ross at 10/28/2004 12:55:06 PM
Hi
I have an application using asp.net that I am running on my PC.
The web form has a text box where you can enter a name for a new Photo
category then click on the button.
The code is intended to create a new directory under Photos such as
"Relatives".
However, I am getting the foll... more >>
ASP.net Beta 2 sample code
Posted by lcorrias NO[at]SPAM yahoo.com at 10/28/2004 12:10:52 PM
Hi,
where i can find good sample code for asp.net beta 2??
I have download Visual studio web express and want start to play...
many many thanks
Luigi... more >>
Visual Studio .Net webform designer question
Posted by Ed Chiu at 10/28/2004 11:55:06 AM
Hi,
I have the following template column inside a datagrid:
<asp:TemplateColumn>
<ItemTemplate>
<a href="#" onclick="window.open('Respond.aspx?CaseNumber=<%#
Databinder.eval(container.dataitem, "CaseNumber") %>','newwin')">Respond</a>
</ItemTemplate>
</asp:TemplateColumn>
This is fin... more >>
Caching .xml and .xsl on client side
Posted by Rahul Agarwal at 10/28/2004 11:41:13 AM
Hi
We use few .xml and .xsl files in our web application and we found that
these files even though fairly static gets downloaded to the client's
machine everytime the page is refreshed.
Is there a way we can instruct so that these files only gets downloaded to
the client's machine if there ... more >>
insert record in Access database
Posted by nicholas at 10/28/2004 11:37:55 AM
To insert a record in a Ms Access database and be able to retrieve the newly
created ID (autonumber) I used the code below (code 1).
Now, the problem is that this is not very secure and that, if for example an
insertion contains a ' or a " this code fails. It is much better to work
with @parame... more >>
Formatting Strings
Posted by Guadala Harry at 10/28/2004 11:30:16 AM
So far into my forray into .NET I have not had to format strings... until
now. I have a stored procedure that returns a decimal value that looks like
this: 12345.1234.
I would like to format it to look like this: $12,345.12
The formatted value should be rounded to two decimal places.
The ... more >>
Time consuming scripts restarts
Posted by Eirik Eldorsen at 10/28/2004 11:21:53 AM
I have two scripts that take long time to run. One take about 10 mins, and
the other takes 15 hours. By setting
... more >>
Deployment Best Practices
Posted by sstevens at 10/28/2004 11:05:04 AM
Does anyone have suggesstions for ASP.NET deployment best practices. This is
in the context of a large organization where developers do not have admin
access to web servers. The idea of buliding msi packages for each deploy
seems difficult to implement because the server admins do not have t... more >>
Strange problem
Posted by Bart Schelkens at 10/28/2004 10:51:08 AM
Hi,
I have the following problem :
at my work I'm creating a web-application using VS.NET 2002 on a
WIN2000-server.
Everything works fine there.
Now when i take the complete directory that holds all the files to my home
where I want to continue the application, I have the following :
... more >>
Accessing HTMLControls created dynamically using Javascript during PostBack
Posted by CS Wong at 10/28/2004 10:42:43 AM
Hi,
I have a page form where form elements are created dynamically using
Javascript instead of programatically at the code-behind level. I have
problems accessing the dynamically-created elements and would like to seek a
solution for this.
I had looked through several articles for access... more >>
UserControl event never runs
Posted by Natan at 10/28/2004 10:40:30 AM
Hi...
I have an User Control that is loaded with Page.LoadControl(). It works
fine, but the code in the .ascx file never runs. an example:
control.ascx
------------
void Page_Load(object sender, EventArgs e)
{
myDiv.InnerText = DateTime.Now.ToString("d");
}
<div id="myDiv" run... more >>
cookies between ast and asp.net
Posted by Arno Seitinger at 10/28/2004 10:34:54 AM
Hi,
how I have to handle cookies between asp and asp.net?
between two asp sites it works fine,
so I can use the sessions direct.
but not between an asp site and an apx site.
thanks
arno
... more >>
insert new record in Access dbase AND retrieve autonumber
Posted by mail NO[at]SPAM squaresweb-dot-com.no-spam.invalid at 10/28/2004 9:55:35 AM
To insert a record in a Ms Access database and be able to retrieve the
newly
created ID (autonumber) I used the code below (code 1).
Now, the problem is that this is not very secure and that, if for
example an
insertion contains a ' or a " this code fails. It is much better to
work
with @par... more >>
How do I use a <asp:button> to close a window
Posted by Ed Chiu at 10/28/2004 9:45:08 AM
Hi,
I would like to add a <asp:button> to a webform. When user click on this
button, the page will connect to SQL server and update tables, then the
browser window will be closed.
I know how to connect to SQL server and update tables but I don't know how
to close browser window after tha... more >>
Image Button's
Posted by Craig G at 10/28/2004 9:41:58 AM
are there any 3rd Party image buttons that can be used on WebForms?
i was having a look around the internet but all i could find is Image
Buttons for WindowsForms
i am just looking a Image Button that has a few more properties and methods,
such as enable etc
Cheers,
Craig
... more >>
insert in DataGrid not working
Posted by tshad at 10/28/2004 9:41:50 AM
I can't seem to get insert into a DataGrid to work.
I am using an example from the net and made changes to work on my computer.
The grid comes up fine. The edit boxes in the footer are there. But when I
press the "insert" link, it never seems to go to the DataGrid1_ItemCommand
routine.
... more >>
How to start learning about .NET technology
Posted by Bhaskar at 10/28/2004 9:29:13 AM
Hai,
I am new to .NET technology.I am little aware of Visual Basic.I would like
to learn ASP.Net.Can someone help me out.... more >>
How to start learning about .NET technology
Posted by Bhaskar at 10/28/2004 9:27:12 AM
Hai,
I am new to .NET technology.I am little aware of Visual Basic.I would like
to learn ASP.Net.Can someone help me out.... more >>
Shorten a SQL VarChar result.
Posted by Kenneth Keeley at 10/28/2004 9:25:26 AM
Hi,
I am creating a news and events page for my web site and I have a data
grid for the summary of news items that is using a TemplateColumn I can
layout the data in the format I wish. My only problem is that one of the
fields returned by the database is a very long VarChar, It is the story
f... more >>
Button images in DataGrid editing
Posted by tshad at 10/28/2004 9:11:18 AM
Is there a way to use your own image in place of the automatic one that ASP
uses when doing editing in your DataGrid pages?
We already have a style of button we are using and would like to be
consistant.
Thanks,
Tom.
... more >>
How to add images to dropdown server control
Posted by Yuriy at 10/28/2004 9:09:01 AM
I need to add images to dropdown sc.
Thanks... more >>
Container.dataitem ?
Posted by Ben R. at 10/28/2004 9:05:02 AM
I was wondering if someone could give me some info on what this element
acutally is... I've used it tons when definining a templated column in a
datagrid within <%# %>, but don't really know where it lives, etc. From my
reading, it seems that "container" might have something to do with a
"Na... more >>
Not able to create the ASP.NET application
Posted by ajay_guntupalli NO[at]SPAM hotmail.com at 10/28/2004 9:04:38 AM
Hi Gurus,
Here is my Problem I am not able to create the asp.net web application
when ever i tried to create a new project i am getting the following
error message.
"Visual Studio .NET could not create the application . Your browser is
configured to use a proxy server for the local server"... more >>
How to add image to server dropdown control
Posted by Yuriy at 10/28/2004 9:03:02 AM
I need to add images to dropdown control. I try to find something, but could
not find anything exept ifragistic control.
Any help appreciate... more >>
Not able to create/Run ASP.NET Project
Posted by ajay_guntupalli NO[at]SPAM hotmail.com at 10/28/2004 8:58:38 AM
Hi Gurus,
Here is my Problem I am not able to create the asp.net web application
when ever i tried to create a new project i am getting the following
error message.
"Visual Studio .NET could not create the application . Your browser is
configured to use a proxy server for the local server"... more >>
Redirect to IIS 401/403 error page in HttpModule?
Posted by Greg Hurlman at 10/28/2004 8:47:22 AM
Is it possible to redirect to an IIS 401 or 403 error page by setting the
Response.StatusCode in an HttpModule?
Right now, my code look like:
e.Context.Response.StatusCode = 401;
e.Context.Response.End();
This passes back the proper headers, but fails to produce an er... more >>
Create a file via Windows Service
Posted by vishal at 10/28/2004 8:34:53 AM
Hello,
I have a created a windows service and now I need to
create some files from that windows service. The files
should be located in the following folder: /root/news/
Unfortunaly when the service runs then it throughs the
following error message and therefore it doesnt create the
... more >>
add blank row in dynamically filled ddl
Posted by Eirik Eldorsen at 10/28/2004 8:34:17 AM
With this code i fill my dropdownlist:
ddlReisemal.DataSource = DBFactory.GetReisemal().DefaultView;
ddlReisemal.DataTextField = "Name";
ddlReisemal.DataValueField = "ID";
ddlReisemal.DataBind();
How can I add a blank row at the top?
Eirik Eldorsen
... more >>
Disabling text boxes within a data grid whilst in edit mode.
Posted by Gary at 10/28/2004 8:32:01 AM
Hello All,
I have an editable data grid in my web form, this grid allows the user to
add new records, edit existing records and also delete them. When a user adds
a record the grid goes in to edit mode and four text boxes appear, one is for
the start date, another for an end date and the ot... more >>
get servername
Posted by Mike at 10/28/2004 8:19:08 AM
I have a web app that sends an email to user and in the email it provides a
link to a detailed page on their information. My question is, when the email
is sent how can i get the web server name so when they click on the link it
takes them to the web server were the email was generated from?
... more >>
Incrementing Assembly Version?
Posted by mekim at 10/28/2004 7:01:06 AM
Hello....I am trying to System.Reflection.Assembly.GetExecutingAssembly
().GetName
().Version.ToString () ;
to display the version of the app...but it remains static and therefore does
not increment...it's
AssemblyInfo.vb looks like this
<Assembly: AssemblyVersion("1.0.*")> ... more >>
How to disable the IE Back button
Posted by Raghu Raman at 10/28/2004 6:00:19 AM
Hi,
we are doing an in house project in c#.net(asp.net).We wanted to close
our application when ever the user presses the SIGNOUT button. Even
though we programtically disconnects them from the database,when we
press the Internet explorers Back button ,all the browsed pages are
displayed ... more >>
Help needed in the Interface sharing
Posted by Raghu Raman at 10/28/2004 6:00:14 AM
Hi,
I have created an Interface class in the c#.net for Asp.net and we make
this interface to be inheritted by a class . It is working nice.
My probs is , i want to make this interface globally
available to all our LAN Network, so that all the other guys could use
my interface for th... more >>
Refresh ASP.net gape after the post back is complete
Posted by pravin NO[at]SPAM amsoft.net at 10/28/2004 5:34:51 AM
Hi,
I have a ASP.net webform opened. I want to open a model dialog box on
the button click. When the dialog box is opened, the webform is shown
blank because the post back is not complete unless i close the dialog
box.
How can i refresh the page only when the post back is completed i.e.
re... more >>
Closing and refreshing windows
Posted by Arek at 10/28/2004 5:20:21 AM
Hello,
I have one window orders.aspx with idorder as
parameter(request.querystring("idorder"))
Now from that window I open window customer.aspx (target _blank)
Now, I would like to save changes and that is done and then close window
customer.aspx and refresh orders.aspx
Can I somehow achieve... more >>
How to embed (show) an entire html page in asp.net
Posted by Alex at 10/28/2004 4:57:16 AM
Hi. I need to insert an entire html page from a string variable into a
asp.net page. I thought that literals should work, but still I need to
remove some tags like html, body, etc.
Thanks,
Alejandro Penate-Diaz.
... more >>
Accessing a usercontrol from parent codebehind
Posted by mat NO[at]SPAM u2orange.co.uk at 10/28/2004 2:52:04 AM
Hi,
I am having a bit of a problem trying to access / set properties of a
usercontrol from the parent codebehind.
This is what I have so far..
simple.aspx
<%@ Page Inherits="CodeBehindSimple" src="simple.vb" %>
<%@ Register TagPrefix="CC" TagName="Simple" Src="ucSimple.ascx"%>
<!DOCTYPE... more >>
C# coding error
Posted by TJS at 10/28/2004 2:33:17 AM
can anyone help me with this line 35 error ?
=========================================
Compiler Error Message: CS0246: The type or namespace name 'ControlChars'
could not be found (are you missing a using directive or an assembly
reference?)
Source Error:
Line 33: WelcomeMessag... more >>
How can I shorten this time?
Posted by Web Response Time at 10/28/2004 2:19:02 AM
I found a surprising problem.
I sent a zero length's request in my asp.net program to another asp.net
program on the local machine. until I received the zero length's response
data, it only took me 32ms.
while I sent the same request in my C# WinForm program to the other
asp.net ... more >>
call a unmanaged dll in ASP.NET app
Posted by Priya at 10/28/2004 2:15:04 AM
Hi,
I'm developing an ASP.NET app. In codebehind .cs file i need call an
unmanaged C++ dll.I copied the dll into the bin directory.
the header file of the dll contains the definition as
extern "C" __declspec (dllexport) void FuelEfficiency(COleDateTime
m_dtFuelEffTo,COleDateTime m_dtFuelEff... more >>
how to reset a page
Posted by Asha at 10/28/2004 1:53:04 AM
greetings, how can i reset a page from code behind? i want to reset all the
value in the textbox to empty after a user has submitted a value. besides
using txt = nothing thanks... more >>
Code Behind protection level error
Posted by Ken.r at 10/28/2004 1:45:09 AM
I'm working my way throught ASP Resource Kit tutorial lab 3. This following
code was working in the HTML page:
private void btnSignIn_Click(object sender, System.EventArgs e)
{
// Add user authentication logic here
if (txtUserId.Text.Length >= 4 && txtPassword.Text.Length >= 4 &&
txtUser... more >>
Time formatting
Posted by naija naija at 10/28/2004 1:00:16 AM
If i use :- <%=DateTime.Now()%>
i get 28/10/2004 5:48:03 PM
What about if i want only time or only Date?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Validation controls not working
Posted by Craig HB at 10/28/2004 12:33:02 AM
I have build a web form using asp.net validation controls to make sure the
users fill in the required fields and enter a valid email address for one of
the fields.
This works when I test it on the development server, but when I upload the
files to the production server, the validation cont... more >>
codebehind error
Posted by TJS at 10/28/2004 12:31:27 AM
need help resolving this error :
Parser Error Message: The base type 'MenusCodeBehind' does not exist in the
source file header.ascx.vb'.
------------------------------------------------
points to this line in the calling control :
<%@ Control Language="VB" Inherits="MenusCodeBehind" S... more >>
|