all groups > asp.net > august 2006 > threads for wednesday august 23
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
simple understanding...
Posted by Oren at 8/23/2006 11:23:01 PM
Hello,
Does anyone can explain please for what I should use:
(byte)dr["Building"]
and this:
Convert.ToByte(dr["Building"])
thanx,
Oren... more >>
When will VS2005 support nested Master Pages in design mode?
Posted by Rolf Welskes at 8/23/2006 10:49:01 PM
Hello,
for a large web site project we would like to use nested Master Pages.
Unfortunely VS2005 is not able to show pages in design mode when
nested Master pages are used.
This has the consequence that also each content page cannot be used in
design mode.
It is impossible to design hun... more >>
wierd width problem with table
Posted by VB Programmer at 8/23/2006 10:32:07 PM
I have a SIMPLE table. I'm constraining it's width to 70px. The problem is
that the cell is NOT wrapping when I type. Any ideas?
Here's the simple html...
<form id="form1" runat="server">
<div>
<table style="width: 70px">
<tr>
<td>
xxxxxxxxx... more >>
Dynamic event handlers and code
Posted by Chris at 8/23/2006 9:39:32 PM
Is there any way you can dynamically add an event and then some code. I get
it that you could, in your code, add a control and dynamically add an event
handler for e.g. the click event. However the code within the event handler,
could that be pulled from a database and ran.
I would like to ... more >>
java <script> include in Master pages - src is not mapped
Posted by Rolf Welskes at 8/23/2006 9:38:14 PM
Hello,
I have simple in one folder FolderA
MyMaster.master and
script01.js
styles01.css
The content pages are in
FolderA/FolderB/ContentPage01.aspx
and
FolderA/FolderB/FolderC/ContentPage02.aspx
in MyMaster.master I have so
<link href="styles01.css" type="text/css" rel="Sty... more >>
Software Marketing Website with Forum and Knowledge Base
Posted by Pete Smith at 8/23/2006 9:12:35 PM
Hi,
we are a small vendor of software and would like to extend our website with
a support forum and a knowledge base, etc. Can you recommend any ASP.NET
components or other tools which are commercially available?
Thanks in advance
Pete
--
Pete Smith
... more >>
Hyperlink Dialog Box
Posted by Jim McGivney at 8/23/2006 8:57:16 PM
In the Hyperlink Dialog Box documentation, the protocol "File" is listed
with the description "Download a file and open it."
Can someone explain what this does. Does it open a file from my webpage on
the users computer or does it download a file to my webpage, or does it do
something else ? ... more >>
Caching dynamic images in client's browser???
Posted by emer.kurbegovic NO[at]SPAM gmail.com at 8/23/2006 8:55:03 PM
Is it possible to cache dynamic images in client's browser the same way
static images are cached?
for example, i'd like to be able to cache this dynamic image: <img
src=pic.axd?id=2> the same way the browser would cache it if it would
say <img src=http://someplace.com/pic.jpg>
is this possi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Writing data to a file from ASP.NET?
Posted by Hyun-jik Bae at 8/23/2006 8:35:46 PM
I wrote an ASP.NET application which receives data from HTTP client and
stores it to a newly created file by my asp.net page.
Everything works ok except for this statement:
FileStream writer = new FileStream("c:\\dumped\\aaa.dmp",
FileMode.Create);
It causes NotSupportedExceptio... more >>
ASP.net hosting?
Posted by David at 8/23/2006 8:21:30 PM
Any recommendations for a web site rating ASP.net web hosting
providers? The one I have seen are poor and also alot of providers
offer ASP.net but mySql rather than MS SQL.
I just need a reasonable provider that handles ASP.net 2 and MS SQl!... more >>
app_offline
Posted by Victor Rodriguez at 8/23/2006 7:20:52 PM
Is there a way to have a custom app_offline file when publishing a website
from .NET 2005?
thanks,
Victor
... more >>
Controlling the requirement website passwords
Posted by Tor Inge Rislaa at 8/23/2006 6:35:49 PM
Where do I control the requirement of my website passwords? I am using the
Web Site Administration Tool to define the roles of the users, but I can't
find a place to determine the minimum length of the password and if the
password should be strong or not. Is there a place to control this setti... more >>
Datagrid Hyperlink field to play file system wave file help.
Posted by Morris Neuman at 8/23/2006 6:17:02 PM
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to
play a wave file that is not located in the website folders but is in a plain
folder on the same machine, windows 2003 server, WMP 10.0 .
If I type the full path in an IE address field it plays the file in WMP
Wh... more >>
Only show hyperlink text in asp.net 2 gridview if database column is not empty
Posted by Bren at 8/23/2006 4:46:31 PM
Hi All
VS2005 Gridview control with vb
I am populating a gridview of company staff.
One of the columns is a hyperlink to a SMS texting facility I have so
secrataries can text the managers etc.
i.e Secratary loads the page on the intranet, finds the manager they want to
contact, clicks on... more >>
Datalist question
Posted by Islamegy® at 8/23/2006 4:44:44 PM
I'm using a datalist with Repeat Column = 2..
Which will be Rendered
<TR>
<TD></TD>
<TD></TD>
</TR>
now i want to add horizontal seprator.. I mean new row with doted line.. so
i try to insert TableRow control between each row, but when i rty to
override AddedControls i found all con... more >>
Add project to VS2005 website
Posted by Nick Gilbert at 8/23/2006 4:33:19 PM
Hi,
How can I add a new project to a VS 2005 asp.net website?
There is no context menu item "Add Project" like there was in VS 2003.
In fact there isn't really a solution to right click on (just the
website itself).
Surely they haven't removed the ability to have multiple projects in a
... more >>
user should not logged in more than one using diffferent machins on website
Posted by _thedebugger at 8/23/2006 4:32:55 PM
Dear friends,
I am developing one shopping cart application. My requirement is if user
logged in one machine, he should not logged into from another db.
how should I do that. I am using sql server 2000 to store user database.
Problem is if user clsoes the browser then how can I check and cl... more >>
DotNetNuke module problems
Posted by Loading name... at 8/23/2006 4:32:08 PM
Hey
I've got DNN Starter Kit (version 4.3.4) installed in my visual studio 2005.
And are developing a DNN portal. Now I get this error where a module is
suppose to be loaded:
"Error: Adm is currently unavailable. Object reference not set to an
instance of an object."
I'm using a sqlserv... more >>
How can I dynamically set a <form runat="server"...> action parameter?
Posted by Kevin Blount at 8/23/2006 3:42:36 PM
bit long winded this one, so stick with me:
I'm trying to create a form that can go to one of 3 places, depending on
various elements. My form control looks like this:
<form runat="server" ID="myForm" method=POST>
so, first thing: how can I dynamically set the "Action" parameter? I
know... more >>
hide these null values in datagrid
Posted by desmoduck at 8/23/2006 3:36:51 PM
Hey Group,
I may just be suffering brain fade but I have searched around and not
been able to find a solution. My difficulty: I have a datagrid that
shows name, address, tel, fax and toll free number. I would like to
hide the empty values. For instance; no fax = no fax number row, no
toll... more >>
ASP.NET and Macromedia Contribute best practices?
Posted by blueskies at 8/23/2006 3:03:44 PM
Can anyone using both ASP.NET and MM Contribute provide some pointers
or links to best practices when implementing a website with content
provided by end users?
Thanks for any suggestions or links.
... more >>
XmlDataSource, datafile to a variable
Posted by Zulander at 8/23/2006 2:49:48 PM
hi, i am trying to put a session variable in the DataFile of the
XmlDataSource, but for some reason i am getting: Server tags cannot
contain <% ... %> constructs.
<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="<%
Session("UserPath") %> "></asp:XmlDataSource>
I have even tri... more >>
can you control where response.writes?
Posted by D at 8/23/2006 2:07:19 PM
Hi
I'm obviously still learning here but what I've created is a page with a
calendar and button. When I click the button I do a number of tasks and
would like to output the progress in messages such as
Starting TaskA
Processing TaskA
Completed TaskA
Starting TaskB
Processing TaskB
P... more >>
Deploying/Copying project in VS.Net2.0
Posted by Sweety at 8/23/2006 1:45:45 PM
I used to use the copy option(with Select the Only files needed to run
this application)
to copy a project whenever I do a build in VS.Net1.1. Whats the
equivalent of this in .Net2.0?
I have tried the publish option but it also copies all the source
files. I would appreciate it if someone can ... more >>
GridView Header
Posted by Bruno Alexandre at 8/23/2006 1:35:48 PM
How can I have a header like this:
[ demonstrations ]
[sales] [dns][not qualify]
having one row like colspan="3"
--
Bruno Alexandre
"a Portuguese in København, Danmark"
... more >>
system.net permissions error
Posted by rodchar at 8/23/2006 1:35:02 PM
hey all,
i'm getting a systems.net permissions error on my page and not sure how to
resolve it. i've narrowed it down to one method. do i need to add an
attribute to that method for it to work or something?
thanks,
rodchar... more >>
Enforcing SSL to be used
Posted by Groove at 8/23/2006 12:56:28 PM
Hopefully, this isn't too dumb of a question. I have a asp.net (2) app
running on a dedicated Windows 2003 server. My host provider who manages
the machine purchased and "installed" the SSL certificate and took care of
all of the details (no experience on my part) to enabled SSL on our app. ... more >>
Custom Errors Not Working
Posted by Demetri at 8/23/2006 12:29:02 PM
I posted this question about a week or so ago. I never got any replies so
please forgive me if you have already read this question.
I have the following in my web config file:
<customErrors mode="RemoteOnly" defaultRedirect="Error.aspx" />
Here is the code in the Error.aspx:
protec... more >>
Where is the microsoft.web section used in web.config documented?
Posted by clintonG at 8/23/2006 12:19:30 PM
Nice generic term has made it too difficult to finmd using web search. This
microsoft.web section is required to use Atlas. I need to read the
documentation... Comments?
--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwauk... more >>
Is Visual Studio 2005 complict with Visual Studio 2003
Posted by rockdale at 8/23/2006 12:15:36 PM
Hi,
I am wondering does it affect my current VS 2003 if I install VS 2005.
I have a new project which we want to use the master page and data
access block from VS 2005. But I still have tons of asp.net
applications wrote in VS 2003 and I still need to support them. Do both
of them can exist o... more >>
setting language/culture set the start of a page, rather than for each date
Posted by Kevin Blount at 8/23/2006 12:05:09 PM
I'm trying to create a multi-lingual ASP.NET (C#) page where text, etc
comes from a database, so that I don't have to maintain 6 copies of the
page. This is mostly working just fine, but I have a question about
displaying dates.
In ASP (original) I was able to SetLocale("fr-FR") or SetLocal... more >>
ASP.NET 2.0 - Cannot run the profiler
Posted by Adrian Parker at 8/23/2006 11:57:03 AM
When I try to profile a website in VS2005, I get the following error.
Launch Error: The web site could not be configured correctly; getting
ASP.NET process information failed. Requesting
'http://localhost:1740/ingenweb/VSEnterpriseHelper.axd' returned an error:
Unable to connect to the remo... more >>
Debug problems!
Posted by Loading name... at 8/23/2006 11:34:57 AM
Hey
asp.net 2.0
I'm developing a DotNetNuke module in visual studio 2005 using DNN starter
Kit. In my module I have placed a Debug.WriteLine script. This script
doesn't print data out to the Output window.
I guess the script is executed, but nothing is shown in the Output window.
Debu... more >>
disabling session state in iis vs web.config
Posted by John A Grandy at 8/23/2006 10:54:00 AM
Enabling / disabling session state can be controlled at the web.config and
the iis web site levels. If session state is disabled in web.config , is
there any reason to also disable it at the iis web site level ?
... more >>
App Pools and aspnet_regiis
Posted by Anthony Yott at 8/23/2006 10:35:01 AM
Folks,
I'm using .NET 2.0 and have created a web service that runs in it's own app
pool with a domain accout for the identity. It appears that running
aspnet_regiis with the - ga option is not enough. I had to grant read access
to the domain account to the c:\windows\temp directory in order... more >>
Accessiblity
Posted by Mantorok at 8/23/2006 10:15:45 AM
Hi
We're all application developers, so how does everyone here ensure their
site is accessible? I don't know about the rest of you but we are never
given time to scan every aspect of our web-site to ensure it's accessible.
So how do you guys deal with this? Do you have help from others or ... more >>
Formatting Multiline Text
Posted by Owen Richardson at 8/23/2006 10:11:02 AM
I have read several posts regarding formatting multiline text for rendering
becuase vbCrLf needs to be converted to <br/> tags, and i need to do the
same. My question is the best way to achieve this - One of my pages is using
a detailview control on a Description datafield; what would be the b... more >>
RequiredFieldValidator with a UserControl
Posted by Andrew Robinson at 8/23/2006 9:35:06 AM
Is it possible to have a RequiredFieldValidator that targets a UserControl?
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
ControlToValidate="PhoneUserControlHome" Display="dynamic"
Text=" (Required Field)" />
This code generates a run time exception of "Contr... more >>
CSS
Posted by vinay at 8/23/2006 9:33:02 AM
Guys
Can you point me to any cool sample styles for Gridview, Datalist,Repeater etc
Any links??
Thanks
vinay
=====
vInAypAtHi
o__
---_,>/'_------
(_) \(_)
---------------... more >>
Configuring IE for debugging
Posted by Mark at 8/23/2006 9:10:42 AM
Using VS 2005, when I run my asp.net project, it currently opens in a
browser other than IE. My default browser on my PC is IE. Where do you
configure the browser that is used by default when debugging an ASP.NET
application in VS 2005?
Thanks in advance.
Mark
... more >>
Intercept a request with a protocol different from http
Posted by Maurizio Poletto at 8/23/2006 8:50:01 AM
I am developing an application client-server to build Dvb-Html sites for
Digital teletext. To distinguish between the pages resident on the file
system and the pages on air, two different protocol suffix are defined: http
and dvb respectively!.
So, if I define an image with <img src=dvb://123... more >>
RadioButtonList and SelectedIndex
Posted by Lav KG at 8/23/2006 7:49:06 AM
Hi,
I'm populating a RadioButtonList on the fly.It is successfully getting
populated but when I click any of items it is not firing
SelectedIndexchanged event, SelectedIndex is always -1 and SelectedItem
is always null.
What could be the problem ?
Thanks in advance
Lav KG
... more >>
Hosting ASP.NET Site Locally
Posted by dermot at 8/23/2006 7:43:15 AM
Hi,
I host an asp.net website locally. This is accessible via
www.mydomain.com
However when any of the pcs on my local network go to www.mydomain.com
they get the pop up box from my netgear router to login and change
router settings. So they have to go http://localwebserver/mydomain to
acces... more >>
textbox in user control losing values during post back
Posted by Sridhar at 8/23/2006 7:43:02 AM
Hi,
I have a user control which has a textbox control and a button. I have
created a property to get and set the text box value. In the Page_Load method
of the Page that contains the user control, I am setting the textbox value
that is inside the user control. When I click the button tha... more >>
ExpandAll Corrupts HTML Table format of TreeView Control
Posted by Woof at 8/23/2006 7:18:02 AM
Hi,
I'm populating the nodes of a Tree View control via an SQL database, with
the lowest child nodes (leaves from now on) Text field being set to a lengthy
set of HTML. The outcome is a beautifully formated list of data, where the
leaves each show several rows from the SQL database.
THE ... more >>
Resize whole datagrid, not only columns!
Posted by tasiekk NO[at]SPAM tlen.pl at 8/23/2006 7:10:23 AM
I need to know how i can resize datagrid on a page when user will
resize web browser window or maximize this window. Resizeing normal DIV
is simple - expression but i dont know how to resize more complicated
control like datagrid.
... more >>
DOM CreateElement?
Posted by Arpan at 8/23/2006 6:59:17 AM
Using DOM, this is how I am appending data to an existing XML file
which is named AppendData.xml (the root element of AppendData.xml is
<ProductList>):
<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
Dim xmlDoc As New XmlDocument()
xmlDoc.Load(Server.M... more >>
Master Pages - Strongly-Typed control access
Posted by Boris Yeltsin at 8/23/2006 6:49:01 AM
OK, on my Master Page I have a control:
<a id="hypTabAccount" href="#" runat="server">Account</a>
Now, in the code-behind (Root.master.vb) I can refer to it simply thus:
hypTabAccount.InnerText = "blah"
Now, what I want is the same in a content page that uses the Master Page. I
have a ... more >>
Send a mail with System.Net.Mail.SmtpClient
Posted by refv8 at 8/23/2006 6:47:50 AM
hi, i=B4m doing a aplication in asp.net 2.0 and i want send an automatic
mail when the users do an operations. i use the library
System.Net.Mail.MailMessage. and I specify all the properties
(to,from,body,host and port). i want send the mail by another port not
from the port 25. Can i do That?. ... more >>
It's trying to compile my JavaScript?
Posted by Boris Yeltsin at 8/23/2006 6:43:02 AM
I use Master Pages, so I make use of URL rebasing through the ~ operator,
like this in the <head>:
<link runat="server" href="~/Root.master.css" media="screen"
rel="stylesheet" type="text/css" />
It works perfectly and the ~ gets converted by the server into the correct
relative pa... more >>
itextsharp and Multiple Font types in a Table Cell
Posted by Hawksey at 8/23/2006 4:10:31 AM
Hello
I have just started messing with the itextsharp component and was
wondering if it was possible to add two concatenated phrases each with
a different font type to a a table cell
eg
############################
Dim pdfCell As Cell
Dim phFirst As Phrase
Dim phSecond As Phrase
Dim fn... more >>
ASP.NET input validation being fired by wrong control
Posted by JP2006 at 8/23/2006 3:01:51 AM
I am using asp.net input validation on a web form to check user input.
The web form is on a web user control which is then dragged on to a
..aspx page.
The .aspx page also contains other web user controls in the way of
various LinkButtons.
The problem is that although the validation fires co... more >>
insert using stored procedure and sql datasource control
Posted by mahajanvit NO[at]SPAM gmail.com at 8/23/2006 1:58:51 AM
Hi one and all
I got this problem during my project. So in order to solve this I made
a very small application. I am trying to insert using SP and
sqldatasource control. I know that while using sqldatasource control,
there is no need of opening and closing a connection. Also there is no
need to... more >>
Execute Stored Procedure
Posted by Dikkuuhh at 8/23/2006 1:51:25 AM
Hi, i have a function that can execute stored procedures, but i don`t
know how i can give it back to the other classes. I did it in an
ArrayList now, but how can i do it better, i can`t make it variable how
much values i get....
This is my code:
Public Function ExSP(ByVal StoredProcedur... more >>
HTML and server conversation via ASP.NET
Posted by pamelafluente NO[at]SPAM libero.it at 8/23/2006 1:02:40 AM
Hi dears,
I have a plain HTML page.
I want to render it a little interactive. I was thinking to add to it 1
script and events to the elements I want to make interactive.
Then, I need to talk with an ASP.NET page which would actually do some
processing on the server. Processing may include... more >>
Do I need <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ..... in asp.net 2.0 ?
Posted by Rolf Welskes at 8/23/2006 12:59:37 AM
Hello,
if I have for example:
<table style="width: 100%; height: 100%;" border="1">
<tr>
<td style="width: 100px">k
</td>
<td style="width: 100px">k
</td>
</tr>
<tr>
... more >>
IIS Health Monitoring via ASP.NET
Posted by wwwmike NO[at]SPAM gmx.ch at 8/23/2006 12:27:39 AM
My applications (ASP.NET 2.0 /IIS 6) get restarted almost every 20
mintues.
When asking my dear provider, he/she replied that I should have a
closer look into my source code. Unfortunatelly they did not give me
any hints WHERE and WHY I have all these restarts. Granted, I pay
20USD/month and ... more >>
launch asp.net page...
Posted by sympatique at 8/23/2006 12:00:00 AM
I build a web page with Asp.Net. I reserve a Domain name and host space from
a professionnal Hosting.
They told me to use the file Index.html to launch my .aspx page..... HOW CAN
i DO THIS.
do you know a place wherre i can find this informations.
Thank you.
Ray.
... more >>
GridView RepeatColumn?
Posted by SerhaD at 8/23/2006 12:00:00 AM
Is there a way to handle RepeatColumn feature of DataList in a GridView?
... more >>
redirect problem
Posted by gauravkg via DotNetMonster.com at 8/23/2006 12:00:00 AM
i have twp pages add,and preview
i add page i am doing data entry
i preview i am previewing the data.
n preview have edit button iwant on clicking edit it should go back to add
page with the values of preview page how can i do it.
--
Message posted via DotNetMonster.com
http://www.dot... more >>
|