all groups > asp.net > march 2006 > threads for friday march 10
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
Access Oracle 10g using ASP.NET
Posted by noor at 3/10/2006 10:48:48 PM
HI
Now a days I m building a web site using ASP.NET with Oracle 10g 10.1.0 as
back hand . I have set uped the server well but when i Tried to connect
through that server programaticaly from different pc. i give me an error .
may be there is a Client tool issue kindly guid what should i do to con... more >>
DOCTYPE Strict uses "correct" box model - so why is 100% width now useless?
Posted by Shadow Lynx at 3/10/2006 10:20:17 PM
Consider this simple HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 STRICT//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Strict kills my widths!</title>
</head>
<body>
<table style="width:400px; table-layout:fix... more >>
Perplexity on relation over a select count
Posted by andrea at 3/10/2006 9:19:20 PM
I need to get the child of parent/child relation and I've some perplexity
about the best method to use.
The classic (select count(*) id from table where id = a.parentid) nested
into a select generate a lot of
roundrip if used for a large set of results, but for small search is quite
good.
... more >>
Decimal number with "." and i would like ","
Posted by moi at 3/10/2006 9:13:08 PM
Hello,
When user write a decimal number in a textbox with the numeric pad, he hits
the "." button but in FRANCE, we use the ",". How to change the "." in the
textbox with a "," ?
Example : user write "34.45" and i would like "34,45" to be in the database
(else i have a data type error) ...
... more >>
Data layer experts - Please Help!
Posted by William Buchanan at 3/10/2006 8:50:26 PM
Hi folks
Can anyone point me in the direction of any information on how to make a
data layer which will work with the new ASP.NET 2.0 data components
(GridView, etc)?
The reason I ask is because I want to have my data layer in a totally
separate assembly. However, this doesn't seem possi... more >>
HyperLinkColumn
Posted by Sonny Sablan at 3/10/2006 7:42:45 PM
I am trying to set two querystring variables in a HyperLinkColumn's
DataNavigateUrlFormatString...
I am aware of
HeaderText="Name" DataNavigateUrlField="i" DataTextField="n"
DataNavigateUrlFormatString="ListDetails.aspx?lid={0}
But I have a need to set two variables
ListDetails.aspx?... more >>
Active Directory
Posted by Ernest Griffin at 3/10/2006 7:12:35 PM
I am trying to determine if the logged in user belongs to an Active
Directory Group. I have started with these code snippets:
WindowsIdentity id = WindowsIdentity.GetCurrent();
IdentityReferenceCollection irc = id.Groups;
This only returns the ID of the groups, I need the AD Group N... more >>
Mouseover/Mouseout for Gridview cells
Posted by Matt Colegrove at 3/10/2006 6:18:27 PM
How does one set a Mouseover/Mouseout event on a cell in a GridView? I can
successfully assign these events to be active on a row in a GridView.
I can do this with a DataGrid, by adding code to the OnItemBoundDataGrid event... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
.NET, ASP, SMS RAD Framework, Client/Server
Posted by g at 3/10/2006 5:22:47 PM
we are evaluating CRM packages and are looking for information on the
differences/simliarities, pros and cons of these architectures used by
various CRM Vendors.
We have been searching for more information online and have not really found
any comparisons.
Client Server
..NET
ASP
SMS R... more >>
install visual studio .net 2003
Posted by c676228 at 3/10/2006 4:56:26 PM
Hi all,
I just set up vs .net 2003 on my lap-top(op-wondows xp w/sp2)
After I download MSDN CD1 from msdn subscirption download. I installed and
but I cannot use any help from vs.net, it always come up with "page cannot
displayed".
I have ito insert CD1 again, then the program will find the h... more >>
names for html colors
Posted by Tina at 3/10/2006 4:48:33 PM
how can I find out the name of the html color #COFFFF. More specifically I
need to find a way in code to convert any html color to the english name.
ColorTranslator doesn't seem to do it.
Thanks,
T
... more >>
Buttons do postback but events are not triggered?
Posted by Morten Wennevik at 3/10/2006 4:26:23 PM
Hi
I have a web page that contains a button doing some simple code. On the
development machine this works as expected, but on the client machine, the
button triggers a postback, but the events are never triggered.
Someone in my office claimed to have heard of this happening, but could... more >>
Please Help: File Deletes Cause Loss of Session Variables
Posted by Joey at 3/10/2006 3:58:18 PM
Does anyone know why I lose all of my session variables whenever I
delete files on the server using code in my asp.net web app?
I have seen a few scattered posts about something called a
filechangenotification causing this.
Most important, does anyone know how to make it stop? It seems
reas... more >>
Sending data to webserver
Posted by Eric at 3/10/2006 2:35:33 PM
Hi,
In an old eVB program, it sends data to a ASP program with this:
dim xmlHTTP as XMLHTTPRequest
set xmlHTTP = CreateObject("Microsoft.XMLHTTP")
xmlHTTP.Open "POST", url-string, False
xmlHTTP.Send
result = xmlHTTP.ResponseText
Now I am trying to rewrite the program to vb.NET 2005, b... more >>
Datagrid: Option Strict On disallows late binding -- HELP
Posted by Owen Mortensen at 3/10/2006 1:47:24 PM
(This code was working in asp.net 1.1 VS2003. After upgrade to VS2005,
chokes):
in the aspx file:
<ItemTemplate>
<asp:datagrid id="dg_instr" runat="server" AutoGenerateColumns="False"
HeaderStyle-Font-Bold="True"
CellPadding="0" CellSpacing="1" Font-Size="Small" BackColor="Transparent"
... more >>
Getting calling URL
Posted by GenCode at 3/10/2006 1:02:19 PM
I would like to get the calling URL or IP, basically to log where
people came from to get to my site, like if they came from yahoo or
google etc.
Is there a way I can do that?
Thanks, Ed,
... more >>
Transformation To Windows 2003 Server
Posted by ahmad basheer at 3/10/2006 12:34:22 PM
Hi,
I transfered my Asp.Net web application to win 2003 server under IIS
,but the problem that every time i requested the page an error "the
page couldn't be found" appeared.
and if i put an HTML page inside the directory it works but .aspx page
doesn't work.
so does any know ?
... more >>
grid view
Posted by bill at 3/10/2006 12:26:44 PM
I would like to place a label control so it appears immediately below a
gridview.
How can I make the label shift up or down according to the number of rows in
the gridview? The label just gets buried under the gridview if it grows.
I don't want to use paging in the gridview, because users... more >>
Referencing Checkboxlist values
Posted by tjonsek NO[at]SPAM phenom-biz.com at 3/10/2006 12:24:54 PM
I am wanting to iterate through a checkboxlist and for those the user
has selected, perform certain actions. So far, I'm not successful. I
always catch the first selected value, but anything after that is not
regarded. Here is a snippet of the code:
Dim I As Integer
For I = 0 To CheckBoxList1.I... more >>
RequiredFieldValidator
Posted by jonknutsonhome NO[at]SPAM yahoo.com at 3/10/2006 12:21:05 PM
Does anyone know exactly how a RequiredFieldValidator works?
Here is my situation.
I am now in charge of a new project.
I am making a new contactus.aspx page with required fields.
Easy to do, not an issue.
The left navigaion has a user control (Newsletter Signup Control) that
allows yo... more >>
how to prevent users from sharing their cookieless session id?
Posted by Liam at 3/10/2006 11:49:48 AM
We are using cookieless sessions, and so the URL shows the session id,
e.g. http://ourdomain.com(ixbradnm5qmdfwikrt1mcfi3)/somepage.aspx.
When a user comes to our main page, they have to provide a username and
password. We authenticate the username and password against our
database, and if ... more >>
ActiveX?
Posted by Rob Meade at 3/10/2006 11:43:03 AM
Hi all,
I'm interested in learning how to create an activex component using .net -
I'm familar-ish with .net both in a web and windows way - but have never
looked at activex at all before...
I guess, to start my learning curve I'd like to have a web page call a piece
of code that launche... more >>
How smart can this be done?
Posted by jens Jensen at 3/10/2006 11:21:55 AM
Hello,
I'm builiding a large form with tons of textbox ,buttons and dropdown lists.
Is there good way to submit the values of the forms to database without
having to individually process each form elements.
I know this would required some fairly complex processing but just want to
know i... more >>
WebPart minimize
Posted by Mike Hildner at 3/10/2006 11:05:44 AM
Hello,
I'm trying out web parts for the first time. I put a manager and a zone on
my page, then put a control in the zone. Documentation states that the
minimize button is there by default. It is at design time, but does not show
up at runtime.
What am I missing?
Thanks,
Mike
... more >>
Excel MROUND(num, multiple)
Posted by mazdotnet at 3/10/2006 10:48:40 AM
Hi,
In excel there is a function
MROUND(num, multiple) - The num argument is the number you want to
round, while multiple is the value you want used in the rounding.
Is there a function in C# to do this?
Thanks
Maz.
... more >>
Issue: The SqlDataSource control does not have a naming container
Posted by wubin_98 NO[at]SPAM yahoo.com at 3/10/2006 10:05:26 AM
Hi All,
Could any expert point out what is wrong in my code?
I search around but couldn't found answer. It seems that I am the first
person have this problem. Thanks in advanced
I have a gridview that one column contains a dropDownList and a
SqlDataSource control.
I try to set up dropDownL... more >>
Using a Class Library Settings File in ASP.NET 2.0
Posted by Ben Dewey at 3/10/2006 9:59:10 AM
Hey,
I have kind of an architecture question.
I have a dynamic website that is using a Windows Form Backend and a ASP.NET
front end. They are both using C# 2.0. I also have a class library that
contains namespaces for Com.Site and Com.Site.Data.
Com.Site contains my business objects w... more >>
Static Methods in ASP .Net web application -- Is this bad form?
Posted by davidjgonzalez NO[at]SPAM gmail.com at 3/10/2006 9:45:35 AM
I have an ASP .NET web application written in VS 2003. The web
application's UI (aspx.cs files) call static WebService accessor
methods.
Example.aspx
MyWebserviceAccessor.CallWebService("foo");
MyWebserviceAccessor.cs
public static string CallWebService(string val)
{
... more >>
Changing CSS sheets from Code
Posted by T. Wong at 3/10/2006 9:37:15 AM
I want to have a single CSS style sheet control the look of my whole asp.net
application but I need to set the values in this CSS from code in the start
page as the CSS values will be stored in a data base.
First, is this possible?
Since CSS is plain text I could manipulate it all with str... more >>
Getting the HttpContext from within a library...
Posted by Jay Williams at 3/10/2006 9:27:05 AM
How do I get the current HttpContext when I'm in a Class Library (not from
within an ASP.NET page)? I seem to remember calling GetCurrent from somewhere
before but don't remember the details. The business object is being used from
within a Web app, so there should be an HttpContext available..... more >>
Getting BackColor
Posted by Tina at 3/10/2006 9:22:31 AM
I'm displaying radio buttons with specific backcolors to allow the user to
select one of the colors. I want to get this color and somehow put it into
a style sheet from code so that I can produce custom appearance.
However, if I say...
dim myColor as system.drawing.color
myColor = RadioB... more >>
How to switch language on the runtime in asp.net2
Posted by walter at 3/10/2006 9:07:17 AM
The question sound simple -- I had a multilingual site, I give a button on
each page to allow user switch to different language, and of cause I want to
use asp.net 2 globalization mechanism. So what I did is 1. make my controls
to use new resource expression, 2.create a session variable to rec... more >>
webcam
Posted by Alan at 3/10/2006 8:57:17 AM
Hello,
I use visual studio 2005.
I would like to insert somewhere in a web page the web page of a webcam.
In which control can I show it ?
Thanks... more >>
upload/download huge files
Posted by Jeff at 3/10/2006 8:33:02 AM
Our company has to find a way to transfer huge files, target is maximum
of 6GB, between sites so we are looking to find the best way to do it.
There are lots of criteria we need but the most important is secure,
fast, and fault tolerant. We already have a secure website between
sites so one of t... more >>
Architecture question
Posted by Coffee guy at 3/10/2006 8:26:30 AM
Newbie to web development here: I inherited an eCommerce site that seems
oddly designed- There are 15 or so .aspx pages that provide content, input,
etc. Each page has a consistent look and feel, banner and logo, buttoms and
menulinks across the top bottom and sides.
What's odd is each .as... more >>
Refering to Object Members in A Collection in an ASP.NET BoundColu
Posted by Ross Holder at 3/10/2006 8:06:26 AM
I've created a number of business entities for an applciation I'm working on
in ASP.NET (Framework 1.1) and would like to quickly get data into a
BoundColumn for a control that consums a collection. Generally speaking,
when a databound control consums a collection, one simply sets the propert... more >>
DataGrid\InsertRow
Posted by gh at 3/10/2006 8:05:42 AM
I am using dot net 1.1. How can I add a row to the datagrid without
using a datasource? All the examples I have found use a datsource for
inserting a row into the datagrid.
Thanks
... more >>
Server.Mappath
Posted by benoit at 3/10/2006 7:51:28 AM
Hi,
What rights do I have to add if I want to write to and create files in a
directory, if I acces it through an IP adress
I already added the "ASPNET Machine Account" and the "Guest user for
Internet Connections"(IUSR) They both have full read/write acces to that
particular dir
What am... more >>
Message box in asp.net
Posted by ratnakarp NO[at]SPAM gmail.com at 3/10/2006 7:11:35 AM
hi,
i want to pop up a message box when a button is clicked. the situation
is something like this as follows.
protected void button1_click(.. , ..)
{
.......
........
.......
response.write(<script language="javascript"> or
language="vbscript">confirm or msgbox or etc..</script>)
i... more >>
Object reference not set
Posted by Charlie J at 3/10/2006 6:51:27 AM
I have a real stumper. I added a server side table to a home page that has
two other server side tables on it that have been working great. In Visual
Studio everything works great. When I put the page on the production server,
the first time in the page works great. If I navigate to any ot... more >>
Autopostback
Posted by Shahriar at 3/10/2006 6:27:26 AM
I have a bunch of check boxed in my page and when I scroll down to a
particular checkbox to select it, I want to keep the exact location during
the postback. I tried to set the focus back to the checkbox after the post
back, (that works), but the screen still shifts. Is that possible to keep... more >>
"Dynamic" form -- how to?
Posted by Bart Van Hemelen at 3/10/2006 5:00:36 AM
Here's what I'm trying to accomplish: I get a number from another page
that indicates the number of members.
The page I want to build -- actually it's not a page, but a UserControl
-- needs to display a form with several types of input fields for each
of those members: regular text fields, a ... more >>
How to get querystring parameters from an ASPx page into a frame?
Posted by Gordowey at 3/10/2006 4:51:25 AM
Hi all, I have the next scenario?
"PageA.html" post parameters to "PageB.html" (<= This page is a frame
that contains PageC.aspx)
I need to get that post (from PageA.html) in my "PageC.aspx"...how can
this be done?
I can not do simply a request ("parameter") in my PageC.aspx, because ... more >>
Generating live HTML server side controls from .Net classes
Posted by CharlesA at 3/10/2006 2:00:42 AM
Hi folks,
I'm using ASP.net with Framework vs 1.1
I'm inheriting from a custom rolled master page class that is just that a
class that inherits from web.ui.page but it has no designer associated with
it. I want to generate some HTML inside the class and then that stuff will be
on every act... more >>
how to route all incoming request to asp.net engine?
Posted by baroque Chou at 3/10/2006 1:37:49 AM
very anxious to know!!!!! thanks in advance
... more >>
Customizing the DataGrid
Posted by MRW at 3/10/2006 12:52:18 AM
Hello!
I'm working on a DataGrid and I've run into two problems.
1) When there are no records, I want the datagrid to show up still,
(since I have a header and footer), so I simply want a message to show
up where the information would show up if it were there.
2) I'm also looking to cust... more >>
Receiving XML data POSTed to an ASP.Net Page
Posted by nospam NO[at]SPAM starsphere.net at 3/10/2006 12:50:18 AM
I have an piece of software that is sending an HTTP POST request to an
ASP.Net page. The data posted consists of a chunk of XML data.
For some reason (Based on my net research, and my tests at least) .Net
does not like getting XML data as HTTP POST. If I call
Request.SaveAs(...) to save a copy... more >>
Determining the Browser and event.keyCode vs. event.which
Posted by Nathan Sokalski at 3/10/2006 12:38:44 AM
I am writing a piece of code for an ASP.NET function that generates an
onKeyPress JavaScript eventhandler that uses the event.keyCode / event.which
properties. I have two situations that I would appreciate any advice on:
1. I know that IE uses event.keyCode to get the key pressed. I have,
howe... more >>
Retain treeview state during navigation
Posted by Pål Andreassen at 3/10/2006 12:00:00 AM
We are using a TreeView defined in a MasterPage for navigation.
The tree holds it's state turing postbacks just fine since it's using
viewstate. But whenever a node click results in a redirect to a new content
page the tree state is lost and the tree needs to be re-initialized.
Any tips on h... more >>
Datagrid Column resizing
Posted by Chakravarti Mukesh at 3/10/2006 12:00:00 AM
Hi,
How can column width of DataGrid could be changed(in late data binding)? By
default width is decided by the column heading width.
Thnaks
Mukesh
... more >>
web.config authorization element not working as expected on ASP.NET Development Server
Posted by J055 at 3/10/2006 12:00:00 AM
Ver. VS2005
Hi
I'm using forms authentication and have set the authorization element to
deny anonymous users. This works fine except that when I view the login.aspx
page as an unauthenticated user I am denied access to non-asp files like
css, gif, jpg etc.
The only happens on the ASP.... more >>
Input field focus after postback - v1.1
Posted by Adrian Parker at 3/10/2006 12:00:00 AM
v1.1 - After taking off smartnav (due to it not working properly), I've got code that will restore the scroll position of the page
on
postback, but now I'm looking at how to set focus on either a field that has failed validation or on the next input field down the
page. What's the best approac... more >>
|