all groups > asp.net > october 2003 > threads for thursday october 23
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
Bookmark Anchors and VB.NET
Posted by Chris M at 10/23/2003 11:52:22 PM
I have a long aspx page, and I have two named anchors for
bookmarks.
What I want to do is, as the page is being displayed (say
in the Page_Load routine) to programmatically select which
bookmark anchor should be used.
I have tried having a static bookmark fragment in the URL,
and then ... more >>
Object reference required (question)
Posted by Bucko at 10/23/2003 11:15:17 PM
Hi guys,
this may be an easy for someone...
I have a situation like below. The "str" string variable (and any other
variable that VS.net declares normally in this space) can be used fine
in the Page_Load function, but not my own function, "datareaderconvert"
Anyone know why? Here's what... more >>
Https Site Problem
Posted by Shawn Mehaffie at 10/23/2003 10:38:45 PM
I have a secure site that has aspx pages and the content is all generate for
the site using ascx controls that are loaded dynamically as needed. similar
to dotNetNuke.
When I am at the office everything works fine, but when I access the site
from my home computer I get prompted with the follo... more >>
Dynamic controls using ASP.NET
Posted by itsme at 10/23/2003 9:55:07 PM
Hello Guys,
I am trying to add server controls dynamically using XSL.
I found an interesting article[Courtesy: Wrox Team] which
shows how to add them dynamically onto the page.
But in the article it says that one has to create an
XPathDocument using an XML file. My problem is I have a
D... more >>
microsoft book
Posted by chris at 10/23/2003 9:52:39 PM
hello,
i have purchased
Microsoft® ASP.NET Programming with Microsoft Visual C#® .NET Version 2003
Step By Step
and i want to download the code.
but i cant find it on the net.in the book its written to go to a site
http://www.microsoft.com/mspress/books/toc/6724.asp
but i can t find the c... more >>
Response.Write's unusual behavior (i think)
Posted by Farooq Khan at 10/23/2003 9:45:30 PM
why does Response.Write in a method of code-beind class when called from
inpage code (i.e in <%---%>), after creating object of that class, fails
when called
while it works perfectly ok while calling the same method same way except
for creating object instead directly calling the method?
i get ... more >>
Inherit from soapException
Posted by Flare at 10/23/2003 9:05:31 PM
Hi
Im trying to create a custom Exception Hierachy for an Asp.net application.
Some of my exceptions should iherit from soapException like
MyCustomWebServiceException : soapException
{
blabla
}
Anyone have som guidelines for this? The normal rule of emplementing the
three def... more >>
datatable and autogeneratecolumns question
Posted by M at 10/23/2003 7:53:40 PM
My problem is that AutogenerateColumns="false" does not work with the datatable I built from a hashtable.
(Please don't ask why I'm pulling data from a database, putting it in a hashtable, then putting it into a datatable.)
Everything works great, including hiding the column on the fly. Probl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DataAdapter.update() and a DataSet in session
Posted by Galen Harris at 10/23/2003 7:43:38 PM
Hi.
We want to use a DataAdapter's update method to store changes to a dataset
back to the database. What's the best approach, if that dataset is being
stored in session and passed around the site, effectively disconnecting it
from its original adapter. By the time we get to use the update ... more >>
Does anyone have the script that returns that second last sunday of a month?
Posted by TaeHo Yoo at 10/23/2003 7:11:38 PM
I have a scheduling function and in that function I want to excute
something if today is the second last sunday of a month.
Cheers
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
preventing carriage return from causing postback
Posted by Steve at 10/23/2003 6:24:33 PM
I have a simple form with a textbox and a command button,
both web form controls (not raw HTML controls). I notice
that when the user enters text in the textbox and hits
carriage return, the form posts back. Is there a way to
prevent this?
I think it is undesirable for two reasons
1)... more >>
relative path problem
Posted by Mostafa at 10/23/2003 6:19:33 PM
Hello,
I need to use a relative URL path instead of the system path inside the
<wmx:> tag in the following code:
<wmx:AccessDataSourceControl id="AccessDataSourceControl1" runat="server"
SelectCommand="SELECT * FROM [ContactInfo]"
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Ole DB S... more >>
dataadapter.update -- dataset from session
Posted by Galen Harris at 10/23/2003 6:07:20 PM
What's the best practice to use the dataadapter.update on a dataset that's
been stored in session? We create a dataset on one page, and later in site,
we want to call the dataadapter.update() to save the changes. Problem is,
the original adapter is long gone.
It seems like cloogy to recreate... more >>
Upload files's problem
Posted by Virginia at 10/23/2003 5:44:21 PM
Hello,
For ASP.NET, can it upload files from the client server to another
server(not this web server)?
Or does it have any other way to do it? Maybe .NET Application, or Web
Services?
Thanks for your help!
... more >>
Problem passing custom object between forms
Posted by Scott Zabolotzky at 10/23/2003 4:07:03 PM
I'm trying to pass a custom object back and forth between forms.
This custom object is pulled into the app using an external reference
to an assembly DLL that was given to me by a co-worker. A query-string
flag is used to indicate to the page whether it should instantiate
a new instance of the... more >>
Page width
Posted by Scott at 10/23/2003 3:43:38 PM
Is it possible in ASP.NET to determine the page width in
pixels? If so how?
Thanks
Scott... more >>
ASP and MySQL
Posted by Mark Watkins at 10/23/2003 3:38:59 PM
Anyone know how to connect to a MySQL database in ASP? Could someone point
me to sample code. I don't need extras to makes this work, correct?
... more >>
Unhandled Exception - ASP.NET v1.1
Posted by Mikey at 10/23/2003 3:31:00 PM
Hello,
When I request an ASP.NET document from my IIS 5 server, I
receive an unhandled exception error.
Here is an example: http://24.192.113.154/net/
What could be causing this? Thanks for the help.
- Mikey
... more >>
problem with getting info from page
Posted by Brian Henry at 10/23/2003 3:25:42 PM
I have a page which reads an article from the database it has 1 text box, 2
dropdown lists, and a longreat HTML text box. I load the information from
the database when the page is set to edit mode from a query string
action=edit, now when i click on the update button it does the update event,
th... more >>
Problem with FormsAuthentication
Posted by Xavier MT at 10/23/2003 3:00:39 PM
Hi, I have a with formsauthentication because I log in succesfuly but I
cannot logout.
I do: FormsAuthentication.SignOut but it doesn't work. How do I do it?
... more >>
Help!!! Loosing SessionState when calling external programm
Posted by Freddy Fischer at 10/23/2003 3:00:07 PM
Hi anybody out there,
i've an interesting problem with my Session-Object. I've build a page, where
i loaded data from a SQLServer 2000. All went ok so far. My DataGrid was
filled with correct data. In the Grid i configured 2 BoundColumns and a
ButtonColumn with Name "ViewCube".
When i klick... more >>
ASPNET access to network folders
Posted by Brent Burkart at 10/23/2003 2:46:42 PM
What steps must I take to ensure that my application will be able to access
network folders. I want to only use the ASPNET account, but I am not sure
how this is done.
Thanks,
Brent
... more >>
DataGrid ItemCommand Event
Posted by Mike at 10/23/2003 2:20:12 PM
I have a DataGrid that I am binding to a DataSet. I am adding a button to
the DataGrid for users to retrieve additional information about that record.
The problem I have is that the ItemCommand will not fire for me.
I read online that the Event wont fired when I call the DataBind function on
... more >>
When you inserting data using SqlCommandBuilder...
Posted by Rico Alexander at 10/23/2003 2:13:29 PM
is there a way to retrieve the value of an autoincrement column inserted in
the database?
... more >>
result from stored procedure
Posted by René de Leeuw at 10/23/2003 1:49:28 PM
Hi,
Can someone provide me with code how to send a string (@name) to the test
table. And how to read the result column wich contains the just generated
testid value from the test table. Here details of the table and the stored
procedure. Thanks in advance.
Regards René.
CREATE TABLE [te... more >>
Page that sends jpg stream
Posted by M K at 10/23/2003 1:39:09 PM
Our production software (which works with images) has an
internal webserver operating on port 80. This resides in
within our firewall. It processes scripts (kpl scripts)
that generate an image. So on our intranet if we have an
image tag with a src
of '//internalServer/render/script.kpl?Val... more >>
Unable to hit breakpoint Mixed mode debugging C# SQL
Posted by Ash at 10/23/2003 1:12:25 PM
Hi all,
I have a C# web application which calls a number of stored procedures.
I wish to step into the stored procedures while debugging i.e "Mix-mode
debugging":
I have completed the following steps:
Configured DCOM
Connected to database via Server Manager (I can see the SQL server an... more >>
Communication between web pages
Posted by Leo Duran at 10/23/2003 1:04:41 PM
I am working on a web app and would like to enable it to use multiple
browser windows...
For example, a list of customers would have an Edit button.
Edit | First Name | Last Name | Address
.... | Leo | Duran | 23 street
When you click the edit button a window pops up... more >>
Rbuild of Project not taking affect
Posted by paul at 10/23/2003 12:55:34 PM
I'm having a weird problem now on a machine when I'm
working on a project from a web server and when I rebuild
that solution the coding changes do not take affect. Any
changes to the .ASPX file work fine it's the changes to
the .cs files that are not having any affect. I can go to
anoth... more >>
How To Embedd Ms Word object ?
Posted by Anamika at 10/23/2003 12:53:53 PM
I am trying to embedd Ms Word object in asp.net
application and retrieve from & save back to database.
Anybody done this before ?
I would appreciate if anybody send some sample code.
TIA.... more >>
Creating custom controls
Posted by Kyle Fitzgerald at 10/23/2003 12:32:18 PM
I've started a web control library project and can build
my own controls to add to the toolbox in the .NET
environment. The problem I'm having is I want to create a
control just like the HTML table where I could drag my
control on the page and then drag and drop other controls
into the ce... more >>
Reading Session Classes
Posted by medhanush NO[at]SPAM yahoo.com at 10/23/2003 12:18:26 PM
I'm trying to read all the session varialbes stored in Session, they
could be simple integers to classes including datasets.
When I do Session.Contents, it just gives you class name only.
What is the way to read each class along with members, stored in
Session ?
Kishore... more >>
IIS
Posted by Sunil at 10/23/2003 12:04:31 PM
I downloaded .net 1.1 framework(108mb) file.
i could not see aspx,ascx, etc. in iis being handled by
isapi application.
Where can i find the asp.net,ado.net frameworks.
appreciate any help.
Thanks
... more >>
regular expression
Posted by Guillermo at 10/23/2003 11:34:48 AM
How can I validate a only numeric field with a regular
expression?
Thanks... more >>
How do i Find out the webservice existence
Posted by ryerras NO[at]SPAM yahoo.com at 10/23/2003 11:16:57 AM
Hi guys,
I am an ambitious .NET beginner. I am planning to build an
application which consumes various webservices. But the main stumbling
block for me is, how do I know which site is publishing the
webservices. I know there is UDDI.ORG which hosts the information
about all this. But I am unab... more >>
date format incorrect
Posted by Dominique Vandensteen at 10/23/2003 11:06:25 AM
I have this code
Now().ToString("MMM-yyyy")
this should return something like Oct-2003
it works fine in a normal vb.net program
when I run this from aspx it returns oct.-2003
the first letter isn't a capital anymore and a point is added
the IIS and the standalone vb.net program are running on ... more >>
Http Handler Question
Posted by jmspooner NO[at]SPAM ifas.ufl.edu at 10/23/2003 10:59:36 AM
Hello,
This may seem very obvious to someone else, but I'm at a loss for an
answer to this problem.
I have written an HttpHandler that opens up an html file and returns a
string. This works great, but what if I have a file that is .aspx? I
realize that I'm always going to get just straight... more >>
DataGridItemEventArgs.Item.Cells - How to find last cell?
Posted by Hajime Kusakabe at 10/23/2003 10:58:20 AM
I made a datagrid and it contains several columns.
The number of columns depend on what users select from a dropdown list.
Therefore the number of columns changes.
I would like to find the last item (or last cell number) from the datagrid.
Is there a way to find the last cell number? (Somethi... more >>
How to decompress and display packed (zip) text file within ASP ?
Posted by umberto at 10/23/2003 10:54:24 AM
Hello,
I know that I can process txt files using ASP scrips.
But there is a compressed text file (with Winzip) that I want to list on my
web page. Is there possibility to decompress it on server and process there
useing my ASP script ?
I should say that it is not my server, I am just using host... more >>
Error reading cookies.
Posted by Robert Jackson at 10/23/2003 10:37:10 AM
Hi, I'm creating an asp.net page that uplogin creates a
cookie and then redirects them to a second page that
reads the cookie. It's works on some computers and others
it doesn't. I know the machine that it isn't working on
is accepting cookies. My code is:
response.cookies("EID")("Clinic"... more >>
forms authentication ticket .userdata vanishing
Posted by e at 10/23/2003 10:34:31 AM
I'm using forms authentication on a site. When the user logs in via the
login page, the entered creds are checked against AD, and if valid, an
encrypted forms authentication ticket is produced and stored in the forms
auth cookie (and written to the client), using this code:
____________________... more >>
Weird Problem: Auto-Jump page doesn't show up in "BACK" history
Posted by VB Programmer at 10/23/2003 10:23:44 AM
I created a page which I am using to prevent the user from hitting the BACK
button. I'll call it my "Auto Jump" page. When it is called it basically
auto-redirects to a page specified in the QueryString. (We'll call the page
it goes to the "destination page".) If the user hits BACK on the
des... more >>
Trace from a service running in web application
Posted by H Branyan at 10/23/2003 9:59:39 AM
In the Application_OnStart event in global.asax, my code calls an
AlertService which creates a System.Timers.Timer() object. So this service
doesn't actually run in conjunction with a specific aspx page, apparently.
When the timer's Elapsed event handler fires, it calls some other classes I
hav... more >>
User Control Problem
Posted by CJF at 10/23/2003 9:11:37 AM
I have a user control that I created with a dddlb and a public subroutine to
load the ddlb based on a value passed. I put the user control on my form
(id=ucDepartmentList1) and created a variable in my page's code-behind by
the same name "ucDepartmentList1" protected with events. When I go to c... more >>
Problem deleteing files
Posted by Emilio at 10/23/2003 8:59:31 AM
Hi,
How can I find out what process are using a particular file, I want my users
to be able to delete obsolete images, html pages etc. But I always get an
error mentioning that the file file is being used by another process.I am
the only person working on a dev server and the images have been ... more >>
Trace from a service running in web application
Posted by H Branyan at 10/23/2003 8:50:27 AM
In the Application_OnStart event in global.asax, my code calls an =
AlertService which creates a System.Timers.Timer() object. So this =
service doesn't actually run in conjunction with a specific aspx page, =
apparently. When the timer's Elapsed event handler fires, it calls some =
other clas... more >>
How-to Create dynamic webcontrols at design-time.
Posted by c_zachariadis NO[at]SPAM hotmail.com at 10/23/2003 8:35:16 AM
I need to do this. I have a business control that's when dropped on a
form has to create all the gui components that it needs. These will be
created at design time and their properties will be pre-set with
values that the application developer can then change if they need to.
Can you point me to... more >>
Format output of dynamic Datagrid columns
Posted by jody NO[at]SPAM bannon.net at 10/23/2003 8:16:25 AM
I have a datagrid that will display different datasets, (it runs
different sprocs based on a value in the querystring) but it will
always return 6 columns. The 5th and 6th columns are always Date and
Currency format, all others are strings.
I'd like to build one datagrid to handle this datagri... more >>
Slow Compile doesn't render complete page.
Posted by lewis NO[at]SPAM moten.com at 10/23/2003 7:50:51 AM
I am having an odd problem. Every time I make a change to web.config
file on my test servers website, the site restarts. That part is
normal. However, the first page that I hit is missing part of its
HTML code at the top of the page. I have found that a small portion
of the header html is mi... more >>
Cannot view any .aspx page without .aspx.cs present
Posted by Jerry Tovar at 10/23/2003 7:49:52 AM
I am using .Net 2003 on a XPPro running IIS.
I am unable to view any of my ASPX webforms in a browser
unless I modify the .ASPX file
and replace Codebehind="employee.aspx.cs" with
src="employee.aspx.cs".
It looks like my bin/employee.dll file is not being used.
Instead, my employee.aspx... more >>
CS1595
Posted by Igor at 10/23/2003 7:18:16 AM
I am getting this error while I am trying to run
my web server app.
Compiler Error Message: CS1595: 'LiveWeb.Global' is
defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temporary ASP.NET Files\liveweb\ab66a079\709df2e7
\assembly\dl2\90eff9dc\... more >>
IIS down intermittently
Posted by uni at 10/23/2003 6:44:11 AM
Hi,
Why the IIS is down intermittently, and when I restart
it,there is an error showing "the address already in use".
Are they related and Why is that? This is the live IIS
server 5.0 with asp.net application running.
Any help is appreciated!
uni... more >>
find details on event sender
Posted by Mike P at 10/23/2003 6:32:28 AM
When I raise an event in my ASP.NET (such as OnServerValidate), how do I
get details on the Sender in the called procedure e.g.
public void Check_Log_Details(object sender,
System.Web.UI.WebControls.ServerValidateEventArgs value)
{
}
Thanks,
Mike
*** Sent via Developersdex http... more >>
Compress ASP.NET Pages
Posted by Martin at 10/23/2003 6:15:13 AM
Does somebody know, if theres a way, to compress an
ASP.NET Page before its sent to the client?
e.g. remove all formatting characters
I want to get my pages as small as possible.... more >>
OnServerValidate
Posted by Mike P at 10/23/2003 5:52:46 AM
I have 2 buttons on my ASP.NET page, one to Submit the user details and
1 to bring up a calendar. On the page I also have a custom validator
which calls a procedure via OnServerValidate.
The problem I have is that pressing the other button also triggers the
OnServerValidate. Does anybody kno... more >>
How to add a link under a Button
Posted by John at 10/23/2003 5:49:02 AM
HI,
I have a stupid beginners-question:
How can I call a Link into another Frame (not
response.redirect) in a Button_click event?
I know, I need a target and stuff, but how do I CALL the
Link?
PLEASE?????... more >>
Regarding ASP.NET
Posted by DeanLeaster at 10/23/2003 4:15:09 AM
Hi Friends
I am developing Healthcare Application.I need to implement
webservices in my application.So can anyone help me??
Plz..I need to give demo to my client..... more >>
Accessing a hyperlink in a template column in a Datagrid
Posted by damonf at 10/23/2003 3:46:19 AM
I'm currently trying to add an ASP hyperlink to a
template column in a datagrid. The normal hyperlink
column doesn't give me the ability to add attributes to
the item. In my grid there are four columns. Three are
databound to a dataset and one is a template column. I
need to be able to... more >>
Text box Display
Posted by Mike P at 10/23/2003 3:22:16 AM
I don't understand the Display setting for controls such as text boxes.
I have a text box a button next to it, and then a submit button below
everything so that when the 1st button is pressed, a calendar appears
underneath it.
Becasue the submit button is below all the user input stuff, I want... more >>
ASP.NET Assembly-Version
Posted by Morten Nielsen at 10/23/2003 1:05:58 AM
How can I request the Assembly Version that I set in "AssemblyInfo.cs" ?
In a Windows application, I can get the current version using
Application.ProductVersion, but this naturally won't work with ASP.NET.
--
/Morten Nielsen
Email: http://www.iter.dk/contact.aspx
... more >>
Fax from ASP.Net
Posted by ravikiran at 10/23/2003 12:47:34 AM
Hi,
I want to send FAX from an ASPX page.Can I use FAX sErvice
of Windows 2000 or Should I go to 3rd Party web service or
component.
Please suggest...
Regards,
RaviKiran ... more >>
developing from a different non trusted domain
Posted by matro at 10/23/2003 12:41:36 AM
hi there,
I'd like to develop from a workstation connected to another windows
domain, not trusted with the one containing the IIS server.
when I define a new asp.net project, or connect to an existing one,
vs.net is not able to access the shared wwwroot$ folder.
I suppose it cannot becaus... more >>
|