all groups > asp.net > july 2007 > threads for friday july 13
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
style tag in content page
Posted by David C at 7/13/2007 11:57:24 PM
I am acclimating to ASP.NET 2.0, so excuse me not using the proper
terminology.
When I say a content page, I meant, a page that has a MasterPageFile
tag in the Page directives. So is that a slave page?
I am noticing that on that page, there is no place to put a style
tag. From what I unde... more >>
Can I have "common controls" for every page?
Posted by at 7/13/2007 10:56:38 PM
I have a set of pages ( about 10 ) that all have the same controls at
the top, however I am unable to put the controls the master page for
the site since the other 50 pages dont have the controls.
Is there a way that I can define a common template / etc where this
code can live 1 place and the... more >>
How to display page load times
Posted by at 7/13/2007 10:43:48 PM
I would like to be able to display page load times within our asp.net
application for debugging purposes , I am seeing some random slowness
in our application and a load time metric would really help.
Can anyone point me in the right direction? I haven't really found a
good way to do it.
... more >>
probleum in running asp on window xp
Posted by veeru at 7/13/2007 10:24:00 PM
i have installed iis on my window but the asp script is not running on the
window
please guide me how i can run asp on my machine... more >>
VS 2005 Web Application Debug Problems
Posted by AG at 7/13/2007 9:37:17 PM
Hi all,
New install of VS 2005 Pro (SP1) on new machine with Windows XP Pro SP2,
Core 2 Extreme Quad Core processor, 4GB RAM.
Trying to debug a Web Application Project.
I had no problems debugging this same project on my old machine (also
Windows XP SP2), but having problems on the new on... more >>
How to call a Web service by using a client certificate for authentication in an ASP.NET Web application
Posted by Colin at 7/13/2007 8:09:51 PM
I created a walkthrough for "How to call a Web service by using a client
certificate for authentication in an ASP.NET Web application"using
makecert, certutil, WinHttpCertCfg.exe X509Certificate.
You can find it here: http://igottools.com/Lists/Posts/Post.aspx?ID=11
Hope it helps you guys... more >>
Windows Presentation Foundation (WPF)
Posted by nivedita at 7/13/2007 7:54:20 PM
WPF Tutorial
==========
http://wpftutorial.blogspot.com/
... more >>
ADD RECORDS
Posted by dancer at 7/13/2007 7:49:45 PM
Using ASP.net 1.1
2 QUESTIONS:
1. Why do my write commands not work?
2. This file successfully makes changes in the database record. There
surely is some simple code I could add that would *add* records to this
database. Who can tell me?
<%@ Page Language="VB" Debug="true" %>
<%@ I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with web.config inheritance and <authorization> section
Posted by Max2006 at 7/13/2007 6:41:02 PM
Hi,
I have the following tags in my root web.config file:
<authorization>
<allow roles="RoleA,RoleB"/>
<deny users="*"/>
</authorization>
I also have a public folder in my application called "~/Public"
I like to put all publicly available aspx pages in the "~/Public" folder.
Here i... more >>
Secure an ASPX page
Posted by moondaddy at 7/13/2007 6:25:53 PM
using asp.net 2.0, I have an interesting requirement. I have an aspx page
which I need to prevent someone from opening by calling it's URL. Here's
the scenario:
I have an aspx page which is used to host html help documentation that was
generated from a help authoring tool. The informatio... more >>
why doesn't validation occur on client?
Posted by Chris at 7/13/2007 6:03:12 PM
Hi,
i want to validate a textbox like this:
<asp:TextBox ID="vrg" runat="server" Width="495px" TextMode=MultiLine/>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="vrg"
Text="*" />
<asp:Button ID="Button1" runat="server" Text="go" />
This wo... more >>
Using Custom Expressions w/ GridView Buttons
Posted by at 7/13/2007 4:18:48 PM
I have a drop-down list the I want to use to control the visibility of
button fields. Here's an example of one of my button fields,
<asp:ButtonField Visible='<%$ Code:ddlReason.SelectedValue =
Status.Review %>' CommandName="Review" Text="Review" />
The value of ddlReason.SelectedValue wit... more >>
Web Development question
Posted by jonny at 7/13/2007 3:43:07 PM
I would like to get into web development and was wondering if you give
me some recommendations. I would like to invest my time wisely on the
best web development code that will be valuable in the market. Please
share with me your thoughts. (Currently I do not know anything about
web programming ... more >>
Session problem
Posted by Igor at 7/13/2007 2:22:48 PM
I use session variables for login and some little data, but session time out
will be 2-3 hours. If I have lot of visitors with long session time, can I
be in trouble (or my server). Is it dangerous or to hard for server or
session is only on the client machine?
... more >>
Is it safe to delete ASPNETDB.MDF ?
Posted by Dave at 7/13/2007 1:54:02 PM
I don't want to use the default db "ASPNETDB.MDF" that is placed in the
"App_Data " folder. I have created "myDB.MDF" and have run
"aspnet_regsql.exe. All my user data is saved to "myDB.MDF". Can I just go
ahead and delete the "App_Data " folder and all its content?
--
L. A. Jones... more >>
Error creating control: ID property is not specified
Posted by Allan Ebdrup at 7/13/2007 1:13:15 PM
I get the error "Error creating control: ID property is not specified" when
I view my custom web control in design view.
I add the control that gives an error in OnInit like this:
-----
foreach (WizardStep ws in WizardSteps)
{
CustomWizardStepHeader header = new CustomWizardStepHeader();
hea... more >>
release mode Compile error BC2014
Posted by news.microsoft.com at 7/13/2007 1:09:22 PM
I have an asp.net 2.0 project that when I change the build configuration to
release I get the following error:
Command line error BC2014: the value 'None' is invalid for option
'debug'.
If I go into the projects Advanced Compile Options and change the Generate
Debug Info dropdown fro... more >>
adding a dll file to ASP.NET website project
Posted by Onder at 7/13/2007 1:03:07 PM
hi everybody
can anybody help me with adding a dll file to ASP.NET website project
thank you for your help... more >>
adding a dll to an ASP.NET website project
Posted by Onder at 7/13/2007 12:56:41 PM
Hi all,
can any one help on adding a dll to an ASP.NET website project
thanks for your help
Onder... more >>
ASP.NET 2.0 Membership: How to authenticate a user without login control?
Posted by Max2006 at 7/13/2007 12:27:03 PM
Hi,
I am using ASP.NET 2.0 Membership and I need to authenticate a user without
using login control. Is there any sample code that shows me how to do that?
Thank you,
Max
... more >>
Rendering an aspx form output
Posted by PokerMan at 7/13/2007 12:20:15 PM
Hi guys
I want to use the output of an aspx form and render it to screen as a
'preview' of the page.
With an html file its easy but obviously an aspx page has to be run, and
then the finished html generated is what i then want.
How do i do this in .net 2?
... more >>
download ASP ver 2.0
Posted by Brad Pears at 7/13/2007 12:18:25 PM
I have a quick question... We have ASP ver 1.1 on our Win2K3 server. We are
installing Sharepoint which requires the .net framework ver 3.0 and ASP 2.0.
No problems getting the .net framework 3.0 but I CAN NOT find ASP ver 2.0
anywhere!! Is it bundled in some other download? I checked MS do... more >>
The best way to validate UserControls
Posted by Max2006 at 7/13/2007 12:05:09 PM
Hi,
I have a user control that has a property named "Text"
Is there any way that I use a RequiredFieldValidator or CompareValidator to
validate my user control's value?
I tried it and I received this error:
Control 'cboCountry' referenced by the ControlToValidate property of
'valCoun... more >>
HTTPS Post in .Net
Posted by Tina at 7/13/2007 11:34:14 AM
my client has a business partner that can't process web services but they
can accept an XML document via HTTPs Post. How, or what is the best way, in
which to do that? If they find an error in the file they submit back to me
via HTTPS Post. How do I catch that?
I know this is probably re... more >>
ASP.Net 2.0 Unexpected Session Timeout
Posted by Jack at 7/13/2007 11:11:20 AM
We running an ASP.Net 2.0 app on IIS 6. We're trying to set a session
timeout to 4 hours (business requirement). We've tried setting the timeout
at login via code, setting it in the global.asax, and setting it in the
web.config. We still get random timeouts, sometimes less than 5 minutes
... more >>
Click Event not firing
Posted by Abbas at 7/13/2007 10:59:22 AM
Hello,
I am working on a site with an input form that has required field
validators. If the user doesn't enter something in one of the
textboxes, the error message appears. When they enter something and:
1) goto another field on the form (the error message clears) then
click OK, the click... more >>
ASP.Net 2.0 Uninstall
Posted by Steve Cross at 7/13/2007 9:56:55 AM
I have a problem with ASP.Net 2.0 that I think needs a re-install. When I
go to the control panel and try to uninstall, the Microsoft .Net Framework
2.0 Setup dialog comes up and tells me the wizard is about to guide me
through the installation process. As soon as I hit next I get a brief
... more >>
ICollection List and IList
Posted by Logger at 7/13/2007 9:46:06 AM
I have two datasets wher I populate a dropdown list on startup, depending on
radio button setting. If rbA then use ds_A, if rbB use ds_B. What is the
best way to store the datasets so I can populate the dropdown list without
having to connect to the db and repopulate the datasets every tim... more >>
Events in user control
Posted by Arne Garvander at 7/13/2007 9:46:05 AM
How do I fire on an event in a user control that gets posted back to the web
form that is hosting the usercontrol?
What is the best way to communicate from a usercontrol to a a webform
hosting the usercontrol?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)... more >>
How to transfer data from a GridView to an Excel worksheet.
Posted by Steve Kershaw at 7/13/2007 9:44:14 AM
Hi,
I'm working on a project in which I have a Gridview that has data.
That Gridview data must be then exported to an Excel spreadsheet.
I have successfully displayed the Excel spreadsheet and fill it with
data using the Range.InvokeMember(...) method:
Range range2 = worksheet.get_Range("... more >>
Unspecified error - Permissions
Posted by dancer at 7/13/2007 9:32:34 AM
Using Asp.net 1.1 and Vb.net
I am learning to update a database using the following:
DBConnection = New OledbConnection("Provider=Microsoft.Jet.Oledb.4.0;" & _
"Data Source=C:\Inetpub\wwwroot\Acc.mdb" )
My application works with no problem on my remote host computer.
On... more >>
Calling a method from a dropdown control
Posted by Doogie at 7/13/2007 8:31:49 AM
If I run this code below in ASP.NET 2.0 it fails with an "Object
Required" error and I have no idea why.
Could someone tell me why this is failing? Then if I can get an
answer to that, I would actually prefer to run a C# method instead of
a javascript one and would like to figure out how to s... more >>
WebForm + Callback
Posted by sandrofurlan at 7/13/2007 7:22:12 AM
HI, I'm learning about WCF.
I've written a simple service and I'm trying to write a web-form
client.
On a simple console client that's all right. I've got the problem with
the asynchronous callback in the client.
When I click Button1 the client send request to the service and I
return the call... more >>
mouseover to change button color
Posted by slinky at 7/13/2007 7:11:06 AM
Does anyone know how I can get the following code finished. I'm trying
to dreate a onmouseover event to change the color of a button. Here's
my .vb: ( I included other code for the button that is for the
on click event)
______________________________________________________________________... more >>
allow definaetion=Machine to application
Posted by Husam at 7/13/2007 6:24:02 AM
Hi EveryBody:
I face the following error when I debugg my web application:
It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.
th... more >>
How Do you Organize your Code?
Posted by Larry Bud at 7/13/2007 5:39:24 AM
Been working with .net 2 since January, and am in the middle of my
first large project.
It's becoming obvious that one must organize their code well in a
large project to make maintenance easier. So what's your process?
Do you stick everything in one Class file? Do you have a separate
cla... more >>
asp.net 2 control definition
Posted by ShayHk at 7/13/2007 5:05:54 AM
on windows form application , when I drag a button to the form...
The button declaration is created above on the code + it's properties
on Visual studio 2005 Web application
I draged a button to the page
but I cant find that button declaration in the code (only in the
html)
My question is.... more >>
Can I change an existing Website into an AJAX enabled Website?
Posted by m.schaeffer NO[at]SPAM imail.de at 7/13/2007 5:02:13 AM
Hello,
my problem is, that if i create a new website with Visual Studio 2005
and I choose "AJAX enabled Website" everything works fine.
But if I try to do the same with an existing Website (AJAX Extesions
where installed later) the "AJAX"-functionality fails.
Though I have the AJAX Extensio... more >>
This is an unexpected token. The expected token is 'NAME'
Posted by cashdeskmac at 7/13/2007 3:46:04 AM
Hi,
has anyone come across this error before:
This is an unexpected token. The expected token is 'NAME'
I am getting it when trying to send an xml file across a web service layer.
The xml file is well formed, having been checked with XmlSpy. The size of
the file is roughly 119KB. I... more >>
The code is not working
Posted by Gandalf at 7/13/2007 3:28:24 AM
I download the framework and install the IIS server 5.1, But when I
copy the code that supposed to print me 'hello world' from my manual
it didn't work. It showed me the page, but ignored the '.net' script.
What could be the reason?
Does my server version support asp.net?
This is the code ... more >>
GridView and html FieldSet tag
Posted by pelegk1 at 7/13/2007 2:58:00 AM
i want to combine a GridView with html tag--> FieldSet
but i dont want the FieldSet to warp all the GridView
but break into parts and every fiew field's will be wraped in a FieldSet.
it is possbile?
or i need to build few GridView's and each 1 of the to Bind with its own data?
thnaks ... more >>
Printing issue
Posted by laguna.noir NO[at]SPAM gmail.com at 7/13/2007 1:25:24 AM
Hello all
When printing from Enterprise Service I've got strange exception:
System.ComponentModel.Win32Exception: The operation completed
successfully
Server stack trace:
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal()
at System.Drawing.Printing.PrinterSettings.Get... more >>
WebService fails inside ASP 2.0 website
Posted by Sergey Poberezovskiy at 7/13/2007 1:18:00 AM
In my ASP.Net 2.0 website I defined base page type in web config as follows:
<pages MaintainScrollPositionOnPostback="true" pageBaseType="base_Page" />
It all works fine for the pages.
Now I am adding webservices to the site - I use the same business objects
and authentication/authorization.
... more >>
calculate threshold
Posted by Jassim Rahma at 7/13/2007 1:09:00 AM
here we have aa limited broadband internet accounts, 5GB, 10GB and 15GB. I
want to calculate the total threshold to monitor the internet usage using
C#?
... more >>
Advice for assigning data from a DataReader to object properties
Posted by Froefel at 7/13/2007 12:00:00 AM
Hi group
I am creating a web application that uses a simple DAL as an
ObjectDataSource.
To retrieve data from the database, I use a DataReader object from
which I then assign the various fields to properties in an object,
like so:
in the DB, the fields are defined as follows:
ProjectID ... more >>
|