all groups > asp.net > october 2005 > threads for wednesday october 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 31
cannot run asp v3 in windows server 2003
Posted by alan yeo at 10/19/2005 11:38:06 PM
Hi,
I cannot run asp v3 program in my newly installed windows server 2003.
I have already enable asp in the web server extension of IIS6.
Can some one help me ??... more >>
Javascript printing of Documents
Posted by Samba at 10/19/2005 11:33:04 PM
Hi,
How do I print Word/Excel documents using javascript? I am looking for doing
this for more than a couple of weeks and still I'm looking ... I would
appreciate any insughts into this. Thanks.
--
Samba!... more >>
Proper way to write code?
Posted by John at 10/19/2005 10:10:53 PM
This is a simple, newbe question.
In Asp/VB there are 2 ways to display message on page load
I can double click on aspx page and aspx.vb file is created:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As =
System.EventArgs) Handles MyBase.Load
'Here I can crete my message ... more >>
can ASP.NET do this?
Posted by John Salerno at 10/19/2005 10:09:55 PM
Hi all. I'm new to C# and haven't really used ASP.NET much yet. I'm
wondering if there's a fairly simple way to write a bit of code that
would allow me to insert an image into an html page, for use in multiple
pages, so that if I ever need to change the image I can change just one
file inste... more >>
test
Posted by Daniel at 10/19/2005 9:54:10 PM
mapping?
Posted by jasonlimwk NO[at]SPAM gmail.com at 10/19/2005 9:11:59 PM
hi... i am using vbnet to map to a machine and then copy some text
based file to my pc...
meaning.. map from windows XP to windows XP
but now the problem is.. we here have some pc which is not run in
windows version but it is in DOS OS... so is it possible to map to
those pc?
how? using sam... more >>
How to implement a "check all" checkbox in a datagrid
Posted by Jaime Stuardo at 10/19/2005 8:53:11 PM
Hi all..
I have a DataGrid with checkboxes. In the header I have a "check all"
checkbox.
I'm wondering if there is an easy way to check all checkboxes using that
checkbox. I could do it using JavaScript code, but the main problem I have
is that checkboxes ids aren't kept when the datagri... more >>
how to get a count on a data relation?
Posted by tfsmag at 10/19/2005 8:37:35 PM
I tried getting the record count by doing it through the ItemDataBound
on the repeater with no luck... Can someone help me out here? Thanks in
advance.
Here is the code that sets up the data relation (it works fine)
------------------------------------------------
private void getlinks()
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Invoke IE from ASP.NET
Posted by wdewebserver at 10/19/2005 8:33:21 PM
Hi
I would like to invoke a new instance of IE from within a page and pass it a
URL. How can I do this in C#?
I have tried using SHDOCVW.DLL to no avail.
TIA
... more >>
is there a way to over-right ID renaming?
Posted by darrel at 10/19/2005 5:37:44 PM
If I have a div like this:
<div id="banner" runat="server">
When the page executes, it gets rewritten as such:
<div id="pageNameControl_banner">
is there anyway to NOT have it do that? It's a real PITA to map CSS to these
rewritten IDs and figure out what is what.
-Darrel
... more >>
Is possible to upload an image from a http link to the server?
Posted by Rabbit63 at 10/19/2005 5:35:33 PM
Hi:
I just want to know if it is possible to upload an image from a http
link, like "http://www.awebsite.com/images/oneimage.jpg", directly to
the server from an asp.net page.
If yes, where can I find a simple sample to tutorial?
Thanks
Q.... more >>
datagrid with checkboxes
Posted by Carlos at 10/19/2005 5:06:05 PM
Hi all,
I am looking into having a column in my datagrid with checkboxes
and a button at the end to capture some kind of even command to
take an action depending on the status of the checkbox. Is this possible
to build by just using the datagrid control. If it is can to point to some
example... more >>
Open web page in new window
Posted by akanihuu NO[at]SPAM yahoo.com at 10/19/2005 4:44:29 PM
I am creating a web application using C#. I have a login page that is
used authenticate the user and redirect them to another web page called
Run.aspx that runs an executable that takes their username as a
parameter. Currently I am using Response.Redirect(Run.aspx) to take
the authenticated us... more >>
sharing masterpage across two projects
Posted by JP at 10/19/2005 4:25:04 PM
Hello,
this is an asp.net 2.0 question.
I have a project that holds a master page. I want to use the same
masterpage in another web project. It seems like this is not possible.
Anybody know how to work around this?
thx in advance!... more >>
Problem with DateTime
Posted by Tina at 10/19/2005 4:12:07 PM
I'm selecting some columns using a .net dataadapter using Select myDate from
myTable. then I...
DIM dt as new datatable
myda.fill(dt)
Now in dubugging I am examining the dt.rows(0).ItemArray (because I didn't
trust what was displaying in my datagrid)
It shows my date as being 8/31/2005 1:... more >>
ASP.NET 2.0 + VS 2005 running side by side with 1.x and 2003
Posted by Mark at 10/19/2005 3:08:18 PM
We have VS.NET 2003, .NET 1.1, and SQL Server 2000 installed locally on each
of our developer workstations. We will need to keep these tools installed
for maintaining old applications, but intend on developing new applications
using ASP.NET 2.0, VS 2005, and SQL Server 2005. Are there any ba... more >>
DateTime Problem
Posted by Tina at 10/19/2005 2:55:41 PM
I'm selecting some columns using a .net dataadapter using Select myDate from
myTable. then I...
DIM dt as new datatable
myda.fill(dt)
Now in dubugging I am examining the dt.rows(0).ItemArray (because I didn't
trust what was displaying in my datagrid)
It shows my date as being 8/31/2005 ... more >>
Databinding simple question
Posted by jsubscribe NO[at]SPAM gmail.com at 10/19/2005 2:40:42 PM
Hello,
I have following code in my ASP.NET webform..
<td nowrap align=center><%# DataBinder.Eval(Container, "DataItem.FLAG")
%></td>
Flag value could be either 'R' or 'P' - if its 'R' I want to print
'Rejected' in font Red and if its 'P' I want to print 'Processed' in
greeen.
Now I ha... more >>
Passing A Value To Server
Posted by Jerry Camel at 10/19/2005 2:19:39 PM
Basic Web Form... A few text boxes and a checkbox - and a card reader...
The effect I want to accomplish is this:
The basic credit card fields are there and can be filled out. But if the
user swipes the card, I want to fill out the fields automatically and make
them read only. (So far I can... more >>
Testing for nulls
Posted by Craig at 10/19/2005 2:04:09 PM
I test for nulls with the following...
DataSetAnalyticalReportCountsAndSums1.tblTowers(0).IsAvgSupplyTotalHardnessNull
But how do I test for nulls on myRow("AvgSupplyTotalHardness") in the code
below?
For Each myRow In
DataSetAnalyticalReportCountsAndSums1.tblTowers.Rows
... more >>
Infragistics webgrid
Posted by Don at 10/19/2005 1:59:21 PM
If we use infragistics webgrid and how a hierarcial grid with child row
cells with html table innerText. Now suppose we try to reduce the width
of this row not that on moving to the header of this child row cell and
releasing mouse we get an error of 'style' is null or not an object.
help!!!
... more >>
Cannot connect to Web service or ASP.NET website from another mach
Posted by naveed at 10/19/2005 1:47:07 PM
I have the simple Hello World web service running in debug mode on my
development machine
(XP Pro SP2). I'm using VS2005. I'm able to access it from my machine. When I
try to access it from another machine (also XP pro SP2), using the URL:
"http://nav:24035/WebServ/Service.asmx?op=HelloWorld... more >>
Web casts in ASP.Net
Posted by Chris Davoli at 10/19/2005 1:47:05 PM
We need to do some web casts (pre-recorded and live) from a web site. I'm
experienced in asp.net, but not how to deliver video. Where would be a good
place to start? What other newsgroups should I talk to?
--
Chris Davoli
... more >>
ASP.Net Drop Down List
Posted by bommi at 10/19/2005 1:14:16 PM
Hi
I am using <asp:DropDownList> control in my asp.net code.In that i have
100 values. So i am getting vertical scrollbar. My customer is using
touch screen so for him it is very difficult to scroll down using his
finger. So i want to increase the width of scroll bar. How can i do
this. Pleas... more >>
How is IIF evaluated?
Posted by tshad at 10/19/2005 12:35:02 PM
I have the following:
IIF(Shift2StartHour.SelectedIndex + Shift2StartMinute.SelectedIndex +
Shift2StartAmPm.SelectedIndex = 0, _
-1,GetTimeOfDay(Shift2StartHour.SelectedValue,Shift2StartMinute.SelectedValue,Shift2StartAmPm.SelectedValue)
I am getting an error on the GetTimeOfDay function ... more >>
Want to initialise text box on basis of...
Posted by zoneal NO[at]SPAM yahoo.com at 10/19/2005 12:20:04 PM
I have two textbox server control.
1. Registration Date
2. Expiry Date.
Expiry Date is calculated automatically from table on the basis of
scheme which was selected by user from Scheme DropDown
ListBox control.
eg.
User had selected "scheme 30 days" scheme. So I want to automatically
a... more >>
Pass value from javascript to vb.net to database without postback...Possible?
Posted by Andy at 10/19/2005 12:10:48 PM
Hi,
I have a complicated question that I'm hoping someone can help me out
with. I have a webpage that contains a plug-in. This plug-in can
communicate/pass data with the webpage that contains it via javascript.
What I need to be able to do is take that data passed via javascript
and, using vb... more >>
.Net Datagrid contents lost on postback
Posted by Jeff at 10/19/2005 12:10:11 PM
Is there a workaround for datagrid contents being lost on postback?
All other controls persist. It's just datagrids that appear to be
reinitialized.
It doesn't make sense to continually rebuild datagrids on postback when
other controls don't require it.
Thanks in advance.
... more >>
Commercial knowledge base software?
Posted by John Dalberg at 10/19/2005 11:41:04 AM
I am looking for a professional knowledgebase or FAQ software. So far I
haven't seen anything other than InstantKB.NET. Any others?
I am looking for advanced features such as RSS syndication, rich text
editing.etc.
--
John Dalberg... more >>
impersonation
Posted by Jim McGivney at 10/19/2005 11:20:11 AM
In an aspx page I have a datagrid populated by an oledbDataAdaptor and
dataset from a Microsoft Access database.
When the line <identity impersonate="true" /> is placed in the web.config ,
I am able to populate and view the datagrid. I am also able to add a new
record to the datagrid by usin... more >>
Combo Box Appearance
Posted by Jerry Camel at 10/19/2005 11:10:10 AM
Using the server controls... I want flat controls with a white background
and a single pixel dark green border. Seems I can control that with the
TextBox, but not so much with the combobox... Even though the combobox
appears 3D in the designer, it is displaying as a flat control in the
browse... more >>
Global.asax Session_End()...
Posted by James Hunter Ross at 10/19/2005 11:05:27 AM
Friends,
In our Global.asax file we implement Session_End() which grabs our own
object and then calls our own logout() method to tidy things up. Code is
below. (We wrap this in try/catch, but presently ignore exceptions, perhaps
we'll start logging something to help us figure this out.)
... more >>
i need to serialize my collection
Posted by Islamegy® at 10/19/2005 10:53:07 AM
In my EntityCollection inherted from CollectionBase I marked it
[Serializable] and Implement ISerializable Interface..
here is the code..
GetObjectDate( .....)
info.AddValue("Col",this.InnerList,typeof(ArrayList));
and while the InnerList is read only so i found some codes to workaround
u... more >>
Using the RowUpdating event in GridView without an SQL Update command
Posted by fatmosh NO[at]SPAM gmail.com at 10/19/2005 10:33:17 AM
I have a GridView that is pulling data from a SQL database using a
Select command. I would like to use GridView's built-in "Edit, Update,
Cancel" functionality because it is very handy.
However, when the user clicks the Update button I DON'T want to run an
SQL UPDATE command on the database, I... more >>
stream image as hex
Posted by Scott Friedrich at 10/19/2005 10:30:12 AM
we are upgrading an old COM based app to .net - one thing we need to do is
convert an image to bin-hex and store that as text in a database. For
example, a bmp in the old app would be converted to something like this.
<SymbolDataStream
0032114D61706775696465204D4C462056312E301022000110A6000... more >>
CustomValidator for checkboxes?
Posted by Jaime Stuardo at 10/19/2005 9:47:02 AM
Hi all...
I'm trying to use a custom validator for a group of checkboxes in order to
validate that at least 1 checkbox is checked before submitting the form.
I placed 2 checkbox controls in the form and a CustomValidator. When I saw
CustomValidator properties, the checkboxes aren't listed ... more >>
re : mixing classic ASP with .Net
Posted by Juan T. Llibre at 10/19/2005 9:38:14 AM
This is really strange.
Here's the links without any text after them, in a new thread with the same subject :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp
http://www.consonica.com/solutions/statestitch/
http://www.sessionbridge.com/
... more >>
ASCX User Control Drop Down List Issues
Posted by runtoofar NO[at]SPAM gmail.com at 10/19/2005 9:26:14 AM
I have an ASCX user control with a drop down list inside an ASPX (C#)
page. The user selects an item from the DDL, clicks a button, and the
DDL.SelectedValue is supposed to be sent to another function. However,
the SelectedValue is always the first value in the DDL. I have tried
several metho... more >>
convert 01/01/0001 to empty string
Posted by Tan at 10/19/2005 9:15:02 AM
I am using ObjectDataSource bind to DetailView which will contain one of the
column with the value type is date. whenver the value of this column is
empty . then it will be display the date in the format ( 01/01/0001), How
can I convert it to empty string or just string?
Thank you very ... more >>
Converting Table
Posted by Shahid Juma at 10/19/2005 9:13:42 AM
Hello,
I am using the WebControl.Table. I create the table dynamically based
on user input. I would like to convert the table to an excel document
or csv document. Is this possible?
Also, I found a component that allows you to convert it easily but it
requires the data to be set as a DataVa... more >>
Making the same button do client side javascript and server side vbscript?
Posted by COHENMARVIN at 10/19/2005 9:11:29 AM
I am working on an application where the user enters info into a
multiline textbox. The info is Stylesheet tags that he wants web pages
to use. Basically he would be entering a stylesheet into the textbox,
something like:
================
..link_header{color: #FFFFFF; font-size: 9pt; text-dec... more >>
session variables won't clear
Posted by prefersgolfing at 10/19/2005 9:06:34 AM
I have set up several session variables and can read/write as expected. My
problem is when I start another debug session the variables are retaining
the values from the previous debug session. I've tried the .Abandon, .Clear,
and .RemoveAll method to no avail. Thanks.
... more >>
mixing classic ASP with .Net
Posted by Dica at 10/19/2005 9:06:31 AM
we've got a large site that was built using classic ASP. i've read that
session state info can't be shared between classic and .Net, but, as the
client continues to add new functionality to the site, i'd like to move the
development to .Net. is it possible to share info like my login/permission
... more >>
Editing a record from a datagrid.
Posted by geodev at 10/19/2005 8:20:22 AM
I’m building a small application and I have to build it using asp.net, vb.net
and my database is MSDE. I have a datagrid with a list of customers and that
is working great. I now need to be able to edit and delete these entries.
Having done some reading I realised that there are some built... more >>
How to maintain state w/DropDownList populated from database?
Posted by ESmith at 10/19/2005 8:04:22 AM
I have a dropdownlist that I populate from my database when the page loads.
If I don't have autopostback enabled, I don't see the user's changed
selection, but if I enable autopostback and do not reload the dataitems,
nothing is there, and if I enable retrieving values from the database, the
... more >>
what is option to create chart in asp.net?
Posted by Daniel at 10/19/2005 7:32:04 AM
Hi all,
If i need to create chart with the existing library in vs.net2003, how to
call it out and use it. Any example?
If i need to create more complicated chart, the exsiting library in vs.net
2003 supported? If not, what is the free/charge external library recomended?
Thank you in advan... more >>
Appending pdf documents into one
Posted by Ganesh at 10/19/2005 7:26:12 AM
Here is what I am trying to do:
Open a.pdf, append b.pdf to it and save the aggregate as
c.pdf.
I want to do it through a program written in .net. I would like to do this
without using any tools or thirdparty components.
What i am trying out is getting the byte stream of the both the docum... more >>
HELP : 'Unable to Validate Error' !!!
Posted by Ramya at 10/19/2005 7:18:27 AM
Hi,
I am having a problem which is :
I have a asp.net project running on our webserver. It worked ok till
sometime back.
Sometimeback, we installed a cisco CSS box ( for loadsharing) between
the primary webserver, and the secondary servers.
After that, I found that my asp.net page... more >>
Simple datagrid question ???
Posted by serge calderara at 10/19/2005 6:55:05 AM
Dear all,
When I place a datagrid server control on a webform by default it shows 3
columns
My application makes runtime data binding to a table in database. So far it
works well all my column present on my bind dataset gets displayed properly.
Then I try to use template on Column 0 abut ... more >>
Web Site Administration Tool
Posted by dave NO[at]SPAM palfery.com at 10/19/2005 6:53:03 AM
I am trying to use the Personal Web Site Starter Kit. I am planning on
showing my class how easy it is to create a website in VS 2005. Only I
am finding it not to be so easy. I am following the instructions on the
default.aspx page and they are as follows.
Creating an Administrative User
The ... more >>
CustomValidator issue
Posted by jmclej NO[at]SPAM hotmail.com at 10/19/2005 6:07:40 AM
Here is what I have :
<asp:templatecolumn HeaderText="HrBegin">
<itemtemplate>
<asp:Label id="lblHrBegin" runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "HrBegin") %>' Width="100%">
</asp:label>
</itemtemplate>
<footertemplate>
<asp:textbox id="tbHrBeginInsert" runat... more >>
Confused: page postbacks problemn. Please help
Posted by Moe at 10/19/2005 5:44:01 AM
Hello,
I am very confused. Here is my situation: I have a web form with a few
fields in place that are used as search criteria for a SQL database. Since I
want the search criteria to be specific, I allow users to select values from
a dropdown list, and add them to a listbox. When the ... more >>
write a file out to a network drive via ASP.Net
Posted by michael.esposito NO[at]SPAM gmail.com at 10/19/2005 5:26:02 AM
When I try to write a file out to a network drive via ASP.Net, I get
the following error when I deploy the application to the test server. I
have no problems at all when I run it on my machine. Any help?
I have my impersonation set to true and I turned off the IIS password
control in the virtu... more >>
Reusable UserControl Library in ASP.NET 2.0 RC1
Posted by Guenter at 10/19/2005 4:35:02 AM
In a blog from Scott Guthrie
(http://weblogs.asp.net/scottgu/archive/2005/08/28/423888.aspx) I found a
sample to build a UserControl Library inside one ASP.NET project and then
deploy it to other projects and reuse it.
He suggests that you "publish" the web site to a directory and include thi... more >>
WebClient.DownloadFile Performance problem
Posted by peter.rietmann NO[at]SPAM swisscom.com at 10/19/2005 3:26:48 AM
I have been suddenly having a performance problem downloading images
from one server (productive) to another (productive) using the
following code ..
WebClient webClient = new WebClient();
try
{
webClient.DownloadFile(sourceUrlFilename, destinationFilename);
}
catch (Exception ex)
{
}
... more >>
Is it possible to create a combobox with images?
Posted by jose.cortijo NO[at]SPAM gmail.com at 10/19/2005 3:14:01 AM
Hi,
I need to put a combobox in my asp.net application but I need that each
item was an image.
is it possible with standar classes? I cannot spend any money on that.
:(
Thanks in advance.
Jose
... more >>
Geting Checkboxlist value in javascript
Posted by Satheesh Babu B at 10/19/2005 3:08:56 AM
hai..
am having a checkboxlist..now how do i get the value of the checkbox
that is checked in checkboxlist using javascript?
Thanks in advance....
Regards,
Satheesh
... more >>
How To Force Server To Send Data To WebPage WIthout Refresh(Push Method)
Posted by batista at 10/19/2005 2:42:31 AM
Hello All,
my prob. is that
i have a web server, and i want it to send fresh data,whenver
it is available(from sum other source), to a webpage.
Now i used refresh, but i want to use an alternative.
I heard that refresh is called pull scheme, and the one i'm looking for
is caled push sche... more >>
What Platform does GMAIL works
Posted by thomson at 10/19/2005 1:48:53 AM
Hi folks,
Does any one have any idea which platform does GMAIL
works, whether its JSP, ASPX or any other
Regards
thomson
... more >>
Session variable expirement.
Posted by bluewind44 at 10/19/2005 1:46:12 AM
Hello, all.
Is there any case that session vaiables expire before the time-out?
Now, I'm developing the UI project that use the webservice project.
Ocationally I met the situation that I mentioned before.
Thanks.
... more >>
windows integrated authentication and impersonation
Posted by Eric at 10/19/2005 1:11:43 AM
I trying to setup an intranet based on windows NT groups or roles.
I have used windows integrated authentication with impersonation first
but this include to use a user to access the database.
I would prefer to use windows security based on groups or roles .
If i set the impersonate attribute to... more >>
ASP.net and CrystalReports
Posted by PawelR at 10/19/2005 12:00:00 AM
Hello,
I write web applicationa and I want use CrystalReport.
On developer machine all works very well, but if I copy application to
server on web site I have information (error) that assambly can't find
CrystalDecisions.CrystalReports.Engine
If I copy application without CR all works on th... more >>
Limit asp:label Databinder.Eval characters displayed
Posted by John at 10/19/2005 12:00:00 AM
Hello
I want to use the same data string (memo) to populate a "summary" asplabel. After the summary there would be a + "..." and a "see more..." link to the "complete" string contents - for the summary (e.g. aspLabel ID="lblSName" text=Databinder.Eval(Container.Dataitem,"Description") Runat="server... more >>
Mouse Stuck In Table
Posted by Jerry Camel at 10/19/2005 12:00:00 AM
Every so often when I'm messing with a control in a table, the mouse gets
stuck within the bounds of the table in the designer and I can't figure out
why. Even switching to another app with Alt-Tab doesn't realease the mouse.
But if I right click and select "View In Browser" the mouse gets relea... more >>
System.Web.UI.WebControls.Repeater and multiple templates
Posted by Robert at 10/19/2005 12:00:00 AM
Hi,
if I create a class A with some properies, then create classes B and C
derived from A, later create and ArrayList filled with some B and C items.
This list I would like to use as a datasource for a repeater control. Is it
possible to add more than one <ItemTemplate>? I would like to have i.e... more >>
Tab Index
Posted by Henrry Pires at 10/19/2005 12:00:00 AM
Hello
Does any one know how to change the TabIndex of the controls in runtime?
I made:
textBox1.TabIndex = 0
textBox2.TabIndex = 1
and it doesn't work.
Thanks.
... more >>
SqlCacheDependency
Posted by stewart at 10/19/2005 12:00:00 AM
I've got the standard SqlCacheDependency working just fine , ie. I've
defined (and encrypted) the connectionStrings section in the web.config, and
I've also defined an an sqlCacheDependency in the caching section. So, in my
code I add an item to the cache with an sqlCacheDependency, referencin... more >>
how to display image in DataList from Database ?
Posted by Jameel at 10/19/2005 12:00:00 AM
hello code Gurus,
i want to display images in DataList, the image name are stored database,
help me please , thanks in advance
... more >>
|