all groups > asp.net > december 2005 > threads for friday december 16
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
Newbie Question - Master Page triggering validator
Posted by damiensawyer NO[at]SPAM yahoo.com.au at 12/16/2005 10:35:51 PM
Hello all,
I have set up a very simple master page (a table, a button and a
ContentPlaceHolder) and have set a simple web form to use it.
The web form (code below) has a textbox, a simple validator and a
button on it. When I press the button on the 'sub' form, I wish for
validation to take ... more >>
Committing Code Snippets
Posted by windsurfing_stew NO[at]SPAM yahoo.com.au at 12/16/2005 9:19:05 PM
Hi,
After using a VB.Net code snippet the parameters are highlighted in
green even after I've left that area or moved to a new snipped. Anyone
know how to commit a code snipped so that it is just normal code again?
Stew
... more >>
Best way to create Page_PreRender in VB.Net
Posted by windsurfing_stew NO[at]SPAM yahoo.com.au at 12/16/2005 9:17:53 PM
Hi,
Quick question. What's the best way to create the handler for
Page_Prerender in ASP.Net 2.0. I used to just use the dropdowns to
select (Page Events) on the left and choose PreRender in the right hand
dropdown. Now however these are not listed.
Any recommendations?
Stew
... more >>
Installing ASP.net
Posted by Brian at 12/16/2005 8:59:23 PM
Hi,
I'm trying to install MOM-2005 but the setup complains that I don't have
asp.net, where do I find this program and how do I install this from?
Please help, thanks.
Brian.
... more >>
Built-in controls with custom providers
Posted by John at 12/16/2005 8:42:09 PM
Hi
I have created custom membership/role/profile providers as per the
web.config below. My questions are;
1. Have I defined them correctly?
2. How can I make the Login and Create User Wizard controls to use these
providers instead of the standard providers?
Thanks
Regards
web.c... more >>
Funny Error
Posted by Chris Love at 12/16/2005 5:46:18 PM
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 that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating Server/In... more >>
Theme and Master Page
Posted by Miguel Dias Moura at 12/16/2005 5:29:46 PM
Hello,
I am creating a master page for a web site.
All pages created from this master page will use the same theme.
However I am not able to add the theme in my master page.
Why is that?
Do I need to add the theme on the top of each page I create from this
master page?
Thanks,
Migue... more >>
Authentication in Asp.Net 2.0
Posted by Miguel Dias Moura at 12/16/2005 5:24:19 PM
Hello,
I am working on my first Asp.Net 2.0 web site using VS2005.
I know about the login controls on Asp.Net 2.0 but they seem really
strict.
I would prefer to create my own forms and using the new Asp.Net 2.0
classes.
On this web site I need to have authentication for users.
I also ne... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Session Question
Posted by JJ at 12/16/2005 5:18:43 PM
Hi,
I was wondering if this is true or not. I was under the assumption
that if you open up the first browser window, call up an asp.net app
and I opened up another browser window that called that same asp.net
that the sessions would be different for both windows? Is this not the
case?
J
... more >>
Problem with images in VS2005
Posted by Miguel Dias Moura at 12/16/2005 5:17:47 PM
Hello,
I just moved from Visual Studio 2003 to Visual Studio 2005.
I am creating a web site and all the images are in App_GlobalResources.
In Design View I can see all the images but as soon as I preview the
web site in Internet Explorer i can't see any image.
In my browser I checked th... more >>
start ASP net from very scratch
Posted by pamelafluente NO[at]SPAM libero.it at 12/16/2005 5:13:41 PM
Hi,
I would like to get some advice.
I know enough vb.net on win apps, but I have never worked on web
applications
and asp.net.
I would appreciate if you could indicate the most basic tutorials where
to
start my journey with ASp net.
At my stage, more than references, I would need some... more >>
2005 - no PageLayout Property??
Posted by Tina at 12/16/2005 4:35:55 PM
First thing I noticed with vs.net 2005 is that the page is in flowlayout and
there is no pagelayout property that I can set to gridlayout. Are we no
longer going to be able to place things on our page where we want them??
Thanks,
T
... more >>
SQL-ASP.NET datetime format problem ???
Posted by Ugur Ekinci at 12/16/2005 4:24:08 PM
Hi ,
I have two Sql Server 2000 on seperate machines ,
First one accepts datetime format like ("dd.MM.yyyy hh:mm:ss")
And Second one accepts datetime format like ("MM.dd.yyyy hh:mm:ss")
1- Date formats are different because of SQL Collation?
2- Do regional Settings affect Sql date format?
... more >>
Project 2003 -> 2005 ?
Posted by Jarod at 12/16/2005 4:19:30 PM
Hey
I have asp.net project developed in VS2003, now I want to convert it to
VS2005 but to use it with file system not IIS how to do it ?
Jarod
... more >>
Declaring an Enum that the whole project can use?
Posted by danthman at 12/16/2005 3:50:02 PM
I've written an enumeration object, and now I want all the web forms
and web controls in my project to be able to use it. Is this possible?
How can it be done?
Thanks,
-Dan
... more >>
Client Side Checkbox Code
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 12/16/2005 3:17:12 PM
I have a checkbox on a web page. When it is checked, I want a Table to =
appear (or disappear when the checkbox is cleared)... I was hoping to =
use client side code for this, so I created a short vbscript routine and =
added this to my code behind module:
chkRecur.Attributes.Add("onchange",... more >>
ConnectionStrings in ASP.NET 2.0?
Posted by sstrangee NO[at]SPAM gmail.com at 12/16/2005 2:57:00 PM
The connection strings now have a ConnectionStrings section in the
web.config.
However, the main flaw of this method is that if you put the password
in the connection string that it can be read by any text editor that
might have access to the root directory.
Is there a method in place now t... more >>
ICO to tranparent gif, here is a incorreclty working project, please help.
Posted by Edwin Knoppert at 12/16/2005 2:08:05 PM
I have tried to convert transparent icons to transparent gif's.
I'm not succesful.
Could you check the (running) project and possibly give some corrections?
I think i need to obtain both images and make my own loop.
I have the feeling this code is not working as intended.
The transparancy w... more >>
Dynamic DropDownList
Posted by TheHach at 12/16/2005 2:08:04 PM
Hi.
(For information, i'm working in VB.NET)
I have a datagrid on my page.
On its creation, I add a dropdownlist in each cell, with a different ID
each time.
This works fine.
But now, I can't access on the selected values of those dynamic
dropdownlists.
I tried this :
CType(Me.FindCon... more >>
how to use the "ArgumentOutOfRangeException"
Posted by ÀÏÆÅ»³ÔÐ6¸öÔ at 12/16/2005 1:56:15 PM
how can i override the "ArgumentOutOfRangeException" or catch it in my
dorpdownlist?
... more >>
Exception: Thread was being aborted
Posted by Jeff at 12/16/2005 1:44:26 PM
I have some code that enables users to download the contents of a DataGrid
as an Excel file. The following code snippet is the relevant part. It works
just fine - meaning specifically that the downloaded Excel file is what I
want.
The problem is that every time this code runs, my "catch all... more >>
Trouble with Process.start in my web application...
Posted by Nisha at 12/16/2005 1:33:17 PM
Hello everyone,
I have a web page which needs to open files of type .pdf (adobe) and
..doc(microsoft word).
I tried something fairly simple and have been having a lot of trouble
getting it to work.
So far just started with PDF as I figured that would be the simpler of the
two. However w... more >>
Server.Execute & HttpHandler
Posted by Sam at 12/16/2005 12:54:43 PM
My problem is that when I am trying to use
Server.Execute("Somehandler.ashx") I am getting HttpException.
[HttpException (0x80004005): Error executing child request for
Somehandler.ashx.]
System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler,
TextWriter writer, Boolean preserve... more >>
Calling vbscript functions in asp.net
Posted by P K at 12/16/2005 12:53:02 PM
Can I call a vbscript function written for asp in asp.net code
Do I have to rewrite in .net?... more >>
datagrid paging
Posted by NuB at 12/16/2005 12:43:46 PM
I have a datagrid that I need to allow the user to page and sort as well.
first, paging
I need to show the pages in the footer of the grid like this
Page 1, 2, 3, 4, 5, .etc and then in the right hand corner of the footer i
need to show
the number of records such as this
Total Cars in ... more >>
Threading
Posted by AdrianJMartin at 12/16/2005 12:27:05 PM
Hi all,
I have a need for a STA thread from asp.net. I can create the thread and it
runs fine. But when it is finished, the thread still 'hangs' arround.
Visible only to the debugger.....
I get the "The thread has exited with code 0 (0x12fc)." in the debugger
each time the thread seemly e... more >>
Simple - Moving to another page using a button
Posted by jonefer at 12/16/2005 12:10:02 PM
I've written the code to do a search from one page and display the results on
another - and then I got stuck (because I'm just beginning)
It's amazing how difficult it can be to find something so easy.
How do I navigate to another page?? (VB.NET)
... more >>
popup window close to submit opener window without 'causes validation' happening
Posted by Matt Jensen at 12/16/2005 12:02:17 PM
Howdy
I've got a ASP.NET webform page that pops up a window for a user to make a
selection. Once they make a selection in this popup window, the form in the
popup is submitted an update to the DB is fired, the window closes, and the
opener window's (server) form is submitted (via JavaScript... more >>
Convert documents to pdf
Posted by Sridhar at 12/16/2005 11:23:03 AM
Hi,
I need to write a .NET application that converts all the documents except
images into pdf. Is it possible to do it in .NET? How could I do which
documents can be converted to pdf? we have acrobat SDK with us. Does that
help? please let me know if you have any ideas?
Thanks,
Sridh... more >>
Highlighting DropDownList Items
Posted by Joe at 12/16/2005 11:20:02 AM
Hello All,
I am creating a DropDownList of people's names and address. Each item will
be a combination of the individual's name and address. if a person has two
addresses, his/her name will appear twice, once with the first address and
once with the second.
I need to highlight the firs... more >>
Running client commands from asp.net app
Posted by clsmith66 at 12/16/2005 11:09:02 AM
Is it possible to develop a control to run a small executable on a client
machine from an asp.net application? I am trying to automate getting the mac
address of each computer in a large office and I'm hoping to find a way to
run the getmac command on each pc from a web application so I can s... more >>
Eliminate postback effect?
Posted by D. Shane Fowlkes at 12/16/2005 11:05:08 AM
Here is a form I'm building that will let people register and eventually pay
for a certain conference.
http://www.itsva.org/calendar/conferences/2006/regform.aspx
I'm using the AutoPostBack attribute of the DDLs to call subs and to
calculate the Grand Total. I don't suppose I can have the ... more >>
IIS - virtual directories
Posted by Mark at 12/16/2005 10:52:22 AM
In our root web site, we have roughly 100 folders. 10 of these are virtual
directories. The other 90 folders are a mix - some contain static HTML
content. Others contain subfolders and additional virtual directories.
Yikes.
I need to identify all the virtual directories on our server, bu... more >>
help please on GridView commands + AutoEventWireUp, firing twice etc...
Posted by Tim_Mac at 12/16/2005 10:41:19 AM
hi,
i'm new to .net 2.0, and am just starting to get to grips with the
gridview.
my page has autoEventWireUp set to true, which i gather is supposed to
figure out which handlers to invoke when appropriate based on your
method names .
the GridView has OnRowCommand="GridView1_RowCommand" in the ... more >>
Basics of Forma Layout
Posted by Andrew Chalk at 12/16/2005 10:14:41 AM
Perhaps someone more experienced than I can help me with a very basic issue:
Suppose you are designing ASP.NET pages that resemble forms. In terms of
going about laying these out, if you want to control the exact location of
each element, do you use a table and place elements in the cells?
... more >>
onload event doesn't work
Posted by Andy Fish at 12/16/2005 10:07:33 AM
Hi,
I have an asp.net web application which uses a pop-up form that works a bit
like a dialog box. when the user clicks "OK" it does a postback (basically a
form post if you don't know .net) to save the contents of the form, and then
I put an onload event to do a window.close.
this works... more >>
GridView DataKey
Posted by Mark Richards at 12/16/2005 10:04:56 AM
I posted this earlier, and got no response. Basically I need to be able to
grab a value from one of the fields in a gridView to populate a dropdown in
another column of the gridview:
I have a gridView that has 2 templated columns that contain drop-down lists.
The first drop down list use... more >>
Accessing server controls using client scripts....
Posted by Stu at 12/16/2005 9:59:45 AM
Hi,
I am migrating a large app to .Net 2 and am having problems with accessing
hidden fields using javascript.
As I am using masterpages the control names are prefixed with the control
reference of the masterpage '_ctl0_cphMain_MyHiddenField' etc. The app uses
dynamically assigned master... more >>
Caching architecture question.
Posted by Ashish at 12/16/2005 9:53:57 AM
I am thinking about using Caching application block in my web
application, for the performance reasons.
My ideal sitiuation would be if i could plug in the application block
between my Persistence layer and database, so that objects are created
from the cache and cost of CRUd operation can ... more >>
VS 2003 and 2005 on same machine
Posted by Chris at 12/16/2005 9:34:43 AM
Can I install VS.NET 2005 on the same workstation as VS.NET 2003?
My app is v1.1 but want to start playing.
Just dont want to break 2003.
Thanks.
... more >>
Flash Movie (.swf) does not work on localhost
Posted by Mike at 12/16/2005 9:18:02 AM
I have a simple flash file that plays within a webform of an asp.net app.
When running from the server the flash file works fine. But when I run it
from my localhost the flash file simply doesn't play. I have Flash installed
on my localhost, and I'm not sure why its not working.
Is there... more >>
Client Validation (JavaScript) for CustomValidator Control
Posted by avp at 12/16/2005 8:42:19 AM
Hi,
We have an ASP.NET 2.0 (C#) application that has a web form with a
CheckBoxList control and a CustomValidator control. The CustomValidator
control is used to validate that at least one checkbox is checked in the
CheckBoxList control.
Everything works fine for the server-side validation. ... more >>
I need training in ASP.NET 2.0 and Sql server 2005
Posted by Learner at 12/16/2005 8:36:10 AM
Hi there,
I live in Detroit, MI and i am looking for THE best training
institute that could offer training in .NET frame work 2.0, ASP.NET 2.0
and Sql server 2005. I do have couple of years of hands on working
experience on ASP.NET (frame work 1.1 visual studio 2003) and Sql
server 2000. I ... more >>
WebPart Personalization -Default layout question
Posted by Leroy at 12/16/2005 8:26:15 AM
I'm trying to implement a site whereby administrators can setup a
layout for a webpart site that affects all users, then individual users
can personalize their pages.
I have configured the site so that when an user with admin role enters
edit mode, SharedScope is set to true. However this rese... more >>
WebDev.WebServer and server side includes... ?
Posted by Martin Olson at 12/16/2005 8:21:23 AM
is there a way to get the WebDev.WebServer for VS2005 to process server side
includes???
thanks for your help on this,
mo
... more >>
Long Running Process
Posted by n# at 12/16/2005 8:15:59 AM
Environment ASP.NET 1.1 , Windows 2000 Advanced Server
As part of our project requirement we're calling a long running process
(Stored Proc - Database residing in a different machine).
We made this to be taken care by a Asynchronous Handler (*.ashx) and
called using the xmlhttp object.
In... more >>
TreeView: OnSelectedNodeChanged not firing??
Posted by Dotnet Gruven at 12/16/2005 7:47:24 AM
With this TreeView declaration:
<asp:TreeView ID=3D"Cloner" runat=3D"server"
SelectedNodeStyle-Font-Bold=3D"true" =
SelectedNodeStyle-ForeColor=3D"#003E21"
OnTreeNodePopulate=3D"PopulateNode" =
OnSelectedNodeChanged=3D"SelectNode"
ExpandDepth=3D"0">
</asp:TreeView>=20
... more >>
Getting path of the mapped folder
Posted by Sridhar at 12/16/2005 7:16:02 AM
Hi,
I have a question. I am trying to write File Functions to read data from a
file. This function accepts FilePath as the parameter and returns Byte()
Array. Some times if the file is on the Network and let's say the Network
folder '\\SomeMachine\SomeFolder' is mapped to some drive like ... more >>
appying alpha value in css
Posted by micky at 12/16/2005 7:11:45 AM
foo {
background-color: rgb(255,0,0);
color: rgb(0,0,0);
opacity: 50%;
}
in vs2005, opacity attribute is not valid.
it says opacity is not a known css property name....
and also not apply in browser ...why?
i'd like to apply opacity .
... more >>
Custom memebrship provider problem
Posted by John at 12/16/2005 6:52:07 AM
Hi
I am trying to setup a customised membership provider and I am getting the
following error when trying to run the app;
The entry 'AspNetSqlMembershipProvider' has already been added.
The line is: <add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvi... more >>
<t:ANIMATEMOTION>
Posted by nabeel at 12/16/2005 5:27:57 AM
Hello every one,
Is it possible to apply <t:ANIMATEMOTION> to a DataList Template Item in a
user control ?.... more >>
Dynamic Textbox with Calender
Posted by arun.hallan NO[at]SPAM gmail.com at 12/16/2005 3:52:19 AM
I want to add at runtime, a textbox which when clicked in, displays a
calender which returns a value to that textbox.
Not sure how to do this dynamically at runtime.
Any ideas?
... more >>
Disable submit button after click but fire validators?
Posted by Chris Ashley at 12/16/2005 2:50:26 AM
I have an ImageButton which I would like to have the following
behaviour:
(1) User clicks button, button is disabled.
(2) Page validators fire
(3) If page fails client side validation, reenable button. Otherwise
submit.
I have tried the following code but it is not working:
JS:
f... more >>
EXCEL
Posted by Ambrose at 12/16/2005 2:18:02 AM
Can anyone tell me how to populate an excel file from .net application (it
would be fine if it is asp.net)... more >>
SMS from PC
Posted by Ambrose at 12/16/2005 2:16:02 AM
I need help whether .net languages support namespaces to send sms to mobile
Is there any sms gateway through which sms from email can be fwd without any
registeration.
... more >>
|