all groups > asp.net > august 2006 > threads for monday august 7
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
Connection String Server Name
Posted by Carl Gilbert at 8/7/2006 11:55:15 PM
Hi
I have an ASP.NET 2.0 web app on some 1&1 (1and1) MS web space. I have a
SQL database to which I have a connection string in my web.config.
The only piece of information I can not work out is the server name as I've
got shared hosting.
How can I find out the name of the server to use in... more >>
Using ASP.NET Profiles
Posted by Matt at 8/7/2006 11:47:41 PM
Hi, I was trying to setup a Profile in my test ASP.NET application and =
for some reason I cannot get the Profile object to become available in =
my web page. If I download a sample using the profile everything works =
fine but if I create a new web app and copy the information from the =
web.c... more >>
debugging javascript code
Posted by pintu at 8/7/2006 11:26:26 PM
Hello Everybody.
I hav some javascript code inside .net for validation and other
purpose..How can i step by stepwise debug these javascript codes inside
..net without using alert() .Any body plz help me replying this..
thanks
priyabrata
... more >>
sql server does not exit or access denied
Posted by jdubey at 8/7/2006 10:23:01 PM
hi
i have one asp.net application.from that application i am connecting to sql
sever on domain.earlier it was working properly.now i reinstalled sql server
and try to connect from asp.net.now it is giving error
sql server does not exit or access denied
Server is getting through query amaly... more >>
Problem declaring "Public Property" and "Friend Shared"
Posted by jbeteta NO[at]SPAM gmail.com at 8/7/2006 9:28:47 PM
Hello,
I have a problem declaring variables. I need to create an object oRpte
as ReportClass on WebForm1.aspx and be able to use its value on
WebForm2.aspx.
For declaring the property oRpte() on WebForm1.aspx, I use "Public
Property" and I declare variable _oRpte as Friend Shared. That's my
... more >>
How to put newsgroups on web site
Posted by Slim at 8/7/2006 9:01:47 PM
what is the easiest way to put newsgroups on your web site, I don't mean
starting your own, but news groups like
microsoft.public.dotnet.framework.aspnet as seen here
http://www.dotnetslackers.com/newsgroups/default.aspx
... more >>
CDONTS Component
Posted by Kuldeep at 8/7/2006 8:42:07 PM
Hi All,
Framework:1.0
Can anybody please list out the differences between CDONTS and Web.Mail
component used to send email notification within an application?
Could you please send me some links regarding the same?
Regards,
Kuldeep
... more >>
GridView and Combo
Posted by Hari at 8/7/2006 7:00:55 PM
Hi,
I am using a GridView and a combo box for displaying a list of
companies and upon selection the list in GridView will change. For this
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == true)
{
SqlDataSource2.SelectComma... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ObjectDataSource, Opportunistic Concurrency, Typed Dataset and timestamp field question
Posted by J055 at 8/7/2006 6:03:09 PM
Hi
I'd like to use the timestamp and primary key fields to check Opportunistic
Concurrency violations rather than having to compare all values as is the
suggested method when using the ObjectDataSource.
The timestamp field is read-only in the DataTable (this seems logical).
This means I... more >>
dll Protection / obfuscation
Posted by Tina at 8/7/2006 5:59:37 PM
I have written an ASCX control with 99% of the logic in a spearate class in
it's own dll assembly. I want to ship the ascx control and the dll to other
users but I need to protect my code in the dll as I don't want anyone to see
the code.
I built a deployment project, built a reference to ... more >>
GridView selection question
Posted by CK at 8/7/2006 5:33:22 PM
Good morning all,
I had a quick question, I would like to make a row in a gridview selectable.
Currently there is a asp:CommandField as one of the colums. This selects the
current row when pressed. My desire is to eliminate this column and just
make the row selectable. Any ideas?
Thanks In A... more >>
ASP.NET themes suck
Posted by Clinton Farleigh at 8/7/2006 5:32:53 PM
Hi,
I was going to ask a question, but I think I've answered it so now I am
going to rant about how crappy ASP.NET themes are instead.
As I've indicated above, my problem today is with themes. Per
microsoft "Only one theme can be applied to each page. You cannot apply
multiple themes to a ... more >>
How to set page timeout?
Posted by Siegfried Heintze at 8/7/2006 5:32:39 PM
I have a page with a huge session state but extremely low traffic. The
default timeout period that is normally sufficient is not. I thougth I was
changing the timeout period with the following change to the web.config
file.
<sessionState mode="InProc"
stateConnectionString="tcpip=127.... more >>
Session variable - no cookies
Posted by David Thielen at 8/7/2006 5:07:01 PM
Hi;
I need to keep a string in Session["name"] however this does not work if the
user has cookies turned off. How can I work around this?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
... more >>
Adding a second row to a datagriditem?
Posted by Steve Hershoff at 8/7/2006 5:03:55 PM
Hi everyone,
I'm wondering if anyone has a suggestion on how to do this, or if it's even
possible.
In my datagrid's OnItemDataBound function I'd like to somehow "add" a child
row beneath one of the datagriditems (chosen via a QueryString variable) and
use it to hold a secondary datagrid.... more >>
Problem publishing web application in VS2005
Posted by brettmetcalfe NO[at]SPAM hotmail.com at 8/7/2006 4:55:24 PM
Hi
I have a problem publishing a web application. The web application has
been developed using VS2005 and uses ASP.Net 2.0. The application
works fine from inside VS2005. However when I build the application
using MSBuild and copy the precompiled code to the appropriate virtual
directory i... more >>
Pattern Matching
Posted by Eric at 8/7/2006 2:59:47 PM
I use RegEx to search pattern. Script works fine in the situation when
there is a colon after each word and it fetch the rest of the word from
that line. Now the pattern is in square bracket and i need help how to
change that line (sPattern =
"From\:\s*([\s\S]+?)[\r\n]+") so that it search pa... more >>
access CreateUserWizardControl controls?
Posted by Dabbler at 8/7/2006 2:26:01 PM
How do I access the fields in a CreateUserWizardControl such as the UserName
textbox etc.
I need to prepopulate some data before the administrator finishes creating a
user account.
I tried something like this:
CreateUserWizardStep cuws = CreateUserWizard1.CreateUserStep;
TextBox tbUser... more >>
maintaining parameters between refreshes.
Posted by Geoffrey Callaghan at 8/7/2006 2:12:01 PM
I have a set of variables in an ASP Page that are sent from another page
using properties. This works fine. However, when I refresh that page, those
properties are lost. How do I maintain those values between refreshes? I
tried creating another set of properties, but that didn't work.... more >>
browser refresh effect on session variables and view state?
Posted by Dabbler at 8/7/2006 1:34:02 PM
What effect does the browser refresh button have on a) session variables and
b) viewstate?
My page loads info based on session variables and it seems this breaks when
someone does a page refresh.
Thanks for info or link to info on this.
Dabbler... more >>
Missing assemply reference
Posted by Argirop at 8/7/2006 1:29:01 PM
In my web project I have a folder called "Controls". Into this folder there
is an ascx control called "Sidemenu". The user control has a get-set public
string proterty called "MenuType".
The Sidemenu control is used in the master page "MyApp.master". The
corresponding control's id is "Si... more >>
LinkButton in MasterPage
Posted by MRW at 8/7/2006 1:27:25 PM
I have a simple linkbutton and a function when it's clicked. It works
perfectly in a regular .aspx page. However, when I place it inside the
ContentPlaceHolder, it no longer works. It does *something*, but
certainly not the function, which is also in the ContentPlaceHolder.
This is also true ... more >>
Asp.Net, Web Service needing binaries off of a Mapped Drive
Posted by Marc at 8/7/2006 1:11:02 PM
I am trying to run a web service that has pre-compiled dll's that reference
dll's that are on a mapped drive. The web service can not load because it
does not see that mapped drive and returns an error of "Can not file
specified module". Mapped drive is added to path.
Thanks,
Marc... more >>
confirm not working
Posted by Dabbler at 8/7/2006 12:45:03 PM
My gridview Delete command works until I install a confirm prompt as follows,
then it does nothing.
Any suggestions would be appreciated!
protected void MyGridView_RowCreated( object sender, GridViewRowEventArgs e
) {
if ( e.Row.RowType == DataControlRowType.DataRow && ( e.Row.RowState... more >>
Check if page is modal
Posted by Gonza at 8/7/2006 12:30:40 PM
Hi group, is there any way to check if a page is modal from server-side
code?
Thanks in advance
... more >>
Can the view state input tag ID be changed?
Posted by Peter Row at 8/7/2006 12:29:01 PM
Hi,
I'm using VS2005 / .NET 2.0 and would just like to know if there is way to
instruct ASP.NET to use an ID/name other than __VIEWSTATE to store the pages
viewstate in?
The main reason is that some of our clients are complaining that their
accessibility checks are failing (using www.sit... more >>
WEB BASED SOFTWARE DEVELOPMENT/ CAREER POSITION/ IN
Posted by OMNI GROUP at 8/7/2006 12:14:23 PM
OMNI
GROUP
tgugger@sbcglobal.net
419-537-9447
WEB BASED SOFTWARE DEV... more >>
Send Email on Initial Page Load once only
Posted by Tatyana at 8/7/2006 11:15:35 AM
Hello,
I was wondering if anybody knows how to disable Email Sending on Page
Refresh.
When shopper submits the order he/she is being redirected to the receipt
page and gets the email confirmation, which is being send once the last page
in Order Process displayed (Receipt page). Shopper is all... more >>
Help with reading Dynamically Added Controls
Posted by Mike Collins at 8/7/2006 10:02:02 AM
I someone can please help, I am about at an end in trying to figure this out.
I am adding some dynamic controls to my page (I found out that I was supposed
to be doing that in the oninit event, which I am). I now want to read the
text/values of those controls. I have found out that I can read ... more >>
Error Converting VS2002 project with VisualStudio 2005
Posted by B N at 8/7/2006 10:00:08 AM
Hi,
When I try to open ASP Project written with Visual Studio 2002 with VS2005
it automatically tries to convert to latest version. How do I stop this
automatic conversion of Asp project and continue without any conversion ?
thanks
B
... more >>
Connecting to Microsoft Excel
Posted by saurabh at 8/7/2006 9:47:18 AM
Does anybody has any idea how to connect to Microsoft Excel through a
C# .net or ASP.net??
Pls send me the process if u know...
also how can we run commands like select * from <blah blah> ????If yes
how to do it
... more >>
Where to start learning ASP.NET
Posted by Amai at 8/7/2006 9:44:54 AM
I'm ineterested in learning ASP.NET, in conjunction with both C# and
VB.NET. However, i don't really know where to start.
Are there classes available at local colleges, or do i have to go
through microsoft to find classes? would it be easier to try learning
on my own by purchasing Dummies boo... more >>
q; Shopping cart
Posted by JIM.H. at 8/7/2006 9:44:01 AM
Does anyone know a “Shopping cart†and a “Classified Adds†asp.net c# web
application I can download the source code?
... more >>
DetailsView and template fields
Posted by studio60podcast NO[at]SPAM gmail.com at 8/7/2006 9:36:58 AM
I have a gridview and a details view in a page. The two are hooked up,
so that when a row is selected in the GridView, the DetailsView
displays the details. But, what I'm trying to accomplish is this:
I have two tables - user and item.
user table:
user_id int
user_name varchar(50)
item ... more >>
Urgent - Asp.NET Datagrid export Excel - landscape Issue
Posted by dinoo at 8/7/2006 9:33:02 AM
I would appreciate if some one could help me out with this problem.
I am trying to export the datagrid to an excel file in ASP.NET.
The functionality works fine.
But I would like to setup the excel file in a landscape oriented format with
predefined margins.
Aftre going through the interne... more >>
Gridview interaction with Detailsview
Posted by nolan NO[at]SPAM easy.com at 8/7/2006 8:48:43 AM
I have an asp.net 2.0 page with a gridview and detailsview on the same
page set up in a master-details scenario. The gridview and detailsview
have separate SQL data sources. The user enters search criteria in a
text box and clicks a find button to initially populate the gridview
with items of ... more >>
Sending Email
Posted by JaffaCakes at 8/7/2006 7:55:10 AM
I want to send an email confirmation after a user completes a form on
our Internet page. I am testing this with the System.Web.Mail.SmtpMail
class.
If I do a SmtpMail.Send then the message takes days to reach the
recipient. It is possible to set the SmtpServer but what will it be as
the webse... more >>
big problem: source-controlled web site, referenced code not updating
Posted by KJ at 8/7/2006 7:36:11 AM
Hello All,
I am using integrated VSS source control with my solution (VS2005). It
consists of a web site (source-controlled) and several class libs (all
source-controlled). I can add references to the class libraries from
the web site no problem, causing the dlls to be added to the web site's
... more >>
Default printer for web
Posted by glbdev NO[at]SPAM yahoo.com at 8/7/2006 7:11:11 AM
Can anyone tell me how to get the name of the client's default printer
AND how to possibly pull up the Printer Dialog Box?
This is being used for Crystal Reports through the "PrintToPrinter"
method so the Javascript "window.print" code wouldn't help because it
prints the entire HTML page and n... more >>
Setting up website to be available only inside the domain
Posted by Sridhar at 8/7/2006 6:59:02 AM
HI,
I am having problems setting up a website so that it will be available
only inside the domain. We have three servers. One is iis server and second
one is internal server and the third one is sql server. I have deployed the
web application in the internal server. It is not able to acc... more >>
Not able to Login after I visit a page which has been excluded from Forms Authentication.
Posted by Nitin Verma at 8/7/2006 6:50:52 AM
Hi all,
In my App I am using Forms Authentication. I have a Forget_Password
page which has been excluded from Forms Authentication. I have made an
entry in Web.Config. The code is
<location path="frmForgetPassword.aspx">
<system.web>
<authorization>
<allow users="*" />
</author... more >>
q; chat room application
Posted by JIM.H. at 8/7/2006 6:23:02 AM
Hello,
I need to write a chat room web application in .net 1.1, does anyone know
any sample application I can use to start?
... more >>
dynamically loading user controls in webforms
Posted by nemesis.saurabh NO[at]SPAM gmail.com at 8/7/2006 5:48:53 AM
hi,
Can we dynamically load a user control in the web form.
problem i am facing is i have 2 user controls: uc1 and uc2.
when my page is loading the functions and variables in the uc1 is
conflicting with uc2.
if possible can we have this scenario:
i have both the user controls in my web fo... more >>
Delete Button in GridView FooterTemplate
Posted by JasonK at 8/7/2006 5:09:01 AM
I would like to move the Delete button such that it displays one time in the
footer row, rather than on every row. I've seen lots of questions asked on
the subject around the net, but no answer that seems to solve the problem.
I have tried a few things:
- adding a button, setting it's comma... more >>
File Upload Access Problems
Posted by ^MisterJingo^ at 8/7/2006 3:54:51 AM
Hi all,
On a 2.0 app i'm working on I'm attemtping to get file uploads to
work. I have given the ASPNET process full access to the upload
directory, but I still get an access densied error. If I set user
account to full accesses then the file uploads fine. The problem is,
the server guys do ... more >>
WordML and asp.net and client side browsers
Posted by Me at 8/7/2006 2:39:51 AM
Hi all
I have word documents that is saved as word 2003 xml.
My asp.net application allows users to see these files and download
them.
I would then like these files to be edited by the user in their
browser. How can I do this? What options do I have?
... more >>
subclass a usercontrol, drop down list control
Posted by bryan at 8/7/2006 2:21:30 AM
Hi all,
I am developing a web app in .net 2.0.
I have a few DropDownLists that are used on multiple web forms, these
show shop locations and employees.
Each DDL is placed inside a Usercontrol and the user controls are
placed on the relevant pages.
In order to get at some of the propert... more >>
Edit word documents?
Posted by Me at 8/7/2006 2:20:55 AM
Hi
I am unsure of whether this is the right group to post this but it does
relate to asp.net in some way!
I want from a .net 2.0 application send down a word 2003 document that
has been saved as xml and for my users to edit this word document using
their browser (internet explorer 6)
How... more >>
Can static member cause a race condition?
Posted by alexvodovoz NO[at]SPAM gmail.com at 8/7/2006 1:59:29 AM
Hi,
I have a quick question on the following scenario.
Given the below static member:
public Class Example1
{
public static Test(int x)
{
int y = x;
//Do some busy work.
return y;
}
}
and 2 seperate sessions/users calling the static member at the same
time
... more >>
Web application that runs in cds??
Posted by ads at 8/7/2006 1:56:02 AM
i was wondering, is it possible to run web apps in cds where in you just put
the cd in the cd drive then click on the start page.
If so,how do we register the web app in iis in just a click of a mouse
assuming there is a dotnet framework already?
I know the best way to do this is to use window... more >>
website with mobile phone text mesaging
Posted by ads at 8/7/2006 12:49:02 AM
hi,
Can anyone give me an idea how to go about developing a website with added
functionality of texting a query and you will receive a reply of the result
requested?
Currently we are using sql server 2000 and visual studio 2005 for the web
development. Are we using the right tools?Much be... more >>
ContentPage and CSS
Posted by Lav at 8/7/2006 12:40:40 AM
Hi,
How can I use style sheets on a ContentPage?
As a it allows neither <style> nor <link>.
Thanks in advance.
... more >>
aspnet_regiis utility
Posted by APA at 8/7/2006 12:34:18 AM
I'm getting the "Failed to access IIS metabase" error so I tried to run the
aspnet_regiis utility to set the permissions (aspnet_regiis -ga username).
However, when I run this command all it does is display the list of command
options. I'm running on WinXp SP2. I tried to run aspnet_regiis -... more >>
Data Format from Client to Server
Posted by Gary Coutts at 8/7/2006 12:00:00 AM
Hi,
Can anyone tell me the format of the data sent to the server (from the
client) on a Postback.
For example, when a button is press on a form what is actual sent back to
the server.
Cheers
gwc
... more >>
|