all groups > asp.net > march 2007 > threads for monday march 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
Abt thread
Posted by malu at 3/19/2007 11:28:53 PM
Hi
I faced one exception when use the thread in c#. I start the thread
in a class.Then i start the thread thru the main method constructor.In
that thred i use the thred.sleep() method.
Then one button i place in my project.That purpose is stop all
functions ans close my application.... more >>
question about serialization
Posted by Casper at 3/19/2007 11:16:15 PM
Hi,
i read several articles about serialization. I know now that it is a process
of converting an object into a stream of data so that it can be is easily
transmittable over the network or can be continued in a persistent storage
location.
Now i did some tests in order to understand it b... more >>
using the OpenNetCF.Barcode class
Posted by Milsnips at 3/19/2007 10:30:29 PM
Hi there,
i'm doing some testing with a Socket 3E series SDIO scanner card on a
windows mobile device, all works fine and i can catch the eventhandler on a
good scan, but when i click scan, and during the time its scanning, if i
click the scan button again, it crashes with an exception.
... more >>
Cleaner way to write this?
Posted by Darrel at 3/19/2007 9:00:52 PM
I have a repeater control. Within it, I have a quoted HTML attribute that
contains a quotes javascript variable stsring which contains my asp.net tag.
To prevent nested quote issues, I have to write it like this:
<a href="javascript:;" onclick=<% response.write("""")
%>window.opener.documen... more >>
Storing HTML in XML
Posted by Simon Harris at 3/19/2007 8:35:12 PM
Hi All,
I am trying to store an HTML string within an XML node, using:
Node.InnerText = strContent
Problem is, the HTML ends up like this, when its in the XML:
<TextArea1>&lt;b&gt;me&lt;/b&gt;</TextArea1>
Any help will be much appreciated.
Simon.
--
--
* Please repl... more >>
ASP.net beginner question
Posted by djp at 3/19/2007 8:25:43 PM
Hi
My goal is to write C# application that connects to the ASP script. This
script is dooing saveral tasks like - sending XML files, receiving and
sending files (back to the C# app). I could use PHP ( because i have already
prepared script ), but i know C# well so i decided to use this k... more >>
ContentPlaceHolder and overlaps
Posted by PokerMan at 3/19/2007 7:10:54 PM
Hi
I have a master page and on it i placed 3 contentplaceholders. one for my
common header, one for my content and another for my footer.
When my content on inherited pages gets longer the footer contentplaceholder
doesnt move down, Giving me a overlap similar to as if i position aboluted ... more >>
HTML first, Page_Load later
Posted by dotNET learner at 3/19/2007 5:26:10 PM
In the following aspx file the output from Page_Load code is rendered first
and HTML later. I want the other way round.
How can I do that?
<%@ Page Language="C#" %>
<%@ Import Namespace="System.IO" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server"><title>Welco... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
module versus class?
Posted by André at 3/19/2007 4:49:36 PM
Hi,
i'm developping asp.net applications and therefore i use VB.net. I have some
questions about best practises.
According what i read about class and module and if i understand it right, a
module does the same as a class but cannot herite or be herited. 1)Is that
right?
2) So i guess... more >>
FormView and ObjectDataSource events
Posted by J055 at 3/19/2007 4:42:38 PM
Hi
I have 2 user controls and 1 parent page. One user control contains a
Gridview and the other a FormView. When the GridView row Select command is
fired it bubbles an event to the parent page with the primary key ID of the
row. The parent page sets a property with the ID in the second User... more >>
Create Visual Studio Project From hosted Site
Posted by DBLWizard at 3/19/2007 4:23:38 PM
Howdy All,
Is it possible to have Visual Studio 2005 create a project form an
existing hosted website? In other words I want to be able connect via
ftp to my website structure and have it pull down all the files and
create a local project from it?
I know things like DreamWeaver will do thi... more >>
SessionState and Window.Location.Href
Posted by pbd22 at 3/19/2007 4:13:24 PM
Hi.
I have built a site with tabs-based navigation as a pretty major
component. The tabs use window.location.href to understand
where the user is and displays the appropriate tabs accordingly.
I have recently learned about the sessionstate properties of
ASP.NET 2.0 and am trying to user cooki... more >>
Directory structure App_Code, Bin when using partitioned website and SSL
Posted by Frank Miverk at 3/19/2007 2:58:18 PM
Hi,
I have a situation which I think is fairly common.
1. Public area
2. Secure area accessed via SSL
e.g.
MyWebsite/
/MySecureWebsite
Where MyWebsite currently contains the App_Code, and the Bin directory.
(and as such, my namespace in all code that belongs to MySecureWebsit... more >>
connecting to web service through asp classic
Posted by lambelly at 3/19/2007 2:36:11 PM
I can connect to a web service via asp.net, but my client is using asp
classic. In asp.net I do something very simple along the lines of:
CmsApi cmsService = new CmsApi();
Authenticate auth = new Authenticate();
auth.userName = userName.Text;
auth.passWord = passWord.Text;
AuthenticateResponse... more >>
Singletons in asp
Posted by PokerMan at 3/19/2007 2:15:09 PM
Hey guys
Just a quick question. If i had a static var, then all users coming onto my
site will be sharing the same var. So if i have a class that is a singleton
would the same happen there?
Basically i have a class that will only ever have one instance so, singleton
makes sense. But due ... more >>
Roles in membership database
Posted by AC at 3/19/2007 1:56:34 PM
Hi there. My asp.net 2.0 development website uses roles to control
access to sections of my site, configured using the asp.net
configuration tool, which is great. Except that isn't available once
published on the public, third-party hosted site. So I need to be
able to configure access throug... more >>
How to programmatically add onLoad and onUnload handlers to BODY tag in ASP.NET 2.0
Posted by ~~~ .NET Ed ~~~ at 3/19/2007 1:53:30 PM
Well the subject says it all but I am going to elaborate a bit.
As we all now since 2.0 it is possible to access the Header from code behind
without much wizardry and that is a good thing.
Now, in my site I am using master pages and one of the site pages (but could
be more) needs certain c... more >>
Getting validator error message to appear without using page.validate
Posted by darrel at 3/19/2007 1:38:32 PM
(apologies for the repost...I put this in the wrong newgroup the first
time...)
I have a text box that I have a custom validator attached to. I then have an
image button that is set to NOT cause validation (as there are other
validators on the page I don't want triggered).
The event handle... more >>
setting the font color to red for Dropdownlist control list item
Posted by Rekha at 3/19/2007 1:06:11 PM
Hi,
I am trying to change the font color for the items in a dropdownlist control
at run time using ASP.NET 2.0.
DropDownList1.Items[i].Attributes.Add("style", "color:red");
But when I run the application, I don't see any color change.
I am using Visual Studio 2005, ASP.NEt 2.0.
Any ... more >>
Available consultants with Kraftware
Posted by mandarkraftware NO[at]SPAM gmail.com at 3/19/2007 11:58:05 AM
Hi,
We have the following consultants available immediately with us:
1: Abhishek Yadav - Microsoft technologies/IT Analyst
2: Khalid Anasari - C++/Unix
3: Rubeel - Network Engineer
4: Bandi -QA Tester/Analyst ( Only for Bay area)
Please feel free to contact us.
Thanks & Regards,... more >>
Null reference issue
Posted by Raul at 3/19/2007 10:27:54 AM
Hi,
I am having a problem of storing a string into
TVReturn.amortization.data[0].balanceAmount (class definitions are
given below), where I get the error message saying:
System.NullReferenceException: Object reference not set to an instance
of an object
at this line where I am testing inse... more >>
XML Services
Posted by Manny Chohan at 3/19/2007 10:00:05 AM
Hello All, I have to work with a client web service which returns XML as a
return value:
<ValidXML>false</ValidXML><ValidationError>Some Reason for the
Error.</ValidationError>
How can i catch this string as XML on my end and make sure if it returning
true or
false i.e get the value of... more >>
Problems using AJAX Control Toolkit Dropdown Extender w/ Gridview
Posted by William Youngman at 3/19/2007 9:40:00 AM
We are developing an application that presents data to the user in a =
gridview and we are using the dropdown extender to give the user a =
SharePoint 2007 type dropdown menu attached to the cells of a given =
column. We are also using another dropdown menu that the user can use to =
select data... more >>
Could not load type 'Global'.
Posted by Rob T at 3/19/2007 9:39:12 AM
When I was using VS2003, I was able to compile my asp.net project locally on
my machine and copy it to the production server and it would run just fine.
I've now converted to VS2005. The project compiles & runs fine locally, but
when I copy to the production machine, I get this error:
Par... more >>
Calling Process.Start from Webservice method hangs after first call
Posted by christian13467 NO[at]SPAM googlemail.com at 3/19/2007 9:22:14 AM
Hi,
I'm using ASP.Net 2.0 with IIS 6.0 on windows server 2003 sp1. Calling
a commandline program or a cmd file using Process.Start inside a
webservice method. The call to Process.Start returns once after
restarting the iis. A second call to my webservice method never
returns.
I found some ... more >>
User attached to other user's session
Posted by Benjamin Janecke at 3/19/2007 9:02:00 AM
Hi,
we're struggling with a strange session problem in an ASP.NET 2.0
application. The application is used by our customers to access
customer-related information such as invoices over the internet. Customer
have to log-in and are then identified by their customer number and some
other in... more >>
windows authentication and putting queried data into session state
Posted by nem.usenet NO[at]SPAM gmail.com at 3/19/2007 7:28:40 AM
Hi everyone,
I searched for this but with little luck. I'm working on a project and
need to do the following:
1. have a user authenticate to an ASP.net site using windows
authentication
2. take either HttpContext.User or HttpContext.Current.User as the
parameter for a stored procedure that w... more >>
HTTP 403.9 - Access Forbidden: Too many users are connected
Posted by ahmad at 3/19/2007 7:15:30 AM
i use WebRequest to read response from the URL i request.
the HTML returned contain an HTML buttons which do post back to server,
after many time "HTTP 403.9 - Access Forbidden: Too many users are connected".
this is snapshot of the code:
System.Net.WebRequest request =
System.Net.Ht... more >>
Bool
Posted by rcoco at 3/19/2007 6:53:02 AM
Hi,
How could i translate Bool(VB) into c#?
Thanks
... more >>
Load different stylesheets at runtime
Posted by pargat.singh NO[at]SPAM gmail.com at 3/19/2007 6:51:57 AM
Hi Everyone:
I have ASP.Net 2.0 application which is being called from a portal
written in ASP.Everything is working fine but i have a question
regarding the stylesheet. We have different stylesheets for different
clients, client_groups etc. In ASP Pages i can do
<link rel="stylesheet... more >>
Force a postback with the CreateUserWizard control.
Posted by hardieca NO[at]SPAM hotmail.com at 3/19/2007 6:47:36 AM
Hi!
I have a CreateUserWizard control with the usual suspects of
validators. As you're probably aware, each validator is associated
with one of CreateUserWizard's child controls.
When a user clicks on the Create User button on the first page,
validation occurs with javascript turning on a V... more >>
Web grid pop up
Posted by kaytejt NO[at]SPAM gmail.com at 3/19/2007 6:37:23 AM
Hi -
I want to have a popup window that is created once an image on a web
grid is clicked. The popup window will have data carried over from
the webgrid where you can click on links in the popup window and
display documents.
I already have the webgrid populated by the database, but I want to... more >>
Hungarian Notation Vs. Pascal Notation?
Posted by Grey Squirrel at 3/19/2007 6:34:06 AM
On wednesday my company will have an open ended discussion whether to
standardize hungarian notation or pascal/cammel case notation. We'd
love to recieve some feedback on what other people are using out there
and why. Thanks!
... more >>
Connections_Refused IIS 6.0
Posted by zabutimaxim NO[at]SPAM gmail.com at 3/19/2007 5:40:26 AM
Hi,
I have a problem with some web method in my webservice.After 12 hours
under stress the IIS stop responding and in httperr.log I see
Connections_Refused. I already have read that it is because kernel
NonPagedPool is low then limit, which is 20MB.
The question is what can cause this to happ... more >>
Looking for a job?
Posted by good_online_jobs at 3/19/2007 3:56:56 AM
Free. Find a Job here now--> http://www.jobbankdata.com
... more >>
Interview Question <1174212063.776945.283400@l77g2000hsb.googlegroups.com>
Posted by Asheesh KUmar at 3/19/2007 3:42:41 AM
Please send me the interviews question of asp.net and C#
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com... more >>
Web 2.0 Sites in Asp.net
Posted by Anoop M at 3/19/2007 12:00:00 AM
Hello All,
Do you know any specific list of Web 2.0 sites in ASP.NET?
I have found a wonderfull list of Web 2.0 sites at
http://web2trends.blogspot.com/search/label/Web%202.0%20Directory - but
they are not asp.net specific, though it is wonderfull.
--
= = =
"Action without doershi... more >>
|