all groups > asp.net > march 2006 > threads for thursday march 2
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
Validation Controls Stopped Working on the server, but work on the local machine
Posted by Just D. at 3/2/2006 11:23:44 PM
All,
Did anybody see this bug? We're having two login pages in a huge
application, both are with validation controls. Everything works just great
on two developer's machines working under Windows XP Pro and all SPs
installed. When I upload the app to our production server still working
un... more >>
Hyper Link in DataGrid
Posted by aroraamit81 NO[at]SPAM gmail.com at 3/2/2006 10:15:32 PM
<ItemTemplate>
<asp:HyperLink CssClass="LinkShort" Runat="server"
NavigateUrl="TeamUsers.aspx?TeamID=<%#((System.Data.DataRowView)Container.DataItem)["Team_Name"]
%>">
<%#((System.Data.DataRowView)Container.DataItem)["Team_Name"]
%>
</asp:HyperLink>
</ItemTemplate>
... more >>
Set more than one ValidationGroup to a Button?
Posted by news.microsoft.com at 3/2/2006 8:33:33 PM
ASP.NET 2.0
Is it possible to set more than one ValidationGroup to a Button?
I have two sets of controls on a Web page, into two different
ValidationGroups. I would like when the user clicks on a specific button,
that both groups be validated.
Thanks.
Michael
... more >>
ASP.NET/VB Receiving Mail
Posted by Alex C. Barberi at 3/2/2006 6:46:27 PM
I have this code to get the messages from a mail server, but whenever I try
to connect it gives me the error "Cast from string " " to type 'Double' is
not valid." Why is it doing this?
Here is a sample of the vars I pass to the connect procedure:
myClient.Connect("mail.server.com", "user_nam... more >>
Calendar control click event
Posted by Vishal Gupta at 3/2/2006 6:00:22 PM
Hello:
I have a calendar control that defaults to today as the selected date.
Problem is, if the user clicks on the selected date then since there is no
change in date the SelectedChanged does not fire. There is no other control
event that fires either. How do I acknowledge the user selecti... more >>
How to Get WebResources.axd working on IIS on XP Pro
Posted by RobertS at 3/2/2006 5:12:26 PM
I'm trying to figure out what I need to do to configure IIS 5.1 on XP Pro to
work when referencing WebResources.axd.
For example, I have an aspx script that works fine when run from Visual Web
Developer 2005 (Express Edition) built-in web server, but fails when run
under IIS (same file, sam... more >>
Error with code-behind for user control
Posted by Alan Silver at 3/2/2006 5:10:37 PM
Hello,
I have a set of user controls that all use the same code-behind file.
The first line of each of the ascx files looks like...
<%@ CodeFile="ShowCategory.cs" Language="C#" Inherits="ShowCategory" %>
and the top of the code-behind (ignoring the "using" statements) looks
like...
n... more >>
ASP.NET current directory
Posted by Progman at 3/2/2006 4:47:04 PM
I use Visual Studio 2005
When I run
msgbox Curdir(), I get the visual studio directory.
This problem seems to be only in the VB part. In the ASP, we use ~/etc... to
access files.
Why I dont get my project directory?
When I will FTP this project to the host, what will be the current ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Overriding the ClientID
Posted by Iain at 3/2/2006 4:32:01 PM
I'm writing a server control which is a navigation bar.
My prototype uses id based styles to control the layout and dynamics.
Is there any way I can override asp.net's processing of the ID so that the
ID will be the one I want regardless of the containing page and so on?
Iain
--
Iain Do... more >>
Capture FormView Cancel Event
Posted by sck10 at 3/2/2006 4:25:03 PM
Hello,
When using a FormView, DetailsView or GridView, how do you capture the
cancel event when you are in the insert/update mode. I have a formview that
I need to hide if the person clicks on the "cancel" link. Any help would be
appreciated.
--
Thanks in advance,
sck10
... more >>
Trouble Publishing .NET App
Posted by rh1200la NO[at]SPAM gmail.com at 3/2/2006 4:08:51 PM
So I'm trying to publish a site for a client on their new dedicated
server. I published a previous .NET app (with some trouble but
eventually got it working) on their old machine. This is a similiar
..NET app. It's a fresh machine w/ SQL Server, the service packs and
ASP.NET 2.0.
For some ... more >>
SqlDataSource, SQL working, Stored procedure doesn't. Parameter hell
Posted by Jim Andersen at 3/2/2006 4:03:35 PM
Just to let you know, and to help any future sorry sods who gets trapped in
the same black hole......
You can't just copy/move a working sql-statement into a stored procedure.
Working with a sqldatasource. Conflictdetection set to compareallvalues.
Oldvaluesparameterformatstring set to ori... more >>
accent and Request.Form
Posted by franz at 3/2/2006 3:41:25 PM
i have an html page that send datas from a form to an aspx page.
when, in aspx page, i take the value with Request.Form.Item("Nome") i
can't get the accents.
let's say, if i type the string "piet=E0", when i get it in the aspx
page i see "piet"
does anybody knows how can i fix this?
th... more >>
Strip HTML from Text
Posted by tshad at 3/2/2006 3:30:20 PM
Is there an easy way to strip HTML tags from Text to get just the plain
text?
I am using a program called FreeTextBox that lets you format Text in a
TextBox. It does this by adding HTML tags (<b>, <u>,<span> etc) to the
code.
The problem is that it is a problem since I am putting the te... more >>
Gridview with no header?
Posted by Benton at 3/2/2006 3:24:33 PM
Hi there,
As subject, how can I set a gridview to show no header at all?
Thanks,
-Benton
... more >>
onclick postback event has disappeared
Posted by Bahman at 3/2/2006 3:17:28 PM
Hello!
Except for dropdownlists, all other controls have lost their postback call.
The default postback call runs all the time.
What would be the more likely cause for this?
Thank you for your help!
-Bahman... more >>
Breakpoint not allowed in JS code
Posted by Ofer Zelig at 3/2/2006 2:39:51 PM
I set a breakpoing at a certain line in a JS file, and get a small
exclamation icon which its tooltip says "The breakpoint will not currently
be hit. No symbols have been loaded for this document".
Basic data:
ASP.NET 2005 project (last official release)
Debug compilation mode
Problem arise... more >>
user defined date format
Posted by Jon Paal at 3/2/2006 2:37:10 PM
need to apply a user defined date format:
Line 2064: retvalue = Format(Cdate(retvalue),"MM/dd/yyyy").ToString()
but get this error:
Line 2064: Reference to a non-shared member requires an object reference
what object reference is needed ?
... more >>
0x800C0008 The download of the specified resource has failed.
Posted by contactrahul NO[at]SPAM gmail.com at 3/2/2006 2:31:26 PM
I have a web service that works fine on my machine but when I deploy it
to our server it bombs with the below error message:
UnidentifiedErrorSystem.Runtime.InteropServices.COMException
(0x800C0008): The download of the specified resource has failed. at
MSXML2.XMLHTTPClass.send(Object varBody)... more >>
FileUpload Control localization...
Posted by ne-no at 3/2/2006 2:12:06 PM
Is possible to localize 'Browse' button in FileUpload Control in ASP 2.0?
... more >>
pictures
Posted by rodchar at 3/2/2006 2:06:26 PM
hey all,
how do you keep users from right-clicking on your asp.net and saving your
images?
thanks,
rodchar... more >>
Security problem ?
Posted by Adry at 3/2/2006 1:34:25 PM
Hi,
I've an assembly (DLL) compiled with COM interoperability.
This assembly is used by an ASP (not ASP.NET) application.
When the assembly tries to acces (read) a resource stored in the system
Font's folder (using SHGetFolderPath, SHGetSpecialFolderLocation and
SHGetPathFromIDList window... more >>
localization & storing text in database.
Posted by walter at 3/2/2006 1:17:26 PM
Hi there, I'm wondering if it's possible to store the .net resource in
database instead of resx file? Our site is a multi-lingual site ,storing text
in resx file give us a burden on the website deployment since the text is
changed often.
I'm thinking to store the text in database and estab... more >>
Writing to a file on the unix box
Posted by chitrasai NO[at]SPAM hotmail.com at 3/2/2006 1:16:05 PM
Hi, I am trying to write to file which is on a unix box. But it gives
me an error that "
Asp.net is not authorized to access the requested resource. To grant
Asp.net write access toa file, right click the file in explorer,choose
properties and select the security tab. click "add" to add the
a... more >>
GridView and themes
Posted by Mikeon at 3/2/2006 1:10:38 PM
Hello!
I would like to apply themes to a GridView control, but what I would
like to set in themes is the ImageUrl for a ButtonField. Different
images are stored under each theme.
How can I achieve this?
I had a more simple situation where I wanted to set the ImageUrl for an
ordinary Image ... more >>
asp.net Share codebehind
Posted by deborder at 3/2/2006 12:48:12 PM
HI all,
I have multiple websites that need to use one codebehind that why i
compiled the codebehind as class.
i was planed to put the dll file in one of the filesystem directory and
declare it in my machine.config :
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">... more >>
remote file access in .net app
Posted by Amie at 3/2/2006 12:44:29 PM
Hi,
My .NET application has a script that checks whether an image file on a
remote server exists using File.Exists.
>From my localhost (Server A), I can access the image file via network
path (\\servername\foldername\image.jpg) or virtual directory
(../foldername/image.jpg) within my applic... more >>
Session_End not firing
Posted by Calvin Willman at 3/2/2006 12:30:25 PM
ASP.NET 2.0, Visual Web Developer Express
I've written a web app, which creates a Gif to display on the page. I name
it [SessionID].gif, and only want it to last as long as the session, so I've
included
File.Delete([filepath]) in the Session_End event, but this never seems to
run. I've s... more >>
Please help with some reference papers/links...
Posted by Andrew at 3/2/2006 12:26:31 PM
Hello, friends,
We need to put COM components in our .aspx pages. Could anyone please
recommend some reference papers/links or sample source code as a good start
point? Thanks.... more >>
ascx and JScript
Posted by Gary Coutts at 3/2/2006 12:22:35 PM
Hi,
Is there anyway of connecting a java script to a User Control ascx.
I define this in the file
<script language=javascript src="Javascript/ShopFront.js" >
but it never runs.
The script has been tested stand alone using an Active Server Page aspx and
it works fine
Any id... more >>
stuck and confused
Posted by CsharpGuy at 3/2/2006 12:09:27 PM
Ok, here is my scenario, I have an asp web app that i'm converting to .net.
The app reads files and loads the data into SQL db, now, in my file it has
numbers like, 125.25, 3363.33, 69.00, and when the asp version uploads the
files into the db and I run query analyzer I see the numbers as they... more >>
When are Session Variables Available in PostBacks?
Posted by Phillip N Rounds at 3/2/2006 12:02:31 PM
I'm writing a user control which has two states: Active & InActive. I
additionally am required that there to be only one active control per page,
and all logic has to be contained within the control.
In its inactive state, only a single button appears. If the user clicks on
this button,... more >>
Is it a good idea to put all code-behind in App_Code folder?
Posted by walter at 3/2/2006 11:55:27 AM
Hi, when I add a new page in my asp.net 2 project and put some controls
there, everything works fine until I move the code behind into App_Code
folder.--When I compile , it tells me that control "not exist in the current
context".
I thought putting code behind in App_Code folder is the reco... more >>
Style to html
Posted by Jeremy Chapman at 3/2/2006 11:44:47 AM
I have a System.UI.Web.WebControls.Style object populated and I want to get
the html that it would generate. For example a label would generate <span
class="test">text</span> the class="test" comes from the Style object. How
can I programatically retrieve that html from the Style object?
... more >>
Dynamic Controls Problem
Posted by Elliot Rodriguez at 3/2/2006 11:31:30 AM
I have a dropdown list that defines the number of textboxes that appear
within a particular panel. The boxes are created when the dropdownlist's
SelectedIndexChanged event fires on postback.
Also in the form is a datagrid that has some custom validation performed on
values within its rows. ... more >>
HELP - Session Restart on every request?!
Posted by kbrandl NO[at]SPAM gmail.com at 3/2/2006 11:26:56 AM
I am using InProc, Cookieless Session State in my ASP.NET application
-- like this:
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
source=127.0.0.1;user id=sa;password=" cookieless="true" timeout="20"/>
The problem is that the Session res... more >>
How to retrieve items in GridView on current Page?
Posted by GS at 3/2/2006 11:11:12 AM
Hi,
I have GridView on my page. How do I retrieve items in current page on =
GridView? It works only with first page but when I click on next page in =
GridView it's collection of DataKeys for whatever reason do not change =
and stays the same as I did not use paging.
Any ideas?... more >>
Mail sent through IIS virtual SMTP server not arriving
Posted by antonyliu2002 NO[at]SPAM yahoo.com at 3/2/2006 11:06:03 AM
I've set up the virtual smtp server on my IIS 5.1 like so:
1. Assign IP address to "All Unassigned", and listen to port 25.
2. Access Connection granted to "127.0.0.1".
3. Relay only allow "127.0.0.1".
4. Authentication: "Anonymous access" only.
5. Outbound connection listen to TCP 25.
... more >>
update more than only the email with asp.net membership
Posted by ibiza at 3/2/2006 11:03:18 AM
Hi all,
I am currently developing in asp.net 2.0 and I was at first impressed
with the numerous login and user controls they provided to ease the
task of managing users.
But I am starting to think it's an hassle for certain tasks...here's my
problem :
I have created some users and succes... more >>
Fill Dataset with two tables
Posted by Laura K at 3/2/2006 10:57:11 AM
This is probably a simple question but I want to make sure I am doing
it right.
I have a spoc with two select statements which results in two tables.
Very Basic
---------------------------------------------------------------------------------
@strProductCode nvarchar (50)
select *
fro... more >>
Navigation
Posted by Marc Robitaille at 3/2/2006 10:45:06 AM
hello,
I have made Web site for a few years but I had never been concerned with
navigation between the pages. All the pages are dynamic but do not have
direct relations between them. There, I have a problem. I have a page where
I can apply a filter to carry out a research using textbox and ... more >>
From one class to the next
Posted by Gerry A at 3/2/2006 10:41:18 AM
A sub in class A needs the value of a property in class B.
What's the best way to get it.
... more >>
Prevent viewing html source
Posted by Brooke at 3/2/2006 10:25:31 AM
How can I prevent a user from viewing the html code on a web page?
e.g. right click->view source
... more >>
bgsound Elment
Posted by Kevin at 3/2/2006 10:10:58 AM
Hi
I've an strange behavior, when I put the bgsound element in a page and
access to that page the session is loosed.
Does anybody knows happend that? And if are a reason for that behavior, how
can I play sound ? I need touch a button and play a sound. My code is this
( the code works ok, but th... more >>
ActiveX componant in .Net?
Posted by gregory_may at 3/2/2006 10:06:34 AM
I need to develop a web component that will interface to a piece of
hardware. I would like to distribute a component that can be included
inside of customers web applications. This web component needs to have UI
elements as well as an API the customer can hit.
This seems like can ActiveX ... more >>
Buttons focus
Posted by Alex D. at 3/2/2006 9:30:04 AM
Whenever one of my forms is clicked over then the default button border
changes since focus goes to the button. how can I change that behavior? my
buttons borders look awful.
thanks,
alex.
... more >>
Drop Down and Button - please help
Posted by DiLwALi NO[at]SPAM gmail.com at 3/2/2006 8:46:15 AM
Hello,
I am pretty new to asp.net and have been given the task to create and
internal website.
There is a drop down list on the site and a submit button.
The user selects a report from the dropdown and clicks on the button -
this should now open up the page associated with the selection. (hop... more >>
Web Deployment Project - .net version
Posted by gerry at 3/2/2006 8:35:28 AM
I am using a Web Deployment Project to create a web app installation
package.
Everything work peachy with one exception - the installed site is always
configured to use .net 1.1 instead of .net 2.0
I am assuming that the site is actually just defaulting to the default
version
Anyone know how... more >>
web.config inheritance
Posted by gerry at 3/2/2006 8:27:12 AM
Is there any way to prevent web.config inheritance in nested web
applications ?
Here is the scenario, a 3rd party asp.net web application installed on an
asp.net intranet site :
http://intranet.company.org
http://intranet.company.org/3rdPartApp
both are configured as applications in IIS.
th... more >>
Dynamic Graphics.
Posted by ng5000 NO[at]SPAM gmail.com at 3/2/2006 8:15:32 AM
Hi,
I'm new to ASP.Net (first looked at it 2 days ago). All I want to do
is create a user's web page that displays data from a database in the
form of a bespoke display (e.g picture of a computer with a temp guage
on the monitor).
I've got lots of ADO.Net experience so I was able to create... more >>
Problem: Unwanted Paper feed after printing.
Posted by Sukh at 3/2/2006 8:08:49 AM
Hello anyone,
I am printing a pre-printed continue paper on dot-matrix printer using
vb.net winform.
For printing I am creating custom size paper and selecting the same for
printing. Everything is going fine on first page but after printing
first page it feed some extra paper (3cm paper). So on... more >>
Images not put in cache
Posted by Stephane at 3/2/2006 7:51:27 AM
Hi,
All images on my ASP.Net web site are reloaded almost each time I visit a
page. My chache setting on IE is set to Automatically. When I visit another
web site, images are rarely reloaded so it's fast. This slows down my site
and it's really a pain in the neck.
All my web pages are dy... more >>
DataSource Controls
Posted by Francis Reed at 3/2/2006 7:26:57 AM
Hi
I'm following the example on how to create a HierarchicalDataSourceControl
using visual studio 2005 with asp.net 2.0 , and I'm getting a
System.StackOverflowException. Ive copied the code exactly, and when I Bind a
TreeView control to the FileSytemDataSource, it just hangs and eventually... more >>
Timer Control in APS.NET ?
Posted by abhishek007p NO[at]SPAM hotmail.com at 3/2/2006 6:55:01 AM
HI,
i am using visual web developer for .net 2.0.
does .NET 2.0 comes with a timer control, i was unable to find it in
the IDE, where is it ?
thanks,
Abhishek
... more >>
layout problem: aligning several datagrids vertically
Posted by Mark Wiewel at 3/2/2006 4:25:51 AM
hi all,
i am a newbie in ASP.NET and i couldn't find the solution to this one:
i have a form with three datagrids on it. i would like to align them
vertically with a space between each grid of about 20px. the amount of
rows in those grids is changing, but the position of each datagrid
seems... more >>
Anchoring Grid Control With Browser Window
Posted by batista at 3/2/2006 3:55:22 AM
Hello All,
I want to anchor my control to the browser window, just like the anchor
property in windows forms.
Like if i resize my browser window the webgrid should also resize
itself.
How could I do this in web forms,
Any suggestions....
Thanks.
Cheers..
Bye
... more >>
Your problems solution
Posted by aweska don at 3/2/2006 3:07:17 AM
Hi,
Here is a web address to read very useful articles:
At Home,Attorneys,Auto,Business,Finanace,Health,Insurance,Internet And
Computer,Investing,Software
Just visit: http://www.newbestweb.com/articles/
Thanks
... more >>
Invalid_Viewstate - Please help!
Posted by InnoCreate at 3/2/2006 2:34:12 AM
Hi Everyone,
Occasionally i'm getting the following error logged. I've heard this
can be caused by proxy servers. Does anyone know anyways to resolve the
issue or anything else that could cause the issue.
Thanks
James
[Error]
System.Web.HttpUnhandledException: Exception of type
System.... more >>
read HTML control value
Posted by Raj at 3/2/2006 2:09:12 AM
Hi,
What is the best way to access html text box control value in asp.net
code behind file?
Thanks in advance
-raj
... more >>
dataset datable
Posted by Andrew at 3/2/2006 1:41:26 AM
Hi all,
I have a dataset which I pass back from my webservice to my app.
In my webservice, it looks like this:
ds.Tables["StudentTestpaper"]
I want to access the datatable in my dataset in my app after it has received
the dataset.
How do I do this ? I tried:
int intTest = (int)ds.Tables... more >>
Form based authentication for a web aplication in subdirectory
Posted by sivam.solai NO[at]SPAM gmail.com at 3/2/2006 1:26:59 AM
hai
i have My Asp.net Project in C:\AspNetproject
AspNetproject have To sub Folder. 1) Forums and 2) users
Exe : C:\AspNetproject\Fourms
Exe : C:\AspNetproject:\users
The Fourms Foldder Having Topic.aspx,startThread.aspx , Replay.aspx
The users Folder having Login.aspx and Forget... more >>
Postback Problem
Posted by Alper OZGUR at 3/2/2006 12:00:00 AM
Hi;
In my code i'm checking some conditions and if the condition fails i want to
postback the page. Tried using the below methods but the when form is loaded
the postback status is false.. how can i solve?
Page_Load(1,SystemEventArgs.Empty)
or
Response.write("<script> __doPostback('Mybase... more >>
Ajax frameworks
Posted by McGeeky at 3/2/2006 12:00:00 AM
Hi. I have been reviewing Ajax frameworks for .Net and really like the look
of MagicAjax, the open source framework, because of the simplicity of its
design. However I am a little concerned at using an open source framework
from a support perspective. Has anyone used MagicAjax in production, a... more >>
Internationalization in ASP.NET
Posted by Kiran A K at 3/2/2006 12:00:00 AM
Hi,
i want my web application to support several languages (like english,
russian, danish etc).
how do i achieve this in ASP.NET?
the application should automatically detect the client's locale and then
display the web pages
in the appropriate language.
is it possible to have separate l... more >>
Proxy class for web service access: target IP configurable?
Posted by Roland Riess at 3/2/2006 12:00:00 AM
Hi all,
as an absolute beginner with all web matters I'm sure there are still
many things that I do net understand yet - so please point me to the
right direction whereever you feel that I'm wrong.
I developped a web service (VS 2003, ASP.NET1.1, IIS 5.0 on Windows
2000) that does some d... more >>
Powerbuilder integration with ASP.NET
Posted by Subrata at 3/2/2006 12:00:00 AM
hi,
We have a two tier client server application written with Powerbuilder
as the front end. Going forward, we want to move the system to a ASP.NET
based application. However, the first phase of the migration path is decided
to move only the UI to ASP.NET, keeping the rest of the applicat... more >>
Validator Control
Posted by Arsalan at 3/2/2006 12:00:00 AM
Is there any way to group validator control ?
I have two submit button in my webform [for separate category] for example
Employee section and Accounting section
But the problem is when I press submit button in Accounting section, the
validator in Employees section also gets fired. How do... more >>
please help
Posted by Hari at 3/2/2006 12:00:00 AM
Hi,
Can anyone suggest me some good tools to format my aspx page , my aspx page
in an application is very much poorly formatted,
I can't even figure out some of the ending tags exactly and aspx
code-behind really look bad.( I know the vs.net edit and formatting will do
up to a limit )
A... more >>
|