all groups > asp.net > november 2004 > threads for friday november 19
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
details page and different kinds of data - HELP!!!
Posted by Laura K at 11/19/2004 9:51:02 PM
Hi all,
Working in ASP.net VB
I am creating a website for a store which has many different kinds of items
from men's pants to shoes to camping tents.
Due to the number of different items I am having problems designing a
details page and deciding how to create datasets.
My MS SQL 2000 d... more >>
newbie - HTML Anchors
Posted by Mark Oliver at 11/19/2004 9:11:31 PM
What is the easiest way to insert a <a href="http:\\somesite.htm">some
text</a>? HTML anchor. Can highlighted text be converted to an anchor
like it is in FrontPage?
Thanks,
Mark
... more >>
ASP vs ASP.NET
Posted by Nathan Sokalski at 11/19/2004 8:23:13 PM
I was recently looking at a page about transitioning from ASP 3.0 to
ASP.NET. (The page I was looking at is located at
http://www.4guysfromrolla.com/webtech/041601-1.shtml ). It looks to me like
they are taking away what has always seemed to me like the beauty of ASP. I
always viewed the bea... more >>
Response.Buffer in ASP.NET
Posted by Deepak Kashyap at 11/19/2004 8:19:50 PM
I have placed Response.Buffer = True in the page load event. But when the
page gets displayed on the browser, it does not buffer completely and then
display, it works as Response.Buffer = False. Is there anything which I'm
missing...
Deepak
... more >>
Run@Server ?
Posted by WJ at 11/19/2004 8:12:56 PM
I am using Html controls such as TextInput, checkBox.... How can I set the
attribute of these Html controls to runat="server" ? At present, the
property in the VS.IDE is grayed out. I have to manually switch to Html tab
in design mode, search for the control and insert it... What a clumsy
... more >>
Focus some controls
Posted by Dave at 11/19/2004 8:00:49 PM
Hello.
How can I set focus to some controls?
For example I want to set focus to some textbox when the page is loaded or
when I click on some button.
And I have one more question: how can set some button as default button for
the form?
Thank you.
... more >>
asp.net webspace
Posted by Thomas at 11/19/2004 7:44:44 PM
Hallo,
kennt jemand von euch einen (gratis ?) webspace wo auch asp.net unterstützt
wird?
Danke!
... more >>
2 security questions
Posted by John at 11/19/2004 6:40:55 PM
First off, I am very new to ASP.NET, please excuse my ignorance if I am
asking the obvious.
All forms authentication examples I have seen so far either use
userid/password info in the web.config file or validate it against the
database. If the user is authenticated, an authentication t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
where are the DTS classes?
Posted by kevin bailey at 11/19/2004 6:37:57 PM
where are the DTS classes?
are they not in the .NET framework.
and for those of us who do not have visual studio how do we set things up so
that
<%@ Imports namespace="DTS" %>
actually works ok?... more >>
ReadOnly DropDown and other HTML controls
Posted by Tiësto at 11/19/2004 6:14:14 PM
Hi guys!
Users of the web application I'm working on have said they don't like the
visual effect that DISABLED property sets on controls. You know, the
chiselled style.
So now I have to look forward other kind of solution, so the users cannot
modify the content or selection until I let them... more >>
help URGENT
Posted by Vishal at 11/19/2004 6:08:55 PM
Hello,
can anybody tell me VB.NET equilant for this code:
dgTemp.EditCommand += new
System.Web.UI.WebControls.DataGridCommandEventHandler
(this.DataGridSub_EditCommand)
Thanks... more >>
call, run or execute a DTS package from an APS (aspx) page?
Posted by kevin bailey at 11/19/2004 5:38:44 PM
how do i
call, run or execute a DTS package from an APS (aspx) page?
platform
win2k
iis (the one that comes with win2k)
sql server 2000 - with a test dts package ready to be called
..NET framework 1.1 installed and working correctly
web matrix is being used to create the files.
would pr... more >>
Tabbing through Controls - 2nd post
Posted by Richard at 11/19/2004 5:31:01 PM
Tabbing from the first control on a form always sends me to IE's Address Bar
instead of the next control, no matter how I set the TabIndex property for
the controls. Why is this happening?
For example, I have a simple login screen with 2 textboxes (Login ID and
Password) and 2
buttons (L... more >>
MessengerAPI in ASP.NET
Posted by Lim Seng Guan at 11/19/2004 5:26:17 PM
I am working on MessengerAPI in ASP.NET. VB is used as codebehind in my web
application. See the following codes. The "msn = New
MessengerAPI.Messenger()" part is where the COM error is hit. The code is
working fine in VB. Also I also tried to do something on the
Interop.MessengerAPI.dll as what... more >>
test
Posted by Lim Seng Guan at 11/19/2004 5:22:18 PM
Does ASP.Net have an equivalent to this?
Posted by Jim Bancroft at 11/19/2004 5:19:11 PM
Hi all,
I'm porting an ASP application to ASP.Net, and wondered if there was an
equivalent to the COM Services' "ObjectContext" class.
For instance, I'd like to port this code from VB6. It queries some ASP form
values using the object context:
//myComponent.cls
Dim objContext As COM... more >>
translating in asp.net
Posted by J at 11/19/2004 4:13:17 PM
Hi all,
I just finished a asp.net project, which is based on English language, and all
of sudden, client need different language also, say German, Chinese, etc. So,
what is the best way, or I should say easiest way for me to do all the
translating?
Thanks in advance.... more >>
setting a submit button
Posted by Brian Burgess at 11/19/2004 3:59:21 PM
Hi all,
Any way I can set one particular 'asp:imagebutton' to be the submit button
(on Enter Key) for a form, when there are already a few 'asp:button's on the
form?
Thanks in advance...
-BB
... more >>
issue using XML transform
Posted by amessimon at 11/19/2004 3:32:13 PM
Hi
I'm populating an XML control via an XSL transform.
If i look at the resulting source code in the page i notice '<?xml
version="1.0" encoding="utf-8"?>' is also
written to the page. Is there anyway to prevent this from happening?
Thanks in advance
Amessimon
... more >>
When do you need @control directive
Posted by tshad at 11/19/2004 3:31:39 PM
I just started playing with User Controls and I found that some books have
the @Control directives in them and some don't.
Why is that?
When do you have to have it?
For example:
I could have an ascx file that only has the following include statement in
it and it work fne.
<!-- #in... more >>
alternating item bgcolor in datalist with 2 columns
Posted by Eirik Eldorsen at 11/19/2004 3:19:17 PM
I'm trying to set alternating bgcolor for a datalist with 2 columns. My
problem is that its the alternating cell that get the bgcolor, not the row.
Is it possible to set alternating color of rows?
Here is my code:
<asp:DataList id=dlKommuner runat="server" Width="400px"
RepeatColumn... more >>
Unable to set a string to Include statement
Posted by tshad at 11/19/2004 3:17:46 PM
In my User control, I tried to do this:
***************************************************************************
<Script runat="server">
Public ClientName As String = "<!-- #include file =
...\includes\StaffingHeaders.inc -->"
</Script>
<%=ClientName%>
*******************************... more >>
Trusted Site
Posted by T. at 11/19/2004 3:14:39 PM
Hi,
Is there a way that I can add a url to the trusted site list on client
workstations?
This is for an internal web app, and there are some ActiveX objects that
would require it to be a trusted site.
Thanks.
... more >>
private static
Posted by TomislaW at 11/19/2004 2:34:00 PM
What is the purpose or difference between
private static and private method in non-static class?
... more >>
ASP.NET Page Logging
Posted by Matt at 11/19/2004 2:30:43 PM
I have an ASP.Net page that receives batch transmissions of data from
clients. I would like to add some type of logging to this application so I
can review transmission issues easily. I tried writing to a file but
quickly found when multiple clients are hitting the web page at the same
time it... more >>
Hyperlink Column & Helper Function not working
Posted by D. Shane Fowlkes at 11/19/2004 2:30:20 PM
Hello All.
I keep asking for help with this on the www.asp.net forums and nobody seems
to be able to help. What I'm trying to accomplish is very simple. I simply
want to create a Hyperlink Column in a Datagrid and reformat the text output
of the column. The helper function seems to be wo... more >>
disappearing table
Posted by DC Gringo at 11/19/2004 1:57:49 PM
I'm COMPLETELY baffled as to why this is in my html source code when I view
source from IE but invisible when rendering:
<table cellspacing="0" cellpadding="3" align="Center" border="0"
id="MonthlyReports1_DataGrid1" style="border-collapse:collapse;">
<tr
style="font-family:verdana,helveti... more >>
Cannot add a nested relation or an element column to a table containing a SimpleContent column.
Posted by Random at 11/19/2004 1:47:52 PM
I don't understand why this error is happening when I try to load my xml
into my DataSet.
"Cannot add a nested relation or an element column to a table containing a
SimpleContent column."
Can anyone help direct me towards figuring out the cause. Yes, the xml is
big, but not too complex.... more >>
Value Type Conversion to Array
Posted by David Kyle at 11/19/2004 1:47:10 PM
Just wondering if there's a quick way to convert types. I quite often have
things like an int that i want to convert the type to a byte array of length
4.
I guess the only way to do it is using unsafe code but even when doing that
I still have to copy the information to the array.
//thi... more >>
Unused Variables
Posted by Rob T at 11/19/2004 1:45:06 PM
Is there a way to scan a project and find the variables that have been
declared but never used? I'm fixing someone else's code and it filled with
these things!
Thanks.
... more >>
Connecting to an Access-database
Posted by Bart Schelkens at 11/19/2004 1:44:00 PM
Hi,
i have this website which connects to an Access-database.
I've made 2 local copies : 1 on a Win2000 and 1 on a Win XP.
When I start the site on my Win2000 I don't have any problem.
When I start the site on my Win XP I seem to have problems with my
connection to my database.
I've w... more >>
Selecting a single record from a dataset...help a newbie
Posted by D Lee at 11/19/2004 1:07:02 PM
I've got a dataset loaded on my page that contains about 150 records. there
are no controls right now to display this data. This page only has a textbox
and a submit button. I'd like to have the user enter a record number, and
upon clicking Submit, the record will display on this same page.... more >>
Includes not allowed in Server Script tags
Posted by tshad at 11/19/2004 12:57:33 PM
I am not sure why I am getting this error:
I have the following code I want to run from another include file that holds
all my functions.
functions.inc
************************************************************************************
<Script runat="Server">
Sub fnHeader(client As Strin... more >>
dropdownlist; setting selected in a databind
Posted by asptodotnet at 11/19/2004 12:40:35 PM
I have created a function that generates states and I now need to figure out
how to read the values from it and then set one of the options to selected.
Here is the code that I currently have, but it doesn't work.
Dim hf As New helperfunctions()
stateprovincedropdown.DataTextField = "text"
... more >>
Web Hosting on start page in visual studio doesn't work
Posted by james henderson at 11/19/2004 12:29:10 PM
I can't open the web hosting link on the visual studio start page,
it keeps returning: "This feature requires that you have connected to the
internet
previously or are currently online". I disabeled all firewalls and set no
proxy
in internet explorer. I use Visual studio 2002.
... more >>
Drop down menus
Posted by VB Programmer at 11/19/2004 12:27:16 PM
Anyone have any idea how to implement a drop down menu like this:
http://pfxtrade.com/about_us.asp (highlight 'Club Rooms')
Links, code samples, etc.. would be great!
Thanks.
... more >>
UPGRADE ACCESS
Posted by Peter Neumaier at 11/19/2004 12:22:40 PM
Hi NG!
I am using within an ACCESS-Project an Access 2000 frontend to access
data from a MS SQL SERVER 2000.
I am wondering if it possible to create a _real_ .NET-Application from
this ACCESS 2000 frontend!?
Best regards,
Peter... more >>
asp image
Posted by nicholas at 11/19/2004 11:22:09 AM
Why is this not working ??
<asp:Image ID="myimage"
ImageUrl='/aspx_scripts/thumbnailimage.aspx?filename=/files/products/image1/
<%# DataBinder.Eval(Container.DataItem, "productID") %><%#
DataBinder.Eval(Container.DataItem, "productimage1")
%>?height=140&width=140' visible='<%#
IIF(DataBinder... more >>
What chr() is the password making dot?
Posted by MattB at 11/19/2004 11:09:48 AM
Just wondering if someone knows offhand, what ASCII code that is to make
that dot that is used to mask passwords in password fields. Seems like
someone here would know off the top of their head.
TIA!
Matt
... more >>
How to display data on web page in ascending order
Posted by Joe at 11/19/2004 10:53:08 AM
Hi,
I have an asp.net script that connects to MS Access database and displays
data in a table. For some reason I am do not know how to display data say in
ascending order of column1.
I have pasted below the script that I am using. I will appreciate if someone
can give me a clue as how t... more >>
HOWTO: Select Records From A Dataset
Posted by Dan Sikorsky at 11/19/2004 10:18:22 AM
How do you select records from one dataset and create a second dataset? I
need to pull out the master records from a dataset and create a master
datagrid in which to embed a details datagrid (for a master/details type
report).
--
Thank you kindly,
Dan Sikorsky BAB, BScE, MSC
... more >>
Dropdown list with heirarchies
Posted by Tim Mavers at 11/19/2004 10:14:12 AM
I am looking for a control (freeware or commercial) that operates like a
standard ASP.NET dropdown list, but is able to display heirarchies in the
actual dropdown list.
This can be similar to a treecontrol, but I don't need to be able to
expand/collapse nodes in the actual dropdown list--on... more >>
Use validator to validate date in distinct countries
Posted by Fernando Lopes at 11/19/2004 10:03:01 AM
Hi.
How can i validate a date textbox using validator, but the validator need to
validate all data types, like:
USA: 11/19/2004
BRAZIL: 19/11/2004
GERMANY: 19.11.2004
So, in the validator message, i need to show how is the mask according the
country.
If my application is running in USA... more >>
TEST
Posted by Steve C. Orr [MCSD, MVP] at 11/19/2004 9:20:21 AM
Excepton Error Message......
Posted by John Smith at 11/19/2004 9:09:21 AM
I am getting the following error message when the rollback statement is
called in a ODBC transaction object.
Exception Details: System.InvalidOperationException: This OdbcTransaction
has completed; it is no longer usable.
I am using propritery ODBC driver to connect to Image database running on ... more >>
Determine which WebService class serves the request
Posted by Sergi Adamchuk at 11/19/2004 9:03:28 AM
I need determine which web service (class WebService or its inheritors)
serveces current request (I need Type instance of class that serves
request).
For example you wrote your own WebService:
[Guid("4543545454....")]
public class MyService : WebService ....
Now I need to know the Guid o... more >>
C# - Dynamically Creating Table - Losing ViewState
Posted by Grigs at 11/19/2004 9:03:03 AM
Hello,
I have an asp:table on my page. I am, after a button gets clicked,
programmatically adding rows and their cells. Using the Cell.Text = to put
the value in the cell. I then have another button (which will eventually
print form the server) that refreshes the page of course. When th... more >>
Confirmation on a Delete button contained in a WebControls DataGri
Posted by vcornjamb at 11/19/2004 8:45:31 AM
Hello, I am developing a web form that contains some buttons and a data grid
which has as its last column link buttons that will delete the data
associated
with that row. Everything works fine, but users have requested a
confirmation
message pop up so the user can confirm the delete. ... more >>
Panels
Posted by Mike Salter at 11/19/2004 8:40:15 AM
I want to place three panels side-by-side on a webform in flowLayout. Is
there an easy way to do this?
TIA
--
Mike
... more >>
Moving an ASP web site
Posted by Tom at 11/19/2004 8:15:07 AM
We have an ASP web site done with VB.NET. This website is also checked into
SourceSafe.
Now we need to move/copy this web site over to a different server - a QA
and/or Production server. I am not sure exactly how to do this.... Is there
a 'copy' utililty anywhere in .NET or IIS? Do we copy it ... more >>
ID of sender ?
Posted by louise raisbeck at 11/19/2004 8:11:06 AM
Really simple I think..! I have a function to be used by two textboxes on the
textchanged event, but i need to know which textbox i came from.
public void set_SomethingElse(Object sender, EventArgs e) {
sender.ID returns error: object does not contain definition for ID.
I'm using C#
wh... more >>
Upload/Download Files on Network File Server
Posted by Matt Hamilton at 11/19/2004 7:49:16 AM
I was hoping that someone can give me step-by-step instructions to fix the
following:
We would like our ASP.NET application to utilize a central file server for
uploads and downloads. I have tried creating a virtual directory to the
external file server on the web server and just referenci... more >>
"sign me in automatically" does not work on this fecking webshite
Posted by adolf garlic at 11/19/2004 4:47:05 AM
everytime i try replying or adding a post in the communities webshite,
it redirects me to the passport login, despite me ticking the 'remember me'
box
(it remembers the box is ticked and my login)
pile of crap
i'm using ie6 on xp pro
and yes it does relate to this newsgroup - the site ... more >>
Multiple lines for exception message
Posted by Chris Leffer at 11/19/2004 3:59:42 AM
Hi.
I have a function that raises a custom exception message. I am trying to
divide the message in 3 lines, but could not successfuly display the
message. Those were my tries:
Throw New IndexOutOfRangeException("Error converting the text.
Possibilities are:" & ControlChars.NewLine & "- Text... more >>
eventtarget is null or is not an object
Posted by Cosimo Galasso at 11/19/2004 3:49:08 AM
I install the framework SP1 as descrbed in the following article ... but i
still get the same problem.
Any suggestion ?
> Note on the bug:
> http://support.microsoft.com/default.aspx?kbid=817779
--
Thanks Karl
"Karl" <none> wrote in message news:OE2JU3QiEHA.2880@TK2MSFTNGP10.... more >>
image in datagrid
Posted by nicholas at 11/19/2004 1:18:58 AM
How can I show or hide an image in a datagrid depending on a field.
Something like: if myfield <> "" then 'show image' else 'show noimage.gif'
end if
the image field contains the image name
so: 'show image' could be something like <img source="/myfolder<%#
databinder.eval(....) %>" ..... ... more >>
How can I implement the "Pushing" mode in Asp.Net application
Posted by eXseraph at 11/19/2004 1:11:03 AM
Hi,
As we know,in normal asp.net application, a browser need to send a
request to a server first to refresh its page. Now I need to design a asp.net
application with real-time capability like the MSN Web Messenger. That means
once the session between browser and server has been establis... more >>
Site logic for showing images
Posted by Carl Gilbert at 11/19/2004 12:16:02 AM
Hi
I am developing a site that has 5 or 6 thumbnail pages each with 28 image on
each. Each thumb nail has a matching larger image.
So 5/6 groups of 28.
When the user clicks on one of the images, I want to load up another page
showing the selected full size image. I then want to provid... more >>
Static variables in httphandlers/httpmodules
Posted by Steen Tøttrup at 11/19/2004 12:01:03 AM
This is what I'm doing:
I'm using Httpmodules and Httphandlers to control access to files (images,
movies, etc.), but have run into quite a problem when several files are being
requested at the same time, from the same client.
To avoid having to push my database connection around to all th... more >>
|