all groups > asp.net > march 2006 > threads for monday march 20
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
Installing ASP.NET
Posted by Elizabeth at 3/20/2006 11:29:54 PM
I have .NET 2002 and 2003 installed on my dev machine; somehow it seems I am
not set up to run ASP.NET on the dev machine. IIS is there and I configured
it to handle .aspx extensions with aspnet_isapi.dll ... but it doesn't work.
Apparently, when I installed VS both times I didn't want to do A... more >>
Excluding page authorization in a form authentication directory
Posted by Gnic at 3/20/2006 10:44:25 PM
Hi,
I am a page that sit on a form authentication directory, but I have 1 or 2
pages that don't require form authentication, also I have a web service
class in this directory as well, I am wondering how can I exclude those aspx
and asmx from form authentication?
thanks
Gnic
... more >>
www.asp.net render problem on Safari
Posted by dejavue82 NO[at]SPAM yahoo.com at 3/20/2006 10:42:58 PM
You'll see a render problem on
http://www.asp.net
when you access it with the Apple Safari browser. Anybody know why?
This is a Microsoft site, shouldn't they know what they are doing?
Regards,
Jim Light
... more >>
Web.config schema messages
Posted by Rachel at 3/20/2006 10:32:27 PM
Hi,
I currently have several sections pointing to various custom providers
inside my Web.conf file.
I get multiple messages about not being able to find schema information.
("Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:configSecti... more >>
detect the background color of a webpage or stylesheet
Posted by Sam at 3/20/2006 10:03:45 PM
Hi all
I have a web page that allows user to referenced a stylesheet on my local
network. Is there a way to detect the background color of this webpage? If I
know the stylesheet that was used to set the background of my webpage, is
there an easy way to know the property set for the
"BACKGR... more >>
Getting Message that code "has been modified outside of the source editor"
Posted by bdtmike at 3/20/2006 9:59:13 PM
I'm using VS2005 and am getting messages that my files have been
modified outside of the source editor.
I'm working with a web project, data sources, and a web service.
Things I'm noticing that are different than VS2003 are that the
auto-generated code for the web service is stored in some tem... more >>
Coloring xls retrieved as a BLOB object
Posted by asgars at 3/20/2006 9:34:29 PM
hi friends,
i am retrieving large chunk of data from database as BLOB object and
storing it in an excel (xls) file. I need some of the column of that
xls to be in different color (say red).
Is this possible through code ?
If yes, can anyone tell me the procedure or any document related to the
... more >>
Help With machine.config file
Posted by Frank at 3/20/2006 8:54:29 PM
I am using Visual Studio.NEt 2003 and running aps.net v 1.1
I had a problem with a custom control as not being recognized in the
machine.config file, so I decided to open it and simply take a look.
It opened with Dreamweaver MX 2004 by default, and now I get :
Configuration Error
Descrip... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
When I send mail use smtpmail get error: Mailbox unavailable.(asp.net 2.0)
Posted by mmnenator NO[at]SPAM gmail.com at 3/20/2006 8:19:59 PM
When I send mail use smtpmail get error: Mailbox unavailable.(asp.net
2.0)
... more >>
Launch client evenet from server
Posted by hsandee NO[at]SPAM gmail.com at 3/20/2006 7:04:57 PM
Hi,
Is this possible:
I need to populate an Outlook email form with data a user has entered
+ data from a database and then popup it up for review.
I have written a VB script to trigger the popping up of the Outlook
mail form BUt since my "Send mail" button also need to collect all
info... more >>
Looking for a professional ASP.NET developer in NJ
Posted by Jamal at 3/20/2006 6:51:38 PM
We are looking for an experienced ASP.NET / SQL Server developer or company
using VB.NET or C# to develop an online reservation system for the limo
industry that will handle multiple limo companies, taking resevrations from
customers. We'll provide the specs and guidance to this dymanic projec... more >>
convert ArrayList object to double
Posted by Web learner at 3/20/2006 6:32:52 PM
In the following code, I want ArrayList object x to be of type double.
How can I do that?
--Thanks
SqlConnection objConnection = new
SqlConnection("server=(local)\\SQLEXPRESS; database=Northwind; integrated
security=true;");
String strSQL = "SELECT ProductName, Un... more >>
Accessing server controls using javascript...
Posted by Stu at 3/20/2006 6:31:55 PM
Hi,
I have a javascript that needs to reference a server control (Listbox1) to
check if an item is selected but the server controls are renamed
'_ctl0:mainbody:Listbox1' when displayed in a masterpage. Unfortunately the
script needs to run whilst displayed in a number of different areas on... more >>
Asp.net Speed
Posted by Aubyone at 3/20/2006 6:06:26 PM
Have a web site running a Dot Net appliaction which is load pages very slow.
Are there any setting in Windows 2003 to increase the speed of pages loading.... more >>
launch exe
Posted by Fabio R. at 3/20/2006 5:56:19 PM
Hi,
I have a windows service that do some check every hour, calling a webservice
in my app.
Now I need to upload my app on a shared hosting and I can't install my
windows service, so I need another solution; a simple timer doesn't work in
Win2003server because the application pool is recycle... more >>
tool for developer data layer.
Posted by Miraj Haq at 3/20/2006 5:49:41 PM
Hi,
I have seen some tools for ADO.NET 1.1 for generating database layer, dont
unfortunately do not remember them now.
Would any one please put some light on tools (3rd parties) available with
support to ADO.NET 2 (.NET 2), that can also be used with conjunction of
ObjectDataSource.
T... more >>
How do I catch unhandled exceptions
Posted by Alan Silver at 3/20/2006 5:43:14 PM
Hello,
One of my web sites seems to throw the occasional exception in a place
where I don't expect it. I know I should expect them anywhere, but just
supposing I've missed one, is there a way of having some sort of global
catch-all that will allow me to log the error and present the user wi... more >>
Simple NavigateURL, I Think
Posted by Vear at 3/20/2006 5:36:09 PM
Sorry, very Newbie question here. I don't know what I'm doing wrong. I have
to use a <asp:hyperlink> to go to another page. I want to pick up the value
in a text box. This is what I've tried and It tells me it won't work. Not
sure how to do it.
NavigateUrl="~/secure/Confirm.aspx?No=201, ID... more >>
postback and webcustomcontrol
Posted by Alexander Widera at 3/20/2006 5:23:38 PM
Hello,
i have a webcustomcontrol (:CompositeControl) which is in an asp.net page
which causes a postpack-event (ChangeSort).
protected void ChangeSort(Object sender, EventArgs e)
{
Session["Sort1"] = dropDownListSort1.SelectedValue;
Session["Sort2"] =
Int32.Parse(dropDownL... more >>
App_GlobalResources & Resources namespace
Posted by CuriousGeorge at 3/20/2006 5:16:06 PM
I've upgraded a .Net 1.1 web app to 2.0 and am having a heck of a time
getting resources to work again. From what I understand if I move my
strings.resx file into the App_GlobalResources folder I should magically be
able to reference my strings using the syntax Resources.strings.string1.
Th... more >>
Sub button1(Source As Object, e As EventArgs)??
Posted by Bob at 3/20/2006 5:08:05 PM
Hi,
I'm still new to asp.net and i would like to understand this: "Source As
Object, e As EventArgs"
<script runat="server">
Sub button1(Source As Object, e As EventArgs)
p1.InnerHtml="You clicked the blue button!"
End Sub
</script>
Are the words 'source', 'object', 'e' and 'EventA... more >>
difference between htmlbutton and webcontrol button?
Posted by Bob at 3/20/2006 5:01:42 PM
Hi,
I 'm starting asp.net and i saw two ways to make buttons. Which way to use?
Are the htmlbuttons in specific case better than webbuttons? Are there
advantages?
Thanks
Bob
htmlbutton:
<script runat="server">
Sub button1(Source As Object, e As EventArgs)
p1.InnerHtml="You clicked t... more >>
End of statement expected error
Posted by momo at 3/20/2006 4:56:02 PM
Help please
I am getting this error: BC30205: End of statement expected.
Here is the code:
public shared function GetMsAccessOledbConnection(ByVal dbPath As String,
ByVal dbID As String, ByVal dbPassword As String)
Dim dbConn As OleDbConnection
Dim dbConnStr As String.Format("Provider=... more >>
ObjectDataSource, DropDownList, etc.
Posted by Patrick Bates at 3/20/2006 4:43:57 PM
I've been holding off on moving to ASP.NET because I couldn't program the
same way I did in VB6/ASP. Our existing apps are written using a 2- or
3-tier model, depending on how you look at it. The web pages all reference
a COM DLL which contained Classes for the Business Logic layer and Modul... more >>
ASP.NET 2 Web Login Control On Page Load
Posted by Daniel Friend at 3/20/2006 4:41:52 PM
I have a page with the Login Control. If I type the user name and password
and click the enter key the page reloads without doing the
login.authenicate.... if I click the actual login button, everything works
fine. How to I have it work that if the person does not press the login
button, b... more >>
Windows App v. ASP.Net App
Posted by Garth Wells at 3/20/2006 3:44:17 PM
I'm working with an SDK from a commercial software
vendor and am using a sample Windows Application
written in C# to learn the SDK (they do not have an
ASP.Net example). I need to create an ASP.Net Web
Application and have noticed that I'm having to ToString
the object references. For example, ... more >>
windows 2003 network service password
Posted by Howard at 3/20/2006 2:37:20 PM
What is the default password for the network service account? I would like
to use this account for a windows service thats currently running under the
localsystem account.
I tried my admin password, but it didn't work.
... more >>
CreateObject from MS project 2003
Posted by Najatte at 3/20/2006 2:29:13 PM
Hi,
How to create an object in VB inherits from Microsoft Project 2003.
I did it for Excel and it worked
Dim obj as Excel.Workbook.
Thx,
Najatte
... more >>
Is there any tool for SiteMapPath to automatically create the xml file?
Posted by needin4mation NO[at]SPAM gmail.com at 3/20/2006 2:22:46 PM
I want to use the Menu and SiteMapPath. But it looks like I have the
create the xml file that stores the data by hand. What if I had a site
with 500 pages? That seems to be to cumbersome. Is there a way to
automatically generate the path file automatically?
Thank you.
... more >>
Culture/Resource problem
Posted by Thor W Hammer at 3/20/2006 1:53:06 PM
DESIGNER:
<asp:Button runat="server" ID="b1" Text="<%$ Resources:Products,
PopularProducts %>" />
CODE BEHIND:
protected void Page_PreRender(object sender, EventArgs e)
{
Response.Write(Resources.Products.PopularProducts);
}
These two should both be linking to the same resource,... more >>
Adding ImageButton into Datalist
Posted by JuniorProgrammer at 3/20/2006 1:14:28 PM
Am trying to add an Image Button into a Datalist at Design time.
When I run it it comes up with error: Server tag not well formed.
It works perfectly when I add just an Image Control. Please help.
<asp:DataList
id="dlstframes"
runat="server">
<ItemTemplate>
<asp:ImageButton runa... more >>
use data from second sqldatasource in gridview itemtemplate?
Posted by Dabbler at 3/20/2006 12:41:27 PM
I need to convert a CompanyId in one table to Company Name from another
table for an ItemTemplate. I thought I would just add another SqlDataSource
but not sure how to eval with the CompanyId parameter for the where clause in
the select.
Any clues would be appreciated.
... more >>
How to Determine asp: control ID Name at Runtime in ASP.NET 2.0?
Posted by Developer in California at 3/20/2006 12:19:33 PM
I am working on developing a generic Web framework using Master Pages in
ASP.NET 2.0. What I have done is created a PageRenderer class which has a
public method which will retrieve the path of the content I want to execute
based on the name of the asp:Content control. As shown in the code sn... more >>
New SessionIds between PostBacks
Posted by mavrick_101 at 3/20/2006 12:18:45 PM
Hi
I have a page. When it loads up first time (!Page.IsPostBack) I get a
different SessionId and when I post back the information the sessionid is
different.
Why is that so? How can I keep same sessionId? before and after postback.
any help?
Thnx
... more >>
dropdownlists in asp.net
Posted by somersbar NO[at]SPAM yahoo.com at 3/20/2006 12:11:57 PM
on my webform i have a dataset with 2 fields in it, 'area' and
'areacode'. each area obviously has an area code. i hav a dropdownlist
which uses the 'areacode' field as the DataValueField. but i have a
textbox which i want to contain the 'area' field of the value selected
from the ddlist.
ho... more >>
Error while trying to run project: Unable to start debugging on the web server.
Posted by ian at 3/20/2006 12:06:02 PM
This morning I upgraded the .net framework on our development web
server from 1.1 to version 2.0. Then I ran aspnet_regiis -i from the
v2.0 folder. I ran several tests and everything looked OK until I
tried running the remote debugger on my machine. I get the following
error:
Error while t... more >>
Page works with Firefox, not with IE ( Response.Redirect )
Posted by KBuser at 3/20/2006 12:01:04 PM
I recently developed an internal website with various queries against
our SQL server. I added buttons with Response.Redirect. These buttons
do not work with Internet Explorer, however when using Firefox the page
works flawless. Does anyone know why this is happening or how to fix it?
... more >>
Database Connection Function
Posted by momo at 3/20/2006 11:51:09 AM
Hello to all,
I need some help. I am looking for a database connection function that I can
use in my ASP.NET site. This would be in VB.NET. What I want to be able to
do is call the function and it creates the connection and I can use it in my
site. I want to pass the function some values an... more >>
Get ClientId. Need Help. This is driving me crazy! Thank You.
Posted by Miguel Dias Moura at 3/20/2006 11:16:20 AM
Hello,
I have been trying, for days, to retrieve a control's ClientId in a
javascript function.
I am using a master page and this is why I need to retrieve the
Control's ClientId.
The control Id is "Panel1". I placed "<%=Panel1.ClientID %>" in my HTML
code and I got "ctl00_pPanel1".
In... more >>
Retrieve SQL Data via VB Code (not sqldatasource control)
Posted by Vear at 3/20/2006 11:07:31 AM
Hi,
I'm sure this has probably been answered before but I have not been
successful in finding it.
I would like to querie a SQL database in my ASP.NET 2.0 application via
Visual Basic code. I need to be able to call a stored procedure and the loop
through the data. Could someone either po... more >>
Please Help!!! Cannot read from the web.config file
Posted by raj at 3/20/2006 11:04:46 AM
Is there a specific way that System.Configuration.AppSettings.GetValue("key")
works?
This method reads the value from the Web.config file, only if I read from a
UI component(Web Server(.aspx files) or a user control or a DLL that runs in
the Web Server).
If I read the Web.config file fro... more >>
Referencing Web-service (2005)
Posted by Mantorok at 3/20/2006 10:46:01 AM
Hi all
I have a web-service that references another project (the component) that
actually carries out the work, the web-service is simply acting as the public
interface.
The web-service on occasion may return a class that is defined in the component
project.
When I reference the web-s... more >>
CssClass Property
Posted by CMM at 3/20/2006 10:36:13 AM
I'm not sure I completely understand how to use stylesheets in the WebForms
designer (I know how to do it in source). Seems to me that even though you
associate a CSS with a webform, none of the styles appear as options in
either the CssClass property (for WebControls) or the Style property (f... more >>
to read file .txt
Posted by sara at 3/20/2006 9:58:33 AM
HI,
how I can read a file. txt, not until the end of this,but alone a line
that is introduced like input for example: my input is line number 5?
Then how can visualize the line in a tetx area?
I shoul use readline method?
Please help me!
... more >>
Format DataItem as Currency and NO decimals
Posted by D. Shane Fowlkes at 3/20/2006 9:58:28 AM
Quick question -
I have output from a Money MS SQL field going into a repeater's dataitem.
The db does not store any cents (decimals). How can I get this on the page:
<%#DataBinder.Eval(Container.DataItem, "Revenue", "{0:C}")%>
...NOT to display any decimals or cents?
... more >>
add link to existing Gridview 2.0 default pagertemplate
Posted by Dabbler at 3/20/2006 9:41:27 AM
When I try and edit the PagerTemplate it erases the default paging controls.
Is there a way to add a link control to this region while still keeping the
default paging controls?
Thanks.... more >>
Good ASP.NET Drop Down Calendar
Posted by Chad at 3/20/2006 9:22:20 AM
I'm looking for a good cheap drop down calendar control for web apps.
I've seen some quick and dirty do it yourself examples that make use of
absolute positioning, or ones that have problems displaying next to a list
box (because the listbox is displayed in its own window and has a higher
z... more >>
ASP form inheritance
Posted by Wayne Sepega at 3/20/2006 9:22:09 AM
This is all using net 2.0 and VS 2005
I have a base form in my app that inherits from System.Web.UI.Page, and have
added a public method to the base form.
I've then created a new form in my application that inherits from the base
form:
public partial class UserEntryForm: BaseForm
In ... more >>
.NET Spell checker available?
Posted by Joe at 3/20/2006 9:19:31 AM
Hello All:
Does anyone know of a spell checker that works with .NET?
Any options will be welcome.
TIA,
--
Joe... more >>
if statement in web.config file
Posted by sck10 at 3/20/2006 9:10:15 AM
Hello,
Currently, I have two web.config files on different machines (test and
production). The only difference between the two is that the
connectionstring and appsettings point to different data sources (testdb and
productiondb). Is there a way to use something like an if statement or case
... more >>
use Formview cancel commandname to return to GridView Page?
Posted by Dabbler at 3/20/2006 9:06:29 AM
I'm trying to code a FormView page to return to the Gridview List if the user
clicks the Cancel button while in insert mode but nothing happens with the
following code:
void VanDetailFormView_ItemCommand(Object sender,
FormViewCommandEventArgs e)
{
if (e.CommandName == "Can... more >>
can JavaScript change web form control property?
Posted by david at 3/20/2006 9:04:27 AM
I have written JavaScript and try to change the radio button property
(disenable other radio buttons) once click on it. But it does not work. For
example, I have radio buttons A, B, and C. A and B are in the same group AB.
When A is selected, C is enabled; otherwise, C is disabled. MY code is:... more >>
Maximum Textbox Size
Posted by bdtmike at 3/20/2006 8:28:51 AM
I need to pass a large amount of data to a ASP.Net 2.0 web app. What
is the maximum amount of data I can place in a hidden text box?
... more >>
How to set up dropdownlist selected value
Posted by fonnylasmana at 3/20/2006 7:47:27 AM
Hi, I have a dropdownlist that is basically pulled the data from database
using sqldatasource.
The dropdownlist will give years result. The results will be from 1967 to
2006.
I have anoher query using sqldatasource that will give me the result of year
2004. How do I bind the second que... more >>
How to limit the Textbox's Width????
Posted by Calvin KD at 3/20/2006 7:07:01 AM
Hi everyone,
I have a number of textboxes, lined up in a html table. I have split the
table into different columns. The column widths are all relative, that is, %
rather pixels or points so that it can grow / shrink.
The textboxes are then placed into table cells and have their widths to be
... more >>
Datagrid 'select' button oddities
Posted by CharlesA at 3/20/2006 7:05:46 AM
Hi folks,
I really need help with the following scenario,
I'm going to describe as well as a I can what the setup is and what I can't
understand
I'm using the framework 1.1 using ASP.net with C#
I have a datagrid that is bound to a datasource (through ADO.net) and all
that works
I hav... more >>
How do I retrieve inputs from web, return results to web page?
Posted by StevensSpam NO[at]SPAM cfl.rr.com at 3/20/2006 7:03:51 AM
How do I retrieve user inputs from web page into the C# program that is
running behind? I am using Visual Studio to create an ASP.NET web
application with code behind (aspx.cs) feature. Also, how do I post the
results from the C# program on the web Page? I need a code example in
C# so I can get ... more >>
Master webpartzone
Posted by Marc Looren at 3/20/2006 6:59:41 AM
Hi,
In my application I would like to have a 'master' webpartzone. A zone which
content is the same on every page. I tried to create as custom
PersonalizationProvider which saves the content of the 'Master' zone using
always the same path ("master").
In the LoadPersonalizationState I tri... more >>
Roles.IsUserInRole maps call to GetRolesForUser... Why?
Posted by Ben R. at 3/20/2006 6:50:19 AM
Hi,
The documentation for RoleProvider.IsUserInRole states:
"The IsUserInRole method is called by the IsUserInRole method of the Roles
class and the IsInRole method of the RolePrincipal class to determine whether
the current logged-on user is associated with a role from the data source for... more >>
Datagrid layouts
Posted by steven scaife at 3/20/2006 6:50:18 AM
Hello
I have a datagrid and i have set autogenerate columns to false, i then have
two bound columsn that display whatever it should. However there is one
column that has the same result in it that i dont want to display in a column
i want to display just the once. Basically it is a curren... more >>
How to response.redirect to a new window
Posted by joe at 3/20/2006 6:50:10 AM
How to response.redirect to a new window
... more >>
Web services
Posted by Sukkius at 3/20/2006 6:34:26 AM
Hi ,
I need a complete stuff related to webservices,plz send me related
stuff.Actually i don't know anything related to Web services.send me
the complete stuff from scratch
thanks
suresh
... more >>
How to Synchronize multi Combo Boxes base on M to M relatioship?
Posted by Oded Dror at 3/20/2006 5:24:05 AM
Hi there,
I have
tblCustomers with name address and State
tblCards with (FK CustomerID) and Store
tblStores
tblStates
the stores and the state are Many to Many relationship
the Customers and Stores are One to Many relationship
I created a registration form with two Combo Boxes
one for... more >>
server explorer window
Posted by somersbar NO[at]SPAM yahoo.com at 3/20/2006 5:08:13 AM
i hav a project in visual basic.net which uses asp.net web forms to
access a microsoft access database. i had fierce trouble getting it to
access the database but fixed it by accident. basically i deleted the
database from under 'data connections' in the 'server explorer window'
on the screen an... more >>
Drop Down populated by data from MySql Database
Posted by Accelerator at 3/20/2006 4:55:48 AM
Hi All
I need to create a drop down list that is populated from a MySql
database. I'm using ASP.net 1.1. If you have any related code, please
post it here.
Many thanks
Accelerator
... more >>
Datagrid related query
Posted by sachin.aks NO[at]SPAM gmail.com at 3/20/2006 2:33:38 AM
Dear Members,
I am using a datagrid in which i have five columns.
First one is of Roll_no which is bounded column and rest four are
template columns name Present, Absent, UnfairMean and Lost
respectively. I am using radio button in all four template columns.
... more >>
ASP.NET 2 or 1?
Posted by Tumurbaatar S. at 3/20/2006 12:00:00 AM
Hello!
I'm going to start a new web app project and deciding
whether to use the version 2 or old ASP.NET.
The new version is too "buggy", custom controls availability and etc?
What do you recommend me?
... more >>
ArrayList in web user control
Posted by Fabri at 3/20/2006 12:00:00 AM
Please can u tell me why this code does not work:
<%@ Control Language="VB" ClassName="WebUserControl" %>
<script runat="server">
' To create an ArrayList, first, we must dimension it:
Dim MyArrayList as ArrayList
' Then, to create a space for it in memory:
MyArrayList = ... more >>
Disable The Controls Of One Web Form From Other
Posted by Ahmad Jalil Qarshi at 3/20/2006 12:00:00 AM
Hi!
I have a problem while developing some webpages.The Problem is that:-
How We Can Disable The Controls Of One Web Form From Other Web Form In
Asp.net?
Explanation:-
There Should Be Two Web Form,Web Form1.aspx and Web Form2.aspx,Now From Web
Form1.aspx When I Click One Button (Disabl... more >>
|