all groups > asp.net > june 2006 > threads for tuesday june 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 29 30
Problem with System.web.mail
Posted by kishor at 6/13/2006 11:44:01 PM
Hi,
I have a windows 2003 server. I am not able to send mails via asp.net
applcaition using system.web.mail.
I am getting CDO could not send mail.
I have tested cdosys.dll by creating a vb6 application and I found Its is
working fine.
system.web.mail is a just wrapper on cdosys.mail. wha... more >>
Setting the visible property to a group of controls
Posted by Samuel Shulman at 6/13/2006 11:15:31 PM
Hi
I am trying to find a method to set the visible property to a group of
controls
In VB.NET I would put all the controls in a group/Panel and set the visible
property of the group/panel
It doesn't seem to work when I use the html controls <DIV> and when I try
the panel control I can'... more >>
Masterpagefile setting in web.config
Posted by Amit Bansal (MCT, MCSD.NET) at 6/13/2006 10:39:06 PM
the msdn documentation says that if we can do application level binding by
specifying the masterpagefile attribute in web.config, so that all the pages
in the application are bound to a master page. if we do this, we will not be
able to add any page in the application with server controls outside... more >>
validate fields, then launch new window
Posted by David Thielen at 6/13/2006 8:45:02 PM
Hi;
In a page, when the user clicks on a button, I want to validate all the
controls (in the code behind) and then if they are good, leave that page
alone and launch a new window with a new url also.
This is what I think is the best approach - please let me know if there is a
better one:... more >>
AllowSorting dosn't work
Posted by Samuel Shulman at 6/13/2006 8:41:59 PM
Any suggestion why
I added the columns manually at design time then at run time I set the data
source and I bind it but the headers don't appear as Hyperlinks
Thank you,
Samuel
... more >>
problem: gridview + oracle
Posted by guanfenglin NO[at]SPAM gmail.com at 6/13/2006 7:25:26 PM
Hello,
I have a grid view which display and updates the data, however it
doesn't work well, I always either get invalid name/number or not all
varaibles bound, I am very frustrated at the moment.
Thank you very much!!
Here is the gridview code:
<asp:GridView ID="GridView1" runat="serve... more >>
DB Text with NewLines, etc. for display in a Repeater or DataGrid
Posted by Alex Maghen at 6/13/2006 7:22:01 PM
If I have text data from a database which will contain NewLine characters
because it was entered from a Multi-Line TextBox, and now I want to display
the output in a Repeater or other DataBound List Control, how can I set it up
so that it'll properly show the text with the paragraph breaks, et... more >>
Discussion forum solution (ASP.NET)
Posted by mazdotnet at 6/13/2006 7:21:03 PM
Hi,
I'm looking at adding a discussion forum to our site (C# or VB.NET).
Any recommendations for a good discussion forum software? (both free
and $$$$). I looked at InstantForum and it seems like no one's there
since no one ever replies to your questions (even regarding sales).
Thanks
MA
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
"PRE"-Style formatting in HTML Output or Label
Posted by Alex Maghen at 6/13/2006 7:12:02 PM
I'm taking text from a multi-line TextBox into a database. Then, on other
pages, I'm displaying that text as read-only. But the problem is, when I set
the Text property of a Label control to that text, all the carriage returns
and other text-based formatting goes away because it's just dumping... more >>
Applet with ASP .Net v2.0.
Posted by Peregrin at 6/13/2006 6:43:43 PM
Hello World,
I want to use a web control like an applet. On my Html page, we can see
the lines
<object id="myID" height="150" width="300"
classid="http:bin/release/MyApplet.dll#MyApplet.MyApplet" VIEWASTEXT>
In Visual Studio 2005, the token VIEWSTATE is not a good choice in a XHTML
... more >>
What is smart navigation
Posted by Samuel Shulman at 6/13/2006 6:30:44 PM
I thought that the term, was referring to the browser remembering for
example the scroll bar position
However my page's SmartNavigation property is set False but the feature seem
to work
Thank you for your advice,
Samuel
... more >>
Radiobuttonlist, add new items problem
Posted by lb at 6/13/2006 5:24:00 PM
Hello,
I am trying to use a radiobuttonlist with the new multiview control. Am
having trouble understanding how to build the radiobuttonlsit just one time,
and not many times.
In my first view, I select from a list of items, then select "next". Of
course, this causes a postback, and disp... more >>
getting a Session under a Class
Posted by Bruno Alexandre at 6/13/2006 5:23:45 PM
Hi guys,
I have a session called for example Portal, like session("Portal")
and I want to retrieve that value inside a Class... how can I perfor such
task?
I thought it would like:
Public Class Warranty
Dim myPortalClass As Portal = HttpContext.Current.Session("Portal")
but ever... more >>
DataList: How to create a separator that spans across all items
Posted by robnhood00 at 6/13/2006 4:59:22 PM
I have a datalist that repeats horizontally by 3. I'm trying to create
a header that will be dynamically displayed based on criteria. Let's
say we have 3 groups (A, B, C). I want it to do this:
---THIS IS A GROUP------
--------- --------- ---------
Item1 Item2 Item3
-... more >>
Trying to Display Image in an iFrame
Posted by Abhishek Srivastava at 6/13/2006 3:56:01 PM
Hello All,
I am trying to obtain an image asynchronously for this I have written code
which uses XMLHTTP object to retreive the image.
now I have to display this image in an iframe. when I say
iframe.contentWindow.document.write(xmlHttp.responseText);
I get an text as "JFIF" in my fram... more >>
Embedding Resources into ASP.NET 2.0 Project
Posted by Bob Trabucco at 6/13/2006 3:54:10 PM
Hello all,
I have a ASP.NET website written using VS 2003. I am in the process of
migrating it up to 2005.
There is one problem I just can't seem to solve.
In my original VS 2003 project I had a few icons and bitmaps included in the
project with their build action set as "Embedded Reso... more >>
Data Binding in a Repeater
Posted by Alex Maghen at 6/13/2006 3:38:02 PM
I'm having trouble with my repeater:
I'm binding my Repeater control to an OleDbDataReader object. My ASPX looks
like this:
<asp:Repeater ID="Rptr" runat="server">
<ItemTemplate>
<asp:Label ID="LB" runat="server" Text="" />
<br/>
... more >>
How to refresh calling window from a popup window
Posted by Opa at 6/13/2006 3:37:02 PM
Hi ,
I have a form with javasript which launches a popup via the showModalDialog()
method. I get the dialog to open, now I am trying to first get a reference
to the calling form from the popup and then do a refresh of the calling form.
Any ideas on how to get a reference to the calling form... more >>
classes under asp.net
Posted by Bruno Alexandre at 6/13/2006 3:27:56 PM
hi guys,
because asp.net class has a livetime of a active webpage (soon the user
changed the page, all the values saved in the class is lost)...
how do you manage to pass this?
my idea was in global.asax create an application session like
dim myClassVar as myClass
Application.unlock... more >>
Tab Contol on Webpage
Posted by stephen at 6/13/2006 3:24:00 PM
Hi,
Can we have a tab contol on a webform just like windows application?
if yes, can you please point me to the article.
Thanks,
Stephen
... more >>
Basic Web Design Quesion
Posted by JJ at 6/13/2006 3:17:23 PM
Having done most of the background sql coding I'm now ready to start
designing my asp.net web pages.
A basic question though - is there a way of having 'common' elements on
pages (e.g. a header)?
This used to be done using frames, but I undertand these are now not
advised.
Basically wha... more >>
multiple web sites in a solution
Posted by bill at 6/13/2006 2:21:34 PM
I have multiple web sites within a solution.
All web sites are on the same server.
I can't seem to find a way to navigate between the web sites. Do I have to
specifiy the full URL, or can I use a relative path identifier in order to
navigate to a page in a different web site in the same s... more >>
How to open and modify excel spreadsheet on the server?
Posted by lanem at 6/13/2006 1:55:02 PM
Does anyone know how to open and excel spreadsheet on the server and make
changes to it and then re-save it? I am trying to do this from an asp.net
web page using OWC11. Thanks.... more >>
VSnet 2005 application for Dotnet1.1?
Posted by Gustavo at 6/13/2006 1:48:54 PM
Is there a way to make applications written in VSNET 2005 work in servers
that only support dotnet1.1?
I upgraded, then found out that the servers I use only support 1.1.
Thanks,
Gustavo
... more >>
Remove clientscript block from page (ASP.NET 1.1)
Posted by mac at 6/13/2006 1:37:02 PM
I have a requirement to open a popup window in button click event(after
server processing). The way i use is i call Page.RegisterClientScriptBlock to
register script for opening popup in the button click event and it works
fine. The only problem is when user refreshes the page, the popup opens... more >>
ASP.NET 2.0: using Cache in Global.asax
Posted by R.A.M. at 6/13/2006 1:32:53 PM
I am learning ASP.NET.
In Global.asax file I have such code:
....
<%@ Import Namespace="System.Web.Caching" %>
....
void Application_Error(object sender, EventArgs e)
{
Exception ex = (Exception) Server.GetLastError();
if (ex != null)
Cache["Problem"] ... more >>
RSS Security Question
Posted by FinallyInSeattle at 6/13/2006 1:02:18 PM
I'm new to RSS and have been tasked to write a spec for an RSS
Publishing facility for my client. I'm proposing that the RSS be
rendered on-the-fly for the most up to date results and to also support
RSS feeds of saved searches. My issue is that any of the stored
procedure calls that I have to... more >>
Export GridView to Excel does not open in Browser
Posted by mike at 6/13/2006 12:19:02 PM
Hi,
I have surfed through several posting about exporting gridview to excel and
it works great. using the following code...
response.Clear()
response.ContentType = "application/vnd.ms-excel"
response.Charset = ""
Dim stringWrite As New System.IO... more >>
Session Timeout question.
Posted by Ken Varn at 6/13/2006 12:06:49 PM
I am a little confused on how Session Timeout is handled. Does the session
timeout counter get reset on each postback or is it always counting down
until it expires regardless of postbacks?
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = ... more >>
Get onload to occur first before Page_Load
Posted by Opa at 6/13/2006 11:53:03 AM
Hi,
I have a form with a javacript function that I wish to call before the
Page_Load event on the server side. The function is called in the onload of
window (ie. window.onload = "myfunction()"
Is this possible? If so how, If not is there a workaround ?... more >>
Mail.SmtpClient sending duplicates
Posted by Brian Lorraine at 6/13/2006 11:38:02 AM
I tried out the new System.Net.Mail.SmtpClient feature of asp.net 2.0 and I
love it, but there's just one problem. When it sends an email out, it sends
to BOTH the TO and the FROM address. I have the following code which is very
simple.
------------------------snip--------------------------... more >>
Request.Browser.JavaScript is Obsolete
Posted by Armand at 6/13/2006 11:16:43 AM
Hi everyone,
I am trying to detect the client browser wether or not it supports
javascript.
Usually we use Request.Browser.JavaScript but now it has become
obsolete in .NET 2.0
any idea?
Thanks a lot
... more >>
running total of lines
Posted by CSharpGuy at 6/13/2006 10:34:46 AM
I'm creating a Excel spreadsheet and I need to add a total of how many lines
were added to the spreadsheet. How can I keep a running total and then show
the total of how many lines were added to the spreadsheet?
... more >>
validation of viewstate MAC failed
Posted by bill at 6/13/2006 10:18:37 AM
I have a web form developed in VS 2005 (VB) which I need to post to a web
form developed in VS 2003 (VB) which is on a different server.
There is no web farm or cluster involved.
There is an html button which calls a javascript function which submits a
<form> in the VS2005 web form when cl... more >>
Can you organize your properties in the misc area?
Posted by ASP Developer at 6/13/2006 9:36:02 AM
I have a user control with exposed properties. I have about 100 properties.
I would like to organize them so they are easier for other programmers to
peruse. Is it possible to organize the misc section and add +/- sections to
make it easier to read?... more >>
randomly get error when building my solution: Type 'ASP.global_asa
Posted by JCM.NET at 6/13/2006 9:02:01 AM
Occasionally I will get this error msg:
Type 'ASP.global_asax' is not defined when i compile my web project solution.
I have a global.asax file in my project, but i have no code in it. I am
however using Forms Auth via separate component to handle the
Application_AuthenticateRequest event.... more >>
ASP.NET & MYSQL
Posted by AJ at 6/13/2006 8:32:02 AM
Hi all,
Is using ASP.NET with MYSQL a plausible option??
Do you loose a lot of functionality???
Is it combersome?? Buggy??
My company is considering migrating to .NET and MYSQL may very well be the
backend they go for, so i am wondering is this combination worth while?
I prefer SQL... more >>
Commercial use of applns in VWD possible?
Posted by ASMJ at 6/13/2006 8:24:32 AM
I have downloaded freely available express edition of Visual Web
Developer for application development. Can I commercially market the
product without having any license issues?
any information on this will be helpful
Thanks
ASMJ
... more >>
Simple, solution-wide error trap in VB.NET?
Posted by Doug at 6/13/2006 8:21:38 AM
Found this thread, but code is C# (would rather have VB.NET).
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q306355
Can anyone point me to a simple solution? We don't want the error
codes appearing to the end-user, but obviously we want to be able to
log and e-mail them, etc.
A... more >>
Commercial use of express edition of VWD possible?
Posted by sumana_m NO[at]SPAM hotmail.com at 6/13/2006 8:15:00 AM
I have downloaded the freely available express edition of Visual Web
Developer. If I develop an application using this, will I be able to
market my product for commercial purposes without having any license
problem??
Any information on this will be helpful
... more >>
BackgroundWorker and showing a panel.
Posted by Larry R at 6/13/2006 8:09:53 AM
I am trying to set a panel (that holds a progress image) to be visible
when a long running process is happening. Sounds simple, right :) What
happens is the panel never becomes visible. The load and prerender
events occur, but it is never displayed.
In the super simple example, I use the "hide... more >>
Data Repeater :: Can you?
Posted by mikeyatsony at 6/13/2006 7:39:07 AM
Hi all...
I've been training a little on the whole ASP.NET and would like to know
how someone would use the data repeater like this:
For example, I have some data coming from a table and let's say for
some of the rows, I would like to show a website for the company if
they had that level of m... more >>
DayPilot 2.0 - open-source event calendar (scheduling) control for ASP.NET
Posted by Dan Letecky at 6/13/2006 6:57:12 AM
Hi all,
Hope this will be useful to someone...
I'm working on an open-source event calendar/scheduling control that
allows showing calendar entries visually in an Outlook-like view.
Recently I finished a release 2.0 that supports multiple-days view
(e.g. working week).
Homesite: http:/... more >>
Data Access using Enterprise Libraries
Posted by Joe at 6/13/2006 6:41:02 AM
Hello All:
I am trying to use the Enterprise Libraries created by Microsoft to update a
DB2 database and am stuck. I need to be able to Insert, Update and Delete
records from the DB2 datbase tables. I can use the UpdateDataSet method to
do this, but I am not sure how to use it. I have Go... more >>
ASP.NET 2.0 (64bit), IIS 6, Windows Server 2003 (64 bit)
Posted by Brian Delahunty at 6/13/2006 6:31:02 AM
I'm having a bit of a weird problem and I've spent the last few hours
scouring the web trying to solve this before coming here.
Here is the problem:
I get 404 errors for all ASP.NET 2.0 content trying to be served from IIS.
Setup:
IIS 6 (64 bit)
Windows Server 2003 64bit
ASP.NET 2.0 (64 ... more >>
Acceessing client site dll in vbscript at client site
Posted by client site dll in vbscript at 6/13/2006 6:20:02 AM
Hi i have one dll on client site,i want to use it in aspx page, on clinet site
Is it possible or not .Please tell me the solution
Please email me at indipren@hotmail.com
Regarda
Indi... more >>
DataReader Problem
Posted by Tim::.. at 6/13/2006 5:45:02 AM
Can someone tell my why my DataReader doesn't read and create the array???
I think it is something to do with the reader = cmd.ExecuteReader line but
I'm not sure what it be!
Thanks
If Request.IsAuthenticated Then
Dim objConn
Dim cmd As OleDbCommand
... more >>
HyperLinkColumn in a DataGrid
Posted by glenn at 6/13/2006 5:44:01 AM
Hello,
I have a HyperLinkColumn in a DataGrid found in a Summary page.
When the link is clicked on, I want to get the data for all fields in the
database for that record and display this data on a Details page that does
not display the data in a DataGrid but instead displays it in a series... more >>
pop up error
Posted by CathieC at 6/13/2006 4:52:01 AM
Hi all,
Im not too sure if i am posting in the right group but here goes.
I have built an asp.net app (vb.net). This has a sql server backend. I have
installed this on a server at my clients site and they are logging on via
citrix to access this app. When they log on using citrix then whe... more >>
Don't have Release Mode
Posted by Donna at 6/13/2006 4:50:03 AM
I am attempting to build a web service in .NET 2.0, using Visual Studio
2005. I am able to build it in debug mode, but for deployment, I want
to change to release mode. The problem is that there isn't a release
mode available. The configuration drop down only has debug in it. I
attempted to ... more >>
how to parse .csv file and store data in database table in vb
Posted by amy at 6/13/2006 4:43:26 AM
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Opening new asp page using response.redirect
Posted by anuragsji at 6/13/2006 4:39:17 AM
Hi,
I have one combo box and GO button on the click of GO button page
submitted and according to selection of one of the option from combo I
want to redirect my page to some new asp page but at the same time in
new window of browser.
I could have achieved this using window.open() of javascrip... more >>
web.Config Deny access not working???
Posted by Tim::.. at 6/13/2006 4:36:01 AM
Hi can someone please tell me why this web.config file doesn't deny access to
all for the folder it is in???
I have the web.config file in a folder called contents but for some reason I
can still access this folder. I am using Forms authentification and I just
can't get it to work!
PLEAS... more >>
Select CSS stylesheet from C#
Posted by davidfahy NO[at]SPAM gmail.com at 6/13/2006 4:27:29 AM
Hi all,
I have written a registration aspx page that I want to "brand"
based on a query string parameter passed to me on a redirect. Basically
if the Service param in the query string is A I want to apply a
stylesheet but if it is B I want to apply a different stylesheet. Is it
possible to ... more >>
can i run script with <% .. %> tags from inside XSL?
Posted by James at 6/13/2006 3:40:02 AM
I would like to call a method of my code from within XSL but it does not seem
to like the presence of the '%' character inside the xsl.
Basicly the XSL loops through an XML writing url's into links on a menu...
I have a method that when passed a URL encrypts the query string portion and
spit... more >>
roles and authentication
Posted by Mike P at 6/13/2006 3:07:22 AM
I have some code of my own where I am checking a username/password
against a database for login, I am not using any of the login controls
etc. What I want to do next is to create a folder for my admin pages
and make it only available to administrators. At login I set an int
which if an admin l... more >>
Connecting to sqlserver2003 on windows server 2003 from asp.net on windows server2003
Posted by Vinod R.Shenoy at 6/13/2006 3:07:10 AM
Hi All,
Came across a post wherin you had helped somebody with a similar
problem and was wondering if you could help us out with it.
Our problem is ,
We have a development SQL Server 2000 (running on Win2K SP4) machine
that we want to run on a Windows 2003 server machine and access it vi... more >>
ASP.NET and paypal
Posted by Jason James at 6/13/2006 2:09:19 AM
Guys,
it seems that several people have enquired about how to communicate
with Paypal as securely as possible. It is obvious that placing the
shopping cart details in the URL is about as insecure as could be.
Therefore why not use a POST and hide them in hidden variables? Well I
would if I ... more >>
Annoying: ASP.NET Development server starts automatically
Posted by byteschreck NO[at]SPAM googlemail.com at 6/13/2006 1:38:16 AM
Hello!
I have a solution (Studio 2005) that contains a web service project,
and when I debug it, the development server starts and works fine.
However, I have other projects in the solution, such as console apps,
and when I debug them, the server also starts (although the web service
projec... more >>
command line compile doesn't see import namespaces
Posted by JimO at 6/13/2006 12:00:00 AM
I just upgraded (reinstalled) my system to XP Pro. I set my path to the
directory where the vbc.exe is located in the environment variables. The
system sees vbc.exe but it doesn't see any imported namespaces or references
within the code. I'm getting a lot of not found and not defined error... more >>
|