all groups > asp.net > july 2004 > threads for tuesday july 6
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
Detect JavaScript Enabled and cokies on SERVER SIDE
Posted by o_gorfinkel NO[at]SPAM hotmail.com at 7/6/2004 11:55:17 PM
Hey all,
I have some problems detecting whether the client's browser javascript
is enabled at the server side.
While Request.Browser.JavaScript only check if the browser enable java
script (and so on with Request.Browser.Cookies).
I saw some server controls that register a startup script on... more >>
"locked by another application" problem
Posted by Ing. Rajesh Kumar at 7/6/2004 11:55:08 PM
I am loading an XML File and validating that against an XSD file. Sometimes
when there is an error in the XML file, system locks the file and I am not
able to change the content of the file. When saving, It says that the file
may have been "locked by another application". Now i cannot fix the err... more >>
Is it possible to hack *.DLL created from *.VB files ?
Posted by Ing. Rajesh Kumar at 7/6/2004 11:50:02 PM
Hi everybody
I have about 50 code behind *.vb files from which i have created a single
*.dll file. This single *.dll file and all the *.aspx files i will put on a
clients computer. So i just wanted to know if they can hack it ? I know that
there should be a way to hack it but only i want to know... more >>
Determining Object Passed to a Templated Column
Posted by Alex at 7/6/2004 11:46:01 PM
I have been loving the templated datacolumns of the datagrid. I have stumbled onto a problem though that is beyond by knowledge and I was hoping someone here could jumpstart me. My templated columns work find as long as I pass in a dataset but if I pass in a collection of objects then they won't w... more >>
Designer error - file failed to load in the form desingner.
Posted by vireemani NO[at]SPAM yahoo.com at 7/6/2004 10:31:00 PM
Hi all,
I have a form with some server controls on it. I changed text box ID's
and compiled the solution. I got an error message saying type or
namespace name "txtEmrgcyContactName" could not be found. So I went to
the form and looked at the properties for the control. It says Html
control for ... more >>
how to get asp .net 2.0
Posted by Carlos at 7/6/2004 10:30:10 PM
all,
I've seen articles referencing asp .net 2.0 but I do not
seee the .net framework ver 2.0 being available for
download. where do I get to see it?
thanks,
Carlos
... more >>
Tell me the best site to learn ASP.NET
Posted by Prabu at 7/6/2004 9:06:02 PM
Hi,
I am starter, I am interested to learn ASP.NET, can any one please tell me the best site to start with.
--
Thanks,
Prabu... more >>
How to configure SQL Server Session State
Posted by Christopher at 7/6/2004 8:56:01 PM
Can anyone please guide me how to configure SQL Server session state. I have configured upto an extent, but it is giving error.
--
Christopher... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to handle Error Code Events
Posted by Sezhman at 7/6/2004 8:46:01 PM
Hi,
I developed an ASP.NET application. I am testing my application with all possibility of data. How to handle HTTP errors (Codes) in ASP.NET.
Regards,
Sezhman... more >>
get AD Username
Posted by Sadun Sevingen at 7/6/2004 7:47:35 PM
hi i want to run my scripts wih anonymous access IUSR account
but i want to learn incoming users AD username like DOMAIN/SADUN
ALSO what are the predefined object of ASP.NET ???
... more >>
Session data appears to be lost at random
Posted by Tamir Khason at 7/6/2004 7:22:53 PM
Following the problem: Session data for ASP.NET Web applications appears to
be lost at random intervals for the InProc session state mode. We can not
freely debug an application or install any 3rd party software on server due
its procution nature.
The causes of this ARE NOT as following:
1) V... more >>
Norton blocks ASP.NET mails!
Posted by Ammar at 7/6/2004 7:05:05 PM
Hi!
I am running IIS 5 on windowsXP proffesional with norton internet security
proffesional 2004. I have been trying to make an ASP.NET page that sends a
report as an e mail to the webmaster of the site when a user subscribes in
the site. The page runs well, but the e mail is never delivered!
A... more >>
Page break for printing
Posted by moondaddy at 7/6/2004 6:02:20 PM
I have a page that I'm making for the sole purpose of printing and this page
makes 1.5 printed pages. Is there a way to force a print page break at a
specific place so when the user prints the page, it wont arbitrarily break
in the middle of a table or line of text?
Thanks.
--
moondaddy@... more >>
how to check whether asp.net is installed/enabled with c#?
Posted by zimmy182 NO[at]SPAM yahoo.com at 7/6/2004 5:41:45 PM
Hi,
Is it possible to check whether ASP.NET is installed on a machine,
within a program that I'm writing in C#? And if it's installed, can I
check if it is enabled? How?
Thanks... more >>
filtering a dataset?
Posted by Darren Clark at 7/6/2004 5:38:54 PM
I have a data set... in which i need to remove 1 row based on a particaly
name
eg
i have a data set (data) and it has 1 table and N rows.... It has a column
name of [name]
i want to remove all records where the [name] = 'any'
? how syntacically can i do that?
I came up with some hai... more >>
How to use .vb file
Posted by vishesh vyas at 7/6/2004 5:20:44 PM
There are few common functions in my project for various pages (".aspx").
For example function "HandleQuotes", I want to write this function in a
common file and call the same in all of the pages.
Please tell me how to do that?
Thanks In Advance.
Vishesh Vyas
... more >>
Get user information
Posted by Steven K at 7/6/2004 5:20:28 PM
Hello,
Is there a way to determine anything about a user on a anonymous site? I
have a request to build a counter but they only want unique users per day?
--
Thanks in advance,
Steven
... more >>
Get page information
Posted by Steven K at 7/6/2004 5:08:40 PM
Hello,
Once a page opens, I would like to store the page name in a variable
(MyPage.aspx). My question is, can I get the page name from a function?
--
Thanks in advance,
Steven
... more >>
How to set focus on element inside of User Control?
Posted by Neil Kiser at 7/6/2004 5:04:50 PM
Hi,
I have a user control that I am embedding within a web form. Inside
the user control are several textboxes. I would like, whenever the
user control is loaded, to set the focus to one of those textboxes. I
can't seem to figure out how to do it. I don't see a "setfocus"
method that i ca... more >>
Page Load event is called....
Posted by MooreSmnith at 7/6/2004 4:55:06 PM
When I navigate to the next page using
Response.Rediect("MyNextPage.aspx") current page Page_Load event is called.
What I may wrongly understood is that post back will happen whenever there
is any server side event happens, resulting in Page_load event. Page_Load is
also happening when I nav... more >>
How to avoid back button?
Posted by Veeresh at 7/6/2004 4:34:26 PM
I have written an ASP.Net application and has question regarding page
navigation.
Aftyer logging in to the web site by clicking on the back button user can go
back to the login ASPX page.
How to avoid this in ASP.Net ?
Thanks
Veer
... more >>
Slow to load pages
Posted by AL at 7/6/2004 4:14:01 PM
Hello,
I am able to load an aspx file ok but then when i start to fill out the form and click on a new form button, the pages takes too long to load. I am using Windows 2000 server with service pack 4 and IE 6. Anybody knows what is the culprit? Also I can ping the server machine fine but from ... more >>
problem with ASP.NET Validator Control in 2 Form
Posted by Bobby at 7/6/2004 4:10:20 PM
Hi all,
I want to validate my page with ASP.NET Validator controls.
It works well, but I have 2 form in one page.
My problem is that, If I input form1, and I click submit, It will also
validate the form2 (that I don't input), so I can't submit the form1.
Actually this can be solve if I write ... more >>
Think twice before you install "Visual Web Developer 2005 Express Edition Beta1" on your developement machine.
Posted by bredal Jensen at 7/6/2004 4:03:59 PM
It will go ahead and configure IIS to use asp.net 2.0 for your existing
asp.net sites resulting in the fact that you can no longer debug your
asp.net v1.1.4... applications with visual studio.net 2003.
I have spent some time wondering why i could no longer debug my
existing apps. right after... more >>
DataGrid - ItemDataBound
Posted by André_Almeida_Maldonado at 7/6/2004 3:38:22 PM
Hey Guys,
I need to manipulate the data that is binding to a datagrid BEFORE its =
appearance to the user. Because I need to format it inside an If Clause.
I was putting my code in the ItemDataBound Event:
Dim shoCont As Integer
Try
Long.Parse(e.Item.Cells(1).Text)
Catch ex As Exc... more >>
EnsureChildControls causes UniqueID to be incorrect inside UserControl
Posted by ferretofwrath NO[at]SPAM hotmail.com at 7/6/2004 3:33:05 PM
I have a custom control that is thrown onto a UserControl that is
thrown onto a WebForm. Basically, I've got a scenario where if my
UserControl sets an attribute on the custom control in the ascx,
EnsureChildControls gets called, creating the control before the
UserControl is even added to the ... more >>
Application_BeginRequest questions
Posted by JezB at 7/6/2004 3:21:10 PM
1) How can I access my object-oreinted classes from the global.asax
Application_BeginRequest event ?
I cannot instantiate them from session since it complains :
Session state is not available in this context
2) How can I get the name of the Page being requested from within
Applica... more >>
Tab and Enter Navigation
Posted by - Steve - at 7/6/2004 3:11:06 PM
I'm having troubles with controlling how users tab around my ASP.NET page.
I'd like users to be able to hit enter and have it click submit, tab and go
to the next textbox, etc. It usually works out okay, but sometimes Visual
Studio doesn't do it how I want it. Could someone point me to a tu... more >>
Set dropdownlist value
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 7/6/2004 3:03:14 PM
I have a dropdownlist that I was setting to an index (which happened
to be the same as the value). I changed this to a character as that
is what I want to have in my database.
<asp:dropdownlist
style="border:none" id="recurrenceType"
runat="server">
<asp:listitem value="N"
>None</asp:... more >>
ASP.Net parameters
Posted by Big E at 7/6/2004 3:02:17 PM
I have a listbox on a ASP.Net form. The listbox contains all the communities
that belong to this record. I've been trying to create a stored procedure
that will look up values in a table bases on the contents of the listbox.
The problem is that I only have one parameter called @communities but th... more >>
ASP.NET SQL Timeout! help!
Posted by Jason at 7/6/2004 2:51:42 PM
Hi all
I get the following error when executing a rather intense stored procedure
from an ASPX page.
I have tried:
- Increasing timeouts on IIS 5.0 (all areas that even mention timeout)
- use the "Connection Timeout=2400" string in the SqlConnection connections
string
- disabled connection ... more >>
grabbing a traditional form value via .net (instead of referencing an object)
Posted by darrel at 7/6/2004 2:44:00 PM
I have a contact form that a person submits to the server.
In ASP, you'd make a page, post the form to another page, which would grab
the values and do somethign with them.
in ASP.NET, it appears that you grab the values directly from the form
objects on the postback.
Here's our problem:
... more >>
Get datagrid item text
Posted by martin at 7/6/2004 2:25:37 PM
Hi,
I am iterating through the dataitems in a datagrid and producing and xml
document,
If a particular cell in the datagrid has a textbox control or a datagrid
control in it then I have no problem retrieveing it value by casting with
CTYPE
however when the datagrid cell contains no control... more >>
Session_End never firing
Posted by JezB at 7/6/2004 1:40:59 PM
Why is my Session_End event in global.asax never firing ? I've tried
fiddling with the timeouts but still nothing.
Ideally I want to do some processing whenever someone leaves my web
application (navigates somewhere else or closes the browser).
... more >>
How do I bind an array to a repeater?
Posted by Zenobia at 7/6/2004 1:32:32 PM
Hello folks,
How do I bind an array to a repeater?
or bind an array to a hyperlink (which is repeated inside a
repeater) ?
I get this message:
Compiler Error Message: BC30456: 'DataItem' is
not a member of 'System.Web.UI.Control'.
for line below that begins with <li>
This is... more >>
ASP.NET and IIS 5/6 ?
Posted by Don Wash at 7/6/2004 12:32:14 PM
Hi There!
I tried to execute ASP.NET pages (aspx) in IIS 5 and they are not executing.
Instead they are sent to client "as-is", meaning all the code in the ASP.NET
pages can be viewed by viewing the source of the page.
So I thought .NET is not supported in IIS 5, and I tried to use the ASP.N... more >>
Session object
Posted by Ivan A. Gavrilyuk at 7/6/2004 12:18:12 PM
Hi
I'm trying to implement my own security framework in asp.net, so I need to
identify user in Application_AuthenticateRequest in Global.aspx. But Session
object always null, why?
Thanx.
... more >>
retain controls added to placeholder during postback?
Posted by Mark at 7/6/2004 12:06:38 PM
I'm adding several controls (labels, etc.) to a placeholder programatically.
I'd like the PlaceHolder to maintain these contents during postbacks without
having to programmatically recreate their contents. Is there a way to do
this?
Thanks in advance.
Mark
... more >>
picture in data grid based on value
Posted by Brian Henry at 7/6/2004 11:30:10 AM
Hello, I am working on a simple email website that is kinda like hotmail...
but the listing of messages is in a data grid data bound to a table called
messages... now one of the columns in the messages data table is called read
if the value is 1 the message is read if 0 then unread... what i want... more >>
Question about capturing previous page
Posted by Hardy Wang at 7/6/2004 10:58:05 AM
Hi,
I have a legacy ASP page, in which I have following pieces of JavaScript
to run in order to sending values to a new ASPX page
......
action = "NewVersion/Bridge.aspx";
method='get';
submit();
......
In the new Bridge.aspx, I need to detect which privous page sends out the
request,... more >>
Windows 2003 Hosting (ASP.NET included)
Posted by Mike at 7/6/2004 10:36:01 AM
Excellent prices, terrific support (phone support included)
www.75host.com... more >>
NT Login
Posted by Phil at 7/6/2004 10:10:55 AM
hi
how do I get the NT login when a user navigates to my
page.
I set the deny users = ? in the web config but I think
this is prompting the user to enter his username/password
on his machine
how do I do this without the user entering this
information
regards
Phil H... more >>
size a DIV as large as needed to fit contents
Posted by JezB at 7/6/2004 10:07:18 AM
I have a DIV whose contents varies in size according to data. How can I size
the DIV precisely to fit it's contents ?
... more >>
How to Display a tooltip in HTML Label control
Posted by amcniw NO[at]SPAM yahoo.com at 7/6/2004 10:06:23 AM
I am using HTML labels on an ASP.net page and these show up as DIV
elements in the properties window. I have set them to RUNAT="server"
so that they are accessible in my C# page-behind.
I noticed that they do not have a Tooltip property and want to know if
there is any way to display tooltips dy... more >>
Visual web Developer 2005 Express beta 1 questions.
Posted by bredal Jensen at 7/6/2004 9:44:00 AM
I'm currently downloading the Microsoft "Visual web developer 2005 Express"
and i have a few questions in case someone could have insider informations
about this.
I have just attended a seminar with "Scott Guthrie" (Hope someone knows who
this guy is)
and i have been looking forward to get my... more >>
how to show an Image field from a SQL Server table field to a aspx page
Posted by sahoo NO[at]SPAM mississippi.org at 7/6/2004 9:43:39 AM
Hi,
I have a browse page where I am showing few fields from my SQL Server
table. One of the field is Image type, all the fields are bound to a
single table.
I want to show the image from the table on this browse along with the
other fields. Here is the code what I have from the HTML view, I a... more >>
datagrid columns from different datatables help ?
Posted by strongmace NO[at]SPAM yahoo-dot-com.no-spam.invalid at 7/6/2004 9:03:47 AM
Hi. I'm rather new to vs.net so explaining things in detail would be
of great help to me. I'm working on a WebForms Project.
Basically I have a datagrid I need to populate. I have it set up so
that it will connect to my database (did not use the wizard btw) and
I can make it display things. Ho... more >>
microsoft word documents from ASP.NET
Posted by David at 7/6/2004 8:43:10 AM
Using the article from this link,
http://www.codeproject.com/aspnet/wordapplication.asp, I have been playing
with generating Word documents using an ASP.NET application.
The only short coming is, unlike a windows application can do, I can't have
the app launch Word. Everything is being accomp... more >>
error sending smtp mail
Posted by z f at 7/6/2004 8:22:51 AM
Hi,
i'm sending mail from the aspx page on the server.
it is running on hosting,
so i configure the System.Web.Mail.SmtpMail.SmtpServer property to my mail
server.
but problem is that sender email is also configurable and since the sender
email is not from the SMTP server same host, it is no... more >>
disabled button still posts back?
Posted by bobschroeder NO[at]SPAM hotmail.com at 7/6/2004 8:14:08 AM
I want to conditionally disable/enable a link button based on what row
a user has selected in a grid.
I have some javascript that is called as a user selects different
rows in the grid.
I conditionally call this code in a javascript function
document.getElementById('btnChangeLot').disable... more >>
Javascript:return vbscript equivalent
Posted by Jim Ciotuszynski at 7/6/2004 8:05:00 AM
Is there an equivalent to the
"button.attributes.add("onBlur","JavaScript:return somfunction();") ? I
thought that vbscrpt would also do the same but when I run my code with the
vbscript my button click event gets fired no matter if the vbscript returns
false or true? Any help would be great.
... more >>
Postback Question
Posted by Robert Galvin at 7/6/2004 7:24:51 AM
Is it possible to tell which control caused a postback?
... more >>
Does the VS.NET designer have support for templates/themes
Posted by Jack at 7/6/2004 7:09:31 AM
This seems to be a nobrainer with FrontPage, but I do not see any similar
support for this in Visual Studio.NET designer. If it is supported, is there
some kind of documentation/tutorial for this?
... more >>
Any limitation on View State Size
Posted by praveen_musunuru NO[at]SPAM satyam-dot-com.no-spam.invalid at 7/6/2004 7:02:51 AM
Hello Folks;
I am working in ASP.NET application. I would like to know how much
characters ( OR How much Size?) I can keep in View State variable. I
want the limitation in its size. Is there any way to change/set this
view state value.
Thanks in advance!
Posted Via Usenet.com Premium ... more >>
Display the text part of a dropdown list
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 7/6/2004 6:02:54 AM
I have a dropdownlist:
<asp:dropdownlist id="recurrance" runat="server">
<asp:listitem value="0" >None</asp:listitem>
<asp:listitem value="1" >Daily</asp:listitem>
<asp:listitem value="2" >Weekly</asp:listitem>
<asp:listitem value="3" >Monthly</asp:listitem>
<asp:listitem value="4" ... more >>
Display textbox with no border
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 7/6/2004 5:02:54 AM
I am trying to display some data that is about 200 characters long and
I was trying to display it on the screen in a textbox
<asp:textbox />
But I don't want any borders.
How would I display that?
Thanks,
Tom
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------... more >>
pb: Double Page_load execution
Posted by Sébastien DELCROIX at 7/6/2004 3:25:01 AM
Hi,
Firstable, please excuse my approximative english which is not my native langage.
So, I post here because I encount the following problem on my ASP.NET application :
The Page_load method of the main application page is executed 2 times in a row.
I've created a simple test page and so... more >>
Re: Calender Control - CultureInfo question
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 7/6/2004 3:05:23 AM
Steve,
You'll need to set both the Culture and UICulture to "es-ES" so that
they output in Spanish.
You'll need to do this on each and every request.
System.Threading.Thread.CurrentThread.CurrentCulture = new
CultureInfo("es-ES");
System.Threading.Thread.CurrentThread.CurrentUICulture = ... more >>
How to change the account that ASP.NET uses
Posted by Mr.KisS at 7/6/2004 2:43:05 AM
Hi,
How to change the account that ASP.NET uses for this
virtual directory to one that has rights to the SQL Server
box.
Or how to use impersonation set in the Web.config file for
the asp application, referring to an account that has
rights to the SQL Server box.
Pls step by step ;)
... more >>
how secure is Querystring authentication using uniqueidentifier
Posted by nilsbaz NO[at]SPAM hotmail.com at 7/6/2004 2:42:50 AM
Hi all,
Does anyone have a best practice for performring querystring
authentication. I am now sending an email with a url to which the user
clicks to confirm his or her registration. The url contains a Guid in
the querystring, and this is validated agains the user's
uniqueidenfier in the sql ... more >>
ASP.Net applicaton deployment problem.
Posted by nick at 7/6/2004 2:40:42 AM
Hi, I created an Asp.Net application in a directory, say 'calendar'. It
works well on my local PC with Url http://localhost/calendar/calendar.aspx.
And I uploaded to my host. But the host provide the URL as
http://site227.webhost4life.com/williamgeorg/calendar/calendar.aspx. And it
raised the... more >>
Debug 2 ASP.NET applications- URGENT
Posted by Arcot at 7/6/2004 2:38:02 AM
Hi
Is it possible to debug 2 ASP.NET applications at the same time from a machine ?
I had tried out in Win 2000 professional and also in win 2003 server.
I end up getting this error message when I start debugging the second application
"Error while trying to run project: unable to start ... more >>
timeout value of session
Posted by Cheung Wang Tin at 7/6/2004 1:20:01 AM
How can I set in web.config, so that session is enable, but never timeout? Thank you.... more >>
Server Error in '/' Application.
Posted by DotNetJunkies User at 7/6/2004 12:23:42 AM
Hi Guys,
I recently created an ASP.net application in Visual Studio 2003. I have built the application to run both on 1.1 and 1.0. Im running the app on .net framework 1.0 all pages work well except on which gives me the error below.
I hope u guys can help.
Regards,
Nick
Server Error ... more >>
method type ICollection returns Dataview
Posted by Janus Knudsen at 7/6/2004 12:15:40 AM
Hello :O)
Im in the process of learning asp.net, and i'm reading a nice book. But then
suddenly i came across this:
public ICollection DataLoad()
{
DataTable dtEmployee = new DataTable();
DataRow drEmployee;
dtEmployee.Columns.Add(new DataColumn("emp_id",
System.Type.GetType("S... more >>
|