all groups > asp.net > november 2003 > threads for friday november 14
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
server to server upload
Posted by TJS at 11/14/2003 11:44:01 PM
does asp.net have server to server file transfer (upload) capability ?
... more >>
reading a jpg file and resizing it on the fly ?
Posted by Koen Hoorelbeke at 11/14/2003 9:24:41 PM
Hi there,
I want to read a jpg-file from a url (f.e. =
http://someserverWhichIsNOTLocal/images/test.jpg), get the dimensions, =
resize it, save it to my local disk on the webserver as a gif-image and =
next show it on my own (mobile) pages. (Actually I'm reading some images =
from my normal w... more >>
Using C# script instead of JavaScript problems
Posted by Jeronimo Bertran at 11/14/2003 6:36:33 PM
A couple of questions I am having problems with converting my JavaScript to
C#.
I have the following code using JavaScript for the mouseover handler that
works fine:
<SCRIPT language=JavaScript>
function MyMouseOver()
{
alert("We are there!");
}
</SCRIPT>
<H3>Walk over <A on... more >>
Accessing an Access Database
Posted by Russell Read [MSFT] at 11/14/2003 6:10:54 PM
Hi all,
I am using VB script in ASP to access a MS Access database. This works fine
until I want to access the same db placed on a file share.
The code I am using is...
'create connection object
Set db = Server.CreateObject("ADODB.Connection")
'specify the database provider
db.Provider ... more >>
Interfacing ASP.Net and Delphi
Posted by Jeff Carver at 11/14/2003 6:03:20 PM
I'm trying to integrate ASP.NET pages and Web pages generated with Borland
Delphi. I need to be able to pass data back and forth in a way that doesn't
expose it to the user, which eliminates hidden controls and URL query
strings. My preference, of course, would be to use IIS/ASP Session
variab... more >>
Web.config reading the appSetting
Posted by Maziar Aflatoun at 11/14/2003 6:01:16 PM
Hi everyone,
I'm tring to read the appSettings from my Web.config file in Visual
Studio.Net (Code behind page) and it doesn't recognize
ConfigurationSettings.AppSetting? Yet it works in my .aspx page.
Any idea?
Thank you
Maz
... more >>
SOAP access denied when IIS set to required client certificate
Posted by Bob at 11/14/2003 5:53:44 PM
I'm building a .NET web service which requires client certificate for strong
security. I set IIS to require SSL and client certificate (under site
properties in IIS admin, Directory Security tab, Secure Communication,
Edit... button. then check Require Secure Channel and Require Client
Certific... more >>
how to create mutiple control with same ID
Posted by wpy at 11/14/2003 5:24:58 PM
Hi,
Does anybody know how to create multiple control with same ID or name in
asp.net and request the controls's value in array form? For example the vb
control can have same same but with different index.
Thanks.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DataGrid doubt
Posted by CSharp at 11/14/2003 5:06:51 PM
<tr>
<td><font size="0"><%# DataBinder.Eval(Container.DataItem,
"PostedDate") %></font></td>
</tr>
<tr>
<td align="right"><font size="0"><a href="edit.aspx?blogid=<%#
DataBinder.Eval(Container.DataItem, "BlogID")%>&msgid=<%#
DataBinder.Eval(Container.DataItem, "MessageID")... more >>
Visted Linked Property
Posted by Jim Heavey at 11/14/2003 4:51:13 PM
I want to change the color of the "Visted Link" propery
for the "<asp:LinkButton". How do I do that?
Thanks in advance for your assistance!... more >>
How best to "navigate" (newbie)
Posted by Bill Cohagan at 11/14/2003 4:47:44 PM
I'm a Windows Forms developer, but am trying to get a grip on how things are
done in a web UI (using ASP.Net). So, in a Windows Forms app, I might have a
dialog that displays a listbox populated from the Categories table in
Northwind. Next to that I'd have a button for adding a new category. So,
... more >>
Recursive VB.net function
Posted by Do at 11/14/2003 4:46:38 PM
Hi,
I'm having a small problem with a recursive vb function
The output I'm looking to get is a string that looks like this Folder 1 >
Folder 3 > Folder 5
Folder 5 is a child of 3; and Folder 3 is a child of 1.
They're actually a folder structure put into a database.
FolderID Na... more >>
another server error
Posted by Daniel Rimmelzwaan at 11/14/2003 4:43:10 PM
I got the following server error, does anybody have an idea of what it
means?
Server Error in '/CreateJobFromFile' Application.
----------------------------------------------------------------------------
----
Object reference not set to an instance of an object.
Description: An un... more >>
XML XPath Question
Posted by Mark Fox at 11/14/2003 4:36:49 PM
Hello,
I have some XML loaded into an XmlDocument and
attempting to figure out how to access certain nodes. I
assume I should use XPath, but I am having trouble
getting the XPath syntax correct. Where might I be going
wrong? Any help would be appreciated!
XML:
<Reason>
... more >>
asp:DropDownList problem
Posted by Maziar Aflatoun at 11/14/2003 4:19:40 PM
Hi everyone,
I am trying to select an item in my DropDownList (Everything on 1 .aspx
page) and it gives me the following error message. Has anyone encountered
this problem before? or any idea how I can resolve it? (In this case I want
to select the Canada from the country list)
SqlDataAdap... more >>
Avanade Interview? If Offtopic please ignore
Posted by anonymous at 11/14/2003 3:57:38 PM
Hi I was wondering if anybody through avanade interiview recently.
I am not looking for a cheet sheet but for a better understanding of the
technical depth they pick on.
I know this is not exactly the forum for this kind of questions but nothing
more closer I could find.
... more >>
Data Binding Advice Needed - Please Help
Posted by PCC at 11/14/2003 3:33:55 PM
I am writing an ASP.NET web application and I control all the tiers. I need
to return all results from the Web Service mid-tier as XML so other people
can use our business objects in the future if they so desire.
My dilemma is this:
You know how you can use complex data binding in V... more >>
god damn ViewState.
Posted by Lukasz Lacki at 11/14/2003 3:28:54 PM
i want to disable ViewState in dynamicly created control (in code).
below, sample code that DOESN'T work (but should in my opinion).
placeHolder is an control created in editor and placed on form.
public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.PlaceHolder ... more >>
What would you do...Application Obj or constant SQL drills
Posted by D. Shane Fowlkes at 11/14/2003 3:05:30 PM
I developed and manage an intranet for a small, govt agency. The way it is
set up now is that there is a Function on each and every page that will
capture the NT Log On User ID (b/c they had to log into the Windows network
to even access the intranet) and query against a SQL Server table called
... more >>
Converting to ASP.Net?
Posted by Rick Lemons at 11/14/2003 2:54:27 PM
Excuse my ignorance, but I don't understand the Inherits= parameter that
gets stuffed into the @Page directive. I have several old asp sites that I
maintain using Visual Interdev 6.0. I want to start using Visual Studio.Net.
When I open a new project in Visual Studio.Net pointing to the existing ... more >>
UserControl question
Posted by Shawn at 11/14/2003 2:42:56 PM
Hi.
When I create a new UserControl in Visual Studio it automatically declares
it as "MustInherit". In order for me to call a method in my UserControl I
have to remove the "MustInherit" part. Am I facing any "consequences" by
removing it? Are you not suppose to be able to call a method in a
Use... more >>
Newbie Question about database access.
Posted by Gordon at 11/14/2003 2:07:57 PM
Why do I get this message when I try to connect to a SQL
database running on a local machine. The server is up and
running. I am using MSDE on this computer and attempting
to access the practice database, Northwind. The only
thing that I have tried is to grant permission to access
the data... more >>
Javascript function works but C# function doesn't execute
Posted by Jim Hammond at 11/14/2003 2:02:26 PM
The script function in the code below works fine when it is JavaScript, but
when I try to use C#, the function doesn't get executed.
<body MS_POSITIONING="GridLayout">
<form id="Form1" name="Form1" method="post"
encType="multipart/form-data" runat="server" VIEWASTEXT>
<asp:button id="... more >>
Page Templates
Posted by Iyigun Cevik at 11/14/2003 2:01:08 PM
In my website, all of my pages have similar construction, for example
background color, header part, a menu, and a general table which all
contents're sitting in. I want to use these in several pages in my
application. For menu and header i can make server controls. But for
backgroud color of pa... more >>
DateTime.ToShortTimeString
Posted by Doug Swanson at 11/14/2003 1:40:23 PM
I have some questions about datetime formatting....In our web app I have the
following in the web.config
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
culture="en-US"
uiCulture="en-US"
Based on 3:00 pm time
Now whenever I use DateTime.toShortTimeString I ... more >>
same web page behaves differently on servers
Posted by Do at 11/14/2003 1:33:26 PM
Hi,
Has anyone every had two NET Framework 1.1 Servers that both run the same
web application, but the behavior of the forms is different?
My form validation behaves differently on two servers, and they have the
exact same
version of my ASP.net web form.
Anyone?
Do
... more >>
how to reuse instance of embedded object?
Posted by Jim Hammond at 11/14/2003 1:23:27 PM
The embedded object gets instantiated once when the page is first loaded and
then again every time the button is pressed. The user stays on this page
after pressing the button because it is not a navigation button, so I need
to reuse the same instance, but how can this be done?
<body MS_POSITI... more >>
Credit card processing
Posted by Ray at 11/14/2003 1:01:37 PM
Hi all,
Would anyone name a company/ies that processes credit
cards on the net? I've created a .net shopping cart
application that needs a component to finalize items
purchasing via credit card.
Tia,
Ray... more >>
How to close child browser while parent close?
Posted by Denon at 11/14/2003 12:47:38 PM
How to close child browser while parent close?
Is there any sample javascript? Targeted browser is IE only
Thanks for any advice!
Den
... more >>
Null handling from a database query
Posted by Dan at 11/14/2003 12:31:17 PM
I have created a class with a method that reads from a SQL
database in order to populate members within that class. I
am using the SQLParameter class to process the parameters
resulting from the called stored procedure. Some of the
columns in the database allow nulls.
Here are a couple o... more >>
A Bug in asp.net on win2000 advance server
Posted by hassan cheraghali at 11/14/2003 12:29:54 PM
Hi
I have a proble in use asp.net web applicatin on win2000
server
When i install a web app in iis5 on this server i can not
brows the web.
The first page is show without asp.net object
Best... more >>
ADSI - User A/c Info Question
Posted by shiv at 11/14/2003 12:13:44 PM
Hi all
I need to to know whether a User Account is Enabled or
Disabled through ADSI. Kindly share a code snippet in c#
which can do the same.
I would also want to see the Properties of the User in
order to check the password policy,expiry date etc. whats
the best way to do that?
th... more >>
Setting a project for multiple users
Posted by cade at 11/14/2003 12:12:27 PM
Does anyone know an article or how to setup a project so that more than one
person can work on it at a time? We have a network of computers at work and
me and another guy are the programmers. We usually work on our own machines
and do our individual projects. Now we would like to setup a project ... more >>
Messed Up Web.Config Authorization - Help!
Posted by poi at 11/14/2003 12:11:13 PM
I have a Win2K and Win2K web servers with Local Groups that contain
domain users and domain groups from a foreign trusted domain.
In the web config for the application, the web.config has this:
<identity impersonate="true"/>
<authentication mode="Windows"/>
<authorization>
... more >>
Repeater Control Binding question
Posted by Donald Williamson at 11/14/2003 12:08:01 PM
I have a DataReader that I am binding to a Repeater control. In the
DataReader, I have two fields: 'Name1' and 'Name2'
'Name1' will always have a person's name. Name2 periodically has a person's
name. So the question is if there is a value in 'Name2', I want to display
only that name. Other... more >>
Enumerate Roles?
Posted by poi at 11/14/2003 12:01:38 PM
What is a good way to enumerate all roles that a current ASP.NET user
currently has?
Using Windows Authentication, not Forms Auth.
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Handling SQL DB null values : Integer, Date etc...
Posted by dkode NO[at]SPAM cfl.rr.com at 11/14/2003 11:39:46 AM
I find myself writing repetitive functions for handling null values
from my DB like so:
Private Function SetDateNull(ByVal p_date As Object) As Date
If (TypeOf (p_date) Is System.DBNull) Then
p_date = Date.MinValue
End If
Return p... more >>
File in use error
Posted by Lee Swanson at 11/14/2003 11:39:25 AM
Hi,
I have a fairly large visual studio.net solution made up of about 8
projects. I needed to update a usercontrol in one of these projects, but
when I tried to open it I got the error 'The process cannot access the file
because it is being used by another process.". This error also stopped me... more >>
Styles problem
Posted by acko bogicevic at 11/14/2003 11:22:05 AM
Hi
i have a page that reference .css file
<link ... href="myCss.css">
In myCss file i have one settings for links.
I also have a userControl that has a few links.
When i put this control on page all links from userControl get settings
from page.
I would like links on userControl to have th... more >>
datagrid with no rows
Posted by kgs at 11/14/2003 11:21:14 AM
I get argument out of range exception when my datasource
does not have any rows to display in datagrid.
what should i do to display header only
without any rows. Right now if there are no rows i get a
blank area of datagrid. no header no footers.
here is the snippet of code.
Try
myda... more >>
Webservice and MDB Recordset HELP Loosing Sleep Over this One !!!
Posted by Meir Rotfleisch at 11/14/2003 11:12:44 AM
Hi
I am attempting to create a webservice to that would return a Recordset from
the MDB. All attempts get me Server Error 500. The code is below..
Hope someone can explain to me what I am doing wrong.. It must be something
small and annoying.. LOL..
<WebMethod()> Public Function getchavil... more >>
Viewstate error
Posted by Thiago Temple at 11/14/2003 10:57:40 AM
I have a site that is is a web farm with 2 servers using road robin load
balance...
Sometimes when I submit a form the following error shows up.
Does anyone know what to do?? I'm using the Framework 1.1
Thanks
Thiago
Server Error in '/' Application.
-------------------------------------... more >>
Repost:hyperlink
Posted by ashoo at 11/14/2003 10:43:15 AM
Guys!
I am trying to use a dropdownlist click event in my header
page to link to my main page in a frameset type of form.
I try to link to my main page with a hyperlink control.It
works fine. But I would like to use the click event of my
dropdownlist to do the samething. so I thought if co... more >>
error message help needed
Posted by TJS at 11/14/2003 10:27:08 AM
how to resolve this ?
error msg:
=================
"System.Data.SqlClient.SqlException: Distributed transaction completed.
Either enlist this session in a new transaction or the NULL transaction."
code:
===========
....
myConnection.Open()
Dim tran As SqlTransaction = myConnection.Beg... more >>
Asynchronous requests vs. multithreading
Posted by BoomWackaBoom at 11/14/2003 10:18:37 AM
<Newbie disclaimer>
I'm building an ASP.NET/VB port scanner that needs to perform several
"pings" simultaneously on various ports, etc... Obviously, I don't
want this to execute serially, since that would take forever. Is this
something that is best done with multithreading (i.e. thread pooli... more >>
3rd REPOST! Solutions Only Please
Posted by AC at 11/14/2003 9:53:26 AM
Trying to get anchor names to work - a simple html
concept - why so difficult?
original post:
> Ok, I know in html to jump to different parts of the same
> page you simply use anchor name tags. You place the
> naming of a section (i.e. <a name="spot1"></a>) in the
> html at the spot you w... more >>
Everyone
Posted by Everyone at 11/14/2003 9:45:01 AM
There seems to be a lot of answering of questions with
answers that really don't solve the problem the postee is
looking for or is just someone's 2 cents.
Please, only answer questions if you have a solution -
mentioning alternative methods is fine but only after the
question has been ans... more >>
Repost: Hyperlink
Posted by ashoo at 11/14/2003 9:08:24 AM
How do I trigger the click event of a hyperlink at run
time?
Thanks ... more >>
DataGrid Edit
Posted by Jim Heavey at 11/14/2003 8:59:51 AM
Hello, I am trying to learn who to do edits inf the
datagrid.
When I press the "edit" button, I create a dummy row in
my datatable with default values, set the EditItemIndex
to the index of the row just added. When the row is
displayed, none of my default values show up in the data
row... more >>
repost: Anchor Names in ASP
Posted by AC at 11/14/2003 8:44:40 AM
Trying to get anchor names to work - a simple html
concept - why so difficult?
original post:
> Ok, I know in html to jump to different parts of the same
> page you simply use anchor name tags. You place the
> naming of a section (i.e. <a name="spot1"></a>) in the
> html at the spot you w... more >>
Hyperlink
Posted by ashoo at 11/14/2003 8:26:25 AM
Can I execute an hyperlink at runtime. If so, How?
Thanks ... more >>
where did they come from?
Posted by ska4reak at 11/14/2003 8:14:44 AM
Hi..is there a way to tell where users came from in a
particular page in asp.net? how do i know what page(web
form, within my site) are they coming from without
abusing querystrings? i would greatly appreciate any help.... more >>
How to capture individual Request
Posted by FD at 11/14/2003 7:43:55 AM
For performance reason, the follwoing code (C#) to capture
all the Request collection contexts is NOT recommended:
string ID = Request.QueryString["ID"];
But how to Capture the individual Request properties
needed in the application?
Thanks,
FD
... more >>
Anchor Names in ASP
Posted by AC at 11/14/2003 6:47:32 AM
Ok, I know in html to jump to different parts of the same
page you simply use anchor name tags. You place the
naming of a section (i.e. <a name="spot1"></a>) in the
html at the spot you want to name.
Well, in asp, .net places the html code in no particular
order using absolute positionin... more >>
HyperLink web server control styles
Posted by acko bogicevic at 11/14/2003 6:24:05 AM
Hi
How can i make my styles work on HyperLink web server control.
I want it to be some color when the mouse is over it...
Thanks.
Alex
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Datagrid FindControl in Footer
Posted by Dave at 11/14/2003 4:14:56 AM
Hi all,
Does anyone know how to find a control in a DataGrid
Footer by using DataGrid.FindControl etc?
... more >>
how to get dotted underline on web page
Posted by Jag at 11/14/2003 3:17:50 AM
I have some dynamic information(from database)..which may
cross multiple lines....that entire matter has to be
dotted underlined and should also be able to print on
printer exactly in the form of WYSIWYG..desperate urgent...
... more >>
Dynamic Controls and View State
Posted by sunil NO[at]SPAM itb-india.com at 11/14/2003 2:30:29 AM
Dear All,
We all always have a problem dynamic controls and
ViewState...Suppose we want to create dynamic Controls on Load of the
page and Save its value in the ViewState and get them back, will it be
asking for too much...I guess no...:-)
I have found a solution that I want to share in thi... more >>
Another enum question
Posted by Mark Fox at 11/14/2003 12:57:34 AM
Hello,
I have a simple question. If there is an enum:
public enum Hello
{
First = 1,
Second = 2,
Third = 3
}
How would I parse an integer value to select an enum:
int valueToSelect = 2;
Hello thisHello = [??Enum.Parse(typeof(Hello),
valueToSelect)??];
Any help would be ap... more >>
|