all groups > asp.net > january 2006 > threads for thursday january 26
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
Firefox Rendering Problems
Posted by Brad at 1/26/2006 11:58:47 PM
Does anyone have any other solutions to the Firefox rendering problems with
ASP.NET?
I've tried the <browsercaps> web.config trick. It didn't work. Am I
overlooking something else?
Thanks!
... more >>
WIERD: Cant change webconfig in 2.0?
Posted by VB Programmer at 1/26/2006 11:58:26 PM
I used to be able to change minor settings in my web.config file when it was
on the web server, such as <appSettings> elements. In ASP.NET 2.0 I noticed
that there is a web.config AND a PrecompiledApp.config file. So, how can I
change <appSettings> (or other) elements once it's been deployed... more >>
How easily update 2.0 website?
Posted by VB Programmer at 1/26/2006 11:43:20 PM
In 1.1 if I made a simple code change I would just copy the dll in the bin
folder to the website and that's it. If I make a simple code change in 2.0
what file(s) would I need to copy to the web server?
How about a simple change to the HTML in my ASPX page?
(I am using a web deployment pr... more >>
Page displaying source
Posted by ramendra at 1/26/2006 11:03:06 PM
Hello everybody,
I am having a problem specific to one machine that when i am trying to
display a page that contains image it shows the source code instead of the
rendered page. Dont know what the problem is ? Maybe some browser settings or
similar.
Please help
thanks, Ramendra... more >>
Weird error - Literal content is not allowed within a 'skin file'
Posted by Alan Silver at 1/26/2006 10:25:27 PM
Hello,
I am just converting a 1.1 web site to use version 2.0 of the framework
and have run into a weird problem trying to add a skin file.
I set up a theme, and moved the CSS file in there, no problem. I then
changed one of the <img> tags in the master page to look like...
<asp:Image I... more >>
ASP.NET WebPart Problem with sample from chapter7, Ms Press ASP.NET 2.0 Step By Step
Posted by Andrzej J. Turowicz at 1/26/2006 9:06:11 PM
I create new WebSite named UseWebPart ( sample from Ms Press Book)
next steps:
Add WebPartManagerIO , WebPartZone, EditorZone & CatalogZone, etc etc etc
if i am running this sample under VisualStudio 2005 IDE all modes ( Browse,
Design, Edit, Catalog )
are operational.
Next step, co... more >>
20000 List Items
Posted by Peter at 1/26/2006 8:50:53 PM
I have 20000 Items (LastName, FirstName) I need to display in a DropDown
box, but it takes a while to load them after every postback.
What would be the best way to allow user to view these 20000 items without
loading all of them every time?
Thanks
Peter
... more >>
Barcodes
Posted by MDB at 1/26/2006 8:15:55 PM
Hello All, I am trying to figure out how to dynamically create and display
barcodes in a web form. Can anyone point me in the right direction or give
me an example? Due to budget issues, I prefer not to use third party
products.
TIA
Mike
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Sorry for posting again
Posted by Showjumper at 1/26/2006 5:54:37 PM
I apologize for posting again but i am unable to see my posts.
Ashok
... more >>
A simple Console Application to ASP.NET application
Posted by Web learner at 1/26/2006 5:51:33 PM
I am trying to convert Simpson integration algorithm given in the second =
section of http://csharpcomputing.com/Tutorials/Lesson16.htm
from Console App to an ASP.NET 2.0 page.
Here is the code
<script runat=3D"server">
protected void Page_Load(object sender, EventArgs e){
class Inte... more >>
Knowledge management sofrware?
Posted by nospam NO[at]SPAM nospam.sss at 1/26/2006 5:49:05 PM
Any recommendations for any kind of asp.net based knowledge management
software that's open source. Preferably free or affordable.
John Dalberg... more >>
Please Help! Formatting Messed Up in Mac Browser
Posted by Brad at 1/26/2006 5:41:56 PM
Novice ASP.NET developer
ASP.NET 1.1
Windows XP Professional
Visual Studio 2003
I've developed a Web application that shows up fine in IE. When I met with
my client, who has a Mac, all of the major pieces of all of the pages were
separated like unlinked pieces of a puzzle. The pages func... more >>
ASP.NET / Web Farm / Oracle
Posted by JV at 1/26/2006 5:30:08 PM
I have a client using Oracle exlusively. They want to set up a web farm for
our asp.net (1.1) application. I just discovered that it does not support
Oracle for storing session state.
Does anyone have any recommendations? An existing product that would
address this?
... more >>
Disadvantages in Visual Studio 2005 (Web sites)
Posted by m.roello NO[at]SPAM dev.it at 1/26/2006 5:26:54 PM
In the book:
"Working with Microsoft Visual Studio 2005"
Craig Skibo wrote:
"The power of Visual Studio 2005 lies in its ability to empower users to
build, test, and debug powerful applications quickly and easly."
I don't agree on what concernes ASP .NET Web Sites in VS2005.
All what invo... more >>
textbox inside a repeater control
Posted by Andy Fish at 1/26/2006 5:13:37 PM
Hi,
I have a forrm with viewstate disabled (to try and optimize network
performance). I have come a bit unstuck though when I use a repeater with a
textbox inside it
Obivously with viewstate disabled, the repeater contains no items on
postback unless I databind it. however, this causes t... more >>
sqlDataSource how to work with it ?
Posted by Jarod at 1/26/2006 4:42:08 PM
Hey
I have storedProcedure that takes 1 param. And I have checkBoxList that I
want to bind to sqlDataSource. The parameter needed for stored procedure is
in gridView.DataKey ( diffrent for every row ). So ... how to connect it.
Jarod
... more >>
user control issue
Posted by c676228 at 1/26/2006 4:32:02 PM
Hi all,
If I developed a phone user control which has requiredfieldvalidator,
regularexpressionvalidator etc. The quesiton is if on a web form which have
three
phone fields and only any one of them is required, it seems in this case
user control is not good choice.
The only thing I can thin... more >>
ActiveX
Posted by Peter at 1/26/2006 4:28:44 PM
ASP.NET 1.1 + IE
I have the following code
this.butCreateLetter.Attributes.Add("onClick", "return CreateLetter();");
This code Excecutes the following JScript
function CreateLetter()
{
var objWord = new ActiveXObject("Word.Application");
objWord.Visible = true;
}
On m... more >>
Authenticating users against Windows NT User GROUPS
Posted by Jr. BTS dev! at 1/26/2006 3:48:07 PM
Hello all,
In my web app I want to authenticate users using the Windows NT user
Groups they blong to.
The app will be used internally.
Users will all belong to the same domain
Users are separated by groups
In more details I want to know if the user is administrator, users,
customer service (a... more >>
.NET deployment question
Posted by walter at 1/26/2006 3:36:03 PM
We have a set of online servers hosting a .net app, whenever we modified the
code , right before we put the new dll in prod, we have to take the server
offline to ensure the dll is overwritable and no online transaction
My concern is we have over 100 hundred such servers to expose to the web ... more >>
Weird problem from MTS...
Posted by ricolee99 NO[at]SPAM gmail.com at 1/26/2006 3:09:42 PM
Hi everyone,
I have a .net application called "InteropService". InteropService
consumes a com component called 'B'. 'B' consumes a third party dll.
Everything seems to work fine. However, I've been noticing that
everyday, a system error pops up a few times in the event viewer.
Here is th... more >>
Client side script?
Posted by Chase at 1/26/2006 3:08:02 PM
I'm working in ASP.NET 2.0 and am having problems with some client side
script on my .aspx pages.
The script looks like this:
<script language=vbscript>
function OpenFile(FileToOpen)
Set oShell = CreateObject("WScript.Shell")
oShell.Run("explorer " & FileToOpen)
... more >>
Basic Reporting
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 1/26/2006 3:04:39 PM
I was trying to display a report on a web page. I added a report object to
my project and dropped a report viewer control on the page. I assigned the
reportsource property in page_load, but I can't get anything to work.
(The closest I get is a login failure error. But when I generate the .rp... more >>
Why is MyControl.ToolTip In a <span> Tag?
Posted by Fao, Sean at 1/26/2006 3:02:16 PM
I'm trying to set the title attribute on a CheckBox and I'm having some
issues in ASP.NET 1.1.
The title attribute in the following example is valid in HTML 4.01
Transitional:
<input id="MyCheckBox" type="checkbox" title="ToolTip">
However, ASP.NET doesn't like it. No matter what I do,... more >>
Cast problem with HtmlControls controls
Posted by Jeff Johnson [MVP: VB] at 1/26/2006 2:32:35 PM
(Disclaimer: I don't use ASP.NET much, so I could be going in a very odd
direction here. Put me on the proper path if I am.)
ran into a situation where I needed to replace an asp:CheckBox with a
regular INPUT type="checkbox" control. Specifically, it is declared thus:
<input ID="chkActive... more >>
ASP to ASP.Net COM Component issue
Posted by jeremymcnitt NO[at]SPAM yahoo.com at 1/26/2006 2:29:42 PM
Hi, I looked through the groups, and couldn't find what I was looking
for, and was wondering if anyone here could help me out. I am newish
to ASP.Net and was presented a problem that I don't know how to
resolve.
The problem is I have two websites, each with it's own log in method.
I am tryin... more >>
DetailView
Posted by Arne at 1/26/2006 2:27:04 PM
How can I use a dropdownlist in DetailView?
Protected Sub PeopleDetail_ItemUpdating(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DetailsViewUpdateEventArgs)
' Some hocus pocus
End Sub
<asp:TemplateField HeaderText="Status">
<ItemTemplate >
</... more >>
Uploading Multiple Files
Posted by Sönke Greve at 1/26/2006 2:09:01 PM
Hi there,
i want to enable uploading lots of images and later display it as an online
gallery.
Therefore i need a way of using the FileUpload Component with selecting
multiple files or a whole directory on the client.
I found several proposals on how to add one file per time to a list and... more >>
Creating a seperate Edit page
Posted by MasterChief at 1/26/2006 12:52:44 PM
I am using Visual Web Developer to create a basic database app. I put
in a grid view and Enabled Selecting on the gridview. What I would like
to happen though is when the person clicks select it opens up a
different EditItems.aspx page with the edit template so the user can
edit the exact item t... more >>
Why I get error "There was an error rendering..."
Posted by Jarod at 1/26/2006 12:37:36 PM
Hey
When I put my control into DetailsView in a template I see it and it seems
as working ok. After compile it works on the page. But in normal view in
designer I don't see my detailsView instead of it I see "There was error
rendering the control. Object not set to an instance of object".
My... more >>
GridView
Posted by Arne at 1/26/2006 12:30:02 PM
How can I update a record from a dropdownlist in a gridview?
<asp:TemplateField HeaderText="Status">
<ItemTemplate>
<asp:Label ID="status" runat="server">
<%#Eval("status")%></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<as... more >>
do it in database layer or application layer
Posted by c676228 at 1/26/2006 12:01:04 PM
Hi all,
I don't know how people deal with the issue in aspx pages:
Let's say you have a transaction through your aspx pages, in your
application program, you need to call different store procedures to insert
data to different tables. In case there is one store procedure call failed,
what... more >>
C# to VB.net conversion for "?" conditionals
Posted by .Net Sports at 1/26/2006 11:54:46 AM
I need to convert some C# ?Conditionals over to vb.net (most likely in
vb.net using If..Then statements), but the C#2VBNETconverter by
KamalPatel isn't converting them:
string PurchaseType = (Convert.ToString(drwData["DailyItem"]) ==
"True") ? "ID" : "PID";
XmlNodeList Selections = xdcData.... more >>
Installed VS 2005 professional. I see SQL expres also installed as part of it. But where do i get the Management Studio from?
Posted by Learner at 1/26/2006 11:11:44 AM
we can download the Management Studio Express for free from MS website.
I did the same thing on my personal laptop. But can we develop
applications using free downloaded Management Studio and deploy later
on with the free stuff at work?
Or else may i want to get it off Sql server 2005 that... more >>
Export to Excel
Posted by Paul Zanbaka at 1/26/2006 11:08:57 AM
I have this code below it works fine when exporting to excel.
However 2 things:
1-It does prompt me to save to file to excel (just displays excel in
browser)
2-It aonly works if AllowSorting="false' in <asp:GridView > tag
Can anyone help!
--
Paul
... more >>
Changing the Application Domain to read correct .config file
Posted by Sridhar at 1/26/2006 10:57:03 AM
Hi,
I have created a project which contains classes to read the data from the
database. This project has an App.Config file which contains the
SqlConnection String. when this code is called from a web application and if
I need to read the connection string it is reading the connection st... more >>
Adding a CheckBox to a DataGrid at Runtime
Posted by Fao, Sean at 1/26/2006 10:33:32 AM
I have a DataGrid that I'm adding CheckBox controls to at runtime (in
the code behind) and I'm not sure if I'm doing it correctly.
First of all, I noticed that the MyDataGrid.Columns.Add() method expects
a DataGridColumn so I instantiated an object of type TemplateColumn that
I had hoped I ... more >>
VB.NET to HTM
Posted by Dan at 1/26/2006 10:30:27 AM
How do I get an HTM page ( say INDEX.HTM) from an .aspx file in VB.NET? (I
am assuming that is doable)
Thanks
... more >>
How use dropdown to fill ORDER BY of SqlData Source
Posted by VB Programmer at 1/26/2006 10:28:19 AM
I am trying to use a dropdownlist to fill in the ORDER BY of a
SqlDataSource. Here's part of my HTML...
<asp:SqlDataSource ID="VideoList" runat="server" ConnectionString="<%$
ConnectionStrings:MyMainDatabase %>"
SelectCommand="SELECT aspnet_Users.UserName AS Username,
VideoCategor... more >>
using asp:HyperLink
Posted by VJ at 1/26/2006 10:08:18 AM
I want to pass two variable with the <asp:HyperLink> tag but I'm a
little unsure...
i tried...
<asp:HyperLink ID="hyperlink1" NavigateUrl="tickets.aspx?time=<%#
DataBinder.Eval(Container.DataItem, "fTime",
{0:h:mm})%>&date=Calendar1.SelectedDate.ToShortDateString()"
runat="server">
i'm ... more >>
New brower in ASP.Net but not a Pop up
Posted by sweetpotatop NO[at]SPAM yahoo.com at 1/26/2006 10:03:27 AM
Hello,
I wonder how I can open up a new browser from asp.net, I don't want a
pop up as users' machine might stop them from having pop. I use the
jscript window.ope, but that is a pop up. Can you please let me know
the alternative for having a new window up, but not pop-up please?
Thanks in ... more >>
How To: Always Redirect to the Home Page
Posted by steggun at 1/26/2006 9:19:43 AM
How can I always redirect any user to the "home" page?
Basically, a user could enter a full URL in the address bar or bookmark a
specific page so that they can go directly to that page. However, my
requirement is that every user accessing the ASP.NET 2.0 (C#) application
must always start at ... more >>
sqlDataSource 2.0
Posted by Arne at 1/26/2006 8:51:03 AM
When I run the SQLDataSource wizard I get the Advanzed button. Under Advanced
I can set update,insert and delete commands. My problem is that everything is
greyed out on the advanced dailog box. (It once worked, but stopped working)
What am I doing wrong?... more >>
MS Access Data Changes Not Committing Before Next Read?
Posted by Mark S. Milley, MCAD (BinarySwitch) at 1/26/2006 8:35:53 AM
This is an interesting problem...
I'm using MS Access for the backend for a simple task list web
application. (I know, I know, but Access is all my Web Host will allow
without killing me in hosting fees...)
I haven't used Access for the back end of a website since 1999, so
maybe there is ... more >>
Validate before JScript
Posted by Peter at 1/26/2006 8:24:18 AM
ASP.NET 1.1
I have WebForm button with JScript, but I want to validate the form before
the JScript runs when the user clicks on the button, how to I do that?
this.butCreateLetter.Attributes.Add("onClick", "return CreateLetter();");
Thank You
Peter
... more >>
Ad-ware blockers -- not possible...the light bulb goes on...
Posted by Rob R. Ainscough at 1/26/2006 8:22:46 AM
I'm no ASP.NET 2.0 expert developer, but I've got enough experience with it
to know that there is no ad-ware/spyware and popup blocker that can
effectively work with any ASP.NET 2.0 web site (or just about any other web
technology). I guess the question is -- is this a good thing? Has web
... more >>
Dynamic Image Resize and Data Type issues
Posted by webonomic at 1/26/2006 7:29:40 AM
Converting data types
I'm trying to do some image manipulation. This code project article
(http://www.codeproject.com/csharp/imageresize.asp) has a great method
I want to modefy. Here it is:
static Image ScaleByPercent(Image imgPhoto, int Percent)
{
float nPercent = ((float)Percent/... more >>
HTMLTable\Cell\AddControl
Posted by gh at 1/26/2006 7:25:02 AM
I have a HTML Table with 1 row and 1 column. I have a control I want to
add to the cell at runtime based on a condition. I can get the control
added by creating a row and cell and using the code below:
cell.Controls.Add(aCtl);
row.Cells.Add(cell);
tblDisplay.Rows.Add(row);
Is the... more >>
Quickie: definition of "context"?
Posted by Roy at 1/26/2006 7:13:18 AM
From the MS site:
NAME: ClientScriptManager.GetCallbackEventReference (Control, String,
String, String)
DESCRIPTION: Obtains a reference to a client-side function that, when
invoked, initiates a client call back to a server-side event. The
client-side function for this overloaded method include... more >>
SMTP send e-mail
Posted by Nigel at 1/26/2006 6:17:04 AM
I know there are lots of threads covering my question but i am still unable
to send e-mails from an asp.net page. Messages are not even going into the
logs.
Here is the code that i am using to send the e-mail.
MailMessage objMail = new MailMessage();
objMail.From = "nigel@***";
objMai... more >>
How to format LDAP driectory entry
Posted by BookerW at 1/26/2006 5:36:03 AM
I have the following line of code, but i don't think i am providing the right
syntax:
Dim oAllEntries As New DirectoryEntry(LDAP & LDAP_DOMAIN_SERVER &
LDAP_USERS, LDAP_DOMAIN & sUserName, sPassword)
Where
Public Const LDAP As String = "LDAP:"
I need to know how to format the remaining... more >>
LoginStatus, how to modify path to login.aspx
Posted by frolda NO[at]SPAM centrum.cz at 1/26/2006 5:00:48 AM
Hi,
I moved my login.aspx page from root to a subdirectory and made
-hopefully- all necessary changes for all Login controls. All the
controls work just fine, except one. To my regret, the LoginStatus
control still uses the old, root-located login.aspx intead of
subdir/login.aspx. What's inte... more >>
Navigation Framework
Posted by Jon at 1/26/2006 3:30:03 AM
Hello all,
Does any know of / suggest a good framework to handle navigation in an
ASP.net app?
Many pages require a certain querystring parameter to work correctly and I'd
like to use some sort of frameowork that helps with this.
Any help would be appreciated.
Thanks,
Jon... more >>
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
Posted by TOLI at 1/26/2006 2:31:02 AM
Where do a set the right user rights for ASP.NET 2 to connect to a SQL service
Se below
//
Exception Details: System.Data.SqlClient.SqlException: Login failed for user
'NT AUTHORITY\NETWORK SERVICE'.
Source Error:
An unhandled exception was generated during the execution of the current... more >>
Help on ImageButton ??
Posted by serge calderara at 1/26/2006 2:21:03 AM
Dear all,
I gave a datagrid object wich has a template column define as follow :
<asp:TemplateColumn HeaderText="Evt">
<ItemTemplate>
<asp:ImageButton id="ImageButton2" ImageAlign=Middle runat="server"
ImageUrl="event.gif" CommandName="ShowEvent" CommandArgument
='<%#DataBinder.Eval(Cont... more >>
Class file not in app_code folder
Posted by matej.stare NO[at]SPAM gmail.com at 1/26/2006 1:21:25 AM
Hello,
Can i have class file in my own directory (DataAcess folder), not under
app_code folder.
Thank you,
Matej
... more >>
LostFormatter asp.net1 > asp.net2 no longer works
Posted by bb at 1/26/2006 12:49:10 AM
i use the losformatter to serialise a hashtable and the store in the
database. (i save some urls so they can be reconstructed)
we have moved the project from asp.net1 to asp.net2
now whenever i try and deserialize a token that was saved to the db
before the move to asp.net2 it fails with er... more >>
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage
Posted by batista at 1/26/2006 12:13:15 AM
Hi,
I'm using webservice.htc to call a non-secure(without https) webservice
method from a webpage.
Now, if the webpage is not under https then everything works fine.
But, when enable ssl in that page the webservice method does'nt work.
So how shud i solve this.
Is not allowed to call a... more >>
Migration from Vb6 to asp.net
Posted by Rajesh at 1/26/2006 12:00:00 AM
Is there any checklist or questions that needs to be raised from migrating
an application from vb6 to asp.net(c#)
Any help appreciated
webbies
... more >>
can i make resume web page into word or excel file?
Posted by uto at 1/26/2006 12:00:00 AM
can i make resume web page into word or excel file?
resume web page type is table and include photo and etc
how can i make this? is there crystalreport to implement this?
... more >>
Newbie: Error in aspx file ?
Posted by Luqman at 1/26/2006 12:00:00 AM
I have copied the following code from Internet, and copied it to a file
named : test.aspx, and copied that file to c:\Inetpub\wwwroot Directory.
When I type on my Internet explorer: http:\\localhost\test.aspx, following
error occured:
The XML page cannot be displayed
Cannot view XML input u... more >>
attaching aspx page into HTML page
Posted by uto at 1/26/2006 12:00:00 AM
i'd like to attach some aspx page in HTML template
HTML template consist of Header,Content and Footer.
i just wanna show Html page appear consist of Header, aspx page and Footer
is it possible ?
... more >>
|