all groups > asp.net > april 2007 > threads for thursday april 26
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
Request.UserHostAddress, Vista & IIS7
Posted by Mark Rae at 4/26/2007 11:23:12 PM
Hi,
Now that the VS.NET 2005 SP1 update patch is with us, I'm in the process of
moving my main development environment onto 64-bit Vista Business Edition -
so far, so good...
However, there is a bit of a gotcha with Request.UserHostAddress...
Under IIS6 and earlier, that would return a ... more >>
adding custom setting into web.config, how??
Posted by Jeff at 4/26/2007 11:20:53 PM
ASP.NET 2.0
I'm wondering how to add a custom setting into web.config. From this website
I'm doing a http request to another website, and I would like to have the
webaddress of this other website stored as a value in web.config. So just in
case the webaddress is wrong I wouldn't need to rec... more >>
hello, i meet a question
Posted by xianf_z at 4/26/2007 10:29:17 PM
there is a clients, his requirement is don't refresh interface then add
data,but dataview don't get the data that used the javascript add in
backend.
... more >>
What's wrong with RegularExpressionValidator?
Posted by clintonG at 4/26/2007 9:33:38 PM
Two regular expression questions in a row -- we're on a roll here ;-)
I have this...
<asp:RegularExpressionValidator
ID="Validator1" runat="server"
ControlToValidate="TextBox1"
EnableViewState="False"
ValidationExpression="^[-\w\d\.]$"
ErrorMessage='Disallowed Data Ent... more >>
Validation control problem
Posted by fniles at 4/26/2007 9:03:28 PM
I am using a Regular Expression Validator and expression ^.{4,8}$ but even
when I type in "asdf",
"1234", or "asdf1234" when I click on the submit button it keeps giving me
the error "Password must be between 4 and 8 characters in length". What did
I do wrong in the following Page1.aspx ? Thank... more >>
Free Automated Web Site Test Tools for IE 6.0?
Posted by Spam Catcher at 4/26/2007 8:06:42 PM
Hi all,
Are there any open source (or free) automated website test tools for IE?
I basically need an app to record a macro in IE - and then surf a site
clicking on buttons, entering form data, etc.
I don't need the app to log data, I can watch myself.
Any sort of tool like that?
Tha... more >>
Password length minimum: 7. Non-alphanumeric characters required: 1.
Posted by Yasin Cepeci at 4/26/2007 7:50:08 PM
Password length minimum: 7. Non-alphanumeric characters required.I ve taken
this error. Microsoft Security Policy requires something nonsense I think. I
never think a password like "75256asdf!^+%&" this. How can I use normal
passwords which users demand what their hearth say as a password.: 1.... more >>
Help with Email Code
Posted by DrNoose at 4/26/2007 6:53:18 PM
Hi!
I'm working on code for a feedback form. I want the data from the user
that is taken from the form to be emailed back to me. I'm using vb with
visual studios 2005.
I have most of the code, but have some missing stuff, because I'm not
totally sure what I'm doing!
Can someone take a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Checking if User is in Role
Posted by mc at 4/26/2007 5:48:38 PM
I would like to check if a user is currently a member of a Local Group on the server. I am able to
do the test for the current user and all is ok, however I would like to be able to take a list of
users from a table in the database and check if the user is in the specified group. is it possible ... more >>
page output contains output from another request
Posted by jmr at 4/26/2007 4:02:22 PM
Hi All,
I've found a post in google group about this problem but unfortunately,
there was no answer. Sorry to ask again but maybe the initial poster has
a fix now.
The problem we have with our .net application is that sometimes the
output page contains part of other pages that are being ... more >>
why choose .net ?
Posted by brazen at 4/26/2007 3:31:01 PM
Hi there,
We need to retrospectively justify our choice in using .NET framework
for developing our site. Our techie isnt here so we cant run it past
him. Can some kind, helpful person run their eye over it and tell me
if I'm tellling porkies, or if there is anything I should add?
Why should... more >>
CheckBoxList.OnDataBinding
Posted by MattB at 4/26/2007 3:25:07 PM
I'm still on .Net 1.1 if that makes a difference.
I have a CheckBoxList in my application that I want to use a
OnDataBinding event to do some conditional changes to the labels at run
time.
I've done this a bit with DataGrids and figured this would be the same
or very similar. It seems as... more >>
How to "program" a button's click ?
Posted by user at 4/26/2007 2:59:46 PM
Hello,
With ASP.NET2, how to program a button's click ?
For example, I have two button and when i click the first one, i would like
that the second one will be click too (by programming) ... something like
button2.click ???
Thanks for help ..
... more >>
HELP Pretty please :-)
Posted by Robert Dufour at 4/26/2007 2:54:51 PM
I am trying to localize a very simple web site (english and french)
I have a master page and one content page for now.
On the master page I have placed a Localize control
On the content page I have placed a label and a dropdownlist. The label says
"Use this language" or "Utilisez cette laag... more >>
DataGrid - Databinding a function
Posted by Jl_G_0 at 4/26/2007 2:26:31 PM
Hey all.
I have a question, hope its not hard, searched several groups but
couldn't find nothing like this...
I have a DataGrid with some columns with data on it,
AutoGenerateColumns=FALSE and a TemplateColumn with a Button on it.
All I want to do is, click the Button, the Button call... more >>
Header Fixed
Posted by Alhambra Eidos Kiquenet at 4/26/2007 2:10:01 PM
Hello misters,
I have an DAtalist that generates an html table with a header. There are
many rows, and I want that it appears scroll horizontal and vertical, and the
header be fixed.
Any help ? Thanks in advance.
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
... more >>
Grid View Add Attribute Not on Headers
Posted by bdog4 NO[at]SPAM hotmail.com at 4/26/2007 2:09:19 PM
Is there a way to not apply this to the first row which is my header?
Thanks
Protected Sub GridView1_RowCreated(ByVal sender As Object, ByVal e
As System.Web.UI.WebControls.GridViewRowEventArgs) Handles
GridView1.RowCreated
If e.Row.RowState = DataControlRowState.Alternate OrElse
e.Row.R... more >>
Transaction scope question
Posted by GaryDean at 4/26/2007 1:46:41 PM
I'm using TransactionScope as follows...
using TransactionScope myScope = new TransactionScope())
{
using (SqlConnection conn = new SqlConnection())
{
conn.ConnectionString = GlobalData.connString;
conn.Open();
...................code that does db work
myScop... more >>
webdev.webserver fails to start
Posted by oaksong at 4/26/2007 12:36:28 PM
I had a problem with this a couple months ago and managed to get it
working. This included poking a few holes in BlackIce and disabling a
feature (BOP) in McAfee Virus Scan. This was a test case, and the
ports were blocked until permission was granted to use this solution.
Now I've got the por... more >>
multi sites in web.config ? mask url to use same app ?
Posted by Scott at 4/26/2007 11:21:10 AM
Hi,
I have site1.net as a main site in IIS6 on port 80.
Its uses asp, sql server and a web.config file for connection string.
I have created site2.net :
- DNS for site2.net points to same IP as site1.net
- I have added site2.net to IIS6 using same IP as site1.net
- im using hostheaders ... more >>
Stopping a bubble event
Posted by David at 4/26/2007 10:59:40 AM
Hi all,
I have a page that inherits from my own page class that inherits from
system.web.ui.page.
In my page, I have a button click event that saves content of the page. The
saving is actually done via the bubbled event rather than directly in my
page.
Now, if I enter invalid data (fo... more >>
Question about ASP.NET threads: nuts & bolts
Posted by Object01 at 4/26/2007 10:30:39 AM
I wanted to prove a concept, so wrote a page that does the following:
public void btn_click() {
File.CreateText("file.txt");
Response.BufferOutput = false;
Response.Redirect(this.Request.FilePath, false);
Thread.Sleep(15000);
File.Delete(file.txt);
}
I expected this t... more >>
Dotnet framework 3.0 questions
Posted by Preeti at 4/26/2007 10:08:18 AM
Hi check this for your questions on dot net framework 3.0
http://dotnetintervies.blogspot.com
Preeti
... more >>
Why can't I set the listbox selectedIndex to -1?
Posted by amtamayo NO[at]SPAM gmail.com at 4/26/2007 9:51:21 AM
I have a simple webform that has a listbox that I bind to a dataview
at designtime. This provides an optional selection for the user so I
wanted to have no default value selected. So on the Page_Load event,
I set the selectedIndex to -1. However, when I run the page, the
default value is stil... more >>
Active Count of Rows using Repeater Control (ASP.NET VB)
Posted by RC- at 4/26/2007 9:45:37 AM
Hi everyone,
I have been searching and searching for an answer to this question using
Google and what not; I have not been able to find a "clear cut" answer.
OK, now the question:
I have a Repeater control that works great. What I am trying to do is
perform an active count of the number o... more >>
Update Web User Control From App_Code Class
Posted by Jared at 4/26/2007 9:37:41 AM
Hi
I have been looking for a few hours and couldn't find much in these
groups, so I thought I would post it here in case anybody else is
trying to figure it out.
I have an ascx User control with an attribute called 'Value'. I want
to set this at run time from a class with App_Code. I pass t... more >>
disapearing gridlines in gridview
Posted by Vinki at 4/26/2007 9:36:01 AM
Hello Everyone,
I have a gridview. I am using template columns inside the gridview.
When I display the gridview on the web page and if there is no value in a
particular cell, gridline disappaers around that cell.I want the grid lines
to appear all the time even if the cell is empty. Can... more >>
IHttpHandler.IsReusable (how long is an instance pooled when IsReusable = true?)
Posted by ChrisMiddle10 NO[at]SPAM gmail.com at 4/26/2007 9:34:10 AM
Hey All,
My subject says it all. I'd like to control how long the instance of
my HttpHandler is pooled, but I'm not sure how and I can't find
anything about it. Is it possible? If so, how?
Thanks a lot!!
- chris
... more >>
Pre-approved Labor available with us
Posted by mandarkraftware NO[at]SPAM gmail.com at 4/26/2007 9:04:56 AM
Hi,
This is Mandar Purandare , I have two pre-approved labor each in EB2
and EB3 category.
Our terms are simple , you need to take care of legal charges and join
us , and that's all.
Please forward your resume in word format to mandar707@gmail.com or
call me for more details
on 402 40... more >>
passing user data
Posted by James at 4/26/2007 8:40:03 AM
Hello,
I have created a login page and a custom membership provider based on
MSAccess. I am trying to get a page to display a GridView with a list of the
persons addresses when they log in.
The datasource is based on the membership table, and an address table. What
I am looking for is so... more >>
Simple Java Script question Re ApplicationPath
Posted by Radu at 4/26/2007 7:32:14 AM
Hi. I have a page, named "SelectScorecard", which contains a combo
and some links to outside documents, on the server. These documents
are situated in some sub-folders of the webfolder, named "Previews"
and "BW Previews". On selection of an item in the combo, the HREF of
those links has to chan... more >>
Javascript - NaN
Posted by C at 4/26/2007 7:22:00 AM
Hi,
I do some calculations on my aspx like below...
I check if the resilt is NaN and I set the total to 0.
What is the correcy way of handling this?
var elDebtorsTotalValue =
document.getElementById('ctl00_WizardContentPlaceHolder_Wizard1_SecurityFloatingCharge1_txtDebtorsTotalValue');... more >>
Simlpe Java Script question Re ApplicationPath
Posted by Radu at 4/26/2007 7:03:59 AM
Hi. I have a page, named "SelectScorecard", which contains a combo
and some links to outside documents, on the server. These documents
are situated in some sub-folders of the webfolder, named "Previews"
and "BW Previews". On selection of an item in the combo, the HREF of
those links has to chan... more >>
Basic dynamic repeating form element in ASP.NET2.0?
Posted by mj.redfox.mj NO[at]SPAM gmail.com at 4/26/2007 6:12:23 AM
Does anyone know how I can do the following sort of thing (written in
classic ASP), but in ASP.NET?
This is a very, very basic repeating form element which uses a counter
'cntItems' to hold the current selected number of repeats:
<% for intCounter = 1 to cntItems %>
<input type="text"... more >>
Simulate linkbutton click on submit
Posted by Jakob Lithner at 4/26/2007 6:00:02 AM
I have two sets of search criteria on my page.
They are placed inside two DIV tags made visible/hidden by a client script.
In each DIV tag I have a LinkButton that performs the search from each set.
By using AJAX I get the resulting list expand and collapse without page
reload.
All work smoo... more >>
Shufle numbers from a file using C# & ASP.NET
Posted by dungdang at 4/26/2007 5:00:24 AM
I have a file that contains a single colum per row, about 20,000 rows
like :
2345607
2342374
2434522
1432334
1326514
7768518
7612364
...
On the APS.NET page, I have two buttons:
btnStart,
btnStop,
lblDisplayShuflle
I want to shufle these num... more >>
Shufle numbers from a file using C# & ASP.NET
Posted by dungdang at 4/26/2007 4:09:44 AM
I have a file that contains a single colum per row, about 20,000 rows
like :
2345607
2342374
2434522
1432334
1326514
7768518
7612364
...
On the APS.NET page, I have two buttons btnStart, btnStop,
lblDisplayShuflle
I want to shufle these numbers... more >>
Making the site Google Search Optimized
Posted by a.mustaq NO[at]SPAM gmail.com at 4/26/2007 4:08:09 AM
Hi All,
I am developing a site. The client wants this
site to be Google Search Optimized. How this can be achieved? Please
help me.
Thanks and Regards
Mustaq Ahmed.A
... more >>
Multiligual Web Application
Posted by a.mustaq NO[at]SPAM gmail.com at 4/26/2007 2:42:54 AM
Hi All,
I want to develop an multilingual application which
can support multiple languages. On selection of particular language
the whole content of the site must presented in that language.
How can I achieve this? Please help me.
Thanks and Regards
Mustaq Ahmed.A
... more >>
Multiligual Application
Posted by a.mustaq NO[at]SPAM gmail.com at 4/26/2007 2:38:54 AM
Hi All,
I want to develop a web application that support
multiple languages.How can i acheive this. Please help me.
Thanks and Regards
A.Mustaq Ahmed
... more >>
Join hands with 5000+ Corp-Corp Recruiters Network
Posted by shanmips at 4/26/2007 12:30:26 AM
Dear Partners,
We are inviting you to join www.Corp-Corp.com, the fast growing
network of recruiters.
Please view the list of companies already joined in this network
http://www.corp-corp.com/ads/now_hiring.aspx
www.Corp-Corp.com, is a market place for, only available, consultants
and co... more >>
Dynamic axd image without web.config
Posted by muriwai at 4/26/2007 12:00:00 AM
Hi, I am writing a web custom control that displays a dynamically generated
image. Apparently I need to register an HTTP handler in web.config. Is there
any way to register the handler programmatically to avoid messing with
web.config?
Thanks
... more >>
|