all groups > asp.net > february 2005 > threads for thursday february 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
Move file between computers
Posted by Eje at 2/10/2005 11:53:21 PM
I have a webapplication on a server. One function is to
build txt-files. These files should then be moved to a
fixed directory on another computer in the company
network.
I have tried to use System.IO.File.Move but get the
message "Could not find a part of the path". The path to
the rec... more >>
text content interface/component/control?
Posted by Michael at 2/10/2005 10:46:06 PM
i wish to create a interface for my client to enter their news/announcement.
I've seen forums that has very nice interface that allow you click on
buttons such as "Bold", "Italic", "Underline", "URL", etc. How do i create
such interface? Or is there such a component? Within dreamweaver? How sh... more >>
moving session from inproc to state server: performance?
Posted by Steven Spits at 2/10/2005 9:51:48 PM
Hi,
We're thinking of moving session from inproc to a state server. My question
is: should we expect a difference in performance? Is it noticeable?
Steven
- - -
... more >>
How did Janus do it (ASP.NET control?)
Posted by Larry David at 2/10/2005 9:03:45 PM
Hi,
I was checking out the UI at www.janusys.com and was very impressed. Is
this all done with ASP.NET controls or are they embedding a .NET app into
the page somehow? If it's done with ASP.NET controls, which ones? I want to
use them! It doesn't appear that it was done with the controls t... more >>
laod exel by clicking a button
Posted by sivashankar at 2/10/2005 8:39:21 PM
hi all,
-i need how to laod a execl by clicking a button.
-and pass the data to that excel page.
-can anyone give me the code
thx in advance
sivashankar.R
... more >>
TabIndex
Posted by Wayne Wengert at 2/10/2005 6:58:50 PM
I cannot get the tab settings on an aspx page to work as desired. First of
all, I don't see a way to indicate whether a control is a tab stop. There is
a tabindex property for labels (why?). When I set a specific order for the
tabindex values that does not seem to be what happens on a page when t... more >>
very beginner, pls help to start
Posted by sathyashrayan at 2/10/2005 6:49:41 PM
I know that I should have went through the FAQ before posting any
questions but I don't know where I can get one.
I have been learning C,C++,MFC,platform SDK(ui,basic, memfunctions
ect)for the past five years.
Now I am very eager to learn the subject called dotnet,asp (Look I don't
ev... more >>
HELP!!! Recover published ASP.NET projects
Posted by Ric at 2/10/2005 6:19:52 PM
Greetings, all...
I'm seeking some guidance after suffering a RAID1 failure. Yeah, I
know...I should've been able to put in a new drive and rebuild the
catalog. Well, don't believe everything you read in the @#*&$)(*!@
brochures.
So, I've lost a few critical projects, and need some help rec... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Coding Parctices DataGrids
Posted by keys4worship at 2/10/2005 6:00:57 PM
Here goes...
I am very new to programming. I am currenting using Visual Studio C# to
connect to SQL db. The db has only one table and two views. I have
created 3 datagrids on one page along with 3 sqladapters and datasets.
Each adapter uses a stored procedure used with the table and two views.
... more >>
Bug in Debug?
Posted by Sandy at 2/10/2005 5:23:02 PM
When I am debugging, and viewing the Watch window, there are two variables
that keep displaying with a message that the name [variable name] is not
declared. There were indeed two names with the names the Watch window is
complaining about, however, they are clearly commented out.
I did a F... more >>
How do you get the ID of User Control in client script?
Posted by Ken Varn at 2/10/2005 5:21:33 PM
I have created a User Control (ASCX) and I need to be able to do some
JavaScript on the HTML side on some controls that are in the User Control.
How do I get the ID of the Controls within a User Control? Asp.net appends
each control with the ID of the ASCX control. Some controls are in the
for... more >>
Help required with file open web control
Posted by bala at 2/10/2005 4:56:13 PM
Hi all
sorry for the repost the earlier one was incomplete
My problem is like this
I am using the file control now i want that when the user browse for file
only image files should be visible means I want to apply the filter
One way I have tried was added a accept="image/jpg,image/gif" attri... more >>
Component for logging timestamps - Need guidance from Gurus
Posted by Chumma Dede at 2/10/2005 4:36:31 PM
Hi,
I need to code a DLL in .NET which logs the response times for our asp.net
multi-tier application. The problem is we need to log the timestamps at
multiple stages in a process lifecycle roundtrip without too much overhead.
We have two webservers which are load balanced and the back end t... more >>
Can't refresh an .aspx page
Posted by Chumley Walrus at 2/10/2005 4:30:27 PM
I've been trying to put an automatic 20 second refresh on an .aspx page
(that derives from a mobilewebform in VisualStudio.Net and MMIT), but
none of the below work :
<HEAD>
<NOSCRIPT>
<META HTTP-EQUIV="Refresh" CONTENT="20; URL=main.aspx">
</NOSCRIPT>
</HEAD>
<BODY onload=setTimeout("loca... more >>
Datagrid Edit validation
Posted by G Dean Blake at 2/10/2005 4:15:56 PM
Is the any way to use a regularexpressionvalidator to validate information
entered in a datagrid after the rows edit button is pushed?
I know I can do it server side but I want to do it client side if I can.
thanks,
G
... more >>
Scheduling a Cache refresh
Posted by josefszeliga NO[at]SPAM hotmail.com at 2/10/2005 3:47:10 PM
i have an asp.net application and I want to save the results of an sql
query in cache. Because the queries take 28 seconds to run (there are
twelve similar queries) I want to run it all at 4am, Place the
results in cache and use those values the rest of the day for all
users.
I have somethi... more >>
!! DOWNLOAD THE MOST POPULAR 2005's CRACKED SOFTWARE(CAD/CAE
Posted by crackprosoft NO[at]SPAM yahoo-dot-com.no-spam.invalid at 2/10/2005 3:45:10 PM
Our Team provide CRACKED engineering and technical software at this
topics:
=> Civil and Structural
=> Survey , GIS , Rock , Soil and Water
=> Architectural
=> CAD-CAM
=> FEA , CFD and CAE
=> Electrical , Electronic , Control and Power
=> Chemical
=> Industrial and Control Project
... more >>
Response.Redirect error
Posted by adam.e.beer NO[at]SPAM gmail.com at 2/10/2005 3:43:52 PM
I have a visual basic app that contains a IE browser control and I am
using C#.NET to create dynamic content to be displayed within the IE
control. The app parses the URL for commands, but I've run into a
problem.
In my C# code, I attempt:
Response.Redirect("COMMAND_LOAD");
This should ... more >>
Uploaded File Storage - Database vs File System
Posted by Arsen V. at 2/10/2005 3:37:17 PM
Hello,
What is the suggested way to store uploaded files?
1) IMAGE type data in an SQL Database table
2) As a file in the NTFS file system
Thanks,
Arsen
... more >>
Please advise about caching
Posted by Alan Silver at 2/10/2005 3:20:49 PM
Hello,
I tried out using the cache the other day and was impressed with the
concept. I built myself a custom control to generate the site links,
using an XML file for the info. I kept the XML file in the cache and
added a dependency so it will notice when the file changes. All fine so
far... more >>
datagrid and datetime field
Posted by Chris at 2/10/2005 3:19:03 PM
Is there a way to truncate the Sql Server datetime field when displaying in a
datagrid? I get the date and time, I only want date displayed.
It's a bound column:
<asp:BoundColumn HeaderStyle-CssClass="gridtext" HeaderStyle-Wrap=False
ItemStyle-CssClass="gridtext" ItemStyle-Width="20px" ItemSty... more >>
Application variable question (conversion from asp to dotnet)
Posted by Goober at 2/10/2005 3:06:48 PM
I converted a website that was done in ASP to dotnet, and brought over a
number of items, some of which don't appear to work in the same way on
dotnet as they did on ASP.
One of them is an application variable.
I have this code in my global.asax in the Sub Session_Start:
Application.Loc... more >>
posting 2 or more values
Posted by sivashankar at 2/10/2005 3:01:45 PM
hi experts
-In asp.net i'm having form1 and form2.
-Form :1=20
-I'm posting data by following code:
Response.Redirect("WEBFORM2.ASPX?A=3D" & TextBox1.Text)
Response.Redirect("WEBFORM2.ASPX?B=3D" & =
TextBox2.Text) ... more >>
SQLAdapter not returning value
Posted by lekshmi at 2/10/2005 2:51:43 PM
Hi,
I have an application written in .Net and my database is
SQLserver. In my application i am using SqlAdapters to
get the values from the database. But sometimes, values
are not returned properly to these adapters and there are
no exceptions also. At this time, all database queries
wi... more >>
Error Trying to Run
Posted by Wayne Wengert at 2/10/2005 2:33:40 PM
I built a new ASP.Net application (VB) using VSNET2003 and then create a
couple of simple forms to get started (a login and a selection form). When I
click on "Run" I either get an error "Error while trying to run project:
Unable to start debugging on the web server" or simply ""Error while tryin... more >>
IIS5/ASP.NET unbelievably slow
Posted by Pavils Jurjans at 2/10/2005 2:30:07 PM
Hello,
I am experiencing very slow processing of ASP.NET pages that are served over
LAN, while when running them on the server machine (ie http://localhost),
there is no slowdowns.
We have two desktop PCs with Windows XP Corporate ed, and one Laptop with
Windows 2000 Professional. The II... more >>
Input File control in asp.net
Posted by Irfan Akram at 2/10/2005 2:21:06 PM
Hi Guys,
I am creating dynamic controls in asp.net. I am having problems creating
dynamic Htmlinputfile controls, and even after being created I cannot view
it. Is there a way of creating such a control dynamically? If so which one is
it ? Ot I how can I create dynamic input file controls i... more >>
Re: web.config and impersonation
Posted by Paul Bergson at 2/10/2005 2:15:48 PM
The process doesn't appear to have the rights needed to perform the process.
If I make the "Network Service" a member of the administrators group it has
the capability to do the work, otherwise it fails. So that seems to tell me
that the process isn't being impersonated.
Very odd and confusin... more >>
<compilation> tag
Posted by MattC at 2/10/2005 2:09:55 PM
Hi,
Can I simply set <compilation debug="false"> in my web.config file once I
have deployed my code to the live server. My class libraries and codebehind
was Built in VS2003 in release mode.
Thanks
MattC
... more >>
Some way to find controls in code behind that has been deleted from aspx?
Posted by mortb at 2/10/2005 1:57:03 PM
Hi
My problem is that I have loads of controls in some of my .cs codebehinds.
Most of the controls are used but there are also controls that I manually
have deleted from the .aspx HTML.
Do someone know of any way or tool to match the name of the controls in the
..cs with the ID:s in the asp... more >>
LoadControl() and Constructor Parameters
Posted by Sam Kuehn at 2/10/2005 1:25:41 PM
How do I accomplish the fallowing (is it even possible). Say I write a UserControl
"MyControl.ascx". Now I use LoadControl("MyControl.ascx"). But I really
want MyControl to require parameters in the constructor for example MyContorl
oMyControl = new MyContorl(employeeid). However I need to... more >>
Creating ASP.NET Projects with Visual Studio .NET 2003
Posted by epigram at 2/10/2005 1:15:50 PM
I've been creating some toy ASP.NET apps in an effort to understand the
technology. I've something odd with regards to project/solution creation.
If you create a new asp.net application, it appears that the project files
get created in the URL specified Location field on the New Project dialo... more >>
Connection String Help
Posted by JJ at 2/10/2005 12:57:02 PM
Hello,
I was wondering what the best way would be to dynamically determine and
store connection string information. What I mean by this is that I want the
application to user the servervariable to determine what location it is
running in and then dynamically assign a connection string value ... more >>
DropDown list issue
Posted by Manoj Paramu Das at 2/10/2005 12:49:30 PM
DropDwonList.SelectedItem.Value returns only the first record value, no
matter when you select. any help would be appreciated.
Thanks Manoj
... more >>
java files in dotnet
Posted by yogesh rana via DotNetMonster.com at 2/10/2005 12:28:53 PM
how to use java files in dotnet .... is it possible .
--
Message posted via http://www.dotnetmonster.com... more >>
Help with Cookies
Posted by hecsan07 at 2/10/2005 12:27:02 PM
I am trying to write some values to cookies to later get those values on
postback events.
I want to know how to store a multi-value cookie, and request those values.
I am using C#. Can anyone help with some code?
Hector... more >>
DropDownList missing Databound Event ?
Posted by Olivier Matrot at 2/10/2005 12:10:06 PM
Hello,
I have a dropdown list in the footer of a datagrid. I need to adjust some
other controls in the footer when the databinding of the dropdown list is
finished and the fist item is alredy selected. The underlying value will be
used to adjust a CompareValidator Control.
TIA.
... more >>
Redirect in a new thread
Posted by Mantorok at 2/10/2005 11:55:09 AM
Hi all
When I start a new thread that tries to call:
HttpContext.Current.Response.Redirect()
It fails as Current returns null, is there anyway to access the current
httpcontext from within a new thread?
Thanks
Kev
... more >>
Problems removing an HttpModule for a sub directory.
Posted by Chip Page at 2/10/2005 11:53:04 AM
Hello,
In my top-level Web.config, I had added a number of httpModules.
In a particular sub-directory in the application, I wish to prevent one of
the HttpModules from executing. My attempts using the <remove> element to
remove the HttpModule for a subdir have not worked.
----
My top-... more >>
Create a project with architecture ntier in visual .net
Posted by black0ut_7 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/10/2005 11:51:23 AM
hi
i'm a very beginner of visual studio .net 2003 and aspx/vb.net
i have to create a project with an architecture ntier
i understand the concept but in practical, i don't know where to
begin...
please help me
thank you
nb: i apologize for my poor english (i speak french)
Posted Vi... more >>
Stored Procedure Return value question
Posted by Nick at 2/10/2005 11:48:53 AM
Hi,
I'm trying to add some data on a company to an SQL server (which I can do),
and want to return the FirmID (SQL identity) of the data that was just
inserted so I can use it to redirect to another page based on the new data -
which is the bit I can't do!
Can anyone point me in the righ... more >>
<%@ OutputCache Duration="30" VaryByParam="none" %>
Posted by z. f. at 2/10/2005 11:45:22 AM
sorry about the previous post, by mistake not completed.
i have an asp.net page with the line
<%@ OutputCache Duration=3D"30" VaryByParam=3D"none" %>
but when i make requests to the page with different parameters, i get =
different result,=20
but i tries to check if i set the VaryByParam ... more >>
Multiple forms in a aspx page....
Posted by Charles at 2/10/2005 11:23:04 AM
Hello, maybe someone can help me with what I am not seeing here. I already
know that I can have multible forms, but only one can have "runat=server".
This is how I am trying to render my other forms:
Dim form As HtmlForm = New HtmlForm
form.EnableViewState = False
form.Attributes.Add("Nam... more >>
C# code in the html page.
Posted by craigkenisston NO[at]SPAM hotmail.com at 2/10/2005 11:12:26 AM
Hi,
When you have an application where you put the C# code, how can you use
a common "outside" static class or library ?
Is this possible ?
... more >>
Is client-side JScript allowed?
Posted by Larry David at 2/10/2005 10:51:21 AM
Hi,
I'm just trying to wrap my mind around the ASP.NET model. Let me walk
you through a trivial scenario:
Let's say I have a form containing a text box where the user enters his
name. It also contains a button, labeled "Process Now!" My goal is to
examine the user's name and upload ... more >>
Please Help - me
Posted by ACaunter at 2/10/2005 10:51:06 AM
Hi there
I have a table which contains all the sub folders for my drop down menu...
when the mouse goes over the menu, the sub folders are displayed,
the problem is that the sub menu tables are displayed behind everything
else...
How can i change it to be displayed on Top????
thanks
-- ... more >>
Create control at runtime
Posted by Tom Jackson at 2/10/2005 10:46:27 AM
Can anyone please point me in the right direction. I want to create some
simple controls (radio buttons) at runtime. The problem is that I don't know
how many radio buttons I need or where they go until I read the database at
runtime.
Thanks
... more >>
Newbie Questions - Easy
Posted by Ryan Smith at 2/10/2005 10:43:03 AM
I have a ASP.NET app I'm writing and I have a form that is spread across four
webforms. I do not wish to store each step to DB and I do not wish to store
the info in hidden tags in the code of the page. Can I create a structure in
which to store the information in and store it a session vari... more >>
Simple way to make a string out of Request.Form
Posted by crossoft NO[at]SPAM gmail.com at 2/10/2005 10:14:49 AM
Is there a quick way to get all the params and values from the
Request.Form object in ASP.NET?
"If Only it were this simple" Code:
Dim s As String = Request.Form.ToString()
Then s would for example become
id=3&name=Joe+Smith&view=32&page=1&count=1502
Anyone know how to do that? Thanks... more >>
Waiting for response
Posted by Mantorok at 2/10/2005 10:05:25 AM
Hi
Is it possible to (from a class) redirect to a page and then wait until the
client has posted back from that page before continuing execution?
Thanks
Kev
... more >>
__EVENTTARGET is null or not an object
Posted by nuno.cordeiro NO[at]SPAM netcabo.pt at 2/10/2005 10:04:30 AM
Hi
I create a new .aspx page only with a button and a span (as you can
see)...simple
When I try to click the button returns JS error (__EVENTTARGET is null
or not an object). I research about it and I found some interesting
conclusions,
some people said that this bug was fixed with the SP... more >>
How to include a file in ASP.NET
Posted by HNguyen at 2/10/2005 9:49:01 AM
Hi all,
I don't know how to include the files from an .aspx file using Visual
Studio.NET. For example, I have a file containing the constants and I want
to use these constants from aspx file. Could you tell me the good way to do
that ? Thank you.
... more >>
Trouble compiling HelloWorld with vbc
Posted by mister.mwa NO[at]SPAM laposte.net at 2/10/2005 9:39:44 AM
Hi,
I can't compile anything with vbc, so i am asking for help please.
I have a file helloworld.aspx written in asp.net using vb, here it is:
<script runat="server" language="vb">
'=============================================================================
'=========================... more >>
Forms Authentication - context changing
Posted by Grzegorz Kaczor at 2/10/2005 9:37:07 AM
Hello,
I have an ASP.NET application in my website in virtual folder A.
This folder contains the application itself. I also have a data virtual
directory B which contains data that can be seen by authenticated users.
I've implemented forms authentication (with application in fold... more >>
ASP Message Box
Posted by chuckdfoster at 2/10/2005 9:31:59 AM
Hello Everyone,
I am trying to prompt the user for something. I don't think that I can use
a message box from ASP.NET. I have tried using VBScript to give the message
box, but I can't figure out how to do something with their response.
Example - They click a button. A message box pops up wi... more >>
DropDownList advice needed
Posted by dw at 2/10/2005 9:19:42 AM
Hello. I have a page that needs to display a huge amount of data in a
dropdown list (10k+). Is there an easier way to implement this in .NET than
in classic ASP? I asked this same thing in the classic ASP newsgroup, and
Curt_C was kind enough to respond and say that the best way to do it is vi... more >>
Overriding default window.status/defaultStatus behaviour by hyperlinks
Posted by Jason at 2/10/2005 8:41:25 AM
Hi
when you hover over a LinkButton, the window status text changes. e.g.
javascript:__doPostBack('lnkNextBottom','')
how do i change it so that it does not display this text?
i have tried
onmouseover="window.status='text';"
and
onmouseover="window.defaultStatus='text';"
but both d... more >>
Long-running task: Show DIV with 'Please wait' message
Posted by PontiMax at 2/10/2005 8:23:12 AM
Hi,
when I press the OK button of my dialog box a long-running task is
initiated. Therefore I would like to make visible a div section right after
clicking the button where a user-friendly message is displayed...
How can this be done? Can I make the section visible via server-side code?
... more >>
"Logon failed" in Crystal reports when switching to a different database server
Posted by John Dalberg at 2/10/2005 8:21:53 AM
Running Crystal Reports with the hotfixes and patches & VS 2003.
I created a CR report on my development server which has SQL Server. The
report runs fine inside Visual Studio. When I switched the source of the DB
to the production server using the 'set location' option in CR and ran the
app a... more >>
Session vars vs. HttpContext.Current.User
Posted by Jason at 2/10/2005 8:01:22 AM
Currently, I am storing information about the currently logged on user
in Session variables that are stored in SQL. However, I am using
role-based security, so I am storing custom roles in a GenericPrincipal
object that I attached to Context.User. My question is this:
Can I create a new clas... more >>
Strange behavior
Posted by anonymous at 2/10/2005 8:01:10 AM
Hello guys,
I have a strange behaviour in my asp.net web page. My page
contains a datagrid control, which has another nested
datagrid as a user control. It works very well, when the
user expands the + button or closes it with the same
buton. However when I do this several times successive... more >>
Redirecting users
Posted by hecsan07 at 2/10/2005 7:27:06 AM
I am a novice programmer. I want to give my site the ability to remember
users. I want to do this the easiest possible way--using cookies to store
username and password--since I am not concerned with security at this point.
In the sign on page, I first check for the value of the cookie. If inva... more >>
ASP.NET 2.0 Tabstrip Control
Posted by marty at 2/10/2005 7:03:10 AM
Is there a tab control included with asp.net 2.0?
... more >>
AutoUpdate Label Control?
Posted by Grigs at 2/10/2005 5:47:03 AM
I was able to do this in .asp but not asp.net, can someone please help.
I have a multi-line textbox control on a webform. Next to it is a label
control. Basically I want the label control to automatically reflect the
contents of the textbox control. I did this through script before. The
... more >>
loop througth Literials using foreach!!
Posted by Islam Elkhayat at 2/10/2005 5:14:27 AM
In my web application i use satalite assembly to localize my web form..
Instead of set the each control text to the resourcemanager getstring()
method i try to use foreach loop
private string rmg(string key)
{
return resource.GetString("key");
}
private Literal ctrl_txt()
{
for... more >>
aspx HTML Server Control Question
Posted by Stuart at 2/10/2005 2:33:04 AM
Hi there
I am trying to introduce some dynamic control focus in to my asp application
by turning the <body> of the aspx file in to an HTML Server control.
I have read elsewhere that if you assign an ID to the <body> as well as
runat="server" : e.g.
<body id="PageBody" runat="server">
... more >>
Asp vs ASPX pages in terms of security
Posted by Patrick Olurotimi Ige at 2/10/2005 1:42:37 AM
Can asp pages have the same security integration like aspx pages?
For example integrating ASPX pages with Active directory etc...forms
auth and windows auth?
We have a scenario some developers still use asp pages and use NTFS
security:(
what is the best way to explain the difference and the a... more >>
Root Relative Path
Posted by Win, Pats at 2/10/2005 1:05:53 AM
I have a snippet of HTML that I inject into a number of pages throughout my
Web site at runtime. My problem is that I'm not getting the image to appear
in all documents into which this snippet is injected.
If I specify a document-relative path (e.g.,
src="../someFolder/AnotherFolder/TheGrap... more >>
|