all groups > asp.net > july 2004 > threads for monday july 12
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
Way to get the browser type and its related version ?
Posted by benny at 7/12/2004 8:45:04 PM
Hi,
Is there any direct way to get the browser type and its related version so
i could do further decision before showing the .aspx page ?
TIA
regards,
benny ;)
... more >>
Printing in A4 size...
Posted by Vinayaka at 7/12/2004 7:47:39 PM
I am using ASP.Net and .net 1.1
I have created some web based report which will be displayed in ASPX page
and user has to select the browser File Print to take print outs.
Requirement for all these report is, "all reports should fit into A4 size".
The general rule I am following in all the rep... more >>
Why event not firing right away
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 7/12/2004 7:03:23 PM
I have a small page I am using to play around with events and am
confused why the "onTextChanged" event doesn't fire until I press the
button?
I am trying to allow the user to put something in Textbox 1 and then
when they exit it, have the event fire to make the Textbox 2 =
TextBox 1.
Why ... more >>
How can I refresh a page?
Posted by Judy Ward at 7/12/2004 7:03:02 PM
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based authentication and think I know how to accomplish this part. My problem is that the top frame does not r... more >>
Get Rid of '-- Web Page Dialog' in Title Bar
Posted by Fred at 7/12/2004 6:46:48 PM
I have implemented a dialog box (an aspx page) using showModalDialog.
Because the dialog needs to process postbacks, I have implemented it in a
frameset. In the top of the framset page, I have defined a title as follows:
<title>My Title</title>
At runtime, the text in the title bar appears l... more >>
Using RadioButtonList Class object.
Posted by Vinayaka at 7/12/2004 6:26:21 PM
When we can use this control? I am not understanding its importance. Any
suggestions.
Vin
... more >>
Having a timeout problem
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 7/12/2004 6:03:29 PM
I have a page that is running a DTS package and takes anywhere from 1
minute to 20 minutes. When it comes back it displays in my textbox
the results.
The problem is that on the long packages, the page times out after
about 30 seconds.
What is the best way to display a now processing ticker... more >>
Page_Load event not executing
Posted by Jibey at 7/12/2004 5:47:01 PM
Hello:
I'm facing a very strange problem.
When I run my Web application in Visual Studio.NET the Page_Load event is not executing. Other events like a Button_Click are executing.
It doesn't matter whether I'm running the application in VS.NET or browsing it using http://localhost/... the Pa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Web Service?
Posted by Charles A. Lackman at 7/12/2004 5:16:21 PM
Hello,
Is there a way to Write a file to a stream using a web service? If so How?
Any Help or Suggestions will be greatly appreciated.
Thanks,
Chuck
... more >>
2 controls in 2 differents opened web pages with same value without refresh
Posted by aa at 7/12/2004 4:48:45 PM
Hi All,
i have two opened web pages & i want the textbox value in the second web
page pass it to the textbox in the first web page while both web page r
opened & without refresh.
N.B Session Wont Work in this Issue
Thanks
Mariame
... more >>
Passing Value from Webform 2 to Webform1 without refreshing webform1
Posted by Aitham alama at 7/12/2004 4:26:33 PM
Hi There,
My question is as following,
I have a webform (Webform1) which contains one label control and command
button, when the user clicks the button another webform (Webform2) appears,
webform2 contains only one control which is the Calendar control, I want to
do the following
1-... more >>
Web Form Navigation
Posted by Rigs at 7/12/2004 4:22:47 PM
Hi,
I'm an ASP .NET Newbie and I'm hoping some can help me with some basic web
form navigation.
I have a web form with numerous text boxes for data entry. The text boxes
also have some Compare Validators and Required Field Validators on the form
too. The web form also has an OnServerValid... more >>
stuck on a REGEX (\S[^\s/>]*)
Posted by darrel at 7/12/2004 4:10:41 PM
I'm trying to find the opening < and the text of a tag (without the
attributes or closing tags)
This is what I'm using:
(\S[^\s/>]*)
Which, I think, reads as:
(any number of non-whitespace characters [up to a space, /, or >])
Is that correct? I can't get it to work.
If my text is... more >>
FILE UPLOADING IN ASP.NET or ASP for that matter
Posted by psb at 7/12/2004 4:07:24 PM
WHO HAS THE BEST COMPONENT FOR FILE UPLOAD? HELP!? has anyone achieved
100% success with HTTP uploading with Mac clients??? I thought the whole
<input type="file" .../> was a w3c standard that goes back 10 years!!
I have been doing web development with either asp or asp.net since 1998. I
h... more >>
removing from collection in session variable
Posted by Alexandre Soares at 7/12/2004 3:58:12 PM
Hi,
On some pages, I put a collection in the session, which uses the InProc
mode. On pages where the session is extensively used (many collections are
put into it), whenever I try to remove an item from a collection using the
RemoveAt method, I get a "Index was out of range. Must be non-negati... more >>
Calendar in a DataGrid column
Posted by Mike at 7/12/2004 3:30:32 PM
Hi,
Is there a possibility to have one of the Web Control Datagrid's column =
as a Calendar when editing data? Any resources on this subject?
Thanks
Mike... more >>
Repost: New Session Created on Post Back!
Posted by Paul at 7/12/2004 3:22:06 PM
Tried to post this hours ago, but it still isn't visible. If it's a repeat,
sorry for the inconvenience.
Hello, all ---
Environment: Visual Studio.NET 2003 (C#); Windows 2003 Server; IIS 6.0
Here is the problem I am having. I have created a web custom control in C#
which includes a da... more >>
Please show me some good resources
Posted by chenhuawei at 7/12/2004 3:18:59 PM
i am a new learner ,so i want to download some code examples for
learning.who can show me some good websites.thank you!
... more >>
SQL LIKE query with variable
Posted by Judy Ward at 7/12/2004 3:01:01 PM
I can execute the following in SQL Query Analyzer:
Select productID, productName from Products where productName LIKE '%Spider%'
and get the results I was expecting.
I must be using the wrong syntax when I try to use a variable instead of a hard-coded search string in my ASP.NET code. I am not... more >>
how to download a file ??
Posted by Chris at 7/12/2004 2:55:27 PM
Hi,
in a webpage do I build a treeview displaying the content of a directory and
its subdirectories.
1) Now, when I click on a filename that is listed in the treeview would I
like to
download that file.
how can I do this ?
2) building the treeview takes some time. Is there some ... more >>
Method for persisting all page state not just viewstate.
Posted by ken bus at 7/12/2004 2:39:01 PM
To truly persist the state of a web page for reentry as if one had never left the page, one must save the querystring values, request.form data, and of course the viewstate. I would like to know why Microsoft has not placed this support natively into Asp.Net but instead I must resort to a hack?
Se... more >>
Client-Side Object Reference Quandry
Posted by Fred at 7/12/2004 2:36:37 PM
Please consider the following two if() structures. The first one fails, yet
the second works. Why? FWIW, I got the syntax of the first out of a working
page. I figured moving it to another page would be harmless. What's going on
here? The only major difference between the two pages that I can see... more >>
Passing value from one form to another
Posted by Mike at 7/12/2004 2:36:16 PM
Hi,
I need to pass a value from one Web Form to another. In Form #1 I have =
set up a web control (hyperlink) that in its "Transfer" property =
contains the name of the Web Form to be loaded. How can I read the =
listIndex of a Listbox in Form #1 when the Form#2 is loaded?
Thanks
Mike... more >>
Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine
Posted by Rod at 7/12/2004 1:54:06 PM
I have been working with ASP.NET 1.1 for quite a while now. For some
reason, opening some ASP.NET applications we wrote is producing the
following error message:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'... more >>
BUG? Multiple controls with the same ID
Posted by Bal Ghuman at 7/12/2004 1:53:12 PM
Hi Guys
I've got an ASP.NET application that dynamically creates a navigation table
from an XML file and then Loads a user control according to which link has
been selected. The control overrides the pages functionality using
'TemplateControl.LoadControl' to dynamically load a UserContro... more >>
Geographic Databases
Posted by Scott Schluer at 7/12/2004 1:49:11 PM
Can anyone provide information or links to resources for the following two
questions:
1) I want to build a geographical "drilldown" function for a website, so the
user will first select (from a list of text links) their state, then their
county or other area, then the city they want. Alternati... more >>
Call ASP.NET DLL from ASP 3.0 - Newbie
Posted by mspidc01 NO[at]SPAM hotmail.com at 7/12/2004 1:30:36 PM
Sorry for what is probably (to those who understand .NET better) a
repeat post --- I've searched but not found details that lead me in
the right direction.
We have a Web-based application written in COM+, VB6 and ASP 3.0 with
SQL 2000. We want to migrate the VB COM+ backend component to ASP.NE... more >>
Global Time Setting
Posted by Arvind P Rangan at 7/12/2004 1:19:14 PM
Hi,
I like to know can i display time of other countries when my server doesnot
belong to that server.
E.g. i want to display time of US when my Server is in UK.
Is there any setting we can do at application level.
Kindly let me know.
Urgent.
Thanks
Arvind.
... more >>
XP SP2 and Microsoft.ApplicationBlocks.ExceptionManagement???
Posted by Shawn Anderson at 7/12/2004 12:58:04 PM
Has anyone had issues getting
Microsoft.ApplicationBlocks.ExceptionManagement to work after installing XP
SP2? The problem I am running into is the EventLog.OpenWrite() call fails
no matter what. Even if I have impersonation enabled.
Shawn Anderson
... more >>
Send data to other server
Posted by Angel at 7/12/2004 12:55:12 PM
Hi ,
Is there any way to send a small piece of data to other server.
I want to send just a confirmation for successful authentication to the
server which has redirected a user to our secure login page.
I have been told that for example a cookie can be sent to another server,
or perhaps WebRequ... more >>
Load-Balanced Web Application Issue
Posted by Garrek at 7/12/2004 12:18:57 PM
I have a web application that currently runs on a single server and
need to move to a load-balanced environment. The system receives
content uploaded by users which will have to be shared among all of the
servers; how can I do this?
The OS is Windows 2003 Web Server Edition and upgrading t... more >>
Cannot start .exe from aspx page
Posted by DotNetJunkies User at 7/12/2004 12:00:51 PM
Hi All,
Hope someone can help me out with this problem.
I tried to start a process(notepad.exe) from a web form, but it is not started. Neither the aspnet_wp.exe nor my notepad.exe is shown in the Taskbar.
Here is my code:
private void Button1_Click(object sender, System.EventArg... more >>
Safe to have client-side AND server-side page load event procedures?
Posted by Fred at 7/12/2004 11:38:51 AM
I'm combining the functionality of two existing aspx pages into one new
page.
One of the existing pages has a server-side Page_Load event procedure.
The other has <body onload="Init();"> (and Init() is of course a client-side
function).
Just wondering if it would be a mistake to try to have... more >>
Search Window question in VS 2003.
Posted by Vinayaka at 7/12/2004 11:20:46 AM
Is there any way I can search a string in all the documents(not open
dosument) of a project. I know I can search for a string in all the open
document.
Vin
... more >>
<input type=file , tag.
Posted by Ersin Gençtürk at 7/12/2004 11:15:25 AM
hi ,
I need to customize <input type=file , tag.
I find a way to do that : on the client side by javascript and css first , I
am hiding the fileupload object , then I am calling the click event of
fileupload object.This opens the select files dialog box of file upload and
user will be able ... more >>
Docs? Some Classes Require Administrator Role...
Posted by clintonG at 7/12/2004 10:27:37 AM
Using the process class requires the administrator role. Thus, if I may
presume, there are other classes that require role-based dependencies.
Does anybody know of documentation listing role-dependent classes?
--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Softw... more >>
Exporting to Access using ASP.NET
Posted by cmptrnerd9 NO[at]SPAM yahoo.com at 7/12/2004 10:19:24 AM
Does anyone know how to export a data grid from asp.net into microsoft
access? Thanks.
Michael... more >>
DateTime.ToString
Posted by Andre at 7/12/2004 10:11:34 AM
Hi,
I have a problem with my Date conversion and can't find a way to resolve
it.
Here's my code :
friday= DateTime.Now.AddDays((day - (day * 2 + 2)))
thursday= friday.AddDays(6)
friday= friday.ToString("d-M-yyyy")
thursday= thursday.ToString("d-M-yy... more >>
Add user controls to programmatically specified location
Posted by kiki NO[at]SPAM dyky.co.uk at 7/12/2004 9:34:31 AM
Add user controls to programmatically specified location
I have some data about a control I'm calling from a page. This control
will be load n-th times on the page but only one option will be
displayed at any time. I would like to place these controls in divs
that I can then decide to display ... more >>
Casting to "something that can do a postback"
Posted by helen NO[at]SPAM helephant.com at 7/12/2004 9:24:59 AM
I've written a web control that allows you to hide certain bits of
your page when the specified selectbox has a certain value. It's a
simple enough bit of logic, but I got sick of coding it again and
again in different pages. Now I have a page that needs the same
functionality except with a chec... more >>
vanishing code in InitializeComponent()
Posted by David at 7/12/2004 8:58:48 AM
I am sure this falls under the "beaten to death" category, but I finally got
around to post the question after getting fed up with it.
I know that the code in InitializeCompoent shouldn't be modified by hand.
So I always go through the property window of a control, click on the
appropriate ev... more >>
how to invoke a postback from javascript
Posted by Andy Fish at 7/12/2004 7:36:40 AM
Hi,
I think the title pretty much says it all.
Not sure if I'm missing something obvious here. I can see how the server
side events work with the postback mechanism but I can't see any way of
initiating a postback from some client side script code.
Thanks
Andy
... more >>
URGENT:Open Browser from a aspx page
Posted by Mustafa Rabie at 7/12/2004 3:35:04 AM
Hi All,
I have a web page with 3 imagebuttons, i want to open a Web Browser with a
certain page @ start up when each of these buttons are clicked. How can i
do that?
regards
mustafa
... more >>
Storing custom collection in ViewState
Posted by i_g_i_t_u_r NO[at]SPAM email.com at 7/12/2004 2:50:55 AM
Hi all,
I have a custom collection derived from
System.Collections.Specialized.NameObjectCollectionBase.
NameObjectCollectionBase already implements ISerializable, so it
should be easy to store in the ViewState, right?
I'm, however, unable to do so. I can add the collection object
succe... more >>
Error when I put code into server control!
Posted by Tim::.. at 7/12/2004 12:36:04 AM
Hi can someone please explain to me why I get the following error when I place the following code into a server control. It worked fine until I created the control???
Error: System.NullReferenceException: Object reference not set to an instance of an object.
Line 84: Fi... more >>
|