all groups > asp.net > february 2008
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
MasterPages and applying CSS to content pages
Posted by Mort Strom at 2/29/2008 10:19:32 PM
Right now the header of my master page contains all of the CSS styles for
all of the pages that might be loaded in my ContentPlaceHolder. The problem
is that my <style> tag is getting too large to manage. I have 300 lines of
styles in my masterpage and I don't need all of this for every page... more >>
How To Question
Posted by Steven at 2/29/2008 9:54:13 PM
Greetings,
This project, among other things, requires:
1. the ability to capture a screen size image from a directory every x
seconds (x= 1-5) and display this image to a publicly addressable web form
without any screen flicker.
Basically, we have a device that captures frames from one PC... more >>
single sign on - why not trust AD?
Posted by jc at 2/29/2008 8:44:19 PM
For intranet development.. is there anything terribly wrong with
authenticating users against AD groups to determine what pages, menus,
features they should be allowed to see and use?
Would there be any valid reason for asking users to re-enter there AD
user and PW for every intranet Applicati... more >>
Asp.net, GridView and Linq on Array of objects
Posted by James at 2/29/2008 8:14:31 PM
I've got a GridView control on a simple web page in ASP.net 3.5.
I've an Array of Employees. An Employee has First Name, Last Name, =
IsActiveEmployee etc
My GridView control is Bounded to the Array: DataSource =3D myarray, =
gridview1.DataBind()
I have template column with holds a link b... more >>
Question on DropDownList
Posted by rote at 2/29/2008 5:37:21 PM
I have a DropDownList in a DetailView like so
<asp:TemplateField HeaderText="PCode">
<ItemTemplate>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="ddlCode" runat="server" BackColor="Pink"
DataSourceID="SqlDataSource2"
DataTextField="PCode" DataValueField="PCode" SelectedV... more >>
localiztion app_localresources ie6 vs ie7
Posted by Cindy Lee at 2/29/2008 5:20:19 PM
When I'm running my 2.0 .net web app, the French translations work fine with
my aspx.fr-FR.resx file under ie7. But in ie6 it doesn't work when I set
the language to French. I think it's because the setting for langue in ie6
is just FR compared to fr-FR in ie7.
So I just guessed and changed ... more >>
Hide GridView Columns
Posted by David C at 2/29/2008 1:53:28 PM
I have a GridView that I am exporting to Excel and it works fine. However,
the 1st and last columns have Edit and Delete command links and I do not
want to export them. Is there a way to do this before I render it? Thanks.
David
... more >>
Check property
Posted by shapper at 2/29/2008 1:50:09 PM
Hello,
Before I add a control I need to check if its CssClass is defined.
Should I use:
If String.IsNullOrEmpty(MyControl.CssClass) Then
....
I am not sure if this is the correct way because the user can set my
mistake MyControl.CssClass = ""
How should I do it?
Thanks,
Miguel... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Microsoft Visual Web Developer 2008 Express
Posted by brockuswade@yahoo.com at 2/29/2008 1:30:19 PM
I'm using Microsoft Visual Web Developer 2008 Express Edition to
create a form for registering new users with the "CreateUserWizard".
It looks and works great except when I try to type in a password in
the textbox I get the error "Password length minimum: 7. Non-
alphanumeric characters required... more >>
what's the best way to give our customers full control of the L&F for their web application
Posted by None at 2/29/2008 12:58:49 PM
We are creating a web application to be deployed to 150 of our
customers to use as an interface to our software system. The web app
needs to be completely customizable for our customers while
maintaining functionality with the system. We want customers to be
able to modify text, add headers an... more >>
Include page ASP VB.net can't access function
Posted by Jonathan at 2/29/2008 12:32:03 PM
Hi
I have a small top navigation bar that is an 'include page' on my other aspx
pages.
The nav bar is navbar.aspx and has a little bit of asp.net code embedded in
it that displays 'Logged in as: name'. The function in it, GetLoginName,
works fine when I preview the page in IE by itself. How... more >>
XMLSerializer--how to debug?
Posted by Larry Bud at 2/29/2008 11:42:36 AM
I've got 2 XSD files which I've converted to classes with the xsd.exe
tool. I've created the first XMLSerializer object just fine, but the
2nd throws an exception when creating from the root class:
deserializer = New XmlSerializer(GetType(myrootclass))
Unable to generate a temporary class (... more >>
Integrated Security Issue
Posted by Ross Culver at 2/29/2008 11:01:11 AM
I have an ASP page with several textboxes that are populated using an ADO
objects and statement in the code behind. The page also has two
datagridviews each populated with datasources using the same connection
string as the ADO statement, all three of which utilize Integrated Security.
My ... more >>
Querying multiple words
Posted by Cubicle Intern at 2/29/2008 10:59:53 AM
Hi,
My website's search function looks up entire phrases instead of
individual words. For example, if I query "Google Groups," I would
like my search to come up with everything in my database that has the
words "Google" and "Groups," not just the phrase "Google Groups." I
would want my sea... more >>
export to excel
Posted by Mike at 2/29/2008 10:17:15 AM
I have a web page that allows the user to select either HTML or Excel
format. I'm able to open the output in Excel but it puts the entire web page
in excel, how can I get only the GridView to go to excel and not the entire
page?
I have this and its exporting the entire HTML page to excel:
... more >>
GridView not updating
Posted by David C at 2/29/2008 9:08:35 AM
I have a new GridView that has an SQL table as a datasource. The primary
key is included but not visible. When I click the Edit link button, change
a column's data and click Update, nothing changes and I do not get any
error. The UPDATE has a WHERE clause of "WHERE ID = @ID" and the ID field... more >>
Uploading/Downloading Encrypted Files to a Database
Posted by annemarie at 2/29/2008 8:54:33 AM
Hello all - I'm having a problem with trying to load some encrypted
binary files into a SQLServer 2000 database. The files are going into
the database, but when I pull them out, they are 1 byte larger (328 ->
329) and when verified our tool says that the file is invlaid cause
it's been modified... more >>
Problem instaling asp.net app in server 2003
Posted by Camacho at 2/29/2008 8:53:23 AM
Hi Everyone,
I'm trying to install one new app in server 2003, It was made in C#
ASP.NET, and it Uploads files to um subfolder of my webapp.
But it doesn't execute in Server 2003 only in my development machine
XP.
It's doesn't send any message to Event Log, and any other error
message, j... more >>
WCF FileStreams
Posted by CsaaGuy at 2/29/2008 8:21:01 AM
Sorry for the cross post but his group is far more active. I have a
need to pass mutiple file streams in WCF Is this possible? I can do
this as a regular web service. Simply pass a FileStream[] filled with
file streams. But don't how to do this with WCF
thanks... more >>
Error converting data type nvarchar to numeric
Posted by Adam_Cogswell at 2/29/2008 8:06:41 AM
Hello everyone,
I've been beating my head on this for two days and it's driving me
crazy. First things first, I'm learning ASP.NET and SQL integration
as I go here so please be kind. :D I've done other web projects, but
this is the most complicated one I've attempted so far. This forum
has... more >>
Stop ObjectDataSource from refreshing when CustomValidator is false
Posted by Don at 2/29/2008 7:57:46 AM
I have a page with a GridView that uses an ObjectDataSource. The user
can change some parameters on the page and refresh the GridView with a
button click. One of the parameters has a CustomValidator that uses
server side logic to determine if the value is valid.
When the value is invalid my va... more >>
using AD security for authentication. The trust relationship between the primary domain and the trusted domain failed.
Posted by wildman@noclient.net at 2/29/2008 7:19:29 AM
Hello.
Simple security design, where all intranet users can get to most
pages, but a few ADMIN pages need to be secured to select users. We've
added those users to an AD group.
Whle testing I noticed this returns YES
If (Page.User.IsInRole("USERS")) Then
Response.Write("YES")... more >>
HTTP 404.
Posted by iHavAQuestion at 2/29/2008 6:45:02 AM
When i am tring to open the .NET application the following error is raised
HTTP 404. The resource you are looking for (or one of its dependencies)
could have been removed, had its name changed, or is temporarily unavailable.
Please review the following URL and make sure that it is spelled co... more >>
Configuring web site to ASP.NET 2.0 failed
Posted by Tom Nowak at 2/29/2008 5:51:00 AM
When trying to create a web project using Visual Studio 2005 and Windows
Vista Home Premium, I receive:
Configuring web site http://localhost/WebSite to ASP.NET 2.0 failed. You
may need to manually configure this site for ASP.NET 2.0 in order for your
site to run correctly.
How di I fix... more >>
migarting my appliacation from VS 2003 to VS 2005
Posted by koolquery@gmail.com at 2/29/2008 5:36:08 AM
Hi i;m
migarting my appliacation from VS 2003 to VS 2005
I've coverted it but now i'm getting the error
"Error 1 The type or namespace name 'EncriptDecript' could
not be
found (are you missing a using directive or an assembly
reference?) C:
\Inetpub\wwwroot\ \Login.aspx.cs ... more >>
File system websites
Posted by bhuvanabh@gmail.com at 2/29/2008 4:50:45 AM
Hi,
In http project, I can able to view the webpage link by providing m/c
name instead of localhost(http://mymachinename/sample.aspx), but in
filesystem project why I couldn't browse the page with the machine
name? Can anyone suggest me how to browse it using m/c name instead of
the localhost... more >>
Control Event
Posted by shapper at 2/29/2008 4:17:20 AM
Hello,
I am working on a Custom control which inherits from Composite
Control.
I perform a few actions on Init, Load and PreRender events of this
control.
How can I access this events inside my custom control code?
Thanks,
Miguel... more >>
Inheritance from MembershipUser class
Posted by Ned White at 2/29/2008 3:28:38 AM
Hi All,
i can create new instance of MembershipUser class like that;
MembershipUser userA = Membership.GetUser("someusername");
But how can i build a class which is inherited from
System.Web.Security.MembershipUser class.
as follows ;
public class B2B_User : MembershipUser
{
publi... more >>
aspx httphandler messing up my gridview paging postback target
Posted by Matt Winward at 2/29/2008 1:33:26 AM
Hi all.
I've got a little problem with my gridview paging and I'm not sure how
to resolve it.
Basically, I'm handling all aspx requests with my own httphandler.
This does a url rewrite, so the url you see is not the page that is
actually returned. To add to the complexity, I have a module w... more >>
how do I navigate UP the directory tree from a subfolder?
Posted by Keith G Hicks at 2/29/2008 12:55:14 AM
asp.net 2.0
I have a master page in my root. I have some other pages in subfolders. All
my navigation buttons are on the master page. When I click one of the
buttons that takes me to a page in a subfolder, that works fine. But then
when I click one of the buttons that's supposed to take me bac... more >>
error with ajax 1 and updatepanel
Posted by Dino at 2/28/2008 8:09:07 PM
I created a page with the updatepanel, works on my laptop and on a production
server, however, I get a java scrip error null is null or not a object when i
run it from a dev server.
written in vb
I also get it with the modalpopup control.
any ideas, is something not isnstalled properly... more >>
What Clientside Event can I capture upon Callback completion?
Posted by John Kotuby at 2/28/2008 6:10:38 PM
Hi all,
I am converting an ASPX 3.5 page in VB and VS 2008 from the standard
postback to callbacks using an UpdatePanel.
I had originally been adding an onload attribute to the Body tag in the
Master Page, which would call a Javascript function to display a message if
a hidden field contai... more >>
Public Shared Variables are lost their values
Posted by Murat Fidan at 2/28/2008 5:00:21 PM
Hi
i used Public Shared variables in my global.asax in vb.net 2003 and i wrote
code in Application_Start to fill variables.
i works but after some times ( 5 days ,2 days it is not same ) variables are
losing their values and they my site is not works :( .
How can i fix it ?
Thanks,
Mura... more >>
Is Linux for Losers?
Posted by Paulo at 2/28/2008 4:40:31 PM
Of course it is!
http://www.forbes.com/2005/06/16/linux-bsd-unix-cz_dl_0616theo.html
Thanks MS!
ASP.net and ASP the most beautiful web programming languages!
... more >>
'System.Data.DataRowView' does not contain a property with the name 'Title'. when using itemTemplate in DetailsView control
Posted by rote at 2/28/2008 4:29:39 PM
I don't know what i'm doing wrong but i can't get the
<asp:Label ID="Label3" Text='<%# Eval("Title") %>' Runat="Server"/>
in my itemplate to work.
The Select statement is right and it returns data and it also works in EDit
Mode.
But when i use the label with the Title i get the error.
If i ... more >>
Register Script on WebControl
Posted by shapper at 2/28/2008 3:48:35 PM
Hello,
I am working on a custom Asp.Net control.
This control needs to register a JQuery script:
$(document).ready(function(){
$("ul.nav").superfish();
});
My question is how and where should I register this script inside my
custom control class?
And should I register it through Scrip... more >>
IIS7: *.asp = 404
Posted by Paul Prewett at 2/28/2008 3:21:49 PM
I have a new machine with Vista Ultimate x64 installed. I'm coming from an
XP Pro x86 and I'm trying to get my development websites running on the new
machine.
IIS7 installed with no errors including ASP.NET, Windows Authentication, and
all of the IIS 6 Compat items. If I browse to http:... more >>
Client-side documentation for Ajax Timer
Posted by news.rz.uni-karlsruhe.de at 2/28/2008 3:17:48 PM
I want to deactivate the Ajax timer from clientside with javascript - that
is,
it should not raise any postbacks any more.
Which method/propertie is there I can use to chieve this and most
importantly - where can i find a client side javascript api reference of
the asp.net ajax controls(ur... more >>
Reference To Instantiating Object
Posted by Microsoft Newsserver at 2/28/2008 2:31:34 PM
I am instantiating an object in a page. From this object I want to be able
to access Session. I dont want to change the constructor to pass the page
reference to it, and I dont want to have to add extra properties.
How can I get a reference to the page in which the object is instantiated.
... more >>
IIS7: *.aspx = 404
Posted by Paul Prewett at 2/28/2008 1:02:02 PM
============================
Sorry for the double post - I was posting under the wrong alias on the
previous post. Please reply to this one. Thanks.
============================
~~~Update - ISAPI and CGI Restrictions show ASP.NET v2 as "Allowed"
I have a new machine with Vista Ultima... more >>
How can i compile a whole Webproject on a production server?
Posted by Mayer, Stefan at 2/28/2008 11:26:11 AM
How can i compile a whole Webproject (mixed C# ans VB.net) on a production
server and disable on-demand-Compilation?
Tnx,
Stefan
... more >>
How securely publish
Posted by LP at 2/28/2008 10:37:50 AM
Hi there,
This may be a little off-topic here, but does anyone know if there's a way
to establish to secure FTP connection from Visual Studio to my web site.
Since passwords and files are transferred in plain text, what good is the
Visual Studio publishing feature if it can't be secured. Th... more >>
asp.net url rewriting
Posted by thoeone at 2/28/2008 10:28:24 AM
Hi,
Anyone have any experience with url rewriting on asp.net and performance issues. I want to know how much of a lost in performace(percentage wise) if i use Context.RewritePath() function to make a friendly url. Any experience or links to benchmarks is appreciated.
#source: http://www.c... more >>
GridView - how to fancy it up?
Posted by Keith G Hicks at 2/28/2008 10:14:12 AM
Out of the box, the asp.net 2.0 GridView is very plain. Even the AutoFormats
for it are pretty basic. That is compared to what you can get with a 3rd
party tool like Developer Express or Telerik. I'm new to so much of this and
wondering if it's possible using skins/css, etc. (not sure what to ask... more >>
spell check on web application
Posted by Paul at 2/28/2008 8:31:01 AM
Hi I am using vs2005 and was wondering if .net has any spell check
capabilities in web applications built with vs2005, thanks.
--
Paul G
Software engineer.... more >>
Property default value
Posted by shapper at 2/28/2008 8:28:38 AM
Hello,
I have two properties in a custom control. One is of a boolean type
and the other is an enum type.
How can I define a default value when they are not defined?
Here is my code:
Private _AutoPostBackOnSelect As Boolean
Public Property AutoPostBackOnSelect() As Boolean
... more >>
Control Enabled property
Posted by shapper at 2/28/2008 8:12:18 AM
Hi,
I am working on a custom control and when I make enabled = false the
following property is added:
disabled="disabled"
Can I change this? I want enabled = false to do something else.
Thanks,
Miguel... more >>
server side javascript array
Posted by jvcoach23 at 2/28/2008 7:37:15 AM
I am trying to load an array on the load of a page to javascript. the
script will eventually have parts being loaded from a database... this is
just a first step to get there... Here is the code
Dim mScript As New System.Text.StringBuilder
mScript = mScript.Append("<script type='text/j... more >>
Newbie question: query over two data sources
Posted by N Ramsay at 2/28/2008 7:18:58 AM
I need to create some SQL queries that join over two data sources.
I can easily create connection strings to these data sources, but am
unclear how to create my SQL.
I'm a real noob to this, and up until now have been using the
drag&drop tools in Vis Web Dev Express.
If I look at the asp ... more >>
timeout error
Posted by AVL at 2/28/2008 6:33:01 AM
Hi,
I've a method in my web service..which makes a call to db
and sends back a dataset..
the query takes 2 mins to fetch the results..by that time i'm seeing a
'operation has timed out error' on my screen..
is there any to get rid of this error?... more >>
|