all groups > asp.net > december 2004 > threads for thursday december 2
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
HttpContext
Posted by HttpContext Confused at 12/2/2004 10:31:01 PM
Hello All,
I have review the IBuySpy portal application and notice that it uses the
HttpContext to store information about the config,security, etc
So here is the question, when I try to store items in the
(HttpContext.Current.Items.Add()), and try to reference them from another
page I g... more >>
Masked Edit Control
Posted by metridevkk at 12/2/2004 9:07:01 PM
Hi,
I need to use a Masked Edit Control in my ASPX page. In VS.Net, I added the
reference to MSMask.dll for my application & also added the MaskEdBox to the
Toolbox.
After adding the control to the web form, when I select the control & see
its properties, I do not see the "Text" property.... more >>
Application_Error not firing in Release Mode.
Posted by Ken Dopierala Jr. at 12/2/2004 6:26:59 PM
Hi,
I'm having a problem where my Application_Error() event in my Global.asax
file isn't firing in Release Mode. If I compile in Debug it fires just
fine, but if I then recompile in Release it won't fire. This just started
about a month ago but I didn't spend anytime on it till now. I'm not... more >>
Modal Dialog
Posted by Ganesh Ramamurthy at 12/2/2004 6:20:25 PM
Hi Experts,
I am having a serious problem now. I am using IE for developing my asp.net
application. My application need not run in Netscape. I have a peculiar
problem. I have an aspx page from which when the user clicks on the save
button, I am calling a javascript function which shows up a m... more >>
Events for tables on web pages ?
Posted by Steven at 12/2/2004 6:15:45 PM
I have 2 tables on my webpage. On onmouseover" event of any row of first
table ,i am calling one function to change color of the row. For that i am
passing the row No and table name. On click event of the button "<Add rows>"
i am adding one row in "tabl1". The statement written for this is like
... more >>
problem with default button pressed on ASPX page.
Posted by Milsnips at 12/2/2004 6:12:04 PM
hi there,
i got 2 textboxes and 2 buttons..both are search input and search buttons..
when i have focus of the 2nd textbox and i press enter, it always fires the
event for the 1st button.
Help?????
Paul.
... more >>
iis 6.0 worker processes & cache object
Posted by Param R. at 12/2/2004 6:03:21 PM
Hi all, lets assume my application is running under an app pool that has 2
worker processes servicing requests. Will the Application & Cache objects be
the same & concurrent amongst all requests? i.e. does each worker process
have its own copy of Application & Cache or do they both share them?... more >>
__aspnetForm
Posted by Fredrik Elestedt at 12/2/2004 5:58:09 PM
Hi,
I'm having problems with renaming a form when using templates.
The template type I'm using can be found here:
http://www.charon.co.uk/content.aspx?CategoryID=28&ArticleID=42
http://www.charon.co.uk/content.aspx?CategoryID=28&ArticleID=43
To summarize the articles...
I'm overriding the ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to pass variables in the URL?
Posted by Miguel Dias Moura at 12/2/2004 5:55:33 PM
Hello,
I am working on an Asp.Net/VB web site.
I have a search form with an input text and the search button.
How can I send the Words written in the input box to the results page?
I need to send the words in order to be used as filter in the results
page.
I don't know how many words the ... more >>
controls.contains?
Posted by djc at 12/2/2004 5:31:34 PM
<snippet from .net documentation>
If Panel1.Controls.Contains(NewPanelButton) Then
RemoveHandler NewPanelButton.Click, AddressOf _
NewPanelButton_Click
Panel1.Controls.Remove(NewPanelButton)
NewPanelButton.Dispose()
End If
</snippet from .net documentation>
I ... more >>
positioning user controls on pages
Posted by Craig G at 12/2/2004 5:26:56 PM
is there a correct way to do it?
at the mo, i just putting the usercontrol within a <div> tag, then setting
its absolute position there. which works for me as the control isnt used on
any other pages. but what would happen if i wanted the same control on a
different page and in a different p... more >>
Flash and .aspnet - finding a simple way to interchagne data - just starting up on .net?
Posted by jason NO[at]SPAM catamaranco.com at 12/2/2004 4:07:47 PM
I am trying to work out a very simple way to get a Flash form to
commmunicate with a .aspnet application that will somehow receive parameters
from the flash file.
Or, vice versa stream database content into a flash mx file via an
asp.net/xml type application.
Although I brand new to .NET I ... more >>
Detecting/Preventing Dictionary Attacks
Posted by Jim Slade at 12/2/2004 4:07:46 PM
I've been doing some research on security and it seems like hashing/salting
passwords is a good idea - but still not really all that secure against
dictionary attacks (the salt just makes the hacker run their dictionary
against every single account - not much of a challenge for a competent
hacke... more >>
Get ASPX page's class Type by its path.
Posted by Oleg Ogurok at 12/2/2004 3:47:59 PM
Hi all,
Given a virtual path (URL) to a page, I need to programmatically get its
class type.
For example, there is a page /MyAspNetApp/TargetPage.aspx.
I need to get the automatically generated class to check its type, e.g. to
check if the class implements a certain interface. The base clas... more >>
How to get access to Application path from NUnitASP project?
Posted by Vladimir at 12/2/2004 3:23:13 PM
subject
--
Vlad
... more >>
Redirecting in a usercontrol
Posted by Eirik Eldorsen at 12/2/2004 3:11:49 PM
If I try to redirect in usercontrol using only a relative url like
Response.Redirect("somepage.aspx") it will fail several places since it
tries to find the page in the folder whcih the user control is used in. One
solution is to use an url like
Response.Redirect("/somefolder/somepage.aspx")... more >>
ASP.NET success stories?
Posted by dc NO[at]SPAM upsize.de at 12/2/2004 3:10:38 PM
Hi,
can someone point me to some actual high traffic websites (preferrably
non-Microsoft) having 100% .Net under the hood?
Thanks for any hints,
regards
DC... more >>
Building controls....sorta newbie!
Posted by Craig G at 12/2/2004 3:04:23 PM
i posted this yesterday in the building controls messageboard but got no
reply so i thought id post it on here
Hi,
i have built myself a webusercontrol that contains a single datagrid
the datagrid is based upon a couple of template columns and having add,
edit, update, cancel, delete... more >>
datagrid
Posted by Jason at 12/2/2004 3:00:32 PM
Hi
how do i put stuff into the pager? i.e. at the moment i have page numbers as
my pager style.
1, 2, 3, etc.
i would like to have it as << Prev 1 2 3 4 5 6 7 8 9 10 Next >>
how would i do this?
Prev and Next obviously decrementing or incrementing the page index.
Thanks
Jason
... more >>
large datagrid preventign a redirect?
Posted by jennifer1970 NO[at]SPAM hotmail.com at 12/2/2004 2:49:31 PM
I've got a datagrid on my asp page. I have a button that allows the
user to export the contents of the grid to Excel. It works great for
1300 records. If there are more than that when the export button is
clicked the network log-in pop-up appears and once I enter my info
then it re-opens the ... more >>
iewebcontrols
Posted by gg at 12/2/2004 2:37:29 PM
Hi,
I am trying to figure out why i can't get the multpage.aspx to do anything
more than render plain text. The tabstrip.aspx, treeview.aspx and
toolbar.aspx all work correctly. The multipage, and the treeview_bound are
not working right. Any ideas?
Thanks
... more >>
Html tables
Posted by Prateek at 12/2/2004 2:30:47 PM
Hi All,
This is actually a DHTML related question. I have a web page that is divided
in 3 frames. The web page shown by each frame contains an HTML table in a
DIV tag. Each table has lots of columns and rows so both vertical and
horizontal scroll bars appear. Is there a way to sync the scrolli... more >>
Web Config conflict?
Posted by albertoconti NO[at]SPAM gmail.com at 12/2/2004 2:18:03 PM
I have 2 ASP.NET (C#) applications (A and B) running on the same
server (IIS6, but the problems is also present in IIS5).
Each application has its own Web.Config file. The only difference
between the web config files is the following
<system.web>
<httpHandlers>
<add verb="GET" pat... more >>
Save scroll position AND setFocus
Posted by ujjc001 NO[at]SPAM charter.net at 12/2/2004 2:05:15 PM
I'm sure you've all seen the save scroll position from 4 guys from
rolla which can be found here >
http://aspnet.4guysfromrolla.com/articles/111704-1.aspx
BUT
try to get that to work AND still be able to set the focus to a
control.
Here's the problem, when you set the focus by using the
reg... more >>
ASP.Net Worker Process Drops Out Yet Again!
Posted by Richard Myers at 12/2/2004 1:50:13 PM
Hello
Im sure many of you have seen this error message before:
[aspnet_wp.exe could not be started. The error code for the failure is
80004005. This error can be caused when the worker
process account has insufficient rights to read the .NET Framework files.
Please ensure that the .NET Fram... more >>
Displaying and manipulating TIFF files
Posted by J Cristancho at 12/2/2004 1:27:03 PM
I would like to know how to display and manipulate TIFF and multipage TIFF
Files in my ASP.NET Applications.
I know there's third party controls, but I'd like to do it myself
Thanks!!!... more >>
Visual Studio question
Posted by ChInKPoInt [No MCSD] at 12/2/2004 1:21:57 PM
I have a stupid question about Vstudio..
How do I configure Vstudio so that I can easily deploy my web Asp.net pages
without including those .cs files (code behind)? Those .cs will be compiled
as .dll in the /bin folder right? I tried playing with "Debug" , "Release"
and "Configuration Manager... more >>
Label Text
Posted by MrMike at 12/2/2004 1:09:02 PM
How can the text property of the label web server control be formatted to
display more than one piece of text. For exmaple - I currently have the
below code. Currently this will just display the "ID" dataitem, but I want
it to say "The identification number is "ID"". How would I do this?
... more >>
Using C# to redirect one form to another after a specific task completes
Posted by bpg24 NO[at]SPAM drexel.edu at 12/2/2004 12:24:28 PM
Hey all,
I have a web application which loads a wizard (another smaller form to
get user info). As soon as the wizard completes, I need to have the
original page from which the wizard was called from redirect to a new
page based on the users input.
I've tried using a seperate thread and a lo... more >>
"A page can have only one server-side Form tag." when NONE exist!
Posted by cmdrbeavis NO[at]SPAM gmail.com at 12/2/2004 12:22:20 PM
There was a problem with ASP.Net 1.1 creating/generating bad
javascript on html pages that I ran into and on the KB page that I had
found at the time it said that the problem was fixed in the .Net
Framework 1.1 SP 1.
So, I ran "NDP1.1sp1-KB867460-X86.exe" thus installing that SP and now
I'm g... more >>
Trouble moving servers with asp.net
Posted by Ron Weldy at 12/2/2004 11:57:25 AM
In moving a ASP.NET site from a W2K IIS5 server to a new W2K3 IIS6 server,
we are having trouble with what appears to be ASP.NET server side includes
in the .shtml files. I did not set up the old server or code the site and
have just been brought onto this project so I'm hoping someone out the... more >>
OracleParameter for Dynamic SQL doesn't get set
Posted by Mike at 12/2/2004 11:45:03 AM
I get this error when trying to use a paramter on a dynamic sql statement.
What am I doing wrong.
Exception Details: System.Data.OracleClient.OracleException: ORA-01036:
illegal variable name/number
Here is the code:
Dim strSQL As String
Dim intMyVal as integar = 5
... more >>
how to open a new browser windows using asp.net code?
Posted by David at 12/2/2004 11:35:22 AM
Hi
I don't want to use javascript to open a new window because I want to use
server side code which gives me more control. I think I can not use
response.redirect to open a new window and keep the current window.
Is there any way to do it?
Thank you!
David
... more >>
Passing variables values
Posted by ruca at 12/2/2004 11:12:20 AM
Hi gurus,
I have a little complex question for you all, that I hope you can help me.
I have a windows application that comunicate with another dll's
applications. My Win app have some menus (like Outlook bar) and each menu
can have many icons or function as you want. This icons can call form... more >>
Disable navigation buttons
Posted by eje at 12/2/2004 11:04:39 AM
How can I disable the Back and Forward navigation buttons
in Explorer from my .NET application?
Eje... more >>
Beginner question on Server.Transfer
Posted by Tom at 12/2/2004 10:49:09 AM
Is there a way to reference the website root in a transfer?
For example, Server.Transfer("../folderb/test.aspx") works if the page being
redirected is in, say, foldera but not if it is in the root. I want to do
this in a generic way so if the application is moved to another server it
will stil... more >>
right click menu on hover over of a data item possible?
Posted by Antoine at 12/2/2004 10:21:31 AM
I havent got room on an aspx forms data items but want to have an alternate
option to double click on its link (like a right click context menu) so make
the most of functionality with the lack of space, without refering to using
some other kind of custom control. Its for a calendar that is data... more >>
SQL question
Posted by Mike at 12/2/2004 10:09:03 AM
I have 2 columns that i need to subtract together then display that result in
my datagrid, how can i do this in my SQL statement?
ex:
I need:
Begining_Cars - Sold_Cars = Remaining_Cars
and display Remaining_Cars in my grid... more >>
control ids
Posted by Nate Hekman at 12/2/2004 10:02:58 AM
Lets say I have an asp:Image control, and I want to change its image in
client-side script. How can the script reference the <img> object? This
code doesn't work, because although asp:Image has the ID of _img, the
resulting <img> tag is given a different ID.
<asp:Image id="_img" Image... more >>
Header line of table giving me separation lines
Posted by tshad at 12/2/2004 10:01:09 AM
I have a table with a title:
********************************************************
<table border="0" width="700" style="margin-left:5" >
<tr>
<th align="left"><asp:Label id="lblHeaderPositionTitle"
runat="server">Position: </asp:Label></th>
<th><asp:Label id="lblHe... more >>
How to trigger the CheckBox1_CheckedChanged event by change the checked value by code?
Posted by David at 12/2/2004 9:25:48 AM
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01C4D850.E8A09D80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
If I change the checked value of the checkbox by code, I can not trigger =
the=20
CheckedChanged even... more >>
Caching
Posted by MattC at 12/2/2004 9:05:49 AM
Will a page set to cache also cache a usercontrol in the page if the user
control does not specify caching.
TIA
MattC
... more >>
Custom References
Posted by Jason MacKenzie at 12/2/2004 8:46:21 AM
I'm not sure if this is the right newsgroup but an expert can probably help
me here.
All our web applications have the same set of references. So I'd like to
have them be referenced by default.
I'm trying to change the the WebApplication.vbproj file to include these
references but I'm no... more >>
File System
Posted by Arpan at 12/2/2004 8:29:11 AM
This is a multi-part message in MIME format.
------=_NextPart_000_0026_01C4D849.000CFD40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Does the file system being used by the O.S. (i.e. FAT32 or NTFS) play a =
major role as far as executing ASP.... more >>
browser detection for mobile devices
Posted by Phil Townsend at 12/2/2004 8:24:32 AM
How does one detect for Internet Explorer on Windows CE? Does
Request.Browser.Browser return anything unique for mobile versions of
IE? I have a strange situation where I need to develop a user interface
to a web app for CE, but at the moment I do not have a pocket device on
which to test it. An... more >>
object reference not set to an instance of an object
Posted by louise raisbeck at 12/2/2004 8:23:02 AM
hi there,
I looked up posts on how to get a javascript confirm on the onclick of a
button to determine whether to run server code and i wrote this on the page
load..
string jsalert = "javascript:if(confirm ('Is the employee a rehire?') ==
false) return false";
btnEdit.Attributes["onclic... more >>
How to make WebRequest from ASP without accessing registry for pro
Posted by DWrek at 12/2/2004 8:17:03 AM
Hi Everyone,
I have a .NET dll that uses the HTTPWebRequest class to make an HTTP
connection to an off-site server. This dll works just fine from a Winform but
when I try to use it from an ASP page (via COM Interop) and get a registry
access exception. I know why this happening. The dll m... more >>
How to find all DropDownList Controls on a page
Posted by Sacha Korell at 12/2/2004 8:12:59 AM
I'm trying to load a drop-down list with all DropDownList control names from
another page.
How would I be able to find those DropDownList controls? The FindControl
method will only find a certain control by id, but I want to find all
controls of a certain type (DropDownList in this case).
... more >>
Overriding SmartNavigation To Automatically See ValidationSummary At Top Of Page
Posted by Dan Sikorsky at 12/2/2004 8:12:30 AM
I'm using SmartNavigation and need to automatically scroll to the top of the
page when the ValidationSummary control catches errors and displays them, so
that the user can see the errors without having to manually scroll to the
top.
How can I determine if the ValidationSummary will display err... more >>
Concatenating Multiple Values for DataValueField
Posted by RF at 12/2/2004 8:09:02 AM
How can I do something like this
AuthorList.DataValueField = "au_lname" &"-"& "au_id"
I want to concatenate two columns together. Any ideas??... more >>
validator stop working
Posted by z f at 12/2/2004 7:52:30 AM
Hi,
i have a vb.net web application that uses validators.
on my dev machine (Xp pro) it works fine.
on the hosting machine (win2003) the validator (client side and server
side ) stop working.
i thought it might be related to norton internet security, so i disable it,
but it also don't expl... more >>
Migrating ASP.NET projects between VS.NET 2002 and VS.NET 2003
Posted by Markus McGee at 12/2/2004 7:41:06 AM
hi everyone.
How do you migrate a project built using VS.NET 2002 to VS.NET 2003 and
back? I'm doing ASP.NET applications and haven't found out how to move
projects to and from. At work I use VS.NET 2002 on a 2000 pro machine. Most
of the time I try to take my work home but I run into bi... more >>
CRYSTAL REPORTS HELP PLS
Posted by Raghu Raman at 12/2/2004 7:24:22 AM
HI,
I've a c#.net page and i want to pass parameters to a crystal reports
linkedwith stored procs.
Could u pls tell me how to do that.
Thx
Raghu
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Q: development Environment
Posted by JIM.H. at 12/2/2004 6:25:03 AM
Hello,
I have C and D drive in my server. I developed all the applications in C and
users access these applications from C: Now I need to create a development
environment not to cause trouble to the users while I am developing
something. I need to use D: driver as development environment and ... more >>
__Click event
Posted by msuk at 12/2/2004 6:23:04 AM
All,
I have a ASPX page that handles a click event of a button and also have a
code behind for the button - I would like to handle the click event of the
webform first and then execute the code in the codebehind for the button is
this possible?
Thanks
Msuk... more >>
Remote Debugging in VS .NET
Posted by dweezil at 12/2/2004 6:21:01 AM
I get the following error when I try to run a project ( Debug | Start ).
"Error while trying to run project: Unable to start debugging on the web
server. You do not have permissions to debug the server. Verify that you are
a member of the 'Debugger Users' group on the server."
I added my d... more >>
Unable to open project.
Posted by Winshent at 12/2/2004 6:03:15 AM
I have recently upgraded my desktop from windows 2000 to XP Pro. I
backed up my project by simply copying accross the files in the
project.
I have changed the default virtual directory from InetPub to another
and i have enabled file sharing and security settings for Internet
Guest Account, VS... more >>
Call back from a aspx page
Posted by david at 12/2/2004 6:01:06 AM
Hello,
From a web aspx page I need to call a two proc’s. The first proc returns the
data quickly which I want populate a data grid. The second proc does some
heavy processing so when it’s finished I want to do notify the web page with
a button which appears and displays “click here to... more >>
how to check/uncheck the checkbox in datagrid
Posted by Rekha at 12/2/2004 5:23:02 AM
Hi
I have datagrid with 5 items. Out of which 1 items are checkboxes. The bool
column(checkbox column ) in added in datagrid. The rest of Data is binded
dynamically to the datagrid
Based on some values from the database I have to check or uncheck the
checkbox in the datatgrid.
Does ... more >>
codebehind and modal aspx
Posted by msuk at 12/2/2004 4:23:02 AM
All,
I would like to display a webform modally from the codebehind of another
webform is this possible and how?
Thanks
Msuk... more >>
Urgnet Question
Posted by Raed Sawalha at 12/2/2004 4:15:03 AM
Dear:
I have web application that able user to upload files the the ability to zip
them, the problem I have , that there is a choice that makes user extract the
zip file into server but while extraction there are some existing file
overwritten without user notice, what I need while extracti... more >>
File field control and Viewstate
Posted by msuk at 12/2/2004 3:51:01 AM
All,
I have a ASP.NET/C# webform that contains two file filed control that have
been set to run as server controls i.e. Run As Server Control.
If the page_load I set the enableviewstate to true but when the form posts
back it looses the path of the file the user selected - what is wrong?
... more >>
Problem with GetFiles
Posted by huzz at 12/2/2004 3:41:02 AM
when i run the code below to search my entire c drive.. i get this following
error message:
Access to the path "c:\System Volume Information" is denied.
Line 29: foreach (string f in Directory.GetFiles(d, ".mp3"))
In web.config i have <identity impersonate="true"/>
When i run the same c... more >>
Retrieving data after postback
Posted by Alan Lambert at 12/2/2004 3:19:03 AM
If have an asp.net page (code behind written in VB.NET) which needs to store
information from a postback in an arraylist and retain this list across
multiple postbacks.
The variable is declared at the class level as:
Public files As New ArrayList
And I am accessing it in two event proce... more >>
eventargs?
Posted by rom at 12/2/2004 2:07:18 AM
i want to call a sub in vb.net like:
Private Sub X(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.RepeaterItemEventArgs)
where the second argument can sometimes be
RepeaterCommandEventArgs or any other kind of this
eventargs thing......
is there a way that I can call the fun... more >>
question on global.ascx
Posted by Asha at 12/2/2004 12:55:03 AM
i want to keep a global variable or a session in global.ascx when ever a user
access this particular page. at certain time, this page will do a infinit
loop, and i want to set a variable to allow it to only loop how many times i
want. e.g 3 times and quit. how can i get this done?... more >>
How to easily detect cookies is enabled?
Posted by Tee at 12/2/2004 12:16:52 AM
Hi,
How can we easily detect cookies is enabled?
Thanks
... more >>
|