all groups > asp.net > august 2003 > threads for friday august 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
Best way to move data across multiple pages?
Posted by David Hearn at 8/8/2003 11:52:07 PM
I am trying to build a few pages basically emulating a wizard that you
might find in a Windows product. A few fields to fill out on one page,
move to the next, then the next. Finally, at the end, submit the data
from all the pages and save it all to a database or send it via email.
What is the b... more >>
Can I make a class from XML? Serialize?
Posted by Jonah Olsson at 8/8/2003 10:49:00 PM
Hi guys,
I need a way to dynamically change (or create) a custom class using an
external xml file. Can this be done at all? This is what the class looks
like:
Public Class MemberData
Private _EmailGUID As String
Private _Email As String
Private _FirstName As String
Privat... more >>
Mono
Posted by Manat K. at 8/8/2003 8:55:55 PM
Hi All
Has anyone heard of the Mono project? www.go-mono.com
There is an Apache module for Linux I believe, does
anyone know if this is done? The site says yes but I
just want to confirm.
Is it considered stable? Can it be used in a
production environment?
Thank You
MK... more >>
Format filesize in kB or MB
Posted by Arjen at 8/8/2003 8:38:12 PM
Hello,
When I have read a file with x.xxx.xxx.xxx bytes it is sometimes handy to
show it in an diverent format than bytes.
Is there a handy way to do this?
Or is there a function for it?
When it is a big file I want to see a MB size and when it is a lower file
size then I want to see a k... more >>
Open a link from within a Web Service ?
Posted by Jean-Yves at 8/8/2003 8:12:04 PM
Hi.
I would like to open an ASP.NET page from a Web Method like this:
Form my WinForm App:
OpenLink("Select * From Customers",
"http://myserver/ReportApp/ShowReport.aspx")
<(Web Method)> _
Public Function OpenLink(ByVal sQuery As String, ByVal sURL As String) As
boolean
..... SomeC... more >>
Dymanically rendering html to an aspx form
Posted by Clive at 8/8/2003 8:07:02 PM
Hi,
I generate a serious of hidden fields that have Database
IDENTITY values as their value.
This HTML is contained in a String.
On my ASPX Page I then do a <%=strHTML%> in order to
write them out.
I know that this is not the correct way of doing this as
teh <%%> are only for backw... more >>
what is the equivalent of document.location in asp.net?
Posted by Adrian at 8/8/2003 6:47:03 PM
I have an application that I am porting to asp.net. In it I used
document.location to load the page referred to by a URL into the parent
iframe.
Does anyone know how to do the similar thing in dotnet? I can't seem to find
any document object. Maybe I'm missing something???
Thanks
Adrian
... more >>
Cascading repeaters
Posted by Mikael Engdahl at 8/8/2003 5:33:49 PM
Hello
Does anyone know if it is possible to use a Repeater control within
another one and setting it's datasource dynamically?
Example:
<asp:Repeater id="r1" runat="server">
<ItemTemplate>
<p>
<asp:Repeater id="r2" runat="server">
<%#DataBinder.E... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to use popup window editing datagrid items?
Posted by josephydy NO[at]SPAM yahoo.ca at 8/8/2003 5:18:51 PM
Hello all,
I have a datagrid bounded with an Arraylist containing contact
objects, and a edit button (<asp:imagebutton/>) in each row
When I click edit button, I want a window popup so I can edit the
selected contact, so when I click this button, I find out which
contact get selected, put i... more >>
help me !!!
Posted by Alexandre Martins at 8/8/2003 5:17:41 PM
people, i have this code in my web.confi
<location path="admin">
<system.web>
<authorization>
<deny users="*" />
<allow users="administrador" />
</authorization>
</system.web>
</location>
how can i created this user "administrador" in my formsAuthentication ??
I need help....
Tk... more >>
Server Application Unavailable [Help]
Posted by Pat at 8/8/2003 4:52:41 PM
Running VSNET Ent on XP pro
Framework version 1.1.4322.0
Debugger locked up (I had the machine.config open), I
stopped the process aspnet_wp.exe from the task manager.
I got an error on the page I was working on that didn't
look right, so I closed everything shut down and rebooted.
now ... more >>
writing to the IIS log
Posted by Galen Harris at 8/8/2003 3:56:30 PM
Is it possible to write your own lines to the IIS log? Weird question, I
know. Our reporting group pulls a bunch of data from those logs, and we
want to provide additional data on certain events. We've tried using
cookies and query string params, but that approach is lacking. It would be
gre... more >>
SQL INSERT error
Posted by Cameron Frasnelly at 8/8/2003 3:47:32 PM
Any ideas on why the below doesn't work?
I keep getting this error message????? ---> "Object must implement
IConvertible".
Private Sub cmdSubmit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdSubmit.Click
'CONNECT TO SQL
Dim strConnection As String
strC... more >>
JavaScript / ASP.NET Question (This is a good one)
Posted by Jeff Voigt at 8/8/2003 3:42:07 PM
I just need a few pointers from a few experts to help me finish this up.
In a nutshell I want to return the user to where they left off on a page
througout numerous postbacks. So far, and with little implementation I have
the following:
Public Class BasePage
Inherits System.Web.UI.Pa... more >>
Maximizing Web Page
Posted by Charles at 8/8/2003 3:25:23 PM
Hi,
I'm developing a VB ASP.NET application. I like to know
if there is a way to programmatically maximize my default
page (first page) rather than letting it defaults to the
setting the last time IE was in. Any suggestion is
greatly appreciated.
Thanks.
Charles. ... more >>
what does this error mean?
Posted by John Kraft at 8/8/2003 3:05:48 PM
I have this line of code:
Dim groups As String = FacAuthentication.GetSystems(txtULID.Text)
I get an error saying that I cannot call this because it is not shared.
The declaration for the function is:
Public Shared Function GetSystems(ByVal username As String) As String()
What does th... more >>
validation with alert pop ups
Posted by Joel Barsotti at 8/8/2003 2:57:19 PM
When I was doing asp development, I used the Javascript alert("error
message") method for relaying error messages to my users.
I was wondering if there is anyway to do something similar with ASP.net,
especially if it built in and won't require alot of custom JavaScript.
... more >>
Stupid C# question Please help!
Posted by Will at 8/8/2003 2:36:14 PM
I'm used to writing my code in VBscript but I have to do
this project in C#. I've written some functions on my
ASP.Net page and I'm getting an error that a namespace I
need access to has not been imported. Normally I would do
that through an Import Page Directive, but that doesn't
work wit... more >>
problems with client scripting invoked from DataGrid OnItemDataBoundEvent
Posted by Hrvoje Vrbanc at 8/8/2003 2:22:17 PM
Hello,
I have the following problem:
I have a DataGrid control on my page with a column with TextBox controls and
another one with ImageButton controls. In order to force a call to
JavaScript client-side script when ImageButton is pressed, I added the
following code to OnItemDataBoundEvent (c... more >>
Release and debug question
Posted by Davef at 8/8/2003 2:14:58 PM
When you put you code in release, does all the code behind get compiled into
a dll,
--
Dave
... more >>
Database connection sharing
Posted by matif NO[at]SPAM hotmail.com at 8/8/2003 1:53:03 PM
How can I share the sane databse connection between asp.net pages. I
also use objects(middleware), so can I pass the same DB connection
when I instantiate the object by calling its constructor?... more >>
What Control Caused the PostBack?
Posted by Jeff Voigt at 8/8/2003 1:38:05 PM
Is there any way to dynamically get the name of the control that caused the
postback? Since SmartNav is not working for me I'm trying to implement a way
to scroll to the control that caused the post back so the user does not have
to scroll all the time.
I got the script working great and every... more >>
Client Side Validation - Framework 1.0 / 1.1
Posted by Me2 at 8/8/2003 1:29:26 PM
Hello,
I am having a particular problem, and am unable to understand where the
problem is coming from.
I am developing C# asp.net using the original version of VS and FW 1.0. I
have field validators placed on various fields. When I run the page from
the development box the validators work... more >>
VSNET2003 not working the same as VSNET2002
Posted by SStory at 8/8/2003 1:27:23 PM
I was using version 2002 with a separate computer having the website that I
was working on--both inhouse.
Before I just connected, then saved the project, compiled and then went into
internet Explorer and did
http://machinename/virtdirname/pagewhatever.aspx and it worked great.
Now when I c... more >>
System.Web.UI.WebControls Namespace
Posted by CG at 8/8/2003 1:07:16 PM
Does anyone have any sample code on code on creating
tables/rows and cells using above namespace and adding
checkbox controls to my cells?
Thanks,
CG.... more >>
listboxes.........
Posted by bill yeager at 8/8/2003 12:51:32 PM
I have several template columns inside of a datagrid.
Inside of these template columns are databound listboxes:
<asp:TemplateColumn HeaderText="Crew Chiefs">
<ItemTemplate>
<asp:listbox AutoPostBack="False"
BackColor="#ffffff" id="lstCrewChief" runat="server"
Rows="1" Dat... more >>
Is It Time for a FAQ Yet?
Posted by John Saunders at 8/8/2003 12:45:18 PM
The good news is that, in recent weeks, we seem to be getting a lot more
questions from developers new to ASP.NET.
The bad news is that, in recent weeks, we seem to be getting a lot more
questions from developers new to ASP.NET. :-)
There seem to be some basics which aren't being communicat... more >>
Tables automatically resizes
Posted by ktuel NO[at]SPAM streck.com at 8/8/2003 12:13:31 PM
I am using a nested table to control different elements of my layout.
The problem I have is that I create the outer table and set the size
properties to what I want them to be, then, if I put another table
into the first cell, when I resize that nested table, it automatically
resizes the other ... more >>
VS DEsigner Moves HTML comments?
Posted by Dave Mehrtens at 8/8/2003 11:53:59 AM
We are attempting to use both Dreamweaver and .Net to edit aspx files.
Dreamweaver uses HTML comments to embed proprietary information for it's
editor.
However, when we load these pages into VS.Net, the VS.Net designer will move
those commented lines such that Dreamweaver will not recongnize... more >>
ASP to send a Fax
Posted by Mike B at 8/8/2003 11:46:11 AM
Ok anybody got any good ideas on how to send a fax from ASP.NET. I have an
exchange server available with a ms faxserver running both on a different
machine to the web server.
Mike
... more >>
Setting a checkbox based on a value in a DB
Posted by C at 8/8/2003 11:39:07 AM
Hi,
Based on a flag in my database table I want to make a
server side checkbox checked.
How can I dynamically do this through code?
Thanks,
C... more >>
ASP.NET Deployment - I canny do it!
Posted by Carl Howarth at 8/8/2003 11:38:16 AM
Hello again everyone..... I'm a real pain and keep posting re the same
thing, but it is possibly the most frustrating issue I've come across.
Please see my original post - can anybody think of a solution to this? The
main error I experience is an sqlexception saying 'General Network Error',
but... more >>
Upgrading Framework v1.1.4322.342 to v1.1.4322.573
Posted by Kurt Bonne at 8/8/2003 11:31:37 AM
Hi,
I'm running Windows 2003 Enterprise Server (build 3718) but I'm unable to
upgrade my Framework.
If I try the redistributable, I get a message to upgarde using Windows
Update, but Windows Update doesn't see it's still the beta version of v1.1
that's installed.
Any ideas?
Thanks!
K... more >>
Search page
Posted by Sriram at 8/8/2003 11:12:49 AM
Hi,
i am developing a search page, basically using datagrid.
i have given a column as hyperlink so that when the user clicks on it, it
gives the details of the selected item in a seperate page.
But i want to add a feature so that it saves the search results. for example
even after seeing an... more >>
Shadow copying
Posted by Alex at 8/8/2003 11:08:00 AM
Is this correct:
1. When the first request for an application on the virtual directory comes
in and ASP.NET worker process creates an AppDomain for that particular
application, it copies the code-behind(if there is one) to the
v1.1.4322\Temporary ASP.NET Files\(appname)\....
2. For the life... more >>
SmartNavigation Issues
Posted by Snig at 8/8/2003 10:57:02 AM
Hi All
I wanted to enable "SmartNavigation" in my site.
For this I put <pages smartNavigation="true" /> in web.config file. So far
so good. But it causes the link from the aspx pages to the css files be
broken.
When an aspx page opens up for the first time, it displayed everything fine
as ... more >>
Prevent 'Page has expired' when a client hits back to return to a search page
Posted by Mike at 8/8/2003 10:44:31 AM
I have a search page that I want to enable private caching so that when a
user hits the back button they dont get the page has expired error.
I have seen this done on:
http://www.asp.net/Forums/Search/default.aspx?tabindex=1
Downloaded the source and tried to find out how they did it to no a... more >>
Setting Forms Authentication...
Posted by Kian Goh at 8/8/2003 10:43:38 AM
Hi there,
I am trying to use an entry level security for my resources website. I
followed the procedures in the MS published Self-Paced Training Kit,
everything seems working as expected. However, I found that the
authentication cookie never expires.
I thought the default timeout is 30 minu... more >>
Impersonation failure with Index Server and Forms Authentication with Active Directory
Posted by cruegseg NO[at]SPAM heery.com at 8/8/2003 10:21:00 AM
I'm posting my problem experience and solution I found here for other
ASP.NET developers.
I have a web application that uses Forms Authentication with Active
Directory to control access. In this web application, I have search
page that utilizes the Windows Indexing Service (MSIDXS provider). ... more >>
ASPNET_WP.EXE Problem (Urgent)
Posted by Mukesh at 8/8/2003 10:08:47 AM
Hi
I have developed small asp.net application. When i start using the
application, "ASPNET_WP.EXE" is loaded in to the process. Everytime i
refresh the page, it increases the memory for that process, which is never
reduce even after closing the browser. Does anybody know's the solution how
to... more >>
how to setup ASP.NET on separate machine and debug
Posted by SStory at 8/8/2003 10:04:23 AM
2 questions.
I have two XPPro boxes. One has VS2003 Pro installed. The other box has
IIS and MSDE installed.
1.) What do I do to make the IIS on this 2nd machine ready for .NET and
ASP.NET? Do I just run dotnetfx on the Prerequisites CD or is there
something more I should do?
2.) Wh... more >>
ASPNET_WP.EXE Problem
Posted by Mukesh at 8/8/2003 9:54:10 AM
Hi,
I have developed small asp.net application. When i start using the
application, "ASPNET_WP.EXE" is loaded in to the process. Everytime i
refresh the page, it increases the memory for that process, which is never
comes down(even after closing the browser). Does anybody know's the solution
... more >>
Response.Redirect to a new browser window?
Posted by Jules Lucas at 8/8/2003 8:26:52 AM
Can I do some kind of response.redirect to a new browser
window?
I need to use session variables in the new window and
process some things on the page load.... more >>
firing event on server via javascript
Posted by Konrad R. at 8/8/2003 8:00:46 AM
Hi all
is there any possiblity of doing this ?
for example,i have handler procedure defined in
codebehind :
protected sub proc(sender as object, e as eventargs)
handles ___.____ ???
'code here
end sub
i want to fire this procedure via javascript, and i dont
want to 'form.submit()... more >>
Redirect to target _parent from codebehind
Posted by MB at 8/8/2003 7:56:01 AM
Hello!
I am using a frameset and vb codebehind to work with a database.
When pressing a delete button in one of my frames, I want the hole =
application to be refreshed, or at least another of my frames to be =
refreshed. I don't really understand how to do this.
I tried with response.redir... more >>
Mobile development support newsgroup?
Posted by Robert Hanson at 8/8/2003 7:40:47 AM
Hello All,
I am trying to find a newsgroup that resonds faster than
microsoft.public.dotnet.framework.aspnet.mobile since the doesn't seem
to be much going on there. Any ideas??
Thanks for any help,
Bob Hanson
CEO
Custom Programming Unlimited LLC
*** Sent via Developersdex http://ww... more >>
ASP TreeView Control
Posted by Srinivasa Raghavan at 8/8/2003 5:51:02 AM
Hi
I am using ASP Tree View Control to display data in
hiearchy fashion.I am having a checkbox next to the
TreeView Node.When user checks or unchecks the nodes and
click a button i am putting that count in a
stringcollection which is in viewstate.The count is wrong
after certain checks... more >>
Session & Cookies
Posted by Srinivasa Raghavan at 8/8/2003 5:29:36 AM
Hi All,
I am having a userobject(class) which is put into a
session.The Session variable is expiring after 10 to 15
minutes.I don't why can any one explain what could be the
reason.
I am storing cookies in the client side using httpcookie
object.It is working in IE and not in netscape.... more >>
Wrapping old ASP with ASP.NET
Posted by Michael Dyremo at 8/8/2003 3:02:44 AM
Hello.
We have a web-application built in ASP.NET using WebForms
and Remoting. When selling this application we always
incorporate it into the customers existing web-site. Our
latest
customer wishes to do some more advanced integration
between our application and their
existing site, ... more >>
unmanaged dll DllNotFoundException
Posted by Petr Makagon at 8/8/2003 2:29:51 AM
i have a c++ managed wrapper around unmanaged dll.
when i use this wrapper from managed console app it works
fine but when i use it in aspx i have DllNotFoundException
occurred in Unknown Module.
any idea???!!!... more >>
javascript disabled radiobutton doesn't get enabled in asp.net
Posted by flowinlife NO[at]SPAM hotmail.com at 8/8/2003 1:09:56 AM
Hi,
here's the code, i have removed the irrelevent stuff
<HEAD>
<title>WebForm1</title>
<script language="javascript">
function DisableRadio()
{
document.Form1.RadioButton1.disabled = true;
}
</script>
</HEAD>
<body onload="DisableRadio()">
<asp:RadioButton id="Radi... more >>
|