all groups > asp.net > august 2003 > threads for sunday august 10
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
Simple JScript
Posted by Jenny at 8/10/2003 11:10:10 PM
Hi all,
I wrote a simple asp.net with JScript. But it doesn't work
properly. And I don't know why!
The CodeBehind:
Public Class WebForm1
Inherits System.Web.UI.Page
....
Private Sub Page_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
... more >>
Updating dataset with values from TextBox control
Posted by Paul Aspinall at 8/10/2003 10:11:33 PM
Hi
I have built a very simple page, which takes data via TextBox controls, and
updates to a Dataset.
I've used the Data Access Blocks (v2), to help with functionality, and to
build a DAL.
Part of my code takes the form:
ds.tables(0).rows(0)("FirstName") = Firstname.Text
There is onl... more >>
Pulling DataSet From WebMethod -- Possible?
Posted by Temp at 8/10/2003 8:44:12 PM
Is it possible to have a public WebMethod in a WebService that returns a
DataSet?
--
_____________________________
Ron Rodenberg
Lead Software Engineer
Razorvision Technology, Inc.
(214) 207-1688
... more >>
Calling Method When Item Selected in Repeater
Posted by Temp at 8/10/2003 8:15:56 PM
I have a repeater that consists of a column of data. When the user selects
an individual item, I need to execute a method in the codebehind that uses
parameters passed upon item selection.
Any ideas/suggestions on how to do this?
Ron
--
_____________________________
Ron Rodenberg
Lead... more >>
ACCESS DENIED 404 -- Simple Question
Posted by Temp at 8/10/2003 7:54:41 PM
I have created a webservice that currently exists on my localhost. I have no
trouble creating an instance of the service in my ASP application, but
everything blows up when I try to instantiate one of the public methods. The
error returned tells me that access is denied.
Is there a setting e... more >>
How to submit an invalid form
Posted by Jake at 8/10/2003 6:56:16 PM
Hi,
I have an edit page that contains both as edit and delete
button. When the user clicks delete I do not want the
page to be validated, so even if the data is invalid the
record can still be deleted.
Is there a way to disable the validation when the delete
button is clicked, without... more >>
How to control enter button on the client PC in ASP.Net
Posted by Simon Fainveits at 8/10/2003 6:54:08 PM
Does anybody know how to control enter button on the web
form? It seems to if the user hits enter button at run
time then it fires submit button click event. I have also
noticed that if the page does not have a submit button
then the button that was first placed on the form at
design time ... more >>
Server Controls in header file
Posted by Marcus Robinson at 8/10/2003 6:42:13 PM
Hi,
I have files called header.ascx and footer.ascx which are included in pages
by a class that inherits System.Web.UI.Page and overides OnInit. See:
-------------------------
Protected Overrides Sub OnInit(ByVal e As System.EventArgs)
Me.Controls.AddAt(0, LoadControl("../header.ascx"... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Does anyone know what this message means? Could not load type System.Web.UI.WebControls
Posted by news.microsoft.com at 8/10/2003 6:27:52 PM
Hi,
I've just finished developing an web site locally (ASP 1.1) which works
fine. Now that I have posted it to our server (which has 1.0 and 1.1
installed) I get the following error message when I try to navigate to the
page.
Does anyone know what the following message means?
Could not l... more >>
ASP.NET Duplicate SessionID Problem
Posted by CQL at 8/10/2003 4:55:21 PM
I'm using a custom Session object to store information about current
selections in my asp.net application and I am running into a problem on IE
when a new window is cloned using Ctrl+N. Because IE uses same session id's
for two windows a problem exists where a user can potentially update wrong
d... more >>
Delimiter Split
Posted by Mark Fox at 8/10/2003 4:37:25 PM
Hello,
The string.Split method is very useful for splitting
strings that use a single character as a delimiter. i.e.:
string str = "First;Second;Third";
string[] strArray = str.Split(new char[] {';'});
But I am having trouble getting the Split method to split
a string with a de... more >>
<asp:textbox TextMode=Password runa=server> ??
Posted by Kerri at 8/10/2003 4:23:26 PM
Hi,
I have an asp textbox that allows users to enter their
password.
I have another page that allows a user to edit their user
account.
On this page I set the text to be the password in the
Database. There is a value in my datareader but yet on my
aspx my textbox is empty.
This o... more >>
Going nuts...a sql insert statement error...how to debug from here?
Posted by Kathy Burke at 8/10/2003 4:23:10 PM
Ugh. I'm using the following in an asp.net. I get an Syntax Error in
INSERT INTO Statement on line Cmd1.ExecuteNonQuery().
I've made all my database fields text (just to eliminate that as a
potential problem). I changed all my variables in the insert statement
to text to test as shown below. S... more >>
need help with dynamically created user control
Posted by Karl Seguin at 8/10/2003 11:16:48 AM
i have a dynamically created user control which contains a non-dynamically
created ASP.Net button. When the button is clicked, the event is not fired.
I know that the control must be created on postback, and it is. However,
I've noticed an intriguing thing which I think might be at the root of th... more >>
Help w/AddHandler (Not Firing Off)
Posted by Jeffrey A. Voigt at 8/10/2003 10:56:59 AM
Can someone take a quick glace at my code and tell me why my
AutoPostBackHandler function does not get fired off at all? What I'm trying
to do is get all of the Buttons and DropDownList controls that have an
AutoPostBack property set to true to fire off the AutoPostBackHandler
function dynamica... more >>
Datagrid header and scrolling,
Posted by abacnet at 8/10/2003 10:40:41 AM
Hi eveybody,
I have a datagrid that can show many rows, so there is a vertical scrollbar.
The problem is that when users scroll down, they loose the view of the
header. My idea, right now, is to use another empty grid outside the scroll
area and hide the original grid's header. Do you have an... more >>
Save/Send a ASP.NET Page from the Server Side
Posted by THC at 8/10/2003 10:03:29 AM
What I am trying to achieve is to email an ASP.NET page from the server
side. The page needs to be in its final result, meaning all server
controls have been resolved and there's only straight HTML. I suppose
that the first step is to save the result HTML to a file. Is there
someone out t... more >>
Repeating asp.net grid headers
Posted by Kenneth at 8/10/2003 9:17:44 AM
Hi,
I have an asp.net app that users would like to print out
on paper, but the items in the grid are sometimes more
than the height of the paper so the grid is divided onto
several pages.
I can demand my users to use IE4+.
Is there some way to repeat the grid headers on top of
every... more >>
Free UML tutorials for .NET developers
Posted by jasongorman NO[at]SPAM blueyonder.co.uk at 8/10/2003 5:53:34 AM
http://www.objectmonkey.com - more to come over the next few weeks.... more >>
Referencing a panel on a webform from an usercontrol
Posted by Lokhan Wong at 8/10/2003 4:49:38 AM
My question is whether it's possible to change the
properties of a panel, that resides on the webform
containing the usercontrol, in the usercontrol itself.
Like this:
<form>
<asp:panel visibility=false .... </asp panel>
<user:control> //a function here turns the visibilty to
true </us... more >>
Fastest way to get a the string between <title> </title>
Posted by Andreas Klemt at 8/10/2003 3:38:39 AM
Hello,
I have in my strHtml a html page.
so what is the fastest way (with XML Read?) to get the "myValue" between
<title>myValue</title>
Thanks,
Andreas
... more >>
EnableViewState
Posted by JohnG at 8/10/2003 3:35:17 AM
Hi, All,
When I set the EnableViewState =false for a Textbox web control, the value
still stays when it postback. Should it? Thanks
... more >>
Difference? myDate.Equals(Date.MinValue) -or- myDate = Date.MinValue
Posted by Andreas Klemt at 8/10/2003 2:56:06 AM
Hello,
what is the difference and what is better (performance etc) ?
a) If myDate.Equals(Date.MinValue)
b) If myDate = Date.MinValue
Thanks,
Andreas
... more >>
Delete the cookie?
Posted by Mohammad A. Samara at 8/10/2003 2:11:02 AM
Hello everyone,
Does anyone know how to get rid of the cookies when the internet explorer
window is closed after we use Forms authentication mode in the web.config
file?
I use <authentication mode="Forms"> in my application, everytime a user logs
in the application he still can log back in ... more >>
dynamic button - does not go to handler
Posted by greg at 8/10/2003 1:27:29 AM
Hi
here is what I am doing - building a table dynamically
HtmlTableRow objRow = new HtmlTableRow();
tblStuff.Rows.Add(objRow);
HtmlTableCell objCellMain1 = new HtmlTableCell();
ImageButton btn1 = new ImageButton();
objCellMain1.Controls.Add(btn1);
btn1.Click += new
System.Web.U... more >>
|