all groups > asp.net > march 2007 > threads for friday 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
Host Headers under IIS 6 and the Internationalization of domain names
Posted by Neo Geshel at 3/2/2007 11:39:50 PM
I know this probably OT, but I need to know if there is any way to=20
=E2=80=9Cupgrade=E2=80=9D the host header system of IIS 6 (Win 2003) to a=
ccept=20
internationalized domain names. That is, domain names with characters=20
other than the standard US character set.
IIS in its current state... more >>
Validation Controls
Posted by Joe Penora at 3/2/2007 9:40:47 PM
Hi All,
How can place 2 validation controls one on top of another? The first one =
is the RequiredFieldValidator and the second one is the =
RegularExpressionValidator. Both needs to validate an e-mail field and =
should show Red * in the same spot while the message is displayed via =
the Val... more >>
creating DAL, how????
Posted by Jeff at 3/2/2007 9:40:31 PM
Hey
ASP.NET 2.0
I'm designing the DAL (Data Access Layer) of my web application. I want
every table to have a strongly typed object as wrapper arround the table. So
that for example if the DAL found 3 records in the table then it sends a
generic collection of 3 objects to the BLL (Busine... more >>
verify email address availability
Posted by Grey at 3/2/2007 9:27:46 PM
I have to write a program to verify email address availability. i have to
verify thousand of email address. is there any way to verify the email in
..net instead. the requirement is to verify which email valid or invalid
... more >>
Ajax Problem: UpdatePanel with dropdownlist jumps to bottom of the page
Posted by retroman80s at 3/2/2007 9:27:34 PM
I have an UpdatePanel with a DropDownList. Everytime I select a new
item on the DropDownList, the UpdatePanel refreshes and the page jumps
to the bottom. I want it to go back to the top of the page, any ideas
what the problem is?
Everything ASP.NET 2.0
------------------------------------... more >>
webform re-loading itself?
Posted by spaceMarine NO[at]SPAM mailinator.com at 3/2/2007 6:06:18 PM
hello,
im running asp.net v1.1 for my personal website. one page is doing
something strange -- its reloading itself, so that when i set a
breakpoint on Page_Load or Page_Init, theyre hit twice.
im not using global.asax, im not inheriting anything custom, and
theres no javascript int he page... more >>
Upload browser favorites?
Posted by john_c at 3/2/2007 5:11:20 PM
If I want to upload a user's (with permissiom) web browser favorites,
will they have to configure their favorites folder to allow the
ASP.NET user to access that folder?
What happens for Mac users?
Thanks,
John
... more >>
dynamic configuration of asp:SqlDataSource?
Posted by Mark at 3/2/2007 3:45:26 PM
Hi...
I'm trying to implement roles in various components (i.e. using different
sets of configuration depending, in this case, on which environment your in).
Pretty easy to add an AppSettings["role"] variable in most cases.
The thing that's causing me difficulty are the asp:SqlDataSource ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
TreeView question
Posted by Guy at 3/2/2007 3:45:07 PM
when developing an ASP.NET application in the style of Outlook, Win Explorer,
.... (treeview navigation and depending on selected item another content
panel), I suppose in ASP.NET the best way of achieving a similar setup is by
using the TreeView with a MultiView? Or are there better alternati... more >>
FormView layout
Posted by Bret at 3/2/2007 3:42:59 PM
I have a standard Form View bound to a SQL Data Source with about 30 fields
and it works well and fine.
However I want to change the layout from the standard Vertical View of form
to
a more easier to read form view where fields are in different sections of
the form and also horizontal. Can... more >>
DIV overlapping with Gridview
Posted by srinivas at 3/2/2007 3:23:42 PM
Hi,
I have a DIV tag which contains a textbox and command button.
I'm having a grid view where EmpID is a hyperlink column.When EmpID is
clicked I want the DIV to be displayed at center as a popup.
The problem is that after clicking EmpID link, DIV tag is coming at the
center but the textbox ... more >>
File Upload Issue
Posted by Robert Strickland at 3/2/2007 2:58:11 PM
Our application uploads a file to go through some parsing. Towards the end
of the process, the application moves the file from the 'processing' folder
to an archive location. However, at times this move (a moveto) fails because
the file is in use by another process (we receive a System.IO.IOEx... more >>
change background color
Posted by rodchar at 3/2/2007 2:48:56 PM
hey all,
is there an easy way to change the background color of the page in the
code-behind?
thanks,
rodchar... more >>
Problem with Summary Validation
Posted by Barbara Alderton at 3/2/2007 2:44:12 PM
I'm having trouble working with a Summary Validation control. I need to
click my submit button twice for the Summary to display when validation
errors occur on the page.
Background:
My page contains a radio control which the user must answer to finish the
page entry. If user hits submit ... more >>
Why I'm getting this error?
Posted by Ignacio Machin ( .NET/ C# MVP ) at 3/2/2007 2:07:44 PM
I'm getting an error "c:\inetpub\wwwroot\RGSSO\SO.aspx.cs(363):
'RGSSO.WebForm1.dataSetRG' denotes a 'field' where a 'class' was expected"
on the following code:
private void btnAdd_Click(object sender, System.EventArgs e)
{
dataSetRG.SOsRow myNewSOsRow;
myNewSOsRow=new dataSetRG.SO... more >>
Default Selected Item in DropDownList
Posted by rn5a NO[at]SPAM rediffmail.com at 3/2/2007 1:55:59 PM
I am binding a DropDownList with records existing in a database table.
I want to add an extra item *SELECT COMPANY* at index 0 so that by
default, it gets selected. This is how I tried it but the extra item
just doesn't get added to the DropDownList:
===========================================... more >>
Drop Down List - is this normal behaviour?
Posted by G at 3/2/2007 1:54:04 PM
I have the following DropDownList on my webform.
<asp:DropDownList ID="MyStatus" CssClass="DropDownList"
runat="server">
<asp:ListItem Value="" Text="Please select"></asp:ListItem>
<asp:ListItem Value="0" Text="Where's the nearest
bridge?"... more >>
Web Develper 2005 Express Edition changes HTML
Posted by George Ter-Saakov at 3/2/2007 1:48:30 PM
I am using Express Edition and working on new project with AJAX
for whatever reasong when i am switch in design mode my page that uses
TabContainer it modifies HTML
<cc1:TabPanel ID="tb1" HeaderText="Name" runat="server">
<ContentTemplate>
<table border=0 cellpadding=0 cellspacing=0>
... more >>
Event not being raised (how to get list of delegates)
Posted by Karch at 3/2/2007 1:21:03 PM
I have an event that is not being raised on postback from client script. It
DOES get raised during a "normal" postback. The event is wired up in the
Page Init. I have traced through and my event target looks correct in both
scenarios.
How can I determine the current list of delegates to see... more >>
Adding items on an aspx page doesn't cause them to be created in the code behind.
Posted by JB at 3/2/2007 1:01:25 PM
I have existing aspx pages that I'm editing in VS 2005 that I add a server
control to - like a label. I include the runat="server" and it doesn't seem
to create the reference in the code behind for it.
Is there any way to have it automatically generate the code behind?
Also - when I look i... more >>
ATLAS Bug w/ImageURL
Posted by GaryDean at 3/2/2007 12:12:13 PM
The only way to get a bitmap object into an image control is to set the
ImageURL to a web page that writes the object to the Output stream.
This also worked just fine for me when I put the Image control inside an
ATLAS Update Panel and used I.E. 6 to view the page. Then I.E. 7 came out
and... more >>
CreateChildControls and submit from usercontrol
Posted by xke at 3/2/2007 11:43:47 AM
I have a base class which overrides CreateChildControls / Render.
Inside CreateChildControls, based on a public property ShowLinks in
this class, I can include/display a usercontrol (kind of set of links
like a menu)
A form P inherits this base class. I set the property me.ShowLinks =
true on... more >>
Creating a list of checkboxes dynamically
Posted by Middletree at 3/2/2007 11:39:38 AM
I'm a Classic ASP guy trying to learn .NET. I'm finding that it is making
simple things harder, at least so far.
I'm trying to re-create, from scratch, a web-based app that I did a few
years back. The old one is located at
http://www.gracearlington.com/shape/shape/
If you open the page,... more >>
Upload file with big size (over 130 MBytes) in ASP.NET. Please help!
Posted by bienwell at 3/2/2007 11:15:12 AM
Hi all,
I developed an web page in ASP.NET to upload file into the server. In the
Web.config file, I declared
<httpRuntime executionTimeout="1200" maxRequestLength="400000" />
The MAX length is 129M or more for each file upload. I have 2 files
upload at the same time. Therefore, I... more >>
Xpath with XMLDatasource
Posted by Disccooker NO[at]SPAM gmail.com at 3/2/2007 11:14:35 AM
i am trying to use XPath and the XMLDataSource to display data from an
XMLDocument and am getting nowhere. What i would like to do is have a
repeater display a label for Seed, label for Team Name and a Text Box
for each game - like an NCAA bracket.
1. Team1 [__]
16. Bradley [__]
8. Mis... more >>
Deploying a ASP.NET 2.0 appliation ..
Posted by SqlBeginner at 3/2/2007 10:37:32 AM
Hi
I am writing batch files to deploy the .NET 2.0 application. I use xcopy
commads and list out all those file extensions which are needed. Normally
till .NET framework 1.1 it used to work for me if i don't give *.cs files.
But now in 2.0 its not working? ie.., I am forced to specify *.cs ... more >>
HELP PLEASE ~ ???
Posted by Brad Isaacs at 3/2/2007 9:55:20 AM
I am working with ASP.NET 2.0 and using an SQL Server 2000 database.
I am using Visual Studio 2005 and developing on my Local machine. I am
working with Login controls ASP.Configuration, I wanted to move my work
and needed to place it on the server.
Using VS 2005 , went to BUILD
... more >>
Retrieving Identity Values after DetailsView Insert
Posted by Mark Olbert at 3/2/2007 9:26:59 AM
I am struggling with trying to retrieve the value of an autoincrement identity field after a DetailsView Insert operation. The
DetailsView is bound to an SqlDataSource control.
So far as I can tell, nowhere in the arguments for either the Inserted event for the DetailsView or the Inserted event ... more >>
The server tag is not well formed.
Posted by srinivas at 3/2/2007 9:25:45 AM
Hi all,
I'm getting the 'The server tag is not well formed.' error for this tag in
aspx page
<a href="javascript:openPopup('default.aspx?EmpID=<%# Eval("EmpID")
%>&Type=1')" id="lnkDestination" name="lnkDestination"
accesskey="lnkDestination" runat="server">Show</a>
Can anybody please h... more >>
WEB SITE PROJECT DEPLOYMENT ~ Help please??
Posted by Brad Isaacs at 3/2/2007 8:54:04 AM
I am working with ASP.NET 2.0 and using an SQL Server 2000 database.
I am using Visual Studio 2005 and developing on my Local machine. I am
working with Login controls ASP.Configuration, I wanted to move my work
and needed to place it on the server.
Using VS 2005 , went to BUILD
... more >>
.Net 2.0 Menu + clicking on cell instead of text only
Posted by c.nateghi NO[at]SPAM gmail.com at 3/2/2007 8:49:59 AM
Hi there,
i'm using a .Net 2.0 webcontrols.Menu and want users to be able to
click on the "cell" to select the menuitem, not just on the text in
the cell. How can I do this, without using a 3-rd party Menu control?
thanks,
Chris.
... more >>
Kind of List? ...
Posted by shapper at 3/2/2007 8:44:48 AM
Hello,
I need to pass to a function a list of items. Each item must include
to values:
1. Method (Enum Type)
2. Value (String)
I was using:
Dim myItems As New Dictionary(Of String,
Validation.RegularExpression)
With myItems
'.Add("hello", Type.NotEmpty)
... more >>
GridView
Posted by shapper at 3/2/2007 8:29:43 AM
Hello,
In which grid view event should I define the datasource and run
databind of a gridview?
Init or Load?
Thanks,
Miguel
... more >>
Scaleable naviagtion pane
Posted by jsqrd at 3/2/2007 8:02:54 AM
Does anyone now if the ubiquitous "scaleable naviagtion pane" as used
on the MSDN Library site (http://.msd2.microsoft.com...) is a custom
control? If not, where it can be found?
Thanks,
JJ
... more >>
Display values
Posted by shapper at 3/2/2007 8:02:09 AM
Hello,
I am testing an Asp.Net 2.0 web page on VS 2005 and I need to check
some variable values while it runs.
What is the best way to do this?
What should be my C# or VB.NET code?
Thanks,
Miguel
... more >>
Binding a column to a dropdownlist at runtim
Posted by Daniel at 3/2/2007 7:30:05 AM
Hello everyone
can you please help me in finding out how i can bind a column to a
dropdownlist at run time. I'm using vb.net with sql server 2000. Its for a
web development
i tried this but it never worked
With Dropdownlist1
.DataSource = CreateDataSet(strSQL2)
... more >>
Copy Images to a word File
Posted by sandeepkedlaya NO[at]SPAM gmail.com at 3/2/2007 7:26:17 AM
Hello,
I need to copy images from a folder and copy to a word document. I
have done as follows.. but It copies only last image. Can any one of
you help me in this..
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Response.Buffer = True
Di... more >>
please send me shoppingCart problem
Posted by tokdilip NO[at]SPAM gmail.com at 3/2/2007 6:44:09 AM
how collect cart element?
how update qty from one external button?
how work two server control in gridview ,one is link button and other
is checkbox?
desseble to back option?
... more >>
Forcing An HTTP Response From the Server?
Posted by pbd22 at 3/2/2007 6:17:49 AM
Hi.
I feel like i should know this but i dont.
How do I get the server to send a specific HTTP response to the
browser?
I want to tell the browser that there is no content coming back from
ther server and I want to do it in the HTTP Headers. The status code
is "204" for no content.
How ... more >>
Save ASPX page on client programmatically
Posted by FreeNEasy at 3/2/2007 5:49:12 AM
Hello,
the scenario:
There's an ASPX page which shows some text and has three buttons at the
bottom: Save, Print and Close. Print and close is done by javascript. But how
can I save the page on the client's computer? He/she could do this using the
browser (file/save), but I need to have ... more >>
Https and images and js files
Posted by ABCL at 3/2/2007 5:03:12 AM
Hi
I have asp.net web site that is working well on my m/c if I access
using http://
But I depyoed on production,It requiers to use https:// , If i browse
tha page using https://...and on login page it doesn't link images,
css and .js files on the login page. Once the user login successfully
... more >>
String
Posted by shapper at 3/2/2007 4:51:40 AM
Hello,
I have an array of strings:
Dim a As String() = New String() {"New York", "UK"}
And a string:
Dim b As String = "New York"
I want to check if b is contained in a. In this case it would return
true.
How can I do this?
Thanks,
Miguel
... more >>
download more than one file at a time
Posted by ajash.pv NO[at]SPAM gmail.com at 3/2/2007 4:14:20 AM
helooo... plz help,
i wana 2 download more than one file at a time(only single selection
of destintion).i mean the file save ask will show only one time but i
wana to store more than one file in that place at atime
... more >>
how can User.Identity.Name be empty?
Posted by CharlesA at 3/2/2007 4:01:03 AM
hi folks,
I've got XP pro service pack 2 VS 2005 TSE with ASP.net 2.0 and C#
I'm doing an example from Stephen Walther's so far excellent book and he
has a whole load of stuff to add the current user to a role like so:
<script runat="server">
void Page_Load()
{
if (... more >>
baffled by inability to debug asp.net page
Posted by CharlesA at 3/2/2007 3:56:15 AM
Hi folks,
I will try my best to clarify what should be a simple thing to solve:
I've got XP pro sp2 VS 2005 Team system and .Net 2.0 with ASP.net and C#
I've got the compilation <debug="true"> in web.config (and this doesn't work
even if I have @page debug="true")
when I run any indivi... more >>
How view state is maintaing in asp.net
Posted by archana at 3/2/2007 3:26:35 AM
Hi all,
I am new to asp.net. I am not very much clear in concept of
viewstate.
CAn anyone help me in understanding this concept. I have one question
regarding viewstate.
I have one aspx page with enableviewstate property set to true. So
when i run my application in
in html code of pa... more >>
Creating a links column in an asp datagrid
Posted by Esemi at 3/2/2007 3:10:05 AM
I have a datatable that contains a number of web addresses as type nvarchar
(eg 'www.msdn.com').
I want to use these as hyperlinks in a datagrid column.
Whats the best way to do this? How can I set the NavigateURL property for
each row of a HyperLinkField column dynamically? Is this even th... more >>
Email HTML form results via ASPX
Posted by stew dean at 3/2/2007 3:03:25 AM
Hi,
I'm a newbie so go easy. I'm having to covert an old site I've done
to run in a .net environment and have limited time to do this.
What I've learnt so far is the ideal way to do this is to recreate the
form as an aspx page and let the page handle it's own output. This I
will do later ... more >>
Probleme/Fragen zu ASP.Net
Posted by Winkl at 3/2/2007 2:28:34 AM
Hallo zusammen,
ich bin gerade dabei meine 1. Homepage unter ASP.NET (VB) zu machen.
Habe bis jetzt nur Erfahrung unter Access+VBA. Dabei sind folgende
Probleme/Fragen aufgetreten:
1=2E Gibt es eine M=F6glichkeit Felder mithilfe von Variablen
anzusprechen? zB will ich die Felder TOR1-TOR20 ... more >>
ASP.NET "XSL processor stack has overflowed."
Posted by Prabu at 3/2/2007 12:58:34 AM
Hi,
I have a web site hosted on a W2k3 machine with IIS 6.0 installed.
When ever i run a specific task from this website I get a 'The XSL
processor stack has overflowed - probable cause is infinite template
recursion' error message.
I created a windows application with the same code and kicke... more >>
How to add a new row to a DataList
Posted by Rod at 3/2/2007 12:00:00 AM
I'm new to both SQL server and asp.net so please excuse the dumb question.
I have a table in SQL server that has an identity column and also some
columns that are marked as Not Null.
In asp.net I put this table into a dataset then display it in either a
DataList or a DataGrid.
I want ... more >>
problems with Width on ImageMap
Posted by Jeff at 3/2/2007 12:00:00 AM
ASP.NET 2.0
I've got problems with the Width of the ImageMap below. The problem is that
the ImageMap's Width doesn't have any effect in my GridView, the width are
determine by width of the column and the with of the div (the div the
ImageMap is included in). In the code below the column & d... more >>
Open Specific URL from Windows Desktop
Posted by waheed iqbal at 3/2/2007 12:00:00 AM
i am using C#.net and i want to open a specific url using windows brwoser .
this is very easy to launch IE process and provide url .
But url required authentication and i need to provide this authentication
automatically. or can any body tell me how can i save password for specific
url progra... more >>
|