all groups > asp.net > february 2007 > threads for tuesday february 13
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
Parseint in vb.net?
Posted by Garg at 2/13/2007 10:49:07 PM
Please tell me how do we use parseint function or its equivalent in
vb.net.
And also tell me how do we hide and display controls during run-time
in vb.net? I need to access the rows of a table for rendering them
during run-time.
... more >>
how to change email defined when creating account?
Posted by Dan at 2/13/2007 8:08:06 PM
Hi,
I use the <asp:CreateUserWizard> control for creating memberusers. In that
windows, one must provide an emailaddress.
My question is: how can an user later change his emailaddress?
Thanks
Dan
... more >>
Path '/WebResource.axd' was not found.
Posted by HÃ¥kan at 2/13/2007 7:33:19 PM
I have a problem with WebResource.axd
Most of the requests to this site work just fine but every now and then I
recive described below:
Date: 2007-02-13 15:20
RawUrl=/WebResource.axd?d=2X-p-JOqLnRCeGYyigKrMg2&t=632988382868932500
Exception Type: System.Web.HttpException
Exception mess... more >>
OT: "Find" is Broken in Visual Studio
Posted by Bob Johnson at 2/13/2007 6:56:55 PM
I'm running Visual Studio 2005 Professional (no VS service pack) on an XP
Pro/SP2 (+ patches and updates). This computer has been stable with no odd
behavior for about a year (since I first built it).
Earlier today the "Find" dialog in Visual Studio stopped working.
Specifically, when I at... more >>
Error when trying to run ASP.NET
Posted by chris.martz NO[at]SPAM gmail.com at 2/13/2007 5:53:20 PM
I tried to open a web applicateion (dotnetnuke) after installing .net
2.0. I get the error in the even viewer for applications "Failed to
execute request because the App-Domain could not be created. Error:
0x80131902". I installed 2.0 and it said it installed successfully. I
then pulled my dotne... more >>
CommandArgument does not contain index when under Templatefield??
Posted by jobs at 2/13/2007 5:31:29 PM
CommandArgument does not contain row index when command under
Templatefield of- Gridview
It appears CommandArgument passed to the rowcommand event does not
contain row index when the command is called from a control under a
Templatefield. Why is this not the case when the command is from a
B... more >>
Custom Web Controls
Posted by Ryan at 2/13/2007 5:20:39 PM
I would like to expand the password reset control by adding a drop
down list of questions and a text box for the user to type an answer.
In a different post I asked about getting the member store connection
string. In this one, I am wondering if there is a way to render the
elements that make u... more >>
partial class and namespace
Posted by Sami Rehman at 2/13/2007 5:13:05 PM
Hi
I want to use namespaces to organize all the classes, web forms, and user
controls. It works fine with my user defined classes, but when I try to put
all the web pages in a namespace for example
namespace myCompany. MyApp.Web
{
}
the page starts throwing error, and rightly so because, it... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
When Did App Pool or Web Application Start?
Posted by lucius at 2/13/2007 4:51:30 PM
I need to know from within my ASP.NET 2.0 Web Service, when the
application was started as a DateTime. The service might run on
Windows Server 2000, maybe 2003, maybe 2003 R2, maybe XP (in
development on my desktop), so it might run inside an App Pool, or it
might just be a virtual directory.
... more >>
Response.Redirect not working when pressing the Enter key
Posted by nkoier NO[at]SPAM gmail.com at 2/13/2007 4:25:44 PM
Hi, I've been going crazy trying to figure out what's wrong with our
Asp.Net 2.0 intranet site.
At the very top of our main page I provide a TextBox and a Button for
submitting Google searches. Recently somebody pointed out to me that
you can't just press ENTER anymore after typing in the Text... more >>
Wiring up dynamic control
Posted by brett at 2/13/2007 3:59:11 PM
I load a dynamic control once a button is clicked. In the control is
another button. However, I can't get its click event to fire. Here's
the pattern:
Page1.aspx
---------
SomeButton_Click()
{
Control control = LoadControl("mycontrol.ascx");
control.ID = "thecontrolID";
panel1.Co... more >>
Encoding Data in Xslt
Posted by ABCL at 2/13/2007 3:46:55 PM
I am working on web application that Gets data from Database,generate
XMl of it, apply Xslt and Generate Html.
If Database has some Xss Vnurability data, How can I encode it into
Xslt, so It displays as Text. I donot have option to encode it while
making XMl Or as soon as Getting from Database... more >>
Web Deployment Projects?
Posted by Brian McCullough at 2/13/2007 2:25:02 PM
Hello,
Are Web Deployment Projects part of Visual Studio 2005 SP1?
Is Microsoft officially supporting these?
Also, I believe Web Application Projects are part of SP1 (please correct me
if I am wrong). Are there any differences between what is in the SP1
version of WAP vs the downloadab... more >>
Upgrading to .Net 2.0
Posted by Wannabe at 2/13/2007 1:46:02 PM
We currently have a project with approximately 150 pages written using VS2003
for .Net 1.1. We are about to buy VS2005 and our boss has asked us how long
would it take us to port this over to VS2005 and .Net 2.0. Can someone
provide me a rough estimate, based on their experience, as to how lon... more >>
Free ASP.NET Host
Posted by rn5a NO[at]SPAM rediffmail.com at 2/13/2007 1:28:06 PM
Can someone PLEASE suggest me a FREE ASP.NET hosting service provider?
I desparately need one to show a project to someone but to be very
very honest, I don't have the money to invest in a paid hosting
service. That's the one & only reason why I am requesting for a FREE
ASP.NET service provide... more >>
ultrawebtab control
Posted by chitrasai NO[at]SPAM hotmail.com at 2/13/2007 12:34:34 PM
Hi
I have an infragisitics ultrawebtab control. Each tab is tied to a
separate page.
Tab1- General.aspx
Tab2-destination.aspx
Tab3-Prepay.aspx
The main code for the tab control resides on Main.aspx.
I have a button on General.aspx. when the user clicks on this button
it should take... more >>
Screen Scraping Error: (501) Not Implemented
Posted by aferriere at 2/13/2007 12:14:17 PM
Hi
I am getting a System.Net.WebException -- >The remote server returned
an error: (501) Not Implemented
when I try to read the contents from
http://www.ourcommunity.com.au/member/directory_details.do?orgId=319
Other urls which I have tried work fine.
I have tried using both WebRequest and... more >>
Scrren Scraping Error: 501 Not Implemented
Posted by aferriere at 2/13/2007 12:04:27 PM
Hi
I am getting a System.Net.WebException -- >The remote server returned
an error: (501) Not Implemented
when I try to read the contents from http://www.ourcommunity.com.au/
member/directory_details.do?orgId=319
Other urls which I have tried work fine.
I have tried using both WebRequest an... more >>
Can I use servlets WITH ASP.Net 2.0 ?
Posted by Bit Byte at 2/13/2007 12:01:43 PM
I have written a custom servlet engine (and "wrapper" servlets) for some
legacy code (C/C++) that I have.
The servlets contain the bulk of my 1st 2 layers in a 3 tier
architecture - i.e. data layer and business logic layer respectively. Is
it technically possible to use my servlets for the ... more >>
send automatic emails using asp.net1.1 / vs 2003
Posted by shubhrarustagi NO[at]SPAM gmail.com at 2/13/2007 11:45:25 AM
hi,
I'm a beginner developer and one of my first tasks is to develop
automatic emails application in .net. We need to send automatic emails
to users whose credit cards are expiring, create email templates...
I've no idea how it is done in .Net.
Any suggestions would be great!!
Thanks,
S... more >>
Strange danish letters bug.
Posted by Jens Jensen at 2/13/2007 11:15:57 AM
Hello,
I have a web site and i use some danish text on some of the page.
The letters appear as expected when i view the site with the VS 2005 built
in web server.
When i deploy the site either by XCOPY or as precompiled on win 2k3 IIS 6,
then i loose my danish chars.
can someone tell me... more >>
Syntax for adding new list item?
Posted by JP at 2/13/2007 10:57:00 AM
If have a dropdown control and have set this to the first position of the
dropdown":
ddUserRole.Items.Insert(0, "Select Role...");
But, I want to be able to set the value of the above item to zero. I
thought it was this:
ddUserRole.Items.Insert(0, New ListItem("0","Select Role..."));
bu... more >>
RegisterAsyncTask & PageAsyncTask
Posted by Random at 2/13/2007 10:28:30 AM
Has anyone here implemented RegisterAsyncTask and PageAsyncTask to improve
page performance on page databinding? The only samples I've been able to
find on this involve using asynchronous operations to run database tasks or
web service calls, both of which make implicit use of IAsyncResult.
... more >>
Getting line numbers for exceptions when the web site is published
Posted by Rahul at 2/13/2007 10:22:12 AM
Hi,
Is there a way to get the line numbers to display in the exception when you
have published your web site?
Thanks
Rahul
... more >>
Print asp.net Page with window.print
Posted by Ben at 2/13/2007 10:03:13 AM
Hi All,
I have a form which requires input, has conditional server side
validations and print functionality. There is a print button which does
client side validation & then custom validation, if all passes, prints
the form with the following code:
Response.Write("<script language='javas... more >>
FormView ModeChange Event Doesn't Fire
Posted by Mark Olbert at 2/13/2007 10:00:29 AM
I'm trying to understand how to respond to mode changing events in a FormView control. I'm not using datasource controls, so I have
to do more of the plumbing myself.
Do I have to call the ChangeMode() method in the ModeChanging event handler?
Why doesn't the ModeChanged event fire? I can see... more >>
Limitation of FormView Control?
Posted by Mark Olbert at 2/13/2007 9:55:36 AM
It appears that FormView controls require the >>exact<< same layout of controls and control types in the various templates in order
to function properly. Failure to do so results in a "failure to load ViewState" exception when a mode change occurs.
Is this correct?
If so, it would appear to ... more >>
Hide a few (variable) columns in a GridView
Posted by Robert Chapman at 2/13/2007 9:51:02 AM
Hi,
I have a GridView with a fixed number of columns being returned from a SQL
query and each having a simple template:
<asp:TemplateField HeaderText="Allocations">
<edititemtemplate>
<asp:TextBox id="txt89" runat="server" Text='<%# Bind("89") %>' asp:TextBox>
</edititemtemplate>
</asp:... more >>
How can I saved page content to file?
Posted by arkgroup at 2/13/2007 9:13:51 AM
I am generating asp.net page and need to send content of this page
(html) via email as attachment.
I have tried:
System.Web.HttpContext.Current.Request.SaveAs(Server.MapPath(".") + "\
\test.html", true);
but it has no actual page content.
Thanks
... more >>
IE7 does not display asp:hyperlink
Posted by Debi at 2/13/2007 8:13:01 AM
Hi,
I have a site which was fuctioning without any probs in IE6. There is a
simple web page which shows around 16 hyperlinks - asp:hyperlink control .
After switching to IE7 when I open this page, it shows only the first 6 of
these links. I checked in IE6 and firefox, no problems there. T... more >>
Using MS Data Access application block to call stored procedure with parameters
Posted by JM at 2/13/2007 7:50:56 AM
Hi,
I am using SQL Server 2000 and ASP.NET 2.0 and want to call a stored
procedure using Latest Enterprise Library 2.0. My stored procedure has
3 input parameters: CustId (int), RefId(int) and EmailId(varchar 200)
and it returns a dataset.
This is how I am trying to do:
-------------
int ... more >>
Assuming a Session Timeout
Posted by Mike at 2/13/2007 7:39:00 AM
Hi. If I place an object in session and then later attempt to perform a type
conversion from session to a local variable and find that the session
variable equals "Nothing", can I assume that a session timeout occured?
Thanks!... more >>
ASP.NET Precompiler Not Working
Posted by Kulgan at 2/13/2007 7:36:10 AM
Hi All
I am working on migrating an ASP.NET 1.1 web app to 2.0. I have got
everything building and running, but I am having problems with the
precompiler. It starts to precompile the web site and generate files,
bu then it gives up and fails without an error message and deletes all
the files ... more >>
Asp.net Login Form not working at client site. Stumped :(
Posted by Randy Magruder at 2/13/2007 7:01:09 AM
Hi all,
I hope someone here can diagnose what I'm seeing because I'm stumped.
I have an asp.net 1.1 application with a login page.
I have loaded up the Page_Load( ) with trace messages and had them send
me a dump of the page when they attempt to log in.
Here, when I log into our test se... more >>
File 'Downloads/somefile.somextension' was not found
Posted by CodeMonkey at 2/13/2007 6:59:51 AM
Hi all,
I have an ASP .NET 2.0 project with the following path on my dev
machine:
D:\Profiles\MyUsername\My Documents\Visual Studio 2005\Projects
\abcWebSite2007\abcWebSite2007\Somefile.aspx
I have a Downloads foler in the above parent folder like this:
D:\Profiles\MyUsername\My Document... more >>
Single page web application
Posted by google NO[at]SPAM russellmason.com at 2/13/2007 5:00:30 AM
Hi
I'm looking for some advice, so if anyone wants to contribute I would
be grateful.
I'm trying to create a web application. By application I mean
something that is like a Windows application, not just a set of web
pages (imagine Microsoft Word as opposed to Amazon). Much of the
'screen' ... more >>
Please help, going crasy! :(
Posted by Nemisis at 2/13/2007 4:48:53 AM
Hi everyone,
I am currently building my .Net website, everything was fine, until i
decided to put some generic functions into a module. The module is
located in App_Code, with 2 other of my Modules. but for some reason
everytime i try to call the function i get an error of "Name
'GeneralMet... more >>
Intellisense Textbox
Posted by nil at 2/13/2007 3:28:07 AM
hello everyone can any one tell me how can i convert my grid data in
to pdf?pls provide some code snippet or some link that contains the
related topic..
Thanks & Regards,
Nil
... more >>
ASP.NET 2.0 application across three physical servers?
Posted by tobin NO[at]SPAM tobinharris.com at 2/13/2007 2:48:05 AM
Hi folks,
We're looking for a CMS system for our organisation, and we're picking
potential solutions.
We need something that is scalable cause we're a growing company, so
there's potentially 2000+ simultaneous users.
It's been recommended that we favour applications which can be
separate... more >>
problem with items disappearing for cache
Posted by Nadav Popplewell at 2/13/2007 1:33:13 AM
Hi Everybody,
I'm trying to save some items in the asp.net cache, but they are removed
from the cache WAY before they are supposed to (at least as I understand the
documentation).
I add the object to the cache using
this.Context.Cache.Insert(key, userInfo, null,
System.Web... more >>
problem with web site and custom project configurations
Posted by Nadav Popplewell at 2/13/2007 12:09:12 AM
Hi everybody,
I've got a solution that has several dll projects and a website.
For the dll projects I've add a configuration 'debug - no code analysis'.
Now for the website I can't create custom configurations...
The fact that I can't create different configuration for running with code
... more >>
Layer design - some difficulties..
Posted by Rob Meade at 2/13/2007 12:00:00 AM
Hi all,
My web app is using a layered design, whereby I have UI/BOL/DAL layers....
So far things have been running fine and as the first app using this
approach I've seen some real benefits...
The problem I ran into yesterday had me in circles, and driving me crazy...
I have a followin... more >>
|