all groups > asp.net > october 2006 > threads for monday october 30
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
Cookies & Automatic Windows updates
Posted by Ibrahim. at 10/30/2006 10:50:01 PM
Hello,
I have a problem, when ever windows updates happens automatically in my
system the cookies are deleted from the browser environment.
I have a web site that I visit regularly and have saved my
username/passoword (remember) at login. The expiry date of the cookies is set
to 1 year.... more >>
How have apostrophe (single quote) show up?
Posted by VB Programmer at 10/30/2006 9:43:20 PM
In my dev environment the single quote/apostrophe shows up fine.
When I publish the site all the single quotes are missing.
Any ideas why?
Is there a special character I have to use for the single quote?
... more >>
What's best reference architecture for Asp.Net 2.0 application?
Posted by nkw at 10/30/2006 8:08:01 PM
I need to develop some Asp.Net 2.0 application. Some of them are small and
some are bigger. Any good reference implementation? PetShop 4.0? Or startkit?
Thanks,... more >>
ViewState Corruption Error on Only One Page?!?!
Posted by cuj0 NO[at]SPAM bigpond.com at 10/30/2006 7:12:12 PM
Does anyone know what might cause the "The viewstate is invalid for
this page and might be corrupted" error to occur every time users try
to do something that results in a postback on a particular page. Other
pages in the same application, and other applications on the same
server have no probl... more >>
User Controls...
Posted by Carlo Razzeto at 10/30/2006 6:56:45 PM
Is there a standard way in ASP.Net user controls to add your control value
to the Request.Form/QueryString collections with out having to reference an
internal control?
i.e. I know if you have user control ID'd "Foo" with a TextBox which
repersents its basic value called "Bar" you can refer... more >>
I'm in asp.net 1.1 hell....re debugging and breakpoints.
Posted by Randy Magruder at 10/30/2006 4:59:52 PM
Attn: Asp.net gurus...if anyone can help, I hope it's here.
Okay, I'm at my wits end. I have googled til my fingers hurt and am
still not finding answers.
The symptoms are as follows:
1. I have 2 machines, my laptop and a desktop, both are set up for
asp.net development.
2. The deskto... more >>
ASP.Net 1.1 SQL State
Posted by MSDN at 10/30/2006 4:43:16 PM
Hi,
We are running a webfarm of server 2003 web edition with SQL2000 enterprise
running on 2003 in a failover cluster.
Periodically we suffer from performance problems where the websites slow to
the point of not being available.
The websites are running .Net 1.1 - we are not in a posi... more >>
Return XML. Please, need help. Thanks.
Posted by shapper at 10/30/2006 4:22:36 PM
Hello,
For the past hours I have been trying to solve a problem which is
driving me crazy.
I have to different codes where the problem to solve is the same:
CODE 1 (Transforms a XML document using a XSL file):
Function Trans()
Dim doc As XmlDocument = New XmlDocument
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
When to pick ASP.Net, when to pick desktop?
Posted by tom c at 10/30/2006 4:20:27 PM
What are the reasons you would decide to do a dot net app in the
Windows desk top mode, rather than in ASP.Net? I am being asked to
make a recomendation and I can not think of any reason to go with desk
top, even for something that is only going to run on one desk top
computer at a time.
My t... more >>
What i must use to create this form?
Posted by marek zegarek at 10/30/2006 4:11:54 PM
Hello!
I have strange and simple problem....
I am starting developer. I need to create webform, that will insert my data
into SQL 2005 database.
My idea is to make something like MS Access Form-Subform. I'm typing data,
pressing "Add" and i see it on datagrid below. So I can type second dat... more >>
Generating XML documentation in ASP.NET 2.0
Posted by Noman Ali at 10/30/2006 3:51:02 PM
Hi,
It seems that ASP .NET 2.0 does not support XML documentation feature. Is
there any way to do this?
I serached alot and only find this solution but it didnot works for C#.
Here it is.
http://www.carljohansen.co.uk/codelib/copyappcodexml/
I contacted the Author amd the communicatio... more >>
GridView Insight ASP 2.0
Posted by rituchandra0972 NO[at]SPAM gmail.com at 10/30/2006 3:44:24 PM
Hello,
I am new to ASP 2.0 and have been trying to work with the new gridview.
I am running into road blocks as I try to implement quite a simple
functionality. My functionality is as follows
1. There is a grid that manipulates data through two webservices. This
grid has one field that is d... more >>
Scope of Shared Properties
Posted by daokfella at 10/30/2006 3:36:36 PM
Quick question:
If my page instantiates a class that has a protected shared property,
is that property shared across all instances of the class...even those
that I didn't instantiate, but another user accessing the page did?
Thanks!
... more >>
can I force Page.IsPostBack=false ?
Posted by Guy Noir at 10/30/2006 3:26:17 PM
Hello again. I have a form that has 2 buttons. When button 1 is
pressed, I want the form to execute a few tasks and give the user
feedback. When button 2 is pressed, I want the form to reload as if it
is being called for the first time. That is, I want the code in
Page_Load if (!Page.IsPostBack)... more >>
Login Controls - Force user to change password at next login
Posted by pj at 10/30/2006 3:07:36 PM
I'm using asp.net 2.0 login controls, When a user forgets a password,
they are sent an email with the new password. Two questions....
1) how do I format the password that is being created to be only
letters and numbers? Not something like "e%QtT6.Eja%XNG"
2) how do I redirect users to a... more >>
Custom Control
Posted by rn5a NO[at]SPAM rediffmail.com at 10/30/2006 3:05:52 PM
I have created a custom control button which when clicked displays a
message in the JavaScript alert dialog. I could successfully compile
the VB class file into a DLL & also could add it to the Toolbox in
Visual Web Developer 2005 Express Edition but the alert message isn't
popping up when I am ... more >>
Please help with auto-generated client-side code issue
Posted by Keithb at 10/30/2006 2:57:59 PM
I have two iis 6.0 web servers running identical code.
MaintainScrollPositionOnPostBack works on one server and not on the other.
My efforts to correct the issue include running aspnet_regiis with the -c
and -i options; however that did not help. I would appreciate any
suggestions.
Thanks... more >>
ASP.NET Session
Posted by Vishal at 10/30/2006 2:41:21 PM
Hello,
I have one application and two domains are pointed to it
www.myapplication.com and
secure.myapplication.com
In some of the pages where i need to take Credit card numbers i want to use
SSL security.
But when i response.redirect from insecure url to secure url it losts the
sess... more >>
Global Objects in User Controls
Posted by Greg Stevens at 10/30/2006 2:17:02 PM
[note: I am relatively new to ASP.NET, so I'm very possibly doing something
stupid or overlooking something obvious. Please be forgiving, and walk me
through your answer as much as possible. Much appreciated.]
Here is the situation. I'm developing an application where:
I have defined a c... more >>
ASP 3.0 and ASP.NET 2.0 Side by Side
Posted by groups.james NO[at]SPAM gmail.com at 10/30/2006 2:15:57 PM
I have a situation where an existing ASP 3.0 application is currently
in production. The site will be undergoing some redesign and I need to
support both the current pages (all ASP 3.0 relying on a number of VB6
COM objects) and new pages which will be written in C# , .NET 2.0
Framework.
I ha... more >>
security error, I think!
Posted by Paul at 10/30/2006 2:12:02 PM
Hi I am trying to open a powerpoint app from a asp.net webpage but get a non
access error when I try to create the PowerPoint.Application. Just wondering
if anyone knows what directories it may be trying to write in as I was
thinking off adding permissions to aspnet for those directories. Th... more >>
Login Redirect
Posted by IdleBrain at 10/30/2006 1:27:39 PM
Hello All:
I used a Login control to authenticate a user to login. The problem is
that when I login with good username & password, the login view would
say that the login was successful.
But for some reason the login control does not redirect the control to
DestinationPageUrl.
Even when I ha... more >>
string.ReadLine
Posted by rodchar at 10/30/2006 1:07:03 PM
hey all,
i'm trying to read a text document line by line into a stringbuilder and an
issue i'm running into is this:
do while streamReader.ReadLine
stringBuilder.Append("my string" & string.ReadLine)
is showing up like this:
"my string"
value
instead of
"my string" value
how do i ke... more >>
Refresh web page when receive a message?
Posted by rockdale at 10/30/2006 12:39:18 PM
Hi, all
I am coding a asp.net application as user data entry and report
interface. We also have another C#.net appplication (a server) does
some other stuff, my webserver can send and receive message with the
C#.net server application. Now the C#.net server application group want
me to refres... more >>
Gridview and Formview Integration
Posted by Paul at 10/30/2006 12:17:02 PM
Hello:
I have an aspx page with a Formview and a Gridview on it.
I have a dropdownlist control which I want to bind to both the Formview and
the Gridview.
I put the dropdownlist in the <InsertItemTemplate> of the Formview, so it is
binded with no problem.
I also want to use that drop... more >>
Programmly select menuitem?
Posted by rockdale at 10/30/2006 12:11:16 PM
Hi, all
I have an asp:menu in my master page. on my content page I have the
following code to programmly select the mainmenu.
Menu mMain = (Menu)this.Master.FindControl("menuMain");
mMain.Items[0].Selected = true;
It works fine.
The problem is, the datasource of this mainmenu from my d... more >>
Execute asp.net .exe from classic ASP.
Posted by UnglueD at 10/30/2006 11:28:17 AM
Hello.
I have written a console application in ASP.NET that will move an
order from a website database and send it to an ERP database. Nothing
special here, just reads from the database and calls a webservice I've
written to add it to the ERP database.
What I want to do now is have thi... more >>
Updating session variables with a master page
Posted by TheAmes at 10/30/2006 11:23:13 AM
Hi
VB.net 2.0 website developed with VWD 2005 Express
one masterpage
one content page aspx
and a global.asax
in the application startup event of the global.asax file i declare a
session variable:
session("ItemCount") = 0
in the masterpage there is an asp:label
in the masterpag... more >>
Return value to parent page from popup
Posted by Kevin Attard at 10/30/2006 11:03:28 AM
Hi,
Is there a way to return a value from a control inside a popup and assign it
to a control inside the parent form?
Thanks,
kev
... more >>
MembershipUser
Posted by Damien RICHARD at 10/30/2006 10:57:32 AM
How to extend MembershipUser?
Have you links, codes?
Thanks
... more >>
Custom CheckBoxList.DataTextFormatString
Posted by james at 10/30/2006 10:12:12 AM
Does anyone know how to use the String.Replace in
CheckBoxList.DataTextFormatString ?
I tried: {0}.Replace(" ", " ")
but that obviously doesnt work.
Any Ideas?
Thanks!
James
... more >>
ASP. Net gurus? Problem with ViewState
Posted by Merdaad at 10/30/2006 10:06:03 AM
Hi,
I am using ASP.NET 2.0 with C#. ViewState is not working for controls
created at runtime.
On a page I have a few (static) textboxes that get populated from database
and then I create other textboxes during runtime using the folloiwng steps:
1. I add a TableRow(TR) to an existing table us... more >>
Read Page Control Values from Javascript User Control
Posted by Roy at 10/30/2006 10:01:02 AM
How do I read the value of an html input control from inside a javascript
user control?
An aspx page contains a user control that attempts to read a value from an
html input control in the aspx page.
For example:
In the aspx page, the control is defined as:
<input id="txtTMOStart" run... more >>
Delegation: the usual double hop question...
Posted by JimLad at 10/30/2006 9:56:11 AM
In advance, sorry if this is the wrong group...
SQL Server 2000 SP3 on Server 2003. SQL Account and Computer both
Trusted for Delegation. Given SPN.
IIS 5.0 on W2000. Kerberos enabled. Computer Trusted for Delegation.
Integrated Windows Authentication selected. Medium pooled. Not the
defaul... more >>
How to change name of attachment
Posted by TomislaW at 10/30/2006 9:35:55 AM
I am sending word document with e-mail from asp.net 2.0 application.
I read doc file like this:FileStream fs =
System.IO.File.Open(docPath,FileMode.Open,FileAccess.Read,FileShare.Read);
Then create message:
MailMessage message = new MailMessage("mail@company.com", email);
message.Subject = "Sub... more >>
solving consistent look problem
Posted by JJ at 10/30/2006 9:06:39 AM
Using asp.net 1.1
I am trying to have a consistent look for the webcontrols. Right now, every
time I use textbox controls, I manually change the font property, size
property, and other property to the default values that I use for all
webcontrols. So a lot of manual work. To streamline th... more >>
Publishing Upgrade to One Page of Existing Website
Posted by Anthony Bollinger at 10/30/2006 8:45:47 AM
I am taking over an existing fully functional website without source code.
Because of the .aspx file extensions and the age of the files, I assume it
must be ASP.NET 1.0 or 1.1. I have made modifications to one page under VS
2005, which uses ASP.NET 2.0. I put that page and its .vb file up o... more >>
Label losing value on postback (i think) HELP!
Posted by TheAmes at 10/30/2006 8:19:33 AM
Hi
I have a asp.net site in VB.NET and VWD 2005 Express.
in the master page i have a Label.
from a content page i change the value of this label like so:
dim X as label = page.master.findcontrol("Label3")
X.text = "Some Text Here"
this is done on the click event of an image button.
... more >>
MySpace type
Posted by Sehboo at 10/30/2006 8:01:08 AM
I am writing a website and I would like user to choose their
templates/backgrounds just like myspace. This gives user a feeling of
belonging. My question is how would I allow it? what can go wrong in
terms of security? Is there any easy solution to this, or am I
operning a can of worms?
th... more >>
Return XML in function
Posted by shapper at 10/30/2006 7:55:46 AM
Hello,
I have a function which is transforming a XML file into another XML
file using a XSL file.
Function GetXML()
...
Dim myXml As XmlDocument = New XmlDocument
...
myXsl.Transform(myXml, myXslArguments,
HttpContext.Current.Response.Output)
...
... more >>
FormsAuthentication.SignOut() not working
Posted by parez at 10/30/2006 7:42:12 AM
Hi ALl,
I had problem with FormsAuthentication.SignOut(). It wasnt working.
Looked arround and saw a lot of posts and different solutions to the
problem.
And some how (i dont nkow what fixed it) i got it working.
The following code changes that i made did NOT help.
1)Response.Cooki... more >>
GridView DataKeys problem
Posted by Greg at 10/30/2006 7:38:02 AM
Hello,
I have a GridView bound to a custom object. I set the DataKeyNames property
along with the column DataField properties at design time, and bind the
GridView to my object at run-time. In the RowDeleting event, I try to access
the DataKeys property, but it contains no elements.
Th... more >>
How to add a hyperlink column to asp.net datagrid - where only one value is a hyperlink
Posted by davetichenor at 10/30/2006 6:45:50 AM
I have a column which has either "Yes" or "No" as the data - I want only the
"No"'s values to be a Hyperlink -
Clicking "No" would then take then to hyperlink - along with member's
membership ID (which is another column in the datagrid).
Hyperlink = ../Cardio.aspx?OMEMBID={0}
Any ... more >>
LIKE not working for Access Query in ASP.NET 2.0
Posted by Anthony Bollinger at 10/30/2006 6:20:31 AM
I don't know if this is the best group to ask this question, so redirect me
if necessary. I have a valid query that uses the LIKE operator. I know it
is valid because it works directly in Access. I also know that my ASP code
is valid, because if I remove the LIKE operator, it works fine. C... more >>
web.config problems
Posted by Spondishy at 10/30/2006 6:16:21 AM
Hi,
I'm using SQL Server session state, but the user I'm using to access
this has a pound sign (=A3) in the password. This works locally, but not
on the server stating that the web.config contains invalid characters.
I've copied the machine.config from the server to my machine, but this
still... more >>
How to show the refresh time of a web page
Posted by ad at 10/30/2006 5:24:59 AM
I have a web page which show a lot of data, it waste a lot of time to show
the data.
I wnat to know how much time it take to show the data.
How can I get it?
... more >>
|