Hi All
I am experiencing some very strange behavior with the new keyword when using it as a modifier not an operator.
Background:
I'm working on a fairly complex multi project web application with a tiered architecture. There is a code gen application another contractor brought with them...
Hi all
I'm writing a composite server control that adds some children that aren't available in the HtmlControls or WebControls namespaces so I am using HtmlGenericControl to create the child controls and adding those to the server control. Some of these I would like to be self-closing (e.g like...
Hi All
Ive got a requirement to bind a datagrid to a collection of objects of different type. They all implement the same interface and the DataSource is a custom collection derived from collection base of IMyInterface objects. The grid only uses properties from the interface to bind to and yet...
Hi All
Ok, my application lets users browse a directory of files on the server and select files to add to the system (write to a specific storage client and the database). When the user selcts a file it is copied into a directory which temporarily stores the file(s) to be added until the user...
Hi all, been a while since I been around here, hope you don't mind helping out someone who has been too busy for helping out himself the last few months :-)
[ RANT ]
Im fed up of WYSIWYG, rich-text, all singing, all dancing editors for CMS and forums. I've been working with them in various...
Hi
I want to write a regex to replace the _ character in framework generated control ids. Easy :) except I need the expression to match all instances of an _ except where it is the first character in the string. Can't work it out at all.
Obviously ^_ will match the first character if it is an...
Hey All
I know this post is off-topic for this forum but there doesn't seem to be a great deal of activity over in the Oracle forums. I want to connect VS.NET to an Oracle 10g server to create xsd files using the designer (drag and drop from Server Explorer). I had this working in the past but...
I posted this question to the msdn newsgroups but no one there has an answer for me :-( so hopefully a tek-tipper will ;-)
I am using DirectoryServices to find all the members of a
certain NT group and display their properties. The
following code works fine.
DirectoryEntry directory = new...
Hi All
I'm writing an XSLT to transform some XHTML content from an RSS feed to the markup I want to use in a website. I'm encoutnering a problem matching elements with an xmlns attribute. Heres an example..
XML
<item>
<title>title</title>
<link>link</link>
<category>category</category>...
Hi All
I want to compare two objects of the same type to test for value equality. I can't do this with Equals(object, object), object.Equals(object) or == as these all test for reference equality only.
I can see two options for performing this type of comparison. I can either override the...
Hi all
We are looking to implement a more formal process for bug tracking and change management and I was wondering if anybody was using or could recommend any options. We do all development in C# now and predominantly for ASP.NET though there is some (and increasingly more) windows clients and...
Hi all
What is the best way to give an object a publicly accesible collection of 0...* length regardless of the type of object stored in the collection. At the moment I commonly use ArrayLists for this by having a publicly accessible ArrayList and private member ArrayList pair into which I put...
Hi All
I have a class which implements ISerializable and has the appropriate constructor and overridden GetObjectData methods.
I want to serialize an instance of this class and add it to the pages viewstate. I can successfully serialize the object and add it to a FileStream using a...
Hi All
I have a div with the following css
#myDiv{height:100px; overflow:auto; position:relative;}
The height of the content of the div is say 400px so a scrollbar is visible. I want to scroll the div to say 150px down.
I've tried using
document.getElementById("myDiv").scrollTo(0,150);
But...
Hi all
I'm not sure this is possible but I thought it was worth asking. Is there a way to make a constant (in this case a string) available throughout a class library without it existing in a class or struct and therefore needing to instantiate an object to access it?
What I would like to do...
Hi all
A bit of a theory question and my primary concern here is performance.
In my ASP.NET app I have an object which stores a collection as a CSV. This is necessary as the collection is generated on the client and is recieved as CSV by the object on postback.
I wish the object to have a...
I'm sure most of you will find this yourselves soon enough but I thought it was worth mentioning here anyway. MSDN have released the ASP.NET Resource Kit as a download.
http://msdn.microsoft.com/asp.net/asprk/
It is literally crammed with goodies. Sample applications, code samples, best...
Hi
When modelling UML in Visio there is an option to assign Code generation templates to attributes and operations etc in you Static Structure Diagram. This seems a good way to do a lot of the repetitive Property declaration coding quickly. However there is only 1 editable template fro...
Hi All
Having recieved no feedback on the "validate ascx seperately" thread I decided to go ahead and make a generic validator.
I've basically written a class which has a validate method that accepts a control as input. The method iterates through all child controls and validates...
Hi All
Firstly I apologise if this is ground covered in this forum already. I did a keywoprd search and found quite a bit on XP and terminal services but left somewhat confused!
My question is a simple one. Can XP Home Edition be a terminal Services Client?
I have a small home network with a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.