all groups > asp.net > june 2005 > threads for thursday june 23
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
Web Request Class
Posted by gaurav at 6/23/2005 11:08:03 PM
hi,
How i can directly download my mail inbox. Is there any method in web
request class to download mail box without login.Like i want to
download my yahoo mail box. I found following code to access any URL.
using System;
using System.Net;
using System.IO;
public class Test
{
public... more >>
Image size problem. Image Compression
Posted by Paraki at 6/23/2005 9:19:02 PM
Hi,
How do you compress the image content and display the image using .net
framework classes in an ASP.net application? My target is to set the centre
location where the user clicks on the image and zoom that perticular area of
image. How can I do that?
Thanks in advance.
--
K_... more >>
Can I combine an EditItemTemplate and InsertItemTemplate?
Posted by pjbates at 6/23/2005 9:08:21 PM
Hi,
I've been using the GridView and DetailsView controls for a while, and
I'm beginning to get annoyed by the redundancy of EditItemTemplate and
InsertItemTemplate in many cases.
In the following code, both edit and insert templates are identical. It
would be great if I could define a gene... more >>
Threading in ASP.NET
Posted by walterd at 6/23/2005 8:28:16 PM
Hi
I have searched the net and all multi-threading examples are for Windows
Forms.
I have multiple long running processes, some run for more than four hours.
I start them simultaneously as they can run in parallel. I want to be able
to stop them
when I want to. I create threads for each as I... more >>
MSDE, ASP.NET, Visual Studio .NET, and connectionstrings
Posted by Nathan Sokalski at 6/23/2005 6:45:34 PM
I have Visual Studio .NET and SQL Server Desktop Engine on my computer. I
have created an empty database using Visual Studio .NET's Server Explorer.
However, I am having trouble connecting to the database using ASP.NET. I
think the problem is somewhere in my connection string, but because I do no... more >>
Can't get the updated value on the postback
Posted by Ann at 6/23/2005 6:41:01 PM
Hi
I have html table control runat = 'sever'
I run some client side javacript to insert rows of data into the htmltable,
does anyone know how to get the inserted value on the postback?
I did try to set the control's enableviewstate to true, no luck.
Please help!
Thanks
Ann... more >>
TextBox heights
Posted by tshad at 6/23/2005 5:55:11 PM
Why are the text box heights of the input/file type textbox for uploading
files a smaller height than a normal textbox?
They have the exact same font and the same size font.
But the heights are smaller for the upload textbox for some reason.
I wanted to make them look the same, but can't ... more >>
Response.redirect with a target?
Posted by et at 6/23/2005 5:37:46 PM
How can I do a Response.Redirect using a target=_blank?
Response.Redirect(WebForm2.aspx?cn=12345 Target=_blank) did not work and I'm
not sure what else to try.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
share session state between two application
Posted by CharlieHoo at 6/23/2005 4:47:31 PM
Hello,
How to share session state between two or more ASP.NET applications in the
same server or different ones?
Thanks a lot.
Charlie
... more >>
session advice
Posted by ari at 6/23/2005 4:47:01 PM
hey all,
i'm trying to make my app as stateless as possible. is it ok to create a
dataset and store in viewstate and whenever the user decides to select a from
that dataset, to move from viewstate, to session, and on the details page
back to viewstate. Or does that sound like too much work?... more >>
Datalist spacing
Posted by tshad at 6/23/2005 4:46:39 PM
I have a Datalist that will display 4 columns of data.
I am not using a table format just labels to display a radio button and
label for the radio button.
Is there a way to set a size for the lable so that all the radio buttons
line up on top of each other? Right now they are flush next t... more >>
Password Fields Lose Value During PostBack
Posted by Nathan Sokalski at 6/23/2005 4:25:44 PM
I have a form, and when the form does a PostBack (I have several areas on
the form where the form changes if the user selects a different
RadioButton), the Password field is cleared, even though I have
EnableViewState set to True. None of the other TextBoxes lose their value. I
also tried us... more >>
Physcial Path of Reference
Posted by Al at 6/23/2005 3:15:26 PM
Greetings,
I have several data access class libraries referenced by a web project. I'm
storing the connection string in the data access libraries. I would like an
easier way of moving from my local database server to the production
database than loading every library, changing the connect... more >>
Adding numeric datatype columns' content in a datagrid
Posted by .Net Sports at 6/23/2005 2:31:58 PM
I'm trying to display the total of a list of numbers in a datagrid. The
numbers (dollaramount in sales) will be part of a dataset according to
the date queried. I will display the total in the footer row. What is
the best way to calculate the total of "dollar amount in sales" and
carry that sum... more >>
Dynamic Listbox control in editable datagrid
Posted by JMann101 at 6/23/2005 1:48:07 PM
I am writing a ASP.NET(VB) application and am having some trouble. I
have a datagrid which list users and when an admin clicks "edit" a
defined column becomes visible and a dynamic listbox control is added
to that column/row. When the admin clicks "update" I am unable to
retrieve the values that... more >>
share session in two .net application
Posted by Charlie Hoo at 6/23/2005 1:44:56 PM
Hi,
Anyone know how to share session state across different applications in the same server or different server?
Thanks a lot.
Charlie
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/... more >>
Asynchronous WebRequests?
Posted by Dave at 6/23/2005 1:23:02 PM
I've have several webrequests being called consecutively from an .aspx that
return XML from sources outside the company. When the page runs it can take
anywhere between 30-60 seconds.
I heard about making webrequests asynchronosly and found:
http://samples.gotdotnet.com/quickstart/howto/d... more >>
Updating asp.net DLLs in production webfarm
Posted by Joseph George at 6/23/2005 1:10:18 PM
Hi,
I'm looking for some documentation on how to painlessly update an
asp.net website (DLLs and/or web.config) in a windows 2003 web farm
with minimum impact to the end users. Is this possible at all?
Can I remove each server one by one from the web farm, update it, then
put it back online?... more >>
Control IDs in DataGrid/TemplateColumn
Posted by JV at 6/23/2005 1:03:47 PM
I thought I'd done it all with DataGrids, but I hit a situation I haven't
seen anyone cope with. This might make a great article.
The problem with the template columns in a datagrid is that the actual id of
the controls in the template are not generated until the page is rendered,
which me... more >>
Q: why am I getting this
Posted by JIM.H. at 6/23/2005 12:50:03 PM
Hello,
I know the user I give in the connection string is the database admin, why
am I getting the following message?
Server Error in '/' Application
--------------------------------------------------------------------------------
Access is denied.
Description: An error occurred while ac... more >>
Help - Configuration Error
Posted by Dan at 6/23/2005 12:43:04 PM
Hi everyone,
I have a web application that was built in .net. I received the source
code and the DLL files, compiled the application, and when I run it on
IIS, I get the following error.
Now, I think I know what may be causing the problem. The project
required a DLL called Trinet.DLL, Th... more >>
Laptops for programmers?
Posted by et at 6/23/2005 12:10:04 PM
I need a strong sturdy speedy can-do-it-all laptop that works well for
programmers doing sql & .net. Any advice, suggestions? What to get, what
not to get?
Thanks and I am cross posting on the sqlserver.programming group for sql
programmers.
... more >>
AllowPaging not working
Posted by JackO at 6/23/2005 12:03:01 PM
I have a datagrid that I set the PageSize = 10 and AllowPaging = True,
however when I display the page in my browser, it shows 10 rows and the
paging arrows but does not page when I click the "Next" hyperlink. Does
anyone know of a problem with this feature?... more >>
OT: Network Layout
Posted by Phillip Ian at 6/23/2005 11:51:08 AM
This is a bit off-topic, but I figure at least some of us developing
ASP.NET apps sometimes have to get involved with the network layout we
deploy on, and I'm at a loss as to where to find out more info. I'm a
software guy by trade, but sometimes I have to...push the network guys
a bit.
Basi... more >>
Searching for an object in a component
Posted by YunusEmre at 6/23/2005 11:19:09 AM
Hi,
I have a class named MyDataAdapter that derives from
System.ComponentModel.Component and it contains all of my SqlDataAdapter
objects(around a 100).
How can I find a SqlDataAdapter in the MyDataAdapter instance at run-time by
its name.
e-mre
... more >>
add, delete users to an active directory?
Posted by Luis Esteban Valencia at 6/23/2005 10:53:09 AM
Hello gusys, Is it possible to make my asp.net application add users to the
AD , I also want to be able to delete users, modify their information,
everything through a website.
Thanks for the info
... more >>
Mehrere ASP .NET Projekte in einem virtuellen Verzeichnis?
Posted by Robert Panther at 6/23/2005 10:51:23 AM
Hallo NG,
habe eine Frage zur Verteilung von Anwendungen. Wenn ich eine ASP
..NET-Anwendung auf einem anderen Webserver einspielen will, muss ich dazu
normalerweise ein eigenes virtuelles Verzeichnis für die Anwendung anlegen.
Geht das auch anders? Soll heißen: kann ich mehrer Projekte in e... more >>
HTML not accepted in datagrid update modules
Posted by .Net Sports at 6/23/2005 10:33:33 AM
I'm trying to insert HTML elements (tags like <br> , or even links tags
<a href> etc) into a datagrid module that updates articles in sql
dbase. The actual field "articletext" that contains the content for the
article is configured in the datagrid as such below:
<asp:TemplateColumn headertext=... more >>
Page access rules in web.config
Posted by Steffen Loringer at 6/23/2005 9:33:28 AM
Hi all,
i configured my application <deny users="?"/> but there are two pages
(start & login) that should be accessible for everybody.
How can I realize this?
Thanks for help
Steffen
... more >>
user control loading twice...
Posted by Salvador at 6/23/2005 9:29:05 AM
Hi,
I don't know why but I have a page that has one usercontrol (added
dynamically on the servcer using LoadControl). If I execute the page and puts
a breakpoint on Page_Load of the usercontrol its executes twice, any ideas?
cheers
Salva
... more >>
IIS Question.
Posted by Trisha at 6/23/2005 9:19:01 AM
I can browse a web application from client machines but when I am on the
hosted server, I can not browse the web application when I am on the server
itself.
Please let me know if I should clarify more.
TIA..... more >>
Mater Pages and Cross-page Postbacks.
Posted by Ed at 6/23/2005 8:33:08 AM
I recently added a Master page to my test site. The site was working until I
did this and that stopped my pages from posting forms data to each other.
Any ideas? Thanks in advance..... more >>
book recommendation
Posted by Trisha at 6/23/2005 8:21:06 AM
I am looking for book(s) recommendation on how to design asp.net/c#
application from ground up using sound design pattern techniques and good
object oriented practices. Examples of projects would be great.
TIA..... more >>
ASP.NET 1.1 Delpoyment Questions
Posted by Robert E. Flaherty at 6/23/2005 8:16:25 AM
I have a few deployment questions. The first is under the Build menu
option, there are the following entries: Build Solutions, Rebuild Solutions,
Build <Project Name>, Rebuild <Project Name>, Configuration Manager. Do I
Build the solution or build the project before deploying to a client?
... more >>
Q: Reponse.Redirect
Posted by JIM.H. at 6/23/2005 7:37:06 AM
Hello,
In my login screen I validate user against SQL table and call my main page
with Reponse.Redirect("myPage.aspx"); I see my application comes there but
does not switch to myPage.aspx, I used try catch, I see “Thread was being
aborted†error message, I know myPage.aspx is there becaus... more >>
dynamic upload
Posted by John at 6/23/2005 6:37:04 AM
is it possible to set the filename of an HttpInputFile control from code
someplace? I need to be able to take a file path sent by the user in the
address bar like www.randomeplace.com/xml/default.aspx?xmlFile=*insert path
here* and have it post to the system to i can call a button click even ... more >>
How do I know what to @import?
Posted by COHENMARVIN at 6/23/2005 6:26:28 AM
Suppose I'm writing an ASP.net page with collections, sql server
database connections, etc. How do I know what '@import' directives I
am supposed to use?
Also, is there compilation I am supposed to do with code-behind
classes? If so, how do I know what libraries to link them to when I
compile... more >>
sessionState mode="SQLServer" similar for non-msSQL databases.
Posted by Craig at 6/23/2005 5:57:03 AM
I'm planning on persisting sessionState in a database (not MS SQL). Is
there a way to do this using the web.config file? I see that you can set
the sessionState mode="SQLServer" to persist to a MS SQL database, but can it
be done somehow while using another database? If not, what are som... more >>
how can i get value from a template textbox?
Posted by basulasz at 6/23/2005 3:24:02 AM
I have a datagrid whose colums are created dynamically, and a template column
which includes a textbox in it. I enter a value into textbox, then I want to
get this value, which is entered into textbox.
How can i do that?
Thanks a lot..
--
No Sign... more >>
Newbie: Javascript help
Posted by MikeH at 6/23/2005 1:32:03 AM
What js code is required to automatically submit a page to the server when a
user enters a given character (say "?") into a textbox server control please?
Thank you... more >>
How do I pass an array of varying types to a function?
Posted by Alan Silver at 6/23/2005 12:00:00 AM
Hello,
I'm a bit surprised at the amount of boilerplate code required to do
standard data access in .NET and was looking for a way to improve
matters. In Classic ASP, I used to have a common function that was
included in all pages that took an SQL query and returned a disconnected
records... more >>
ASP.NET 2.0 General Info
Posted by Carl Gilbert at 6/23/2005 12:00:00 AM
Hi
Does anyone know when ASP.NET 2.0 is due for full release?
Also, when will large hosting companies such as 1and1 fully support ASP.NET
2.0 rather than the odd beta server offering 50mb or so?
Regards, Carl Gilbert
... more >>
sharing sessions among JSP and ASP.NET
Posted by qube3 at 6/23/2005 12:00:00 AM
We have applications written by JSP/Servlet and ASP.NET. All our future
development would be based on ASP.NET.
We wants to develop a single user interface so that users would not be aware
that some of the modules they are using are implement by JSP or ASP.NET
(e.g. no need to login both JSP ... more >>
redirect on filename is failing
Posted by news.microsoft.com at 6/23/2005 12:00:00 AM
Hello All,
im am new to ASP.NET, so bare with me.
i have an application that i am building in stages.
stage1 user picks data required
stage2 file is written to a virutal directory
Stage3 the file is then saved by the user to their hard disk
i am currently in stage 3, i am using a httpr... more >>
Retrieve Description/ Meta tags from website as well as remove HTML
Posted by Mark at 6/23/2005 12:00:00 AM
Hi all, does anyone know of a nice utility/ class which will allow me to
retrieve the details of a webpage?
Specifically, I would like to be able to retrive the html and then call a
method which would retrieve: meta tags
Keywords
Description
as well as another method which removes all the HT... more >>
Windows Server Indexing Services and ASP.NET
Posted by Maury at 6/23/2005 12:00:00 AM
Hi,
I would like to know if it's possibile
to interact with Windows Server Indexing Services
from an ASP.NET page.
Thanks
M.A.... more >>
Best Practice Question
Posted by Josh at 6/23/2005 12:00:00 AM
Hi,
We've been having a discussion on best practice here for referenced DLLs but
havn't come to a clear decision.
I recommended that when we reference a third party DLL (such as ItextSharp)
in an ASP.Net project, we create a folder called "Referenced DLLs" in the
project and add the DLLs... more >>
SMTPMAIL
Posted by aslantifosi at 6/23/2005 12:00:00 AM
hi all,
My question is about that i use a smpt server which is running on a
different machine from my webserver machine. And i can authenticate with a
user and password. I use SmtpMail class. i set the smtpserver property. but
how can i authenticate with my user and pass?
for ex:
my user ... more >>
Inheriting Webforms in C#
Posted by Simon at 6/23/2005 12:00:00 AM
Hi,
Just to get started....
I've created a very simple web form, "Simple", using VS and I dropped a
HTML img control on the design view. I referenced a picture and it is
displayed in browser view. Very simple.
I have created a second form and in the code-behind page I have altered the ... more >>
physicalapplication path
Posted by ok at 6/23/2005 12:00:00 AM
Hi,
Is there another way to find the physical application path without using the
HttpRequest object ?
thanks
... more >>
ASP.NET 2.0 ObjectDataSource question
Posted by Kristof Van Praet at 6/23/2005 12:00:00 AM
Hello all,
The ObjectDataSource control uses reflection to create instances of business
components and call the appropriate methods to select, update,... data.
How can I use the ObjectDataSource control if I don't want to allow it to
instantiate the businesscomponents directly but use a Comp... more >>
asp:Table & ViewState
Posted by Neven Klofutar at 6/23/2005 12:00:00 AM
Hi,
I have a problem, and it seems I have an error in my logic ...
First I add a Table control on my webform (EnableViewState is True by
default).
Then I retrive some information vie QueryString (in the !isPostBack part of
the Page_Load event) and use those information (in code behind, in... more >>
|