all groups > asp.net > january 2006 > threads for tuesday january 17
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
Its urgent!!!!
Posted by sonu at 1/17/2006 11:55:38 PM
I have a component for scanning images which is a windows application.I
want to include this component in my ASP.NET project.So that this
windows application can run on clint machine. Is it possible?
... more >>
Trying to create a Page by code
Posted by Lloyd Dupont at 1/17/2006 11:42:09 PM
In a C# Web Control library I created this Page / HttpHandler:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
namespace WebUtils
{
public class FTBImageGallery : Page
{
public override void ProcessRequest(HttpContext context)
{
base.ProcessRequest(contex... more >>
DataItem!!
Posted by Adam J Knight at 1/17/2006 11:31:30 PM
Hi all,
I have a datagrid which is bound to a DATA READER object.
During its item bound event i am trying to retrieve a particular value from
the dataitem property.
Code:
public void dgEnrollments_ItemBound(object sender, DataGridItemEventArgs e)
{
Response.Write(((DataRowView)e.... more >>
Asp:TreeView
Posted by musosdev at 1/17/2006 11:21:29 PM
Hi guys
How do I get the new TreeView (asp2.0) to load something in an Iframe? I've
setup a NaviagateUrl and set the Target property to the name of the Iframe,
but it still tries to load a new window?!
Cheers
Dan... more >>
After DataBind in DataGrid set CssClass per row?
Posted by Randall Parker at 1/17/2006 9:42:05 PM
Using ASP.Net v1.1.
In a System.Web.UI.WebControls.DataGrid I can't find any method or property that
looks like it would give one access to individual rows after a DataBind.
What I want to do: Set either CssClass or other properties for a table tr tag for
each row and make them different d... more >>
JIT Debugging error when trying to exec app external to ASP.NET
Posted by snicks at 1/17/2006 9:09:02 PM
I'm trying to exec a program external to my ASP.NET app using the following
code. The external app is a VB.NET application.
Dim sPPTOut As String
sPPTOut = MDEPDirStr + sID + ".ppt"
Dim p As New System.Diagnostics.Process
'p.Start(MDEPDirStr & "macrun.exe",... more >>
Displaying table field in TextBox or Label controls
Posted by aabid at 1/17/2006 8:34:25 PM
I started using VWD 2.0 Express Edition. I am new to web applications.
Can somebody post a sample code to show how to retrieve data from an
SQL 2005 table and display in a textbox or label?. I am not able to see
this in the documentation I came across, even though databinding grids
and some othe... more >>
response.redirect is not working but server.transfer is working
Posted by gaurav tyagi at 1/17/2006 8:31:33 PM
in my appplication if i try to go to next page using
response.redirect, it does not work and control remains on same page
but if i use server.transfer control goes to nex page??
can any one explain me why ?????
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Updating WebPart on MasterPage
Posted by Shell at 1/17/2006 8:13:01 PM
Hi All,
I have a scenario where I have a Master Page for all of my WebPages, and in
one of the pages I update a database record, after that I want to refresh
this WebPart on Master Page manually. How is this possible? The problem is on
Button Click to update record in database, first the Pa... more >>
Weather.com XML Data Feed?
Posted by Carlos Albert at 1/17/2006 6:33:01 PM
Hello everybody
Did anybody use the weather.com xml data feed? Cause I'm stuck and don't
know how to use it, or how is SHOULD be used under ASP.NET 2.0 / VS2005.
Tnx!
... more >>
Asp.net 2.0 RequiredFieldValidator
Posted by niju at 1/17/2006 6:12:26 PM
Hi all
I am using ASP.NET 2.0 RequiredFieldValidator in my application. This
Control works fine with IE and latest Netscape. However, in netscape6
page Postback fails.Is this a bug or by design?
Regards
Niju
... more >>
checkboxFileld in gridview
Posted by Jarod at 1/17/2006 5:51:15 PM
Hey
I have checkBoxField in gridView and I want it to be "enabled" as if it was
a normal checkbox so the user can change it's value. How I can achive this ?
Jarod
... more >>
MasterForms?
Posted by Dick at 1/17/2006 5:47:07 PM
I want to create a WebForm that acts as a "template" for some of my other
forms. For instance a "List Template" that includes a GridView and buttons to
Refresh, Display, Add, Modify and Delete record, all located in the correct
place with the correct visual characteristics and the correct even... more >>
Client ID
Posted by SimonZ at 1/17/2006 5:18:19 PM
In ASP.NET 1.0 all client ID's of controls run at server were the same as
the rendered ones on the client.
In ASP.NET 2.0 the client id of server control is different on server than
on the client.
Can I set the client ID of server control or I can only read it?
If not, the client script... more >>
laptop question
Posted by Patrick.O.Ige at 1/17/2006 5:13:17 PM
Just a question for you all..
I want to buy a laptop and it would be mainly for development
Which ones below can you recommend.
Sony VAIO FS630/W
Toshiba Qosmio G25-AV513
Dell Latitude d810
FUJITSU® LifeBook® N6010
Or Asus
Thanks alot and any feedback would be appreciated
... more >>
installing .net 2.0
Posted by param NO[at]SPAM community.nospam at 1/17/2006 4:36:30 PM
Hi all,
I have a few servers running some apps on .net 1.1. I need to install 2.0 on
them to run some new websites. Will installing 2.0 break my 1.1 apps?
TIA!
... more >>
Rows in datalist in different colors
Posted by schapopa at 1/17/2006 4:12:08 PM
Hi,
I want to make some rows in datalist red, based on the resut of the
query.
e.g. my datalist has 10 rows, now I want to have row 3,4,7 in red
because of value = true for row 3,4 and 7 in datatable. Can anyone point
me into some direction?
Thank you
Schapopa
*** Sent via Develope... more >>
Overriding a control to remove an attribute?
Posted by PJ at 1/17/2006 4:08:46 PM
The dropdownlist renders language="javascript" when the autopostback is set
to true. This is invalid markup and I would like to remove it by inheriting
from the control and overriding the appropriate methods. How would I do
this?
Thanks,
~PJ
... more >>
Sending Email with HTML body
Posted by Vi at 1/17/2006 4:01:01 PM
Hi,
Is there a simple way to send an email from ASP.NET using the MailMessage
class with MyMessage.BodyFormat = MailFormat.Html, such that the body of the
email will come from an existing HTML file?
All the examples I was able to find have something like this:
string strBody = "<html><body>... more >>
who came up with JavaScript language syntax?
Posted by Rob R. Ainscough at 1/17/2006 3:55:27 PM
What sick saddistic person came up with the JavaScript language syntax? And
was it the same person (or group of people) that came up with the HTML
syntax??
OMG, has no one noticed this hopeless poor choice of language syntax? And
why-o-why is it case sensitive? Is it just a carry over fr... more >>
App.Config file
Posted by Stephen at 1/17/2006 3:48:40 PM
Hi,
Is there a way to have conditional statements in app.config file?
I want to add keys, so that based on the args[], appropriate keys are taken
from the config file and used in my app
Thanks,
Stephen.
... more >>
VS2005 - Publishing Website - Best practice?
Posted by Patrick at 1/17/2006 3:29:18 PM
Hello
I'm asking myself what the best practice is, when publishing a asp.net 2.0
website. So when I precompile the website, to put it online, i get a lot of
DLLs and ascx/aspx files. So i put them online, and all works, so far, so
good.
But the question is now, when I make a simple chang... more >>
javascript messagebox help
Posted by Mike Fellows at 1/17/2006 3:24:53 PM
ive read a few tutorials, but i cant get my head round it,
all i need is a messagebox that displays "update" "new"
on update i want it to update a record, on new i want it to create a new
record
how do a) create the messagebox
then b) interprate the click
i understand i need to do this ... more >>
SiteMapPath!
Posted by Chilá at 1/17/2006 3:16:34 PM
Hi there.
I got the following doubt:
I got page_1, page_2 and page_3 on the system.
But, depending of the option selected, page_1 and page_2 can call page_3.
The problem is, how to configure that a page has multiples fathers? How to
display that page_3 was called from page_1 a time and... more >>
Instantiate TableAdapter at Runtime
Posted by Mark Olbert at 1/17/2006 3:07:36 PM
I have a TableAdapter declared in my website's App_Code directory (I'm using the declarative approach to design it).
If, in a web page from the site, I try to instantiate an instance of the TableAdapter dynamically:
protected void Page_Load(object sender, EventArgs e)
{
// check that we can... more >>
PostedFile.SaveAs - summary is missing
Posted by Hadar at 1/17/2006 3:02:41 PM
Hi,
I'm trying to upload files and to use the revision number field of the file.
By using PostedFile.SaveAs the files are uploaded.
The problem is that the summary tab and the revision number are deleted.
Is this behavior is "by design" or it is just a bug?
Thanks,
Hadar
... more >>
Launching application from asp.net web application
Posted by MS at 1/17/2006 2:57:02 PM
Hi,
I have an Gui Application written in C#.net. Is it possible to launch my
application from a web application. I also need to pass a parameter to this
application so that appropriate data is loaded based on user Id.
Is it possible to do this? If so, Can anyone please suggest how to
acc... more >>
vb script or asp.net problem - not sure where to begin
Posted by BookerW at 1/17/2006 2:46:03 PM
Ok interesting, on my local machine
And i did not do a good job of keeping track of the exact order....
but on my local machine
in which i have vis studio 2003 installed and IIS for win XP,
I copied the web.config file from the source code folder into the
inetpub\wwwroot folder b/c... more >>
Where do I place the dll?
Posted by Andy Sutorius via DotNetMonster.com at 1/17/2006 2:42:27 PM
I have a legacy dll built in C++ 6.0 (not a com dll, just a plain dll without
a type library). I am using Interop Services to call this dll from an aspx.cs
page ([DLLImport]). However when I place the dll in the bin folder I get "dll
not found". When I place it in Windows/System32 the webpage jus... more >>
gridview with checkbox ?
Posted by Jarod at 1/17/2006 2:26:12 PM
Hey
I have gridView with a checkbox and I bind it to a dataset. In dataset is a
column called "Assigned" and it contains 0 or 1. When I tried to bound it I
got error and I check in details that there is no way to convert string to
boolean. So how to force him to convert it ?
Jarod
... more >>
odd performance question - xml parsing
Posted by Mark at 1/17/2006 2:10:02 PM
Hi...
We've been doing some basic performance testing comparing asp, asp.net,
mono, and php. One of the basic tests is on simply parsing an xml document
and streaming the result back to the client.
I never would have thought of it, but someone in our group had heard that
using XmlDocume... more >>
A question of (web)control and CssClass
Posted by kurt sune at 1/17/2006 2:03:05 PM
I am doing a custom control.
It contains a label and a textbox and a button.
The class inherits WebControl.
Thus the control gets a property CssClass visible in the Properties window.
Question 1. Is it possible to override this property AND give it another
name, for example CssClassLabel?
... more >>
Opening a MS Access APP - if the SQL connection is not found...
Posted by jonefer at 1/17/2006 1:28:03 PM
I have two versions of a 'Downtime Application that will run in the event
that the mainframe goes down
1) SQL Server ASP.NET app (accessed outside the mainframe network)
2) MS Access Version of the same app locally installed (C Drive)
Can someone help me with the 'Catch' part of this code i... more >>
dreamweaver media flash button is not working in ASP.net
Posted by Shun at 1/17/2006 1:16:22 PM
Hello ,
I am Designing an website using ASP.Net. I have designed the HTML template
using Dreamweaver 8, in that i have used the Media flash buttons. now i have
converted the Html page to ASP.net page. now my problem is with the media
flash buttons which i have used on the template can't view i... more >>
Stripping characters...
Posted by VJ at 1/17/2006 1:13:13 PM
I'm trying to strip the characters from a text box...
but I only know how to apply it to text...
for example..
string fname = @"*\John Doe";
string pattern = @"^.*\\";
string name = Regex.Replace(fname, pattern," ");
but how can i do it for a passed variable...
like @Request.Form["fna... more >>
Writing cookie when the browser has cookies disabled
Posted by dotnettester at 1/17/2006 1:11:02 PM
Hi,
I am trying to test if the client browser would support cookies and they way
I am doing it by adding the cookie on the first visit and checking the cookie
on a form post.
The problem is if the browser has disabled all the cookies I can't get even
get to the page. and the browser seem... more >>
Bottom Banner
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 1/17/2006 1:06:02 PM
I want a banner to appear at the bottom of each page of a web app. I
created a user control that describes the banner and have it placed in all
my pages. For the most part it functions as needed. The exception is when
the content of the web page is longer than the screen. The user has to
scr... more >>
username not found or bad password
Posted by Paul at 1/17/2006 12:52:04 PM
I have a .net application and it is using DirectoryInfo.GetFiles. The path
is a different server that it tries to get the files off of and I think this
is causing the error, unkown username or bad password. I am able to go to
the server with windows explorer and do not need to log in. Anyho... more >>
.NET 2.0: Sending email on local domain to local exchange 2K server
Posted by Jim in Arizona at 1/17/2006 12:08:37 PM
I was trying to have an email sent when the page loads but having some
trouble with it.
Our server is an IIS 6.0 with Framework 2.0. It is set to windows
authentication (not anonymous).
I don't really know what I'm doing and so far my tests haven't been so good.
Here's the code I tried:
... more >>
counter for link clicker
Posted by sweetpotatop NO[at]SPAM yahoo.com at 1/17/2006 12:07:08 PM
Hi,
I wonder if there is a way to keep the number of click to a link (URL)
in aspnet.
Thanks in advance. Your advice is greatly appreciated.
... more >>
changing the .aspx extension
Posted by pb at 1/17/2006 12:06:01 PM
Do anyone know how to change the .aspx extension to something else, say
..sssx, for all or part of a ASP.NET 2.0 site? I recall a Microsoft article
on this some time ago, but I cannot locate it.... more >>
Checkboxfield Storing 1 instead of -1 for True
Posted by mike.aes NO[at]SPAM gmail.com at 1/17/2006 12:02:58 PM
(ASP.net 2.0)
I am using a Gridview control that is bound to a table in my SQL
database. For some reason, when the Checkbox is clicked, it stores a 1
(Positive 1) in the bound field instead of a -1 (Negative 1). Any
ideas what's going on?
... more >>
how do i get the root\bin directory using framework?
Posted by TS at 1/17/2006 11:59:03 AM
i want to be able to load a dll from the bin folder, but want a mechanism
that will work without directly specifying \bin, even with changes that come
with vs 2005.
i know i can use Request.ApplicationPath and then append \bin to it, but
don't want this method to break later if the compiled... more >>
How do you use Dataset created in App_Code directory
Posted by GS at 1/17/2006 11:49:17 AM
I noticed that when you right click App_Code directory there is an =
option to create dataset which creates .xsd file in that directory. I =
can see that I can design tables and links there but I have no idea what =
this can be used for.
Can somebody provide references or web links about this fe... more >>
accessing .ascx data from .aspx
Posted by Martin Eyles at 1/17/2006 11:20:05 AM
Hi,
I have a .aspx page which has a .ascx file included through the lines
<%@ Register TagPrefix="aspcustom" TagName="menu" Src="Menu.ascx" %>
and
<aspcustom:menu id="Menu1" runat="server"></aspcustom:menu>
both of these files have vb.net code behind.
I am processing some information... more >>
Data and controls from dynamically added controls is rmoved on Submit
Posted by David Hubbard at 1/17/2006 10:40:17 AM
I place an PlaceHolder on a page and add a child control 1 or more times to
it. Then the user enters values and clicks the submit button. When my event
handler is called the controls are not present meaning:
ChildPlaceHolder.Controls.Count
is 0.
I know Page_Load is called before my hand... more >>
Attachment Fails with Invalid Cast Exception
Posted by Reticulated Ember at 1/17/2006 10:30:47 AM
I have the following code that fails with an invalid cast exception:
....
System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage();
msg.BodyFormat = MailFormat.Html;
msg.BodyEncoding = System.Text.Encoding.ASCII;
msg.Attachments.Add(@"c:\banner.jpg");
msg.Body = "<BR><H1... more >>
enable all controls in a web form (1.1)
Posted by Chattanooga at 1/17/2006 8:53:05 AM
hi all,
is there a way to enable all controls in a web form?
something like
for each control in page.controls
control.enabled = true
next
i tried the one above, but that did not give me the .enabled
property...
TIA,
Chris... more >>
Newbie question
Posted by Lee Alexander at 1/17/2006 8:09:33 AM
I'm trying to get a plain vanilla form post to work separate from the view
state stuff. So I started a new Website via Visual Studio 2005 and turned
off the ViewState for the default page by using EnableViewState="false",
then I added the following HTML to the asp page:
<form method="P... more >>
display files in a directory on a .net web page
Posted by Paul at 1/17/2006 8:01:02 AM
Hi just wondering a good way to display all files in a directory on a server
and have them selectable to be opened by the client machine. These files
change from time to time so would not want to hard code in the link and file
names as part of the hyperlink. Also would want to launch a new ... more >>
Map web drive
Posted by freddy at 1/17/2006 7:46:05 AM
I would like to create a website\portal where I can login and have a drive
mapped to my desktop like a virtual drive mapping. xdrive already has
something like this, but I what to use it for personal reason. I know this
can be done, I just do not know where to start.... more >>
How to know supported asp.net version nubmer?
Posted by Andrew at 1/17/2006 7:42:02 AM
Hello, friends,
We have Windows Server 2003 machines. We want to check which asp.net version
(1.x or 2.0) it supports. How to do this?
Any reference paper, or command syntax?
Thanks.... more >>
ATLAS with C# classes not WebServices
Posted by rogersmail NO[at]SPAM gmail.com at 1/17/2006 6:33:45 AM
Greetings to all,
Can anyone tell me if Atlas can work directly with C# classes not
defined as a webservice.
sort of like a servlet class.
I would like to create a thin and thick client for my app. If I need
to use webservices to talk to my system for both cases, then that seems
to me t... more >>
How to recognise a url as a streaming media
Posted by alican1812 NO[at]SPAM hotmail.com at 1/17/2006 6:32:29 AM
Hello all,
I would like to know how can I catch URLs of streaming media when
browsing Internet. I am working on a statistic program, which should
analyze users' preferences in the Internet club. That means, how
frequently are they watching / listening to streaming media, and from
which sites.
... more >>
virtual PC/Server 2003 hosting glitches...
Posted by CharlesA at 1/17/2006 6:19:04 AM
Hi folks,
I'll try and keep this as short as I can and have it still make sense.
I'm working on a corporate locked down copy of XP, I'm not allowed to have
IIS on this machine. this makes it somewhat hard to write ASP.net applications
our IT dept came up with a workaround acceptable to their ... more >>
StreamWriter problem
Posted by ramendra at 1/17/2006 6:12:02 AM
Hello there,
I am having some problem with using StreamWriter object in aspnet
application. The thing is when i use the streamwriter in an aspnet page the
code gets executed fine but its terminating the session. I think this is a
know issues. I have given full rights to the aspnet user over... more >>
Q: fit to window size
Posted by JIM.H. at 1/17/2006 5:32:02 AM
Hello,
How can I make my ASP.Net application fit the internet explorer windows size
so that users will see all the components even if they change the windows
size.
Is this possible?
... more >>
Alternative to Session_End
Posted by Jared at 1/17/2006 4:20:05 AM
Hi
I am using StateServer as my sessionState mode. I realise that I cannot
use the Session_End in global.asax. I just want to do some simple
logging of site usage.
Has anybody got a simple solution that replaces the Session_End object?
I was thinking of using client-side script to redirec... more >>
Page output caching for database driven pages?
Posted by Ben Fidge at 1/17/2006 3:17:02 AM
What are best practices for page output caching on pages that are dynamically
generated from database tables.
Our site has left-hand navigation that is comprised of dynamically generated
menus of product categories. The categories are taken from several database
tables which rarely change. ... more >>
Create a Forum
Posted by qwe85 at 1/17/2006 3:02:50 AM
I need to create a forum using ASP.NET.Does anyone have the codes to do
so?I'm in need of help.Can anyone please help me?
--
qwe85
------------------------------------------------------------------------
Posted via http://www.codecomments.com
-------------------------------------------... more >>
Programmatically change IE proxy settings
Posted by Ramon de Klein at 1/17/2006 2:56:03 AM
I need to change the IE proxy settings from code. I know I can update the
registry directly (HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
Settings). The drawback of this option is that I need to restart IE to inform
that the settings have been changed.
The Control Panel applet "i... more >>
Replacing_“_in_a_string
Posted by shashi at 1/17/2006 2:47:02 AM
dim str as string
str=" Barinova said “We exploit short-term inefficiencies in the world
markets,†"... more >>
Is it Possible to Download Files using a path in a Datagrid?
Posted by savvy at 1/17/2006 2:03:37 AM
I'm doing a Index Server Search. Is it possible to Download the Word
docs, or PDF files after the getting the path of Searched Doc Results.
I'm using this query as given below which i'm displaying thro a
Datagrid
If yes, can anyone give one example on this ?
strQuery = "Select Filename,PATH fr... more >>
Time Zones?
Posted by Craig at 1/17/2006 1:56:30 AM
Hi Folks,
I have a little bit of a problem with my hosting company. The long
and short of it is that they are a US based company and my website is
intended for a UK audience.
When getting dates and times from the SQL server attached to my
hosting account, using VS2005 and asp.net 2.0, ... more >>
CS0234
Posted by jack at 1/17/2006 12:57:31 AM
I have created webform controls by following steps from one of the
site.
but when im placing the control on the form im getting below compiler
error
im not able to get what is this and tried a lot on net
Please help me as im not able to get a hand on it
This is the result that i get on... more >>
Replacing_“_in_a_string
Posted by shashi at 1/17/2006 12:47:02 AM
I am using SQL server 2000 as my data base and the col. which is holding this
data is of type “text†data type. When I am generating an HTML page by
getting data from data base, it is displaying a special character. when I am
trying to replace this “ character with " , the replace functi... more >>
.net 2.0 TreeView changes - arrrgh!
Posted by musosdev at 1/17/2006 12:28:02 AM
Hi guys
I was using the Microsoft.Web.UI.WebControls extra namespace in my
application to provide me with a TreeView control. I was using specifically
..GetNodeFromIndex(), SelectedNodeIndex and NodeData. All 3 of which are now
giving errors is the new Asp.net TreeView.
I'm found the Val... more >>
JavaScript
Posted by Peter at 1/17/2006 12:11:28 AM
I have the following code that executes JavaScript, is there a way I can =
put the same JavaScript code in it's own file and execute the code in =
that file instead of having this JavaScript code in my C# code?
private void Page_Load(object sender, System.EventArgs e)
{
if (!this.Page.IsCl... more >>
Session_End being called
Posted by ramendra at 1/17/2006 12:11:04 AM
I have a aspnet page in which i am calling another page using
Server.Transfer. the problem is once the pageload function of another page is
finished calling the session_end function is called. I dont know how the
session is getting timed out. I have a session timeout of 60 or more seconds.
I... more >>
|