all groups > asp.net > april 2007 > threads for thursday april 19
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
Which version of Visual Studio
Posted by Chris at 4/19/2007 11:24:17 PM
My bosses look like they're going to buy in Visual Studio and let us upgrade
from ASP to ASP.net - don't ask :)
I am doing my research but one thing is confusing me. One thing I really
want is something really integrated so you can do your UML and ORM diagrams
in Visio and have it automati... more >>
Need Alternative to Server Side Include in Asp.Net
Posted by PinkBishop at 4/19/2007 10:45:41 PM
I have created a menu page using the .net menu control.
I would like to include the page at the top of each of the my pages.
In classic asp i would just code <!-- #Include File="fileName.asp" -->
If I try <!-- #Include File="fileName.aspx" --> in .aspx I get errors
to the effect of dup... more >>
Cache User Control in Web Part
Posted by Ryan at 4/19/2007 7:31:23 PM
Hello everyone,
What is the best way to cache a 2.0 web part?
I tried putting output cache on the user control in the part, but the
output cache cannot be wrapped by a generic web part . . . any ideas?
I'm new to caching to begin with and I am at a loss. Because of the
control, data cachi... more >>
Losing Session on Postback
Posted by EagleRed NO[at]SPAM HighFlyingBirds.com at 4/19/2007 7:10:03 PM
I have an application in which I store state in the Session object. There
are two paths of execution in the Page_Load method of the default page. In
one path the Session state is preserved across postback and it works fine.
In the other path the Session state is lost and I get a new Session... more >>
"£"
Posted by James Page at 4/19/2007 6:53:11 PM
Hi all
I'm having a problem displaying the £ character in a label within a
template field on a grid view.
The labels data comes from a sql select query:
SELECT 'Our Price: £'+ CONVERT(varChar,products.pack_price_our_price,1)
AS txtPrice
FROM products
Thq SQL query works fine and p... more >>
How to fill TreeView in ASP.Net 2.0 ?
Posted by Luqman at 4/19/2007 6:34:38 PM
I am using Oracle Database Scott.Emp table with Parent/Child relation keys.
How can I fill the ASP.Net 2.0 TreeView Control using Sql Data Source.
As the TreeView just uses xmldatasource, is it possible to convert the Sql
Data Souce Data to XML File, if so, how ?
Best Regards,
Luqman
... more >>
Rewarding Advertisers
Posted by Samuel at 4/19/2007 5:30:36 PM
I want to advertise the website in newspapers or other non website places.
the problem is that when visitors come top the website I need to know where
they read/heard about me
What is the common approach (I could only think of having multiple domain
names and then redirect the users)
Tha... more >>
Traffic Source
Posted by Samuel at 4/19/2007 5:07:07 PM
Hi
I need to implement a site that pays commission to other sites where people
clicked on our link.
How can that be done?
Thank you,
Samuel
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Session Variable-InvalidCastException
Posted by Don Miller at 4/19/2007 5:04:02 PM
I use a Session variable to store a custom object (all properties contain
strings) between postbacks. On occasion, mostly when I change and save code,
when I refresh the web page to see the changes, I get an error:
"System.InvalidCastException was unhandled by user code -Unable to cast
obje... more >>
Web Services on a Windows 2000 IIS 5.x ASP.Net 1.1 works fine but not on 2003
Posted by Mufasa at 4/19/2007 4:02:58 PM
I have web services that have been running fine for 8-9 months. It's hosted
on a Windows 2000 machine with IIS 5.x ASP.Net 1.1.
I moved them to a Windows 2003 server with IIS 6.x ASP.Net 1.1 and suddenly
it's chewing up memory. On the old machine, aspnet_wp.exe would grow but
would level ou... more >>
.NET 1.1 Virtual Directory in a .NET 2.0 Website
Posted by Eric at 4/19/2007 3:38:27 PM
Hi Everyone,
I have an ASP 1.1 website being hosted in a virtual directory that is a
child node of an ASP 2.0 website. So I have:
http://mainapp (which is a 2.0 site)
And:
http://mainapp/subapp (which is a 1.1 site)
I've got the application pool stuff handled; the problem I'm havin... more >>
freetextbox install problems
Posted by Jim in Arizona at 4/19/2007 2:54:02 PM
Apparently, the FTB forum at
http://freetextbox.com/forums/22/ShowForum.aspx isn't very active.
I need some kind of text box control that allows formatting AND is free
so I came across freetextbox. I followed the installation procedure from
here:
http://wiki.freetextbox.com/default.aspx/... more >>
Get value from dropdownlistbox into gridview and update database in SQL Server 2005
Posted by BenCoo at 4/19/2007 2:52:59 PM
Hi,
I have a gridview control that displays data from 2 tabels in a sqlserver
2005 database. The table "Temperatures" has a field "LocationID" I populate
the gridview with a ObjectDataSource with the following connectionstring
Dim selTmpr As String = "SELECT Tmpr.TmprID, Tmpr.TmprName, Tm... more >>
Running .Net 2003 and 2005
Posted by danstdotnet at 4/19/2007 2:08:06 PM
Does anyone know of any issues running VS.NET 2003 and 2005 on the same PC ?
I have active apps running in ASP.NET 2003 with crystal report and dont want
the site to break. Thanks !!... more >>
Upgrade asp.net app from 2003 to 2005
Posted by danstdotnet at 4/19/2007 1:54:02 PM
I've tried to upgrade my existing ASP.NET 2003 app to 2005 and I get a ton of
errors. It compiles and runs perfect in 2003 but i get hundreds of errors in
2005. Is there an easier way to upgrade to 2005 ? Thanks... more >>
How to get embedded resource HTCs to be referenced in page?
Posted by Peter Rilling at 4/19/2007 1:36:42 PM
Hi.
I have an interesting problem and don't know if there is a solution to this.
I have some webcontrols that are compiled into assemblies (not
usercontrols). Some of these controls rely on Javascript file which are
included as embedded resources where the HTML reference is being echoed b... more >>
Setting a 'wait' cursor
Posted by Greg Smith at 4/19/2007 12:54:54 PM
I would like to set an hourglass style cursor during long operations like
sql data retrieval. I this do-able?
Any help is greatly appreciated.
... more >>
Custom IApplicationHost
Posted by Mark Carrington at 4/19/2007 12:52:11 PM
Hi,
I have an application which uses the
ApplicationHost.CreateApplicationHost API to embed ASP.NET. My problem
is that I need to be able to duplicate the virtual directory type
structure supported by IIS, e.g.
URL / maps to c:\mysite
URL /dir1 maps to c:\mysite\dir1
but
URL /dir2... more >>
edit button sql permission
Posted by rodchar at 4/19/2007 11:52:01 AM
hey all,
i have an edit button on my web page. what is the quickest or best way to
link the Enabled property of the button on the aspx page to the User's Table
Permissions if it has been granted update permissions?
thanks,
rodchar... more >>
Getting the Value of a field bound to a Repeater
Posted by John Kotuby at 4/19/2007 10:58:40 AM
Hello all..
I have what is probably a simple question but I can't find the answer for it
yet.
I have a Repeater bound to a Datatable.
In the OnItemDataBound event controller in the Code Behind I am trying to
pull a value from one of the DataSource fields that is not bound to a
control t... more >>
Customizing page content based on AD identity
Posted by natasha at 4/19/2007 10:52:05 AM
Good morning,
I'd like and realize an Intranet page, in an Active Directory domain,
showing customized content based on AD logon identity of client user
requesting page.
Is there any documentation to start?... more >>
Need to start over on a project: vb or c#?
Posted by Beemer Biker at 4/19/2007 10:44:03 AM
I have a C# project VS2005, that uses GridView and Multiview. It is
getting bigger then I originally anticipated and running slow and needs to
be broken up into several pages (yes, I am a newbie and made it one page)
It has been decided to use pintab instead of multiview. I downloaded pint... more >>
Unable to sort dynamically added templatefield to gridview
Posted by Carlo Marchesoni at 4/19/2007 10:04:02 AM
I am building a GridView dynamically adding templatFields according to a
Microsoft article. I had to create a class with the ITemplate interface and a
method called InstantiateIn.
Everything works fine except that I am unable to sort such a templatefield.
AllowSorting is true:
<asp:GridView I... more >>
Roles with Windows Authentication
Posted by exkievan at 4/19/2007 10:04:02 AM
How to assign users to roles if I use windows authentication in my ASP.NET
2.0 site?
--
Thanks,
ID... more >>
sql query in real time...ajax?
Posted by mattdaddym NO[at]SPAM gmail.com at 4/19/2007 9:24:57 AM
Hi all,
I'm looking for a way to show my users the progress of their sql
queries. I've implemented Microsoft Ajax in order to show a progress
bar, but I would love to be able to show:
number of rows loaded vs total rows
I tried a few searches for this, but haven't come up with the right
... more >>
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Posted by Joel Barsotti at 4/19/2007 9:07:33 AM
I'm working on shipping rate calculator going back and forth via XML. The
thing I'm confused about is that the code works, but after a few hours and I
don't know how many requests, I start getting the error "The underlying
connection was closed: Could not establish trust relationship for the
... more >>
Zero Supress
Posted by Chris Davoli at 4/19/2007 8:30:02 AM
I have to zero supress some numbers ie; 20.000000000 or 20.0100000
What is an easy way to do this? If I got to write code, is there some code
examples out there?
--
Chris Davoli
... more >>
Listbox - identifying different values with a selected row
Posted by Daniel at 4/19/2007 8:26:04 AM
Hello, I need some help, urgently.. I have got a listbox where the
information is retrieved from a database. So for example, if the first row
is selected and the button is pressed, I want just the first field to be
displayed in the text box provided. So if the first one is selected then in... more >>
Help me with Login and user roles please.
Posted by mark4asp at 4/19/2007 7:52:16 AM
This is a simplified version of my site.
There are Premium users who have access to the Premium directory.
Anyone else attempting to access it should be logged and then
redirected to the Premium.aspx - which explains the advantages of
being a Premium member and provides examples of content.
... more >>
AJAX collapsible panel Events Question:
Posted by probashi at 4/19/2007 7:39:09 AM
Hi,
Is there any events associated with collapsible panel related to
expand and collapse behavior.
I would like to execute some code (either client side or server side)
when any of these events happen (i.e. collapsible panel is expended or
collapsed)
Thanks
... more >>
Getting Text from rows of gridview
Posted by rhoenig at 4/19/2007 7:27:45 AM
I have a gridview that is populated from a SortedList. In the
gridview I have a text box that the user can update, when they click
update I want to remove the entry from the list and readd it with the
updated item. My problem is when I try to get the text that is in the
cells of the gridview i... more >>
How to call a ASP.net file from ASP file
Posted by Anandhi at 4/19/2007 7:08:04 AM
Hello,
I have a ASP file. And I am trying to include a asp.net file in it. Below is
the sample code.
This is test.asp
<%
Case "RetrieveTasks"
strLic_No = Request("strLic_No")
' We are retrieving the tasks for a specific user.
%>
<!-- #include virtual ="/WebApplication1... more >>
Time out for page
Posted by Sonnich at 4/19/2007 6:47:01 AM
Hi!
How do I set the timeout for a page?
Session.timeout is for the sesstion AFIAK.
BR
Sonnich
... more >>
autosize a label
Posted by darren at 4/19/2007 6:32:02 AM
i need to autosize a label to grow with the size of the text that from a
database
how do i do this?
i have tried to uses MeasureString but i don't have the right parameters
namely the font parameters. asp uses fontinfo class and Measurestring dose
not take that input.
... more >>
Question
Posted by Manny Chohan at 4/19/2007 6:22:01 AM
Hi Guys,
I have to implement a Page in my app such as company details which is going
to have lots of Sub information such as Contacts (multiple contacts per
account), Notes , documents etc. I was thinking about implementing these in
Gridview(enclosed within Atals Update Panel to avoid refre... more >>
How to create Asp.Net Application with Multilingual storage with Multibackend
Posted by bsm at 4/19/2007 5:23:45 AM
Hi,
I need to develop an Asp.net Application which should support any
backend (SQL/Oracle). Also it store Multilingual data.
I found the Query for SQL Server as follows:
---------------------------------------------------------------
INSERT INTO MusicAlbum (Album_ID, [Year], Name, Artist_ID... more >>
Dynamically Creating Controls
Posted by ks at 4/19/2007 4:51:05 AM
Hi ,
I am required to create a Table like structure in Windows forms to
which i need to add controls dynamically.
what is the best control available for this requirement.
i tryed using TableLayoutPanel but failed coz each row is accepting
only one control.
Thanks in Advance
Happy pr... more >>
read a excel sheet using aspose.excel
Posted by sajithkahawatta at 4/19/2007 4:29:58 AM
is there any one used aspose.excel
i used automation to read a exel doc .but we have to install ms excel
to do that
so i suppose to use aspose.excel
can any one give me the 'Aspose.Excel.dll' and the licensse
-'Aspose.Excel.lic'
files.
because i am a student i can not buy it.if u can it is ve... more >>
Unable to run .aspx websites
Posted by grzegorz.gazda NO[at]SPAM googlemail.com at 4/19/2007 3:44:32 AM
I am not sure whether it is the right group to write this post, or I
should ask for help on IIS group. Anyway...
I am using Visual Web developer Express edition. I have created
an .aspx website. When I run it from Visual Studio, either clicking
Run in Browser or debugging everything is fine. T... more >>
change the Internet explorer window title using C#
Posted by imad.sabonji NO[at]SPAM globeexpress.com at 4/19/2007 3:41:44 AM
HI
I am using Visual Studio.Net 2003 and using C#
I would like to know how is it possible to change the Internet
explorer window title?
ie. i want to get rid of "Microsot Internet Explorer" that appears
after my application name on the title bar and if possible, get rid of
the IE logo at... more >>
where is global.asax.cs ?
Posted by oliv NO[at]SPAM linuxmail.org at 4/19/2007 3:32:39 AM
[newbie question]
I need some global app strong typed variable.
So in my solution explorer, I did:
Add New Item | Global Application class
It add me a file Global.asax :
<%@ Application Language=3D"C#" %>
<script runat=3D"server">
void Application_Start(object sender, EventArgs... more >>
Encrypt URL parameters(querystring)
Posted by Alhambra Eidos Kiquenet at 4/19/2007 3:20:01 AM
Hello to all
I have a URL like this:
www.servidor.com/pag.aspx?param1=v1¶m2=v2
How it could encrypt and decrypt the parameters of a URL ?.
Are ther some useful class that exists by codeproject or similars.
Greetings and thanks in advance
--
http://www.alhambra-eidos.es/... more >>
Configuration Error : Web.Config [No Relevant Source Line]
Posted by aSoundMind at 4/19/2007 3:11:45 AM
Hi there, I recieve this error
Server Error in '/integrate' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a
configuration file required to service this request. Please... more >>
Slower with AJAX?
Posted by Jakob Lithner at 4/19/2007 1:56:00 AM
I am new to AJAX.
I am applying AJAX to a current web solution to get the "instant behaviour".
On my main page I have two sets of criteria: Specific and Wide.
Each set is placed in a View container.
I am not sure that I configured the Triggers correct, but the behaviour is OK.
When I click the ... more >>
[aspx.cs] Global var for the application
Posted by oliv NO[at]SPAM linuxmail.org at 4/19/2007 1:25:20 AM
Hi,
new to .NET, I need some unique var among the whole application in
during the whole lifecycle of the webapp.
This var is a Boolean :
at start time of the webapp, I want this var to be set as false
I did that through a file Global.asax
<%@ Application Language="C#" %>
<script run... more >>
setting HyperLinkField visited color, how??
Posted by Jeff at 4/19/2007 12:10:20 AM
ASP.NET 2.0
I'm wondering how to set the color of a visited HyperLinkField (the link
text) in a GridView??
Here is the markup of the HyperLinkField I have problems with:
<asp:HyperLinkField HeaderText="Subject" Text="Subject"
DataTextField="Subject" DataNavigateUrlFields="Id"
DataNavig... more >>
Differences Between......
Posted by rn5a NO[at]SPAM rediffmail.com at 4/19/2007 12:09:23 AM
Assuming that a DataGrid gets populated by a database column named
RegDate using a DataSet, what's the difference between
<%# DataBinder.Eval(Container.DataItem, "RegDate") %>
&
<%# Container.DataItem("RegDate") %>
If I am not wrong, the former can be used to format the output like
for... more >>
The Web server does not have frontPage Server extensions installed Error(VS 2005 Error)
Posted by rote at 4/19/2007 12:00:00 AM
I'm trying to create a Website using VS 2005 on another server on the same
domain.
But i get error
"The Web server does not have frontPage Server extensions installed Error"
Any ideas what i have to do to install the frontPage Server extensions on
the IIS 6 - windows 2003 server?
Thanks in ... more >>
About Ajax postbacks
Posted by Kursat at 4/19/2007 12:00:00 AM
Hi,
I have a question about Ajax postbacks :
- Does ASP.NET process multiple UpdatePanel postbacks in single thread when
two or more different update panel postbacks occur at the same time for same
page?
... more >>
|