all groups > asp.net > september 2006 > threads for friday september 15
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
Validator Control on more textbox control
Posted by marko at 9/15/2006 11:12:22 PM
Hi,
it is possible to use a Validator control of asp.net on more controls.
If I have two controls of type text, I can use an only Validator?
Thanks to all Marko... more >>
Object Element
Posted by Seth Bourne at 9/15/2006 10:43:21 PM
I try to use Windows Control Library on my page and call it using OBJECT
element
<object classid="http:WinControl.dll#WinControl.UserControl1" width="100"
height="50" />
after publish my page to IIS, tested with localhost, all seems ok. but when
i tried from another PC,
the object didnt... more >>
Error Rendering Control
Posted by AG at 9/15/2006 10:26:43 PM
Using VS2005.
When I add a server control to a page in design view, it displays the
following;
Error Rendering Control = <control name>
An unhandled exception has occurred.
'HelpVerb' could not be initialized. Details: 'False' could not be set on
property 'Checked'.
I have searched the ... more >>
VS 2005: Cannot set Configuration of web project to "Release"
Posted by David Adams at 9/15/2006 9:38:12 PM
Hi,
I am trying to build and deploy a web project from VS 2005 and am unable to
select "Release" when I look at the configuration manager. I have several
other projects that I am using that I am able to set to "Release", but I
only can choose "Debug" for the web project.
Can anyone help... more >>
HTML controls instead of .Net server controls
Posted by Chris Davoli at 9/15/2006 6:46:01 PM
Another front end guy that I work with wants to use old HTML controls instead
of the new .NET server controls. Since he is a old HTML and classic asp
person and is familiar with this, he wants to the old HTML controls instead
of the new .Net controls on a .Net web page. Please give me some opi... more >>
ASP pages in .Net project.
Posted by Chris Davoli at 9/15/2006 6:35:02 PM
If I mix classic asp pages into a .Net ptoject, and I need the
Authorization_request event in the gloabal.asax to fire (implementing LDAP
security), will the Authorization_request event fire for the ASP page?
--
Chris Davoli
... more >>
form name
Posted by rodchar at 9/15/2006 6:17:01 PM
hey all,
is there a way to get the name of my form element in javascript?
thanks,
rodchar... more >>
Profile Provider Type?
Posted by shapper at 9/15/2006 5:17:01 PM
Hello,
What is the profiler provider type when using a Microsoft Access
database?
Thanks,
Miguel
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Access session of another user
Posted by Nick Gilbert at 9/15/2006 4:58:35 PM
Hi,
Is it possible to access the Session of an arbitary user from an aspx page?
On an e-commerce site, I am notified of payment success via a callback
from the payment server to an ASPX page on my system. I would like to be
able to access the session of the user that submitted the order, a... more >>
object instantiation
Posted by Carlos at 9/15/2006 4:40:10 PM
Hi all,
I have the following code snipet that is causing an exception when
processing
a gridview with checkboxes How can I fix it ? Thanks in advance, Carlos.
GridViewRow row = GridView7.Rows[i];
bool isChecked = ((CheckBox)row.FindControl("chkSelect")).Checked;
... more >>
Autocomplete type find
Posted by Bob at 9/15/2006 4:39:58 PM
I am creating a page that does a lookup on a contacts table in my database.
What is the best way to have the user type in part of the name and then
display those that match? An autocomplete database bound text box would be
ideal but thats probably not available so I would like to know if anyo... more >>
Event within an Event Issue
Posted by Tim.Forbess NO[at]SPAM gmail.com at 9/15/2006 4:19:55 PM
Using asp.net 2.0 I have a web project with one page which contains 2
user controls. One user control is a message bar with a label control
and the other user control that contains a treeview control.
I created an event on the tree user control to publish any error
messages back to the page. T... more >>
default submit button
Posted by Austin Phillips at 9/15/2006 3:23:00 PM
I have a form that has 2 text box for input and 2 buttons.
Like so:
Enter item: <textbox> <button>
Enter desc: <textbox> <button>
When I am in the item textbox and press enter I would like to go to page
item.aspx
When I am in the desc textbox and press enter I would like to go to page
... more >>
Leaf Node in SiteMapPath
Posted by Uriah Piddle at 9/15/2006 3:10:29 PM
Hi Gang,
I have a SiteMapPath, bound to a Site Map, that traces a hierarchy down to
an 'Article' leaf node. But the Article page shows one of many individual
articles depending on which article the user chooses in the Articles page.
The way it is set up now, if the user selects a particular... more >>
Profile Problem
Posted by shapper at 9/15/2006 3:06:18 PM
Hello,
I added some profile properties to my web.config file.
Then I started to use my profile properties in a page class and I get
an error:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact th... more >>
Published the app, no one can log on
Posted by dgk at 9/15/2006 2:34:43 PM
Using the default SQLExpress provider for membership and profiles, I
published an app and moved the current development ASPNETDB files to
the production machine. It works great, the login page is presented,
but all the users are invalid.
Anyone know what I'm supposed to do to make it work? If ... more >>
Can't find an option in VS 2005
Posted by shapper at 9/15/2006 2:11:29 PM
Hello,
I was reading the article in
http://msdn.microsoft.com/msdnmag/issues/06/08/BasicInstincts/
In figure 9 you can see the properties of an image file.
However, in my VS2005 I only see 2 properties: File Name and Full Path.
What do I need to do to see the other properties?
Thanks... more >>
ASP.NET 2.0 book
Posted by Mike King at 9/15/2006 1:30:06 PM
Is there an ASP.NET 2.0 book that's like Fritz Onion's ASP.NET v1 book? I
know he has another coming out in November but I cannot wait till then. I'm
looking for a book that explains the "plumbing" not which button to push and
not how to program. Any suggestion would be appreciated.
... more >>
Send page requset of page.txt to IIS.ASP
Posted by David Thielen at 9/15/2006 1:07:01 PM
Hi;
This works fine on my development system but fails on IIS on Win 2003. I
have requests for filename.txt, filename.rtf, etc that must go to my ASP.NET
code. I have the following in my web.config:
<httpHandlers>
<add verb="*" path="report-create.*" type="ReportCreate"/>
<add verb="*" p... more >>
Can't get exception stack
Posted by David Thielen at 9/15/2006 1:00:01 PM
Hi;
I have added the code to my code behinds of:
private void Page_Error(object sender, EventArgs e)
{
throw Server.GetLastError();
}
But I now have the problem that the call stack I get is to Page_Error. I
need the call stack of the exception that got me to this point. How can I ge... more >>
adding atlas controls to an existing web app
Posted by igotyourdotnet at 9/15/2006 12:33:01 PM
I have a question on atlas:
I can create an 'atlas project' and I can add atlas controls fine. but when
I try and add an atlas control to an existing asp.net web app I can't, Why?
I did notice that the web.cofig file is different then a normal web app
web.config.
Do I need to add anything ... more >>
Architectural design question - please advise
Posted by Griff at 9/15/2006 12:24:46 PM
Hi
I'm not sure of the best way to go about achieving my goal and would
appreciate any advice.
What I would like to do is to generate a control that can be dropped onto a
web page. For example, a control that provided catalogue information. As I
envisage this, the control would be given... more >>
System.Net.Mail.SmtpClient
Posted by param NO[at]SPAM community.nospam at 9/15/2006 12:08:57 PM
Hi all,
We are using the Asp.Net SMTP Client to send email via our Exchange 2003 SP2
Server. When trying to send email to a local recipient I am getting the
following error:-
Server: 172.19.2.21. Message: Mailbox unavailable. The server response was:
5.7.1 Requested action not taken: mes... more >>
Basic IDE Question
Posted by Liz at 9/15/2006 11:48:27 AM
Are people using the VS 2005 IDE for complete visual design of their web
pages ? Does it compare well against other page design tools like
Dreamweaver or FrontPage ?
I know this kind of elementary but I've always thought of VS as a
programmer's tool and not a layout or design tool and am ju... more >>
AlternatingRowStyle and multiple rows:
Posted by probashi at 9/15/2006 11:28:10 AM
Hi,
Instead of alternating style row by row is it possible to alternate
style for group of rows:
For example I am displaying all the employee information in a grid view
sorted by department. I want to alternate the style by departments (i.e
all the employee in a dept will show up in a same ... more >>
How to access content page from inside master page
Posted by Siberwulf NO[at]SPAM gmail.com at 9/15/2006 11:27:41 AM
Is it possible to access the classname (or type) of the content page
from inside the master page? I'm trying to do some security model in
the master page, without having to add to each individual page in the
solution.
Thanks in advance.
... more >>
Exception stack trace sometimes not showing line numbers
Posted by TS at 9/15/2006 11:16:10 AM
I have an application on one server that shows line numbers in stack trace,
but on another server the "in c:\xxx.aspx:line 9999" part that accompanies
the "at" part doesn't show. Besides this difference, they appear to be
nearly identical.
The app handles all exceptions thru global_Error ev... more >>
Left and Right hand splitting and resizing
Posted by bruno at 9/15/2006 10:49:02 AM
I have a .aspx with a TreeView in the left hand and a GridView or a FormView
in the right hand. I would like to resize the two sides like in
http://msdn.microsoft.com/library/default.asp, but I didn't find the solution.
Can I get any help? Just a sample or a link to where I can learn about.
T... more >>
newb: client script with asp.net
Posted by sklett at 9/15/2006 10:34:58 AM
I need to add extensive validation and interaction client scripting to a web
form. I've done some initial searches for "asp.net and client scripting"
and I've found a couple articles that show methods like "register script
block" and what not. None of these methods will do what I need, I ne... more >>
Updating Parent TextBox from Child Popup Window
Posted by Jason Wilson at 9/15/2006 10:32:47 AM
I am trying to create a popup window that will give a user the option
to lookup a value and return it to a textbox on the parent page.
Here is my relevant code:
Code on Parent
<form id="frmCoding" action="CodeView.aspx" method="post"
runat="server">
...
CPT1<asp:Textbox ID="txtCPT... more >>
Meta data and google searchs.
Posted by UJ at 9/15/2006 10:22:58 AM
How do I add meta data to my pages so that google will 'find' the pages ?
TIA - Jeff.
... more >>
Sharing compiled web assemblies between developers?
Posted by Gregory Gadow at 9/15/2006 9:58:53 AM
All done in ASP.Net 2.0 using VB...
The website I am developing has a large DLL that includes custom
MembershipUser, MembershipProvider and RoleProvider classes, several
frequently used web controls, custom base classes for Master and Page
objects, so on and so on.
All of this was done on m... more >>
asp.net application - http to https
Posted by bkasmai NO[at]SPAM gmail.com at 9/15/2006 9:24:14 AM
My asp.net application (developed using vs2003) runs fine on a windows
2000 server using iis 5.0. Our network manager wants to do away with
any http connections and only use https for services that are used by
external users. I have not got a clue how to go about this. My users
are authenticated... more >>
datareader.close() after return ??
Posted by DotNetDev at 9/15/2006 8:55:02 AM
Hi,
I have a function....
private bool myfunction()
{
SqlDataReader myReader = CommandObject.ExecuteReader();
if (myReader.HasRows)
return true;
else
return false;
myReader.close();
}
I want to know would the datareader be closed even after the 'return'
s... more >>
Culture
Posted by shapper at 9/15/2006 8:16:44 AM
Hello,
I am working on a multilanguage Asp.Net 2.0 web site.
I need to do the following:
1. Set a default culture in Web.Config File.
2. Create a function which changes culture when pressed.
Remember the choosen culture next time the visitor comes to the web
site.
3. Retrieve the curr... more >>
ASP.Net Website Administration Tool not available in Vstudio 2005 menu
Posted by JJA at 9/15/2006 8:09:25 AM
I am exploring use of the new ASP.NET 2.0 membership facilities.
Using Visual Studio 2005 on WinXP, I have one little site in
http://localhost/mySite which exposes the menu choice "ASP.Net
Configuration" when I click on the menu bar item "Website".
And yet, using Vstudio 2005 on WinXP, I hav... more >>
Does asp.net use the code behind or the .dll?
Posted by needin4mation NO[at]SPAM gmail.com at 9/15/2006 8:05:11 AM
Hi, I was trying to update some 1.1 code with 2005. I ran into
problems, so I thought I'd just use notepad to make a minor change to
the .cs file. When I run the .aspx file (and refresh), nothing
happens. The changes aren't there. They are in the .aspx file, of
course, but not the .aspx.cs f... more >>
Control panel visibility
Posted by Manny Chohan at 9/15/2006 7:49:02 AM
Hello Guys,
I have a panel on my page which i want to be visible for 5 seconds when a
link button is clicked and then hide it later.
I tried incorporating it in a for loop or using thread.sleep after
pnl.visible=true but it dont work.
Can someone recommed?
Thanks
Manny... more >>
gridview edit problems when paging
Posted by Mike P at 9/15/2006 7:02:15 AM
When I am performing a command on a row in my gridview, it works fine,
unless I have paging enabled and I try t execute the command on a page
other than the first page. The error I get is 'Index was out of range.
Must be non-negative and less than the size of the collection' on the
capitalised ... more >>
EditOnly DetailsView?
Posted by rockdale at 9/15/2006 6:59:29 AM
Hi,
I am upgrading my asp.net 1.x to asp.net 2.0. In my page I have a
datagrid and a group of textbox, dropdownlist, checkbox... etc. the
datagrid and the group of controls are hooked up - when user click on
datagrid to select a row, then I will populate the record detail to
those controls f... more >>
Height of Master Page
Posted by pagates at 9/15/2006 6:24:02 AM
Hi All,
Newbie here again.
I have a master page setup that is a two-column table. The left is a table
of contents, the right the target. I want the left column to always take up
100% of the height of the browser (or, to put it another way, I want the
content to take up 100% of the righ... more >>
Yahoo Weather Feed
Posted by StewartS NO[at]SPAM vodafone.net at 9/15/2006 5:17:58 AM
Hi there, I'm looking to display the Yahoo Weather feed on my website
(http://developer.yahoo.com/weather/). I am using Visual Web Developer
2005.
Everything works fine while parsing normal lines in the feed like this
(on the aspx page):
<asp:DataList ID="DataList1" runat="server"
DataSou... more >>
mouse over and new page
Posted by NH at 9/15/2006 4:14:02 AM
Hi,
I have a mouseover event on a control, is there a way of opening another
asp.net webform and having it close automatically when the mouseoff even
occurs?
I can easily open a new window but cant figure out how to make it close
automatically on the mouseoff event. I think I need to wra... more >>
"Internet Explorer cannot display the webpage", intermittently
Posted by aabid at 9/15/2006 2:50:36 AM
We have a dotnet 2.0 application with sql server 2005 at the backend.
Since yesterday morning we get the above message intermittently. At one
moment I am connected and the page loads perfectly fast. But at the
next hit, it hangs. Not a predictable performance. We tried to log in
to the applicati... more >>
Cookie Problem
Posted by Beenz at 9/15/2006 2:31:48 AM
I am using cookies to keep track of users' sessions. If the cookie is
disbaled or browser do not support cookies we show an appropriate page
to the user saying that upgrade to such and such browser or enable the
cookies. Now, one of my users just install some latest windows patches
and suddenly ... more >>
Confused and dissapppointed about ASP.NET tutorials
Posted by Tony Girgenti at 9/15/2006 1:06:18 AM
Hello.
When i use the ASP.NET quick start tutorials at
http://quickstarts.asp.net/QuickStartv20/default.aspx, all of the samples
are shown in HTML.
It even says there "If you have never developed Web pages before, the
QuickStart is not for you. You should be fluent in HTML and general We... more >>
.net environment - prerequisites
Posted by Ridvan at 9/15/2006 1:02:37 AM
hi,
i deployed and tried to run my asp.net project on a newly-formatted pc
and some parts of the project didn't work.
the new pc has iis, .net framework with same version, all required dlls
are registered, all permissions are set. windows updates are done.
what do you think i need more?
... more >>
newbie: web.config problems
Posted by Jeff at 9/15/2006 12:30:41 AM
Dear reader!
asp.net 2.0
I have a problem with my settings in the web.config file.
This is part of my web.config file:
<roleManager enabled="true" cacheRolesInCookie="true"
cookieName="AHROLES" defaultProvider="AH_RoleProvider">
<providers>
<add name="AH_RoleProvider"
... more >>
Setting height of panel
Posted by Roland Dick at 9/15/2006 12:22:54 AM
Hello,
I have a problem here with an ASP.NET website.
The pages are supposed to use a single master page which just contains
some images and a menu control on the top, below that is the content
placeholder.
What I would like to achieve is to always see the master page elements
(the imag... more >>
Google like style pager for GridView
Posted by SMichal at 9/15/2006 12:00:00 AM
Hi, I need a liitle help with build of my custom pager for gridview...I made
this kind of pager..I looks like this:
<< < 1 2 3 4 5 6 7 8 9 10 > >>
Well...it's no bad but I wannt something like google pager:
<< < 1 2 3 4... > >>
if user cliks on ... he should see this:
<< < ...5 6 7 8 ... ... more >>
IFrame and POstBack
Posted by Josh at 9/15/2006 12:00:00 AM
I have a standard HTML only web site that has an IFrame on one page. I want
to open a DotNet app in the IFrame, but the PostBacks dont seem to happen.
Does anyone know why?
--
#####-----#####-----#####
POV Tips and Hints at ...
http://povman.blogspot.com/
... more >>
Debugging SSL pages
Posted by Michael D. Ober at 9/15/2006 12:00:00 AM
In VS 2005, how can I debug pages that need to be served via SSL?
Thanks,
Mike Ober.
... more >>
|