all groups > asp.net > january 2004 > threads for friday january 16
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
Popup open but always under
Posted by Gilles T. at 1/16/2004 10:56:56 PM
Hi,
I have this code:
<script language="VB" runat="server">
Sub cmdImprimer_Click(sender As Object, e As System.EventArgs)
Page.RegisterStartupScript("openWindow","<script
language='JavaScript'>window.open('dialog.aspx,'Rapport','toolbar=no,locatio
n=no,directories=no,status=no,scrollba... more >>
Is this a good way to close DB Connection in ASP.NET?
Posted by Bob at 1/16/2004 10:05:30 PM
Is this a good way to close DB Connection in ASP.NET?
I've been trying to come up a way to close DB connection automatically (or
sort of) in my ASP.NET application without having to write the close()
method everywhere. Every web page in my application needs to call the
database, and all DB ac... more >>
dataset
Posted by reiks at 1/16/2004 9:56:12 PM
I have read that the binding for a webdatagris is possible only onf the binding object supports IENUMERABLE interface.
But dataset and datatable are deriving from IListSource. Then how are they gettong binded to a datagrid?
What is the difference b/w ILISTSOURCE and IEnumerable interfaces.
... more >>
Refresh Parent from iframe Page_Load
Posted by Jeronimo Bertran at 1/16/2004 8:15:55 PM
Hi,
I have a page with a very data intensive grid which needs to be
automatically refreshed constantly if a change is detected. In order to
not refresh the complete page so often, I created an iframe on my page
whose html has the refresh meta as follows :
<meta http-equiv="refresh" co... more >>
Best Practice - Question
Posted by Prince at 1/16/2004 7:10:08 PM
I'm doing the following but I'm not sure if there is a
more efficient way to accomplish the same thing.
In my Page_Load() method, I accessed a database and
stored the information inside a DataSet. On my webpage,
I have a DataList server control that binds to the
DataSet. The method look... more >>
New User Form + verification
Posted by Drunken Coder at 1/16/2004 6:48:30 PM
A week or so ago I read an article about how to add a verification system
into a new user form. The form inserted the user details into the data base
and also e-mailed the user a link that the user had to click on to verify
their account before they could log in. Unfortunately I had to nuke my
m... more >>
Create Image from relative path
Posted by David W. Simmonds at 1/16/2004 6:30:15 PM
I know that I can create an Image object by using a path like
C:\MyPictures\pic.jpg, but how can I create an Image object by using a path
like /MyPictures/pic.jpg where the path is relative to the site. For
instance, if the site is http://www.foobar.com, then /MyPictures/pic.jpg
would be fully q... more >>
Loosing session variables
Posted by Radu Colceriu at 1/16/2004 6:12:31 PM
HI,
I've an asp.net app like this:
login.aspx (no frame) :- save in session the user and pass
->
framedoc.html :- frameset 2 content
1. menu.aspx
2.docviewver.aspx
Everything work ok until at a random moment (1-5min) when the content of
some variables stored... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
locate item data in datagrid
Posted by Grey at 1/16/2004 5:52:35 PM
I have a datagrid with 5 columns data. I want to know that how to =
retrieve specificed location of data in datagrid, e.g.. thrid row , =
column 2
Million thanks... more >>
Execution of Page_Load More than Once
Posted by Vinod I at 1/16/2004 5:51:30 PM
Hi Team,
I am facing some problem in one of my ASP.Net Page. Its getting executed
twice when calls that page. I confirmed that I am not calling the page more
than 1.
Please let me know wat can be the problem.
Thanks in advance.
... more >>
Datagrid Programmatic
Posted by Hai Nguyen at 1/16/2004 5:45:27 PM
Hi everyone
I have to generate a bunch of datagrids. The # number of datagrids needed
will be told by a method.
That's why I have to build an array of datagrids
.....
Datagrids[] grids = new Datagrids[numberofgrids];
// initialize grids ....
.....
Everything works find. The only que... more >>
Type 'OleDbConnection' is not defined
Posted by Charax at 1/16/2004 5:42:30 PM
I'm a newbie with VS.NET
I'm trying the test application at
http://support.microsoft.com/default.aspx?scid=kb;en-us;308278
My first attempt to connect to an external database results in the following
three errors:
c:\inetpub\wwwroot\AccessDemo\DataSample.aspx.vb(31): Type 'OleDbConnection'
... more >>
Drop Down List issue
Posted by Rob Venable at 1/16/2004 5:19:40 PM
I've populated a drop down list from a sql query and the drop down list
(select box) looks fine. The issue is... I need to show a blank entry at
the top of the select box. In asp I would just add <option
value=""></option>. Does anyone know how to do it in .Net?
Thanks
Rob
*** Sent via... more >>
dynamically generating files on web server and streaming back to client
Posted by John Edwards at 1/16/2004 5:13:29 PM
I am wanting to dynamically generate some file content, and stream it back
to the client, so that on the client a saveas dialog can be opened. How do I
do this?
Thanks in advance
John
... more >>
asp:dropdownlist , Only Selects first Value Problem
Posted by harrysingh1976 NO[at]SPAM hotmail.com at 1/16/2004 4:58:31 PM
Hi,
Just seeing if anyone can help me with a problem I am having with drop
down lists.
- I have a asp:dropdownlist that gets its values from a database.
- The user then selects a value then presses the submit button.
- The submit button then calls a function that sets a asp:lable to
that v... more >>
How to not allow external calls to .aspx page?
Posted by Amil at 1/16/2004 4:36:05 PM
I have a .aspx page that creates proprietary images (return type is image). Normally, calls to this .aspx page come from our own pages. I don't want someone to just type the URL for the .aspx image page (with modified query parameters)...I only want the .aspx page to work if it was called (embedde... more >>
visual studio .net 2003 verses visual studio .net 2002
Posted by wh at 1/16/2004 4:11:35 PM
Assuming I have an asp.net web site written using Visual Studio .Net 2002
(i.e. for v1.3705 of the .Net Framework). Would I be able to copy the aspx
pages (together with the code behind files) and the .cs files used to build
a .dll
component library to a machine that has Visual Studio .Net 2003 ... more >>
accessing Frames in a VB ASP.NET application
Posted by David Brewster at 1/16/2004 3:34:02 PM
Hey everyone.
I am just getting into .NET (2003) now - I've been working in VB6 for some
time now, so my question may seem pretty low level for some - but bare with
me ok?
I have a form with 2 frames in it "Contents", "Main", and "Header".
Along the side frame (Contents), I have a navigation t... more >>
Two controls in same space
Posted by John Smith Jr. at 1/16/2004 3:17:37 PM
Is it possible to have two controls in the same real estate.
For example say you have a textbox and want to have range validator and
required field validator in the same spot to the right of it.
... more >>
Copy Project Error - Need assistance
Posted by VB Programmer at 1/16/2004 3:04:02 PM
I am trying to copy my website from my developer machine to our company
server (hosting this website). When I try to do a Project/Copy Projects
(ASP.NET website) in VS.NET I get this error:
Unable to create Web project 'MyWeb'. You are not authorized to perform the
current operation.
Any ... more >>
Repeater: Items.count in ItemDataBound Event
Posted by Josh Daws at 1/16/2004 2:54:33 PM
Hi,
I'm just learning asp.net. I'm very familiar with asp and coldfusion, but
I'm getting very frustrated learning asp.net. I'm working on my first
project. Basically just converting a coldfusion site to asp.net
Here's what I need to do. I have a repeater that is displaying a list of
re... more >>
WebFarm or WebGarden?
Posted by Amit Agarwal at 1/16/2004 2:45:13 PM
hi,
anyone can give info regarding which one to choose ?
like the pros and cons of the respective methods!!
bye,
amit agarwal
india
... more >>
How do I form this ASP:Hyperlink object?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 1/16/2004 2:34:43 PM
[snippet from datagrid]
<td>
<asp:HyperLink id="ORDER_ID" NavigateUrl= '<%#
DataBinder.EvalContainer.DataItem, "ORDER_ID")%>' runat="server">
<%# DataBinder.Eval(Container.DataItem, "ORDER_ID") %>
</asp:HyperLink>
</td>
I can get the database item to show up in the link, but o... more >>
Dropdown List data binding
Posted by Binod Nair at 1/16/2004 2:29:50 PM
Hi All,
This is what I am trying to do.I have an aspx page with the the following
code block.
<asp:DropDownList id="DropDownList1" runat="server" DataSource="<%#
GetUsers%>" DataTextField="user_email" DataValueField="user_id">
</asp:DropDownList>
GetUsers is defined in the .vb file... more >>
Directory.CreateDirectory Method throws UnauthorizedAccessException
Posted by GM at 1/16/2004 1:50:12 PM
Any help is greatly appreciated! I'm up against a meeting deadline.
Directory.CreateDirectory Method throws UnauthorizedAccessException
Here is the path:
"C:\JumpStart\JumpStart\sites\Proto\images\sites.e-Plaza.org\Alece"
Everything before 'Alece' already exists.
I've tried the follow... more >>
datagrid data not showing up
Posted by Brent Burkart at 1/16/2004 1:44:04 PM
I have a datagrid that simply shows readonly data that i pull using sql.
This was working fine and one day it stopped working.
It shows the headers, but no data. Can anyone point me in the right
direction? I am stuck.
... more >>
Win32 APIs in ASP.NET application
Posted by Lenny at 1/16/2004 1:41:10 PM
Hello,
I inherited a project from another team. They’re using Win32 APIs for some tasks, even though there’re equivalent .NET namespaces for the same functionality. Is it a good idea to use Win API? Is it a performance issue? Any other issues with that?
Thanks... more >>
How did they do this ?
Posted by Poppy at 1/16/2004 1:33:36 PM
Someone has asked me to recreate this scrolling image effect on a .net page
but I have no idea how to achieve this.
The URL for an example is Can someone tell me how they achieved this
scrolling effect.
It's definatly not flash.
http://pro.corbis.com/DefaultScroller.aspx
Thanks in Adva... more >>
casting BLOB to a string
Posted by martin at 1/16/2004 1:33:08 PM
Hi,
I have blob field in my database.
I am retrieveing the field through a stored procedure and the execute scalar
method.
I would like to cast resulting "byte" field to a string.
I am using the syntax
... more >>
get the selected node name
Posted by ONIL NO[at]SPAM at 1/16/2004 1:22:22 PM
I have a treeview in my ASP.NET vb.net application.when someone selects a
node
on the treeview How do I set the node name
myNodeName = TreeView1.Nodes(TreeView1.SelectedNodeIndex).Text
The above code only gave me the value of the parent Node
Any and all help would be greatly appreciated!!!!
... more >>
Label in <title>
Posted by DC at 1/16/2004 12:57:58 PM
In HTML page, I put:
<html>
<head>
<title>Article: <asp:Label ID="lblHTMLTitle"></asp:Label> </title>
....
In the code behind:
....
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Privat... more >>
Inernal Server Error when trying to copy ASP.Net project to an Internet website
Posted by Dave at 1/16/2004 12:54:47 PM
Hi all,
I was wondering if anyone has successfully copied a project from their local
webserver to an Internet webserver via frontpage extensions. I can copy to
my heart's content on a local LAN from webserver to webserver, but as soon
as I try to copy my project to the Internet webserver, I g... more >>
.Net Web Services???
Posted by KatB at 1/16/2004 12:52:26 PM
Hi, trying to figure out Web Services vs. asp.net application. Anyone in
the mood to enlighten me? I've read some things about it, but still
don't get it.
Thanks, Kat
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
multiple aspx requests simultaneously by same user
Posted by Chad McCune at 1/16/2004 12:20:49 PM
I'm developing a portal for our intranet where multiple pages are being
shown inside several iframes on a single page.
The problem i've ran into, is that it seems as if IIS6/ASP.Net serializes
the requests
by the user and only processes one *nugget* (iframe) at a time.
It handles multiple r... more >>
DropDownList SelectedIndexChanged event not firing when in a panel
Posted by prlacey NO[at]SPAM hotmail.com at 1/16/2004 12:13:27 PM
When dynamically placing dropdownlists inside a panel, the
dropdownlist's SelectedIndexChanged event doesn't fire. If you take
the dropdownlist out of the panel it works properly. Autopostback is
set to True on the DropDownList. Is there something I'm missing? Any
help would be greatly appre... more >>
Problem with code
Posted by Mark at 1/16/2004 12:06:17 PM
I got this code from the Internet. Demo on the site works fine but downloaded version is not.
I am a very new to .NET, I cannot figure this out, please help.
Here is the code:
ASPX code:
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls... more >>
add button control in datagrid
Posted by Grey at 1/16/2004 12:06:02 PM
I want to know that how to add button control at each row of the records =
in datagrid... more >>
Remove DoropDown ListBox items
Posted by A.M at 1/16/2004 12:01:18 PM
Hi,
How can remove all items is a list box or dropdown list box.
I know that i can remove all items in Items collection by hand. I am looking
for bultin member function doing that.
Thanks,
Ali
... more >>
Custom validator inside DataGrid
Posted by Stephan Bour at 1/16/2004 11:48:26 AM
Hi,
I need to validate a text box in a datagrid nested inside a datalist. All I
need is to validate that any text is entered in the textbox. However, a
requiredfieldvalidator would not do because I want to perform the validation
only on the datagrid rows where a check box is checked.
Part of ... more >>
Determining if a textbox control caused a postback
Posted by ryanmccormick NO[at]SPAM mindspring.com at 1/16/2004 11:22:32 AM
Can anyone help me with the following issue? I've seen some similar
questions here, but none relating to a textbox control....
I have a form with several controls, one of them being a textbox
control with AutoPostBack set to true. I need to fire a method ONLY
when the form has posted back du... more >>
Tricky stuff with a dropdown
Posted by Jim Corey at 1/16/2004 11:21:00 AM
I have an ASP app that I've recreated in ASP.NET and have
a problem recreating one part of it.
The original includes a dropdown (an html select object with name='Origin')
that I populate using javascript when I change a second dropdown. Each time
I change the selection in the second dropdown,... more >>
PDF Question
Posted by BVM at 1/16/2004 10:45:51 AM
Hi, All:
If I install Acrobat Writer, do I get a component to convert WORD into =
pdf on the fly? Can anyone recommed a good .NET component that can do =
the job easily?
Thanks,
Dennis... more >>
Databind to an custom object at runtime
Posted by Thomas Jespersen at 1/16/2004 10:45:20 AM
Hello
How do I databind a ASP.NET Texbox to a custom object.
I a WinForm I do it like this:
Dim myCustomerObject As Customer()
Private Sub CreateNewCustomer
myCustomerObject = New Customer()
myCustomerObject.FirstName = "Thomas"
firstnameTextbox.DataBindings.Add("Text", my... more >>
Source problem for grid
Posted by Poppy at 1/16/2004 10:08:18 AM
I have a table which contains job vacancies.
The 2 fields concerned are "JOBTYPE" and "WAGE".
JOBTYPE can be either "Permanent" or "Part time".
WAGE can be either per annum e.g "15000" or per hour e.g "7.50".
On the search page if the user chooses to search for both Permanent and Part
time ... more >>
Errors when adding HTML in a textbox
Posted by Jeremy at 1/16/2004 10:06:07 AM
I have an .aspx page with a textbox on it, and whenever a users tries to submit some HTML type code it generates an unhandled exception error for it being "A potentially dangerous Request.Form value". I think it's doing this as an automatic safe guard against cross-site scripting, but what can I do... more >>
Internet Web Controls: Treeview
Posted by Danny at 1/16/2004 9:48:22 AM
I have installed Internet Web Controls locally in my machine, and in our
server.
I also added them into the toolbox tab in my Visual Interdev and on design
layout, I can see the treeview object appears, but not when I run the page
from Internet Explorer (means page is accessed in our server).
... more >>
"CANNOT GENERATE SSPI CONTEXT"
Posted by news.microsoft.com at 1/16/2004 8:43:06 AM
I am getting the above error during the following scenario:
- a user provides credentials for my application. they are authenticated
with a database query.
- if authenticated, a single row recordset is returned and some session
variables are set. these are showing up fine.
- after setting the... more >>
Installation of Visual Studio
Posted by Steffen Loringer at 1/16/2004 8:28:21 AM
Hi all,
does the installation of Visual Studio change some user accounts (new?)
or groups? Or does it affect the configuration of the IIS?
Thanks
Steffen
... more >>
why does asp:panel not have a Text attribute?
Posted by sklett at 1/16/2004 8:10:02 AM
I'm curious... asp:Panel renderes a <div> tag, right? And you can have text
in a div tag.... so why not have a Text property for the asp:panel control??
... more >>
ASP.Net & Sessions Question
Posted by Miguel at 1/16/2004 7:01:12 AM
Hi all friends:
It's said that Sessions objects in ASP 3.0 with IIS 5.0 occupy certain memory of the machine which take to take care about use a lot of Sessions objects in the ASPs pages of the applications.
So my question is about how recommendable is to use a lot of Sessions objects in ASP.N... more >>
Calling client side Javascript from a server side button
Posted by C at 1/16/2004 6:16:22 AM
Hi,
I have a server side asp.net button on a web page.
On clicking the button I want to call some Javascript.
Can I not simply do a onclick="MyJavascript();" or is it necessary that I add the onclick as an attribute in my codebehind?
Thanks,
C.... more >>
2 tables, compare data help??
Posted by Mark at 1/16/2004 6:16:05 AM
by m.r.davies
I have 2 tables on seperate Db's (and servers)
I want to use a datareader on the first table to pick the booking ref, and then use that booking ref to query the 2nd DB
when i have the correct row in the 2nd DB I want to compare each field in the 2 tables to see if they match
Ever... more >>
Server.Transfer Refreshing Browser Problem
Posted by spondishy NO[at]SPAM tiscali.co.uk at 1/16/2004 5:23:50 AM
I have two pages in my project.
Page 1 has a command button that when it is clicked inserts a record
in a database and does a server.transfer to Page2.
The problem is, if I do a refresh when the browser gets to Page2, it
re-runs the insert code on Page1 resulting in two records being
insert... more >>
Datagrid not responding
Posted by Brad Simon at 1/16/2004 5:06:05 AM
Hi all,
First of all, what just happened to the Datagrid discussions?
Second, I have posted this one before, and I still can't fix this. I am using a datagrid to display paged data. Whenever you click on the page you want to see, it won't do anything. I notice that I have a JavaScript Err... more >>
dotnet
Posted by reiks at 1/16/2004 4:31:15 AM
I'm a beginner in .Net
I have got few questions
Can anyone help me out
1. What is 'extensibility model'? Where is it used and what are it's features
2. What are ISAPI extension and filter modules
3. What is Xcopy deployment
4. waht are database projects and how are they different from c... more >>
MS CRM user interface design
Posted by PontiMax at 1/16/2004 2:13:25 AM
Hi,
in my opinion the user interface designers of the
Microsoft CRM solution have done a very good job. But I'm
afraid I don't understand how certain elements of that
design were implemented...
Take the activities view for example (
http://www.crmresultants.nl/tumbs/groot/8-case-activi... more >>
HashPasswordForStoringInConfigFile known issues ?
Posted by Hermit Dave at 1/16/2004 1:14:05 AM
Hi,
As you all probably know.. i am using forms authentication on a site... i
used a specific machine key etc to enable cross domain authentication which
i no longer use.
The interesting this is that if i register.... its fine.. i can log in.
But my client and a friend of hers tried to log i... more >>
Need Direction on WHAT to Implement....
Posted by Celia Oblinger at 1/16/2004 12:26:59 AM
Please understand that I am not asking HOW to do something - but, rather, I
just need some advise on what "technology" or method I should employ...
The problem is this:
I have a client for whom I am developing a web site with ASP.NET. The client
is a bank -
therefore, the entire site will b... more >>
|