all groups > asp.net > october 2004 > threads for friday october 22
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
Init Control when dropped on form??
Posted by A Traveler at 10/22/2004 11:49:50 PM
Hello all,
I have a control i wrote which inherits from asp:label. It worked fine. It
extends asp:label with a "For" property which implements the "for" attribute
of an html label tag (yes i know the latest framework vers. added this, but
i want ot get mine right as a learning exp.).
I a... more >>
anybody got some files about Orthogonal Experiment??
Posted by CrazyCube at 10/22/2004 10:10:33 PM
does any body got some files about Orthogonal Experiment??
i really need it now ,if anybody got ,please send them to me
my mailbox is : yuxh312@hotmail.com
... more >>
deleting Temporary ASP.NET Files
Posted by Karim Virani at 10/22/2004 9:52:08 PM
Is it ok to delete the contents of the framework's Temporary ASP.NET Files
folder? I have a 3rd party ASP.NET assembly that's not working and the
support folks told me to do this while IIS was stopped before reinstalling
the assembly.
Thanks!
... more >>
How get Request.Querystring from IFrame page
Posted by VB Programmer at 10/22/2004 9:12:30 PM
I have an ASPX page that is used for content. I have a master page which
sticks the page in an IFrame.
Question: From the content/ASPX page, I can't seem to reference
request.querystring. Any way around this? I need to read it.
Thanks!
... more >>
[2.0?] error management
Posted by Lloyd Dupont at 10/22/2004 8:54:56 PM
I try to manage error in my application, I have set customErrors=On in the
web config and redirect them to a custom web (.aspx) page of mine.
unfortunately in case of error, for some reason, when I reach error.aspx
Server.GetLastError() return null.
I decided to use the error event in Glob... more >>
Mailto in Code behind
Posted by google NO[at]SPAM joriz.is-a-geek.net at 10/22/2004 7:15:15 PM
I have an image button that when click executes this
Private Sub btnContact_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles btnContact.Click
Response.Redirect("mailto:" & lnkContactEmail.Text)
End Sub
I know this is not the way to ... more >>
ASP.NET Question
Posted by KA Kueh at 10/22/2004 5:56:02 PM
Dear all,
I have a simple application that does not work on three of four machine.
The same code works on one and the way the we setup it up is just to copy
the whole directory from release to the target. What I want to know if how
do I trace and fix the problem?, FYI, all machine runs Wi... more >>
webserver on me en xp
Posted by peter at 10/22/2004 5:51:50 PM
I got Visual Studio . NET on cd.
I have Windows ME os and another pc with XP home edition os
Now I want to create web applications with VS.NET at home on one of the two
systems. But on ME u cant use VS.NET and on XP home there is no webserver
available :S
Has somebody a solution? that I also ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
posting without having old page in history
Posted by tshad at 10/22/2004 5:24:15 PM
I want to be able allow our users to push buttons to show and hide hidden
grids on my page.
The problem is that each one of these pages gets put into the history.
There is no need to go back, as the can just redisplay a grid by pushing a
button. Also, they could push a button (or many butt... more >>
JavaScript and Windows 2003 (IIS 6.0)
Posted by Gawel at 10/22/2004 5:10:14 PM
Hajo,
from time to time I need to run "aspnet_regiis.exe -i" because
javascript does not work. It is strange because it happens
about twice per month. I have no idea what is going on.
thanks in advance for any info
gawel... more >>
DataGrid - Hiding a Column - Not Working
Posted by David Freeman at 10/22/2004 5:07:22 PM
Hi There!
Below is my VB.NET code...
Dim strSQL As String
strSQL = "SELECT [Name],[Priority] FROM Customers GROUP BY [Country],
[Priority], [Name]"
Dim oleConn As OleDbConnection = Nothing
Dim oleAdapter As OleDbDataAdapter = Nothing
Dim objDataSet As DataS... more >>
calling C# class from VB.NET ASP.NET web app?
Posted by Andy G at 10/22/2004 4:43:22 PM
Is it possible to call a C# class from a ASP.NET application using VB.NET?
I had to create a class in C# (Creating a DPAPI Library) and now am having
trouble calling the class in my project.
... more >>
Detecting when the user moves away from two particular pages
Posted by Simon Harvey at 10/22/2004 4:24:12 PM
Hi everyone,
I'm having a frustrating problem and I don't know how to fix it without
totally redoing a very complicated couple of pages on my site. I really hope
some kind soul can help me :-)
Its a very simple situation:
I have 1 page that serves to create and update users and another ... more >>
Role-based security
Posted by Scott Natwick at 10/22/2004 4:20:46 PM
I would like to setup role-based security for my forms, however I'm having
trouble working through an example I found.
The example suggests creating a subdirectory for each role. I haven't been
able to find a way to create pages in subdirectories in VS.
Can this be done? Or can anyone su... more >>
SSL on single page within ASP.NET application?
Posted by Ben Fidge at 10/22/2004 4:09:20 PM
Is is possible to make just a single page within an ASP.NET application use
SSL?
I've written an e-commerce application and want to make just the checkout
page use SSL for secure transmission.
If it's not possible to do this, and I have to put the checkout page in it's
own application, w... more >>
Fax / Email a Crystal Report
Posted by vndaxanh NO[at]SPAM yahoo.com at 10/22/2004 3:39:31 PM
I'm writing an ASPX page to automate faxing of a report by exporting a
report to a PDF format and Microsoft Mail destination where I inserted
a fax number instead of an email address. This works fine if I test
it in a VB.Net windows app. But when I run it in ASPX it keeps giving
me this error:... more >>
Best Way Html Formatted Email
Posted by Leon at 10/22/2004 3:21:46 PM
What's the best way to send html formatted email (newsletter style)?
In Code or In Web Config files? I'm thinking in code using StringWriter and
HtmlTextWriter?
... more >>
webcomponent contra javaapplet
Posted by Henrik H at 10/22/2004 3:15:01 PM
Hi all,,
Are there anyone who can tell me the advantage/disadvange of using a
webcontol insted of a javaapplet??
Wich of the 2 component run's fastest??
What is else the diffrerens of the 2 components???
-Or is there a other way to get data in realtime from a database??
Thanks
... more >>
Usercontrol events not fired, ProcessPostData Second Try present in trace
Posted by Steven at 10/22/2004 2:53:50 PM
Hi all,
I have been having an odd problem that I've been trying to track down for a
few days, and I'm coming up short.
I have a user control that encapsulates search functionality for a set of
pages in a website. It has a textbox and a button, and all it needs to do
is redirect to searc... more >>
Capture Page's URL
Posted by Tyler P at 10/22/2004 2:52:58 PM
I'm creating a feedback footer for my pages that basically asks how useful
the page is, how easy it is to find, etc.
I want to store the results in my database along with the page's URL so I
know which page each data entry is refering to.
Granted, I'm sure there is another solution such as... more >>
Each time I do a postback, another copy of a control is added to the page!
Posted by Simon Harvey at 10/22/2004 2:40:34 PM
Hi everyone,
I'm having a really weird problem with one of my pages. Whenever I hit the
submit button, it reloads the page but another side menu control appears
underneath the original one. This will occur as many times as I hit the
submit button. The thing that I don't understand is that I... more >>
Getting "To Render" HTML from WebControl into String
Posted by Earl Teigrob at 10/22/2004 2:19:01 PM
After I have instanced a webcontrol (in code) and set its properties, I would
like to get the html that it would render to the display. Can this be done.
How???
Earl ... more >>
Strange exeption when connecting to WebService
Posted by Ricky K. Rasmussen at 10/22/2004 2:11:33 PM
Hi NG,
When connecting to a local WebService one of our customers gets a very
strange exception:
"File or assembly name gaw9eaqv.dll, or one of its dependencies, was not
found."
The strange part is that the name of the assembly can vary, and has nothing
to do with the names of the assemb... more >>
Streaming javascript and XP Service Pack 2
Posted by Casper Hornstrup at 10/22/2004 1:19:32 PM
I have an ASP.NET application that imports product descriptions from an
Excel file. The Excel file is uploaded, then a background thread will start
importing the product descriptions from the Excel file. When the Excel file
is uploaded, the user's browser is redirected (using Response.Redirect) t... more >>
How to pop up a textedit box after selecing a dropdown item
Posted by Merdaad at 10/22/2004 1:15:04 PM
Hi,
In my dropdown, there is one selection which if chosen will require the user
to type in a new value that I'dd like to ultimately add to the dropdown.
How do I pop up a little dialog box with a text field to type data in.
Thanks for any suggestions...
..... more >>
deriving from textbox control
Posted by Lisa Calla at 10/22/2004 12:49:38 PM
Hi,
I'm trying to control the foreground and background colors of a textbox. I
hate that light gray foreground when the textbox.enabled=false. I've tried
to derive a control from the textbox, but I get the following error when
trying to run a page with the control on it. wc is the name of ... more >>
ClientID in Repeater gives the Control ID
Posted by Vincent Mouton at 10/22/2004 12:48:10 PM
Hi,
I have never before encountered this problem. I'm trying to retreive the
(unique) ClientID from a TextBox inside an ItemTemplate of a Repeater.
The purpose is to add it to a Button in that same ItemTemplate for
validation purposes.
The ClientID returns the Control's ID, not the gener... more >>
Writing to the EventLog
Posted by MattC at 10/22/2004 12:32:01 PM
I have some code that correctly writes to the eventlog on my local machine.
I have installed the application on the Live server and all is not well, no
event log entries.
My development box config is as follows:
Windows XP Pro running IIS 5.1
Web app using integrated auth using a local user... more >>
Javascript listbox item manipulation, and codebehind
Posted by quanga NO[at]SPAM yahoo.com at 10/22/2004 12:25:28 PM
Hello,
I have a page with:
* two side-by-side asp:listboxes and two arrow asp:buttons allowing
users to add/remove email addresses between them -- very much like
Outlook, where you have the address book on the left, and you build
the message recipients on the right.
* an asp:button that, w... more >>
ASP.NET user's locale question
Posted by Jon Wang at 10/22/2004 11:49:36 AM
where do you store the information about the user's locale?
I got the answer online saying that it's System.UI.Page.Culture. But I
think it should be Thread.CurrentThread.CurrentCulture and
Thread.CurrentThread.CurrentUICulture. Could you please let me know which
answer is right?
... more >>
Saving attachments from emails
Posted by nottm NO[at]SPAM hotmail.com at 10/22/2004 11:27:22 AM
I dont have Jmail v4 due to ISP limitations. Is there any other way I
can decode an email to save the attachments? I can do the first part
of saving the emails using Perl. Is it possible to use any part of
ASP.NET to then decode those saved emails to extract the attachment?
Its proving very chal... more >>
FormsAuthentication.RedirectFromLoginPage alternative?
Posted by Ben Fidge at 10/22/2004 11:23:20 AM
Is FormsAuthentication.RedirectFromLoginPage the only way to populate the
HttpContext.Current.User.Identity.Name property?
A base class for each page contains the follwoing property:
public int CustomerID {
get {
try {
if (HttpContext.Current.User.Identity.Name != ... more >>
Dynamic compilation errors
Posted by Steve at 10/22/2004 11:16:05 AM
Hi
I'm receiving the following error whenever a new build is placed onto our
production server:
Timed out waiting for a program to execute. The command being executed was
"c:\winnt\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Fil... more >>
Cant run ASP.NET Web Application
Posted by wayne calvert at 10/22/2004 10:47:25 AM
hello all
I hope you can help with running web applications in VB.NET. I have just
started working with 'Visual Basic .NET Black Book'. I am at page 12 have
created the web application 'WebHello'. If I try running it as suggested in
the book (debug/PF5) it builds ok but I then get a msg saying... more >>
Filter output by using a HttpModule
Posted by Thomas at 10/22/2004 10:36:29 AM
I want to be able to implement a filter that manipulates the output from the
server... Maybe replacing some words, or highlighting a search string, or
some other fancy feature...
I want to make this code reusable to all my applications, and by making this
as a HttpModule I can implement this f... more >>
Breaking URL character combinations
Posted by GrantMagic at 10/22/2004 10:28:17 AM
I have found that some strange combinations of characters in a URL can cause
an error in my ASP.NET application.
This is regarding URL Paramters
For example:
if i have the URL:
http://www.mysite.com/home.aspx?param=123
my page loads fine
But the URL:
http:/... more >>
How to Log Errors for New Ap?
Posted by Jim Bayers at 10/22/2004 10:14:15 AM
I've got a reservation form for students that I'm about to put online. How
can I log errors? If there is an error, many times the student won't
report it or if they do, they leave out the important information like the
page the error occured on or the error message.
Can asp.net log the er... more >>
Authentication question
Posted by Nikolay Petrov at 10/22/2004 9:36:26 AM
Can I authenticate users of my ASP .NET apps, using their windows
credentials, but using a SQL db.
Let me explain a little more.
I have an Windows XP station where i run my ASP .NET apps. I wish users to
authenticate them using their current windows usernames and passwords.
I have stored my u... more >>
Give text box focus
Posted by Andy G at 10/22/2004 9:21:14 AM
I have a login in screen with a username text box. How can I give focus to
that box when the screen is loaded? I have the following code entered
already but am not getting a scripting error but also am not getting the
blinking cursor in the box when loaded.
<script lanuage= jscript for="BRM\... more >>
Page load question
Posted by Goober at 10/22/2004 9:13:36 AM
I have a page that receives a session variable from the default.aspx.
On Page load, the code in Page load gets executed twice. So far, no
problem. It sets the session variable each time, correctly.
However, when I click on a menu item in that page, it then executes the
same page load twic... more >>
Problem running VB ASP.NET Web App
Posted by Wayne Calvert at 10/22/2004 9:09:03 AM
Hello All
I hope you can help with running web applications in VB.NET. I have just
started working with ‘Visual Basic .NET Black Book’. I am at page 12 have
created the web application ‘WebHello’. If I try running it as suggested in
the book (debug/PF5) it builds ok but I then get a... more >>
Cant run ASP.NET Web Application
Posted by Wayne at 10/22/2004 9:05:05 AM
Hello all
I hope you can help with running web applications in VB.NET.
I have just started working with ‘Visual Basic .NET Black Book’. I am at
page 12 have created the web application ‘WebHello’. If I try running it as
suggested in the book (debug/PF5) it builds ok but I then get... more >>
IIS6 Web Site deployment
Posted by Pete Griffiths` at 10/22/2004 9:00:45 AM
Hi,
I have been working on an asp.net (1.1) app - developing against a virtual
folder in "personal web server". I have successfully deployed it to an IIS6
virtual folder, but when I try and deploy to a web site in IIS6, I get "The
page cannot be displayed" errors. Any ideas? And - am I correct... more >>
Concatenating fields that may contain NULL
Posted by Craig at 10/22/2004 8:51:24 AM
I am connecting to an Access DB using ODBC.
In my SQL statement I have Field1 + ' ' + Field2 and a field is NULL it
returns NULL
1 field may contain NULLs
So NULL + "Text" = NULL
How can I make NULL + "Text" = "Text" and treat NULL as empty string or ""?
... more >>
Drag Drop Grid
Posted by Demetri at 10/22/2004 8:19:03 AM
If one were to develop a web server control (web control library), which
enhances the datagrid by implementing a class that inherits from the DataGrid
class, and give it drag and drop capability.
In other words a re-usable server control that is a datagrid only it allows
a user to drag it ... more >>
Altenative of PHP Function "Unset" in ASP
Posted by fasanay NO[at]SPAM yahoo.com at 10/22/2004 8:17:21 AM
Hi everybody I have got the following PHP code which I am trying to convert to
ASP any help will be appreciated...I have done most of it but I cant find a
replace function for Unset in asp which will discard the variable alltogether...
if ($categoryid == "all")
{
$sql = "SELECT * FROM ... more >>
How to retrieve images from sql server?
Posted by Luis Esteban Valencia at 10/22/2004 8:13:10 AM
How to retrieve images from sql server?
--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 2.
MIEMBRO ACTIVO DE ALIANZADEV
... more >>
Working with controls inside of a Server table.
Posted by j_s_kelley NO[at]SPAM yahoo.com at 10/22/2004 8:03:21 AM
I have a control inside of an asp:Table control. Once I place it in
there, I can't seem to edit it any more (Double click to add events,
drag to reposition, etc...). If I use an HTML table, no problem. Is
there any way around this. I have tried grid layout as well as flow
layout. Sample of ... more >>
Design questions: VB6 COM with ASP.NET
Posted by adamsst1 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 10/22/2004 7:55:11 AM
I recently undertook a project to convert a visual basic 6 application
to an online asp.net application. The business logic of the visual
basic 6 program was written into a DLL. Where the problem arises is
the DLL in created in vb6 needs persist in memory as one object, just
like it would be use... more >>
IFrame Page_Load multiple time
Posted by yurps NO[at]SPAM yahoo.co.uk at 10/22/2004 7:47:51 AM
Hello
I have a default.aspx page with which has an iframe.
In the code-behind of the default.aspx page it loads the 'src'
attribute of the iframe.
The iframe loads another aspx page, but when it loads the Page_Load
method is called multiple times. In some situations the page is
called t... more >>
new to collections
Posted by rodchar at 10/22/2004 7:25:04 AM
hey all,
i was checking out time tracker on asp.net one of the starter kit projects.
i was wondering why the users datagrid gets loaded the way does. first it
pulls all the users in from a stored procedure into a dataset. next in the
code it iterates row by row instantiating a new user obje... more >>
problem outputting GIF file when loaded into Bitmap object
Posted by Stimp at 10/22/2004 7:11:22 AM
Hi,
I output a GIF file, loaded into a Bitmap, as follows:
Dim imgMap As New
Bitmap(System.Drawing.Image.FromFile(Server.MapPath("original.gif")))
Response.ContentType = "image/gif"
imgMap.Save(Response.OutputStream,
System.Drawing.Imaging.ImageFormat.Gif)
I normally do some additio... more >>
Request processing
Posted by kat at 10/22/2004 6:57:02 AM
Hi,
I am pretty new to understanding how distributed applications work, and I
just want to understand the flow of a single request. When a request is made
that requires information from n-tiers, does the website pause to wait for it
to go to all the tiers? So if a request had to make mult... more >>
Authentication
Posted by I am Sam at 10/22/2004 6:45:02 AM
Can someone tell me what is wrong with this code? When I test it it does
nothing but return to the log in page. As far as I can see the web.config is
working fine and the authentication element is without any problem. I
think it could be a problem with the cookie ticket but I don't know h... more >>
Form Validation
Posted by Vi at 10/22/2004 6:31:04 AM
Hi,
I have a form which displays some orders based on dates selected or based on
an order number. I have two different buttons for each kind of query, but
both buttons call the same method in the code behind page.
I'm validating the dates and if they're not ok, I set args.IsValid=false;
In th... more >>
Database Table Verses DropDownList
Posted by Leon at 10/22/2004 5:11:31 AM
What is the best way to store small sets of look-up data for my web
application in the database (sql2000) or in a dropdownlist control in my web
form?
Or is it a question of how much data I want to type over and over again.
Example:
TableName - YearMonths
MonthID (1... more >>
coolness of repeater - with paging?
Posted by Dan Nash at 10/22/2004 5:11:05 AM
Hi guys
Just developing a cool list that pulls data from an SQL database. I've got a
nice header, a footer, borders down the side, but no top/bottom borders for
the rows, and onmouseover / onmouseout commands to "rollover" the rows.
Looks great - then I've realised I can't page it. Grr!! I... more >>
encrypt string (c#)
Posted by Peter at 10/22/2004 3:41:11 AM
Hello!
Is there a possibility in C# to encrypt and decrypt strings? I have a string
which is passed to and ASP.NET webform as querystring. I would like to pass
that string as encrypted so that users could not see it's content. When the
string is passed to the webform it must be decrypted th... more >>
DataGrid ItemCommand???
Posted by Syed Sami R. Shah at 10/22/2004 3:03:01 AM
hi all,
i am having problem with using itemcommand of datagrid by way of asp:image
button.
i have put an image button in a datagrid item template and have set
CommandName="DeleteRecord" and have coded a switch to handle the event.
I have done this vb.net and it works fine..put in c# i can not... more >>
Listing files on network share
Posted by medvitz at 10/22/2004 2:58:05 AM
I'm writing an ASP.NET application that requires that a list of files from
a network shre be displayed on the site. We are using windows integrated
authorizations and impersonation. Whenever I try to access the network
share I get the following error.
DirectoryNotFoundException saying "Cou... more >>
tlbimp
Posted by roch at 10/22/2004 2:25:03 AM
hi
i've already install the .net framework sdk
and tried the tlbimp sample.dll /out:sampleDotNet.dll
an error occured...
'tlbimp' is not recognized as an internal or external command, operable
program or batch file
im trying to use third party COM components (made in VB6) in the ASP.net
e... more >>
Reinstalling VS.NET 2003 and all your projects
Posted by Kenneth P at 10/22/2004 1:55:03 AM
Hi,
I've just reinstalled VS.NET 2003 on a new harddisk.
Earlier I copied all my apps that resided in \inetpub\wwwroot folders to a cd.
Then I restored them back to \inetpub\wwwroot folders from the cd.
Now something weird happens. When I set the file to start the project with
it opens... more >>
How to determine if an user belongs to a specific group?
Posted by Kevin Wen at 10/22/2004 12:59:01 AM
Hi Sirs,
How could i determine if an user belongs to a specific group, especially
nested group.
thanks,
-Kevin... more >>
Problem with foreach loop
Posted by Justin at 10/22/2004 12:39:04 AM
I don't use the foreach statement often so this problem has cought me off
guard. Here is the code:
foreach (int i in EventDates.Items)
{
DateList += EventDates.Items[i].ToString();
}
I get an "invalid cast" error! and I can't seem to find the solution.
Thanks, Justin.... more >>
|