all groups > asp.net > september 2005 > threads for friday september 9
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
Password protect/Forms authentication method
Posted by sunniyeow NO[at]SPAM gmail.com at 9/9/2005 11:42:15 PM
Hi, My question is regarding password protecting 2 different folders
inside a single virtual directory using forms authentication method.
Easier if I illustrate things out...
- <authentication mode="Forms">
- Virtual Directory aka Top Level Root = /mysite
- Inside /mysite I have 2 sub-folder... more >>
Check the page (URL)
Posted by Just D. at 9/9/2005 11:04:15 PM
Does anybody know how can we check if the URL exists inside currently
running web application written in C#? For example I'm having the page name
like: "SomePage.aspx" and I need to know if this URL exists and I can safely
redirect to it or I should make some replacement for this url if it doe... more >>
Codebehind Attribute and Different Paths
Posted by landers at 9/9/2005 10:49:19 PM
Hi All,
I have created a vb file that inherits a System.Web.UI.Page. As I am
against duplicating source code, I have set the Codebehind attribute on all
my aspx pages in the same directory. This works a treat.
Now, I have a sub-directory full of aspx pages that I wish to point to this
... more >>
Unspecified error when trying to Fill oleDB Dataset from MS Access
Posted by Siegfried Heintze at 9/9/2005 9:48:20 PM
I'm using a third party hosting service. I presently have a Web Service on
this hosting service's server that loads and executes a native mode DLL.
This demonstrates that the hosting service has given me proper access to the
temporary directory c:/Windows/Microsoft.NET/Framework/V1.1.4322/Tempora... more >>
ResourceManager won't load sattelite culture
Posted by secure_guy at 9/9/2005 5:57:14 PM
I'm using really simple code, and this worked for a while, but it
stopped working. I can now never display in French. I saw an aricle on
impersonation, but I'm not using impersonation. I have an fr-CA
directory with a dll in it so it's building correctly.
private void Page_Load(object sender... more >>
Make new instance of existing Label (newbie)
Posted by footballhead NO[at]SPAM gmail.com at 9/9/2005 4:37:34 PM
Hi, Newbie here doing my best to learn but I am stuck.
I have a site that I want to modify. I do *NOT* have access to the
codebehind. I am stuck with using inline coding on a page that already
uses an existing codebehind page (I don't even know if this possible).
The page has a label with dy... more >>
Unicode -- missing Spanish chars
Posted by Chip at 9/9/2005 4:34:21 PM
I was under the impression that all the string and file handling methods in
vb.net defaulted to UTF-8. I am losing chars and I don't know why.
Dim fs As New FileStream(MyFilename, FileMode.Open, FileAccess.Read,
FileShare.None)
Dim Reader As New StreamReader(fs)
Dim StrList As String
If ... more >>
html editing control
Posted by param NO[at]SPAM community.nospam at 9/9/2005 4:19:42 PM
Hi all, can anyone recommend a good html editing control for asp.net? Kind
of like the ones web email sites have on their compose page e.g. hotmail,
yahoo etc.
TIA!
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HELP: Getting row column values in ASP.NET datagrid?
Posted by Usenet User at 9/9/2005 4:07:43 PM
I have a datagrid bound to a dataset table.
Unfortunately, the table's primary key consists of not 1, but 3
columns, so I cannot correctly set the DataKeyField property of the
grid (it only allows for 1 column), and, therefore, cannot use syntax
like below in the event handlers in order to ret... more >>
Newbe Question
Posted by Ryan Smith at 9/9/2005 3:31:08 PM
Is there a way to limit a datagrid to say 10 records quickly and easily?... more >>
DLL References Not Updating
Posted by cmay at 9/9/2005 3:30:46 PM
Maybe someone can give an idea of why I am having this problem before I
put my fist through the computer screen.
My problem goes like this....
Lets say I keep my DLLs in a folder called "DLLS".
I have an asp.net application called "app" that references some of
these dlls.
I make a ch... more >>
Report question?
Posted by Ily at 9/9/2005 2:28:36 PM
Hi
My client has asked me to develop a way of building a report designer
for use on the web?
For example if he want to view the top 10 products, he should be able
to design a report that can allow him to do this. So they are not built
reports, but they is a way of generating one using *some... more >>
Datagrid Refresh
Posted by Andre at 9/9/2005 2:11:45 PM
hi,
In my Datagrid i have some text and a image (for each item), if i edit
the image and save it to the HD there's no problem, but the image is always
saved with the same name (item number.jpg) so after the change the datagrid
does'nt refresh the image because her name did not change.
... more >>
DataGrid_ItemDataBound
Posted by rodchar at 9/9/2005 1:24:03 PM
hey all,
i was just wondering about ItemDataBound (and the other similar events
ItemCommand for that matter), I notice that in my brief experience that these
procedures can get pretty lengthy.
What are some of you out there to keep things organized since so many
different scenarios can h... more >>
out of curiosity
Posted by rodchar at 9/9/2005 1:18:02 PM
hey all,
i have the following 2 scenarios, 1 works the other doesn't:
this works:
If IsDBNull(e.Item.DataItem("DateField")) Then
e.Item.Cells(DATE_APPROVED).Text = String.Empty
Else
e.Item.Cells(DATE_APPROVED).Text = "a value"
... more >>
how to manipulate a drop down list to show multiple column
Posted by marty.overdear NO[at]SPAM intergraph.com at 9/9/2005 1:14:48 PM
I am re-writing an access application using vb.net and oracle. Access
has a drop down list that shows value 'a'. When selecting the pulldown
list, it shows
'a' | 'b' | 'c'
after selecting the row u want, it goes back to showing 'a'.
I can't get that functionality to work. I can concat ... more >>
Getting the screen resolution
Posted by eagle at 9/9/2005 12:05:25 PM
How do I get the screen resolution when running an asp.net project. I tried
the old way, and I get an error on the apiGetWindowRect that says "Object
reference not set to an instance of an object. "
Public Structure RECT
Dim x1 As Long
Dim y1 As Long
Dim x2 As Long
Dim y2 As Long
... more >>
Acquiring VS.NET 2005
Posted by Jeremy S. at 9/9/2005 11:57:58 AM
In the good ole days I used to buy the MSDN Universal subscription for 1500
bucks and have everything I needed.
But now MSDN seems like a big moving target. I read about how MS is totally
changing MSDN subscriptions and coming up with "smaller versions" or
packages targeting the little guy ... more >>
Unable to connect to the Sql server database
Posted by Cailin at 9/9/2005 11:46:32 AM
hi all,
I can't connect to the Sql server database, and I see this error message:
"BC30519: Overload resolution failed because no accessible 'New' can be
called without a narrowing conversion" on the code below with "Here is the
error code ->". Do anyone know how to fix it! Here is the code
... more >>
How to insert HTML strings in ASP.net
Posted by Andrew at 9/9/2005 11:31:26 AM
Hi, friends,
In ASP, we use
obj = CreateObject("com.dll")
obj.GetHTMLText(inVal, outHTMLTxt1, outHTMLTxt2)
to get different HTML strings based on input values.
Then, we insert them into proper location of HTML something like the
following:
<table>
<% = outHTMLTxt1 %>
</t... more >>
Width of table
Posted by eagle at 9/9/2005 11:29:33 AM
How can I get the width of a table to be 100% of what's displayed on the
screen, and not affected by other controls on the form? For instance, if
one table displays past the screen size, causing it to go off the right side
of the page, then the other table, which is smaller (width=100%), also... more >>
Learning Curve on 2.0
Posted by Jeremy S. at 9/9/2005 11:22:15 AM
I know these questions can have no objective and definitive/correct answer -
but I'm looking for some general insight, non specific as it may be.
So, from those of you who have actually worked extensively with ASP.NET 2.0:
1. What can you tell the rest of us about the learning curve to go f... more >>
counting the click on a picture
Posted by Britney at 9/9/2005 11:07:27 AM
hi,
I have user picture on aspx main page, if end-user click it 100 times,
then number_of_clicks will increment to 100.
however, What we do right now is that everytimes a user click on the
picture, application will executes an update statement
" update userhistory set number_of_clicks ... more >>
exapnding and collapsing a table cell on mouse over and out
Posted by PJ6 at 9/9/2005 11:04:45 AM
For client-side behavior, I want to expand a table cell to show content
underneath a cell's text on mouse over, and hide it on mouse out. I'm having
problems making this work so that the cell is its original height after
expansion... I'm sure this has been done a million times, can someone poi... more >>
more about link buttons
Posted by rodchar at 9/9/2005 9:59:16 AM
hey all,
i have 4 link buttons on my page. could i just i have 1 handler for all
these buttons? if so, how can i let the handler which button got clicked?
thanks,
rodchar... more >>
Web User Controls - How to reference objects on them?
Posted by Hanover at 9/9/2005 9:50:54 AM
What I want to do seems like it should be simple:
1. Create a new web control
2. Place a datagrid on it and set it's ID to dgFiles
3. Assign it's datasource.
Sub ShowFiles()
Dim ds as dataset
....code here...
dgFiles.DataSource = ds
End Sub
When I assign it's datasource, i... more >>
What's the proper Doctype for asp.net pages ?
Posted by craigkenisston NO[at]SPAM hotmail.com at 9/9/2005 9:37:27 AM
Hi,
I'm running my asp.net website against several HTML validators.
My pages have the html 4.01 strict doctype, because I wanted to avoid
problems with the difference in the box model across browsers.
However, all the validators complains about the use of "_" character as
the begining as an... more >>
Postback Question
Posted by Bryan at 9/9/2005 9:33:40 AM
I've got an ASP.NET application running that has a non-visual user
interface (it's a voice app using VXML.) The voice client understands
cookies and when it requests and aspx page, what actually gets
returned is VXML code. I'd like to be able to postback data to my
page. I can send data with no ... more >>
Restoring state to a web page accessed previously
Posted by McGeeky at 9/9/2005 9:29:56 AM
I am implementing a series of sequential web pages, a wizard, whereby the
user can step back to a previous page. I want to restore the state of those
pages if the user navigates back to them. Only being new to ASP.Net, I am
not sure if it provides facilities to manage this scenario. Any info w... more >>
link button
Posted by rodchar at 9/9/2005 9:23:03 AM
hey all,
does anyone know how to make the underline go away when you mouse over the
link button?
thanks,
rodchar... more >>
about onclientclick and postback
Posted by Alex D. at 9/9/2005 9:21:06 AM
Hi.
I need to use a linkbutton to open a new window (it has to be a linkbutton
to match the look and feel of a link). In order to do that I use the
OnClientClick property and insert some javascript into it. It works fine but
I dont want the button to cause a postback since all I need is a cl... more >>
include file
Posted by NuB at 9/9/2005 9:13:15 AM
i have an classic asp web app that I'm converting to .NET using C#. The asp
app uses about 20 include files on various pages, in the .NET world can i
use include files or is it web user controls, or something else?
... more >>
drivign me crazy for last 2 days - itemdatabound
Posted by samir dsf at 9/9/2005 9:06:16 AM
hi
i have a link in the datagrid which are actually the names of the
files..what i am doign is when i click to that link i display the
description of that file below it. i have implemented something simialr
before.
the problem now is that when i click the link my datagrid jsut vanishes.
... more >>
Problems accessing files in ASP.NET using a UNC path
Posted by Chris Newby at 9/9/2005 9:05:55 AM
We are running Win2K / IIS5 in an Active Directory setup. We are running an
ASP.NET application that is configured to use Integrated Security (with
Anonymous and Basic turned off) and that has impersonation turned on in its
web config. Users of our application are logged into workstations on w... more >>
handles
Posted by rodchar at 9/9/2005 9:01:01 AM
hey all,
i have 2 buttons on my form (button1 and button2). button2 has 1 line of
code and the rest of the code is in button1. i tried adding the button2.click
event to the button1 handles and it kinda works.
when i click on button2, button1 event runs first then button2 runs next.
My q... more >>
Separating application logic and content from its presentation
Posted by Greg at 9/9/2005 8:42:01 AM
Hi,
I am about to develop a simple Content Management system – main purpose
would be posting articles. I am trying to find some ideas/ sample
architecture showing how to separate application logic and content from its
presentation. I would like to use some kind of predefined templates (o... more >>
[Error] 'ListItem' to type 'String'
Posted by Sparky Arbuckle at 9/9/2005 8:24:19 AM
I am looping through a listbox collection to build a SQL string that
will be used to delete items from a database. I have tried many
variances of the code below but have had no luck. The code below gives
an error:
Cast from type 'ListItem' to type 'String' is not valid.
When i do a response... more >>
Problem trying to download a file from ASP.NET page.
Posted by Ken Varn at 9/9/2005 8:23:32 AM
I have an ASP.NET page that incorporates the following code on a button
press.
private void DownloadTag_Command(object sender, CommandEventArgs e)
{
FileStream fs;
String Filename;
Filename = MapPath(e.CommandArgument as string); // Name of file
is... more >>
Dynamic Textboxes
Posted by the friendly display name at 9/9/2005 8:13:03 AM
Hello newsgroup..
Following problem:
I have two buttons on a page, If I click on button1, an additional textbox
should be dynamical created and added to a panel. If I click on button2, one
box should be removed from the Panel.
The values of the textboxes should of course be the same thr... more >>
incorporating ASP pages withing a .NET project
Posted by ezelasky NO[at]SPAM hotmail.com at 9/9/2005 7:52:12 AM
I have been handed a group of .asp javascript pages that will provide a
set of javascript objects and computational functions, no controls or
html. I need to be able to create these objects and make function
calls from my ASP.NET project. Is it possible to do this? If so,
how...can I somehow ... more >>
Complex GirdView Problem, returning values from dynamic TemplateFi
Posted by Larry Grady at 9/9/2005 7:15:05 AM
Anyone up for a challenge?
I've been struggling with this for a few days and was hoping someone could
help me. Pouring through all the messageboards I just can't find the
solution.
We have a GridView that needs to be dynamically designed, depending on what
collection of fields our uses ... more >>
sql data to string
Posted by Remco Ploeg at 9/9/2005 7:09:01 AM
Hi,
I need to fill a string with data from sql server, i am using the following
statement for retrieving the data (example)
public SqlDataReader Inleiding ()
{
strConn="Data Source=W2K3-BASE;uid=test;pwd=test;Initial
Catalog=northwind";
mycn = new SqlConnection(strConn);
... more >>
Maintain Datatable values during postbacks
Posted by bijoy at 9/9/2005 7:06:13 AM
My page has a Listbox called Rooms, a text field called chairPerson and
a button called Add.
When Add is clicked, the script needs to display the selected info in a
datagrid.
For example, if the user selects Rooms 1,5 and 7, and enters Bijoy for
chairperson and clicks Add, a datagrid on the... more >>
asp.net Frames
Posted by mkiger at 9/9/2005 7:00:06 AM
Hey guys,
I am creating an asp.net page and am running into a problem. The page has
several frames; I need an click event on the page in one frame to refresh the
page in another frame. I found the following code on another page:
Response.Write("<script>window.open("PageName.aspx","FrameName"... more >>
Reading all the Rows in a Column using DataReader
Posted by Mattyw at 9/9/2005 6:44:28 AM
Hi
I have a sqlcommand that returns all the rows in a column and then pass
that to a datareader.
I am new to VS.Net and so far I can only return the first row in the
first column using
label1.text = reader(0).tostring
I know that this returns the column and that (1) would read the next... more >>
Asp.net not working
Posted by Aravind M at 9/9/2005 6:43:02 AM
I have installed VS 2002 in my system without installing IIS. Now i want to
build Asp .Net application. I cannot able to create a ASP.Net Project. It
display some error messages.
Help Me. What i have to do.
... more >>
ASPNET permissions woe - even when writing to a local drive that is mapped
Posted by jimmyfishbean NO[at]SPAM yahoo.co.uk at 9/9/2005 5:50:00 AM
Hi,
My client has the following network structure:
2 Windows 2003 servers :
Server 1 - Web server running IIS, ftp import and export folder,
ASP.NET SOAP web service and asp code on here.
Server 2 - SQL server with database on. Want to store images on here
accessed via a share.
Standal... more >>
Checking email address
Posted by JD at 9/9/2005 5:19:15 AM
Within asp.net I know it is possible to validate that a user has entered
in a correctly formatted email address. However, what I want to be able
to do is to verify that the email address entered is actually going to
work. As in that it will receive email.
I have been looking at one way to do t... more >>
ms_positioning="FlowLayout Vs GridLayout
Posted by conckrish NO[at]SPAM gmail.com at 9/9/2005 4:55:01 AM
Hi All..
Can u please explain me, what is the difference between FlowLayout
and GridLayout and which one is best for DataGrid control?? Thanks!!
... more >>
Refer to Object in UserControl???
Posted by Tim::.. at 9/9/2005 4:53:02 AM
Can someone please tell me how I refer to a Hyperlink object in a usercontrol
from a sub in another aspx page???
I want to change the visibile attribute of a hyperlink in a user control
from an aspx page...
EG:
ASPX Page...
headerMenu.urlAdmin.visible = True
where headerMenu is th... more >>
ASP.NET Accessing shares
Posted by Oliver at 9/9/2005 3:44:04 AM
Hi,
I'm working on an ASP.NET application that allows users to upload images to
a central storage area and view using a HTTP handler.
This works great if the files are stored on a local drive on the web server.
The problem I have is that when I move this storage area to a share on
anothe... more >>
RegularExpressionValidator???
Posted by franz at 9/9/2005 3:32:56 AM
does anybody tell me why it doesn't works?? in any case gg beame true
thanks
franz
Dim y As RegularExpressionValidator = New RegularExpressionValidator
y.ValidationExpression =
"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$"
y.ControlToValidate = "ss5ssss"
Dim gg As Boolean = y.IsValid
... more >>
datagrid event
Posted by MaryA at 9/9/2005 2:39:05 AM
Hi all,
i have a web form in an asp application that has a datagrid on it and i was
wondering if i can use
a double-click event to pull up the next form to show details?
What i mean is to take the double clicked value and open another grid bound
on that value
thanks i appriciate any help... more >>
post build event for asp.net page
Posted by foldface NO[at]SPAM yahoo.co.uk at 9/9/2005 2:05:41 AM
Hi
Is there any way I can make a post build step for an
asp.net page? I can do it for non-web projects but
not for web projects.
Could I tweak "custom tool" in some way perhaps to add
a step after whatever compile it makes?
Thanks
F
... more >>
datagrid footer
Posted by Daniel at 9/9/2005 1:37:28 AM
Hi All,
I need to change the "1 2 3 4..." link button page browsing to 2 buttons
which are "<" button and ">" button.
is it possible? any guidelines?
your help will be appreciated.
thank you..
best regards,
Ocurnos... more >>
upload 20MB file ?
Posted by Daniel at 9/9/2005 12:40:27 AM
Hi all,
when i try to upload 20MB ppt file to sqlserver2000, the web page just show
"The page cannot displayed".
how to solve it?? any suggestion?
thank you in advance.
Best regards,
Ocurnos... more >>
Deployment Question
Posted by Zach at 9/9/2005 12:00:00 AM
With Studio .NET (using ASP IDE and C#) I have created a dll.
The dll contains a form.
I have a website.
From that website I wish to call the form in the dll.
Presumably I need a couple of script lines in an existing page of my website
to call the form.
I don't know how to do this and would be... more >>
Adding a printer from a web form
Posted by alan at 9/9/2005 12:00:00 AM
What I am trying to do is installing printers on the end-user machine
through a hyperlink
Simply user goes to a web page,
sees a printer name, clicks on a hyperlink(which is \\servername\printer ) ,
and the printer gets installed
The same way as a user does when conncets to a printer through ... more >>
Disallowing back after submit
Posted by Mantorok at 9/9/2005 12:00:00 AM
Hi
When someone submits an application on our site they get re-directed to a
"Finished" form, however, I don't want them to be able to hit "back" and go
back and submit it all again.
Any ideas on how to work around this? I could check when they last
submitted but that's a bit of a hack ... more >>
Open multiple browser windows
Posted by Ayoa at 9/9/2005 12:00:00 AM
I am working on some web based custom reports and i want to open multiple
browser at the click of a button. So for example if i have 2 guids in my
arraylist, i want to open 2 windows.
protected void viewReport2_Click(object sender, System.EventArgs e) {
ArrayList lstReports = new A... more >>
Cleaning up after sessions
Posted by Mantorok at 9/9/2005 12:00:00 AM
Hi
During use of our ASP.net site users have the ability to upload files to a
temporary area.
What is the ideal way of removing these files when the user has finished (ie
the session has ended)?
Thanks
Kev
... more >>
|