all groups > asp.net > february 2006 > threads for wednesday february 15
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
Problem WIth Fixed Header DataGrid CSS Expression
Posted by batista at 2/15/2006 11:47:21 PM
Hi there,
I'm developing a website that is in 2 languages english and arabic.
Now I wanted to have fixed header scrollable datagrid.
For scrolling i found a solution which works fine.
But for fixed header I found a solution that is using CSS
expression,plus some style properties, as follows... more >>
ViewState timing driving me nuts - please help
Posted by Frank at 2/15/2006 10:38:29 PM
Can someone please tell me when the ViewState is loaded? My
understanding, based on
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconControlExecutionLifecycle.asp
is that it should be loaded before the Page_Load event, however, given
the following code I don't ... more >>
Deploying
Posted by Bakshi Rakshit at 2/15/2006 9:44:22 PM
Hello Dears,
I am making one website using Visual Web Developer Express Edition Beta
2. Now i have Created Virutal Directory named Web in my IIS.
and my execution URL is
http://bakshi:3030/web/default.aspx
now i am thinking to give Name of my website ... so how can i give
website name... more >>
Custom control within repeater with custom object binding - .net 1
Posted by Jaybuffet at 2/15/2006 9:33:27 PM
my aspx has something like this
<asp:Repeater id="Repeater1" runat="server">
<ItemTemplate>
<mycontrol:ctl id="ctlId" obj='<%# Container.DataItem %>'
showItem="true"/>
</ItemTemplate>
/asp:Repeater>
The DataSource for this Repeater is a CollectionBase of objects and is
assign... more >>
Tool to make DLL's
Posted by John Mason at 2/15/2006 8:53:23 PM
Hi,
I am an intermediate web developer using Dreamweaver MX, programming in
ASP.NET 1.1 (VB.NET not C#). I am currently not using code-behind.
1. I am interested in knowing how I can compile an existing asp.net
application into DLL(s), so that the code will be inaccessable if I sell
the app... more >>
no timeout in form authentiation
Posted by npbuggia at 2/15/2006 8:50:02 PM
hey, I'm trying to configure it so when users log in they don't ever have to
log in again from the same machine (okay, maybe within a month or something).
is there a way to do this with the standard asp.net 2.0 authentication
framework? Any help is appreciated... more >>
re: aspnet error
Posted by LARRY BOYCE at 2/15/2006 7:35:06 PM
When I logoff or restart win xp pro I get the following error msg:
aspnet_state.exe application error
the instruction at "0x0074006e"" ref mem at 0x800703e3" the memory could not
be written
I have just upgrade my hardware mb&cpu
d945psn d 820 This is the only problem that continues
anyone... more >>
How to use Login Control in VS.2005 to Authenticate User ?
Posted by Luqman at 2/15/2006 6:20:44 PM
How can I authenticate a User with Sql Server 2000 Sql Authentication, do I
need to use sqldatasource control or something else ?
Say, my User Name is : sa, and Password is: mypwd, initial catalog=Northwind
I tried following :
Login1_Authenticate(...)
sqldatasource.connectionstring="Dat... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Classic ASP String Manipulation - NOT .net
Posted by James at 2/15/2006 6:11:51 PM
Good Evening,
I would like to insert a 5 letter word into a 100 letter string, but only 1
letter at a time, and each letter separated by 10 characters!!! :) Using
Alpha characters only, no numbers or punctuation in either string. The
first letter needs to use the DAY OF THE MONTH number a... more >>
Install ASP.NET 2.0 on IIS
Posted by David Thielen at 2/15/2006 5:43:20 PM
Hi;
I just installed IIS and .NET 2.0 on a new server running Windows 2003.
However IIS is still using ASP.NET 1.1. How do I switch this to 2.0?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
... more >>
Question about SQL Session Management ASP.NET and How to serialise Object
Posted by Evian Spring at 2/15/2006 4:36:52 PM
We are planning on using "SqlServer" mode for our ASP.NET session
state.
I know for the classes we store in Session that I need to mark them
with the SerializableAttribute as described in this knowledge base
article:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q312112&ID=KB;EN-U... more >>
Mixing ASP with ASP.net
Posted by Dan at 2/15/2006 4:30:03 PM
Hi
What are the dangers of mixing asp and asp.net? For the .net part of the
site i will need to use the global.asax file but for the asp parts it will
be using the other global. file, is there anyway to get to both use the same
one?
For example i want to convert my homepage to aspx first... more >>
connection string in Web.Config
Posted by John A Grandy at 2/15/2006 4:01:44 PM
If a SQLDataSource add the following to my web.config file, how to I
programmatically extract the connection string:
<configuration>
<appSettings/>
<connectionStrings>
<add name="GUIDBConnectionString" connectionString="Data
Source=(local);Initial Catalog=GUI;Integrated Security=True... more >>
characters with accent sor umlauts get written wrong
Posted by nospam NO[at]SPAM nospam.sss at 2/15/2006 4:00:12 PM
I am using the code snippet below. If the datagrid displays words with
french accent 'e' like 'cafe' or 'Toshiba Protege', the file test.xls
displays these e's as garbled 3 characters.
Do I need to do some formatting or specify some code page, langauge..etc?
S... more >>
One last question about ASP.NET 1.1 application recycling, load time and other boring stuff
Posted by Ravi Ambros Wallau at 2/15/2006 3:52:21 PM
Dear friends:
This is my third question on this news in three days... Sorry for this
spam behavior :-)
I've a lot of problems on "first page load" after some change on
web.config or even in the contents of bin folder...
Nathan Sokalski passed me a link to ILMerge library, I've made ... more >>
Google Map API, anybody worked with it?
Posted by GS at 2/15/2006 3:10:11 PM
Hi,
I'm doing some Google MAP API programming and was wondering if somebody =
gone some advanced stuff like causing post back events on form upon =
Google MAP events etc.
Thanks,
G... more >>
Call Parent Constructor?
Posted by xenophon at 2/15/2006 3:06:57 PM
My existing 2.0 page inherits from a class that inherits from Page.
The parent class also has 2 constructors. What is the syntax for the
child class (aspx page) to call the second constructor (that has a
boolean parameter)?
Thanks.... more >>
DateTimePicker
Posted by Alper OZGUR at 2/15/2006 3:01:46 PM
Hi;
In a webform i have 2 dropdown and 2 textbox and 1 Calendar. If the
selecteditem includes the "Date" string than the Calendar.visible must set
true. if another item selected than the calendar visible will set to false
and the textboxes visible will set true...
Is there anyone who can hel... more >>
newbie question
Posted by dirk at 2/15/2006 2:47:41 PM
Hello,
Im am trying to create - for the very first time - an asp page
(default.aspx) with visual web developer 2005 express Edition.
I have put a simple button in my default.aspx page with very little code
behind this button.
this is the content of my default.aspx.vb page :
Partial Class _... more >>
Telephone Data Format?
Posted by Ed Dror at 2/15/2006 2:40:05 PM
Hi there,
I have Access database with telephone column and
When I created a webform data grid
With VWD 2005 this column show
like this 5552223333
how do I format it like (555)222-3333
Thanks,
Ed Dror
... more >>
Problem with Open Save dialog and excel
Posted by Michael Groeger at 2/15/2006 2:36:19 PM
Hi,
I have an aspx page which generates an excel document and transfers it to
the browser as attachment. Normally, once the document is transferred the
open save dialog prompts to open or save the excel document. When I click
save I can save the excel document or when I click open it directly ... more >>
Collapse sibling nodes in 2.0 Treeview
Posted by christoffer.lantz NO[at]SPAM gmail.com at 2/15/2006 2:19:22 PM
Howdy folks. Would anyone care to suggest a way to have sibling nodes
(at the same level) collapse when a node is expanded in an asp.net 2.0
treeview control? What I mean is that I want only one subtree to be
open at a time. Can the treeview control do this by itself or is some
fiddeling require... more >>
How to modify the HTTP Header for a WebService in .NET 2.0
Posted by utnemisis51 NO[at]SPAM gmail.com at 2/15/2006 1:38:11 PM
Hi,
I'm trying to include some user credentials for accessing a remote
webservice. The remote location requires that I use Basic
authentication, which means, from browsing around, I need to include
the user name and password in the HTTP header, but I'm not quite sure
how to access the HTTP h... more >>
Excel (in XML format) to a dataset
Posted by sandeshmeda NO[at]SPAM gmail.com at 2/15/2006 1:30:30 PM
I have a XML file that is basically a Excel file saved as XML. I need
to be able to change the XML into a different format.
I was thinking one approach would be to:
1. Populate the dataset based on the XML file I get from excel
2. Use a WriteXML to create a XML file in the format I need.
... more >>
linking to ms access database using odbc adapters
Posted by somersbar NO[at]SPAM yahoo.com at 2/15/2006 1:29:17 PM
im trying to get a basic ASP.NET application running. im trying to
display data from a microsoft access database on my web form. im trying
to bind the data to a data-grid. but i get the following error wen i
try and run it:
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not
... more >>
Finding ASP.NET temporary directory
Posted by Rik Hemsley at 2/15/2006 1:27:28 PM
Hi,
I am looking for a way to discover the path to the ASP.NET temporary
directory, which is called something like 'Temporary ASP.NET Files'.
From within an ASP.NET application, I can get the path using
IO.Path.GetTempPath(), but I need to do so from outside the application.
I am curren... more >>
Get DataKey on RowDataBound
Posted by MasterChief at 2/15/2006 1:27:27 PM
I am trying to add an attribute to a gridview row so when you click on
it, it will pop up an alert saying the current datakey for that row.
How is it possible to get a datakey when using the rowdatabound I want
to do something like
If (e.Row.RowType = DataControlRowType.DataRow) Then
... more >>
One default page for each directory
Posted by Gordowey at 2/15/2006 1:13:00 PM
I do know if this is the right Group to post this question....
well, here I go..
I would like to know how can i do this
I would like to let my users typing ONLY "www.mysite.com/sp", to do
directty to the "default" page for this directory ....let=B4s say
"www.mysite.com/sp/default.aspx"
... more >>
SiteMapResolve Event does not fire
Posted by Jay at 2/15/2006 12:58:46 PM
I have a simple wesite with a SiteMap. I am using the Menu Control for
navigation. Some of the URLs in the site map refer to external pages
outside of the website. When a user clicks on an "external" menu item I
need to indicate on my site that the user has accessed the external link.
To ... more >>
ViewState Question
Posted by JN at 2/15/2006 12:34:36 PM
When the button click event is raised, the value of the selectedindex of
the listbox is stored in the viewstate.
After refreshing the page using response.redirect, I want the listbox
selectedindex to be the value in the viewstate but value is always 0
instead.
Why is that?
Thanks.
J... more >>
Simple String Conversion?
Posted by Gary at 2/15/2006 12:07:27 PM
Hello,
I collect a string on my ASP.NET page via Request.QueryString.
For Example:
http://www.site.com/index.aspx?Outlook=BAD
I now want to take this string and convert it to a NUMERICAL string based on
the position within the alphabet.n Spaces OR Dashes between each character
is impo... more >>
Com+ and asp.net?
Posted by Dav at 2/15/2006 11:43:36 AM
>From what I know you can use com+ in asp.net via interop. If I convert
these com+ objects to .NET (VB.NET) do I still need MTS or does the
..NET framework handle the object pooling and other features of MTS? So,
instead of a bunch of COM+ objects on MTS that my asp.net can
reference, can I co... more >>
Even I disable the ViewState property, I still see the hidden field _VIEWSTATE
Posted by Umut Tezduyar at 2/15/2006 11:41:26 AM
I want to get rid of the hidden field _VIEWSTATE.
I tried these:
I tried to disable ViewState property.
I tried to override Page's RegisterHiddenField method.
I tried to override Page's SavePageStateToPersistenceMedium.
None of them worked.
Any suggestions?
... more >>
Querystring
Posted by Helter Skelter at 2/15/2006 11:26:27 AM
hi,
i want to have a querystring in a webpage. i dont mind what it does (i just
want to experiment with it). how do i get the asp.net page to do something
when i type in a querystring? if you dont undertsand the question, dont
hesitate to ask.
thanks in advance
--
Look Out!
Helter ... more >>
Feedback form
Posted by Helter Skelter at 2/15/2006 11:24:04 AM
hey there,
i need a feedback/contact form in my website where the entered data will be
sent to my email address. i think this is called form-to-mail. ive tried the
internet but none of the tutorials work correctly. how do i do this in ASP.NET
thanks in advance
--
Look Out!
Helter Ske... more >>
spell checking
Posted by bill at 2/15/2006 11:08:46 AM
I'm looking for recommendations for implementing spell checking on a web
site.
Users need to be able to spell check data entry in web pages.
They might decide they want to spell check medical terminology also.
Has anyone done this with a good outcome?
Thanks!
Bill
... more >>
Help with DirectoryNotFoundException
Posted by Larry Viezel at 2/15/2006 11:04:22 AM
Two developers here are working on the same code in slightly different
environments. Jason programmed code to access a public folder on an
outside machine "\\usnynyc01ap002\". The code works fine on his box. He
is running Win2k3. I am running Windows 2000 Server. Running the same
code I get:
... more >>
Binding a DataSet to a web server repeater control
Posted by Jon S via DotNetMonster.com at 2/15/2006 10:43:34 AM
Hi all
In short, I have a dataset that contains 10 records and the relevant headings.
All I want to do is bind this dataset to a asp.net repeater control. All the
examples I've seen create table cell headings and then map to them headings
like:
<%#DataBinder.Eval(Container.DataItem, "Compa... more >>
Program to Check whether its a file or Directory
Posted by Stephen at 2/15/2006 10:39:07 AM
Hi all,
Suppose I am monitoring a Folder C:\Temp
and I drop either a file or directory into this folder
How will i programmatically know whether the "item" dropped is a file or a
folder
Thanks,
stephen
... more >>
How can I read the url in browser with asp.net 2.0
Posted by Steve at 2/15/2006 10:24:08 AM
I want to get the url in the browser of the user in asp.net 2.0 and
then to do some parsing with it. Which class/method can I use to get
it?
Thank you.
... more >>
ASP.net Subroutines - how is it called?
Posted by BookerW at 2/15/2006 10:03:27 AM
I have a subroutine called Sub Application_BeginRequest. It is in my
Global.asax.vb file. It seems to be called when the application is
launched, but I am not sure how. i thought somewhere in code you have to
actually use the Application_BeginRequest() parameter to invoke the
subroutine... more >>
2.0 problem
Posted by param NO[at]SPAM community.nospam at 2/15/2006 9:31:31 AM
Hi all, Every few days my asp.net 2.0 web app gives the error below. I have
to go in and issue a iisreset command and then delete all the temporary
asp.net files in the 2.0 folder for it to start working again. What is going
on?
Server Error in '/' Application.
--------------------------... more >>
asp.net 1.1 application on 2.0
Posted by abcd at 2/15/2006 8:54:27 AM
I have asp.net application which was tested and developed on asp.net 1.1.
WIll my application work on asp.net 2.0 also. Can I say asp.net 2.0 is
supported automatically for the applications which are written for asp.net
1.1
thanks
... more >>
Themes, Pages, and Master Pages
Posted by MS News at 2/15/2006 8:48:21 AM
I am trying to understand some basic things about themes.
Why cannot I attach a theme to a master page?
When I define a CSS within a theme and then attach the theme to a page it
seems that I cannot use the CSS definitions directly on that page. Is this
correct? If so, why?
Thanks
J... more >>
ASP.NET hosting ???
Posted by serge calderara at 2/15/2006 8:38:06 AM
Dear all,
Does anyone know a free ASP.NET hosting provider or really cheap one which
handle ASP.NET 1.1 and 2.0 with sql ?
thanks for your reply
regards
serge... more >>
Aspnet Treeview limit source page level
Posted by Matt at 2/15/2006 8:13:34 AM
I have below sitemap as source for treeview that sits on master pages..
Is there a way to limit source for treeview to page level..
When i cruise the pages i would like to see only related nodes for that
page versus see all nodes in every page
Example would be..
A.aspx would show only
a.aspx
... more >>
Making my DateTime object think its American :-)
Posted by Simon Harvey at 2/15/2006 7:52:54 AM
Hi all,
I'm having a bit of a problem working with dates. My computer is british,
but I'm developing an american application so I therefore need to use american
dates. But I can't get my DateTime object to "act" american.
Let me give an example:
In order to take in an american date, I ... more >>
Date Compare
Posted by Peter at 2/15/2006 7:47:20 AM
ASP.NET 1.1, this is a Intranet application and runs only on IE.
I have two webform text boxes which contain dates - starting date and ending
date. The dates could be in any format.
for example:
Starting date: 02/15/2006
Ending date: March 2006
I have to make sure the starting date is ... more >>
What is the secure way to share data between Intranet and Extranet?
Posted by asdf at 2/15/2006 7:29:43 AM
Hi,
I have the scenario where I have one database and need to allow to see the
information accessible from Intranet and (future)Extranet. I wonder what is
the most feasible and secure way of doing it without buying second license
for MS SQL and duplicating data. So far I am leaning towards Web... more >>
ASP.NET Beginner trying to screen scrape, where do i start??
Posted by alan.aylett NO[at]SPAM conocophillips.com at 2/15/2006 7:10:15 AM
Hi,
I have three years experience programming with Java so am programming
language literate. I have to implement a tool to 'screen scrape' and it
is apparent that this is simplest using the .NET framework normally
with C.
I have many examples (with source) that I understand but need help wi... more >>
Phantom Base class still appearing
Posted by Frank at 2/15/2006 6:53:52 AM
I'm a little confused as to why an old base class for my derived class
is still showing up in the Local / Watch window.
Basically I have removed all association with that old base class -
removed all references to the namespace, etc but when I expand it in
one of the windows (above) it still s... more >>
Seperating code from HTML markup
Posted by Joe at 2/15/2006 5:45:12 AM
Hello All:
I am writing to ask for your opinions. I have a colleague who combines his
code with the markup used to display the code (reckoning back to classic
ASP). Here's an example of a datagrid column:
<asp:TemplateColumn>
<ItemStyle CssClass="TableData" Width="15%"></ItemStyle>
... more >>
HttpException : Unable to validate data
Posted by James Crowley at 2/15/2006 4:28:30 AM
[Apologies for the duplicate, I posted the first from the wrong email alias]
Hi everyone,
My site is randomly firing off a "ExceptionHttpException : Unable to
validate data. " error on some of its forms at the moment:
-------
HttpException : Unable to validate data.
http://www.developerfusi... more >>
error "Thread Being Aborted" while downloading file
Posted by hitendra15 NO[at]SPAM gmail.com at 2/15/2006 3:14:18 AM
Hi following is the code which sends file to the browser means user can
download file,
but the code generates error message Thread Being Aborted., will any
one put their thoughts
protected void SendFileToBrowser(string strpath)
{
try
{
FileInfo objFileInfo =... more >>
VS2005 minor peeves
Posted by Larry Charlton at 2/15/2006 2:10:27 AM
I've begun trying to create some basic applications and controls and am left
wondering if Microsoft rushed this to market, is just anti-web standards, or
just wants it to be hard to create great sites. For instance:
When I create a template or region editing control. Why doesn't the region ... more >>
How to configure development environment?
Posted by abc at 2/15/2006 1:42:21 AM
Our team have three developers. Each one have a PC as development. Because
these PC is slow if it also run VS.NET, IIS and SQL Server Express. For
improve debug and development performance, I will move SQL Server to Windows
2003 Server. Can I config three developers to run one web project ... more >>
Is there a way to convert .flv file to mp3 file in ASP.NET?
Posted by firejump NO[at]SPAM gmail.com at 2/15/2006 1:31:50 AM
Hello! Is there a way to convert .flv file to mp3 file in ASP.NET
application? May be some 3 - rd component has this functionality?
Thanks for any help!
... more >>
GridView date string to SP to table DateTime col
Posted by John A Grandy at 2/15/2006 12:14:33 AM
VS05 : GridView control config'd to use SPs in SS05
One of the SPs takes a vchar(50) which in the T-SQL needs to be converted to
a DateTime.
How should I have the GridView format the text the user enters in the date
col ?
Currently, if user enters "2/14/2006" , I format it as '2/14/2006... more >>
MVC pattern
Posted by Vikram at 2/15/2006 12:00:00 AM
I have to develop a solution where I have menu and header which will be
static for all the pages. I dont want to use frames. I have idea of using
usercontorls and loading them dyanamicallay as a solution to this. But do
not have complete design of it. Is there any good links which describe this
... more >>
Static Methods!!!
Posted by Adam J Knight at 2/15/2006 12:00:00 AM
Hi all.
I have created an assembly that contains a helper class (myTestClass)
I have created a reference to this Assembly in vs2003. and included a 'using
MyNameSpace;' entry in my code behind.
Problem: I can't seem to access the static methods of this class:
I am trying to use these m... more >>
User Control DataBind!
Posted by Mr Ideas Man at 2/15/2006 12:00:00 AM
Hi,
I have a DataList..that contains a Template like so.
This template contains a user control:
This control has a property, that retrieves it value from the DataSource
associated with the DataList.
<ItemTemplate>
<MyControl:Test ID="myControl" intID="<%# Container.Dataitem("myID")%... more >>
What server control is for render pure html file?
Posted by RedHair at 2/15/2006 12:00:00 AM
I'd like to dynamically render lots of html file from a ASP.NET 2.0 page,
which server control or method is best for this?
Thanks.
... more >>
|