• .Net's Today Newest Questions & Articles Featured

    • Bug with NullableConverter ?
    • When attempting to convert Decimal to Decimal? at runtimeType targetType = typeof(decimal?); decimal newPropertyValue = 2.3; -- NullableConverter nullConverter = new NullableConverter(targetType); object nonNullableValue = nullConverter.UnderlyingTypeConverter.ConvertTo(newPropertyValue,
    • user control not working correctly
    • i have made a user control which uses script.aculo.us javascripts for effects. my essential part of the user control is the following:<div id="sentenceElement" style="width: 190px;" <div class="menuStyle"> <strong>MENU </strong> <img src="./images/plus.gi
    • values are being lost during some postback
    • Hi!my routine inserts a line in a datatable that is used to populate a gridview. In this line of the gridview I have a button that is treated by the rowcommand event .After having shown the new line of the gridview in the browser, I click in the button of the line, the content of this row of the
    • MembershipUser implementation
    • I'm trying to implement an inherited MembershipUser class for a customMembershipProver for RTM ASP.NET 2.0I'm using an external assembly that implements these classes. I'vesigned the assemblies and they compile and sit in the \Bin directory ofthe ASP.NET website.When I use the ASP
    • CSS in <head> or in Theme?
    • I created a page and applied my own CSS file to it by referencing it in the <head> tag.Afterwards, I started working with the Skins and Themes feature and downloaded a premade skin (MSN_Red) and created the App_Theme folder and copied the theme there, and set the Theme on the page in the .dotnet.itags.org.
    • ASP.net authentication
    • Do you have to have your login page in a different directory than your protected asp.net pages when configuring a web.config file in the protected folder?I've got all my pages in a folder, including the login page, which all needs to be protected except the login page. How would I go about
    • WebService + decimal separator
    • Hi all!. I have this problem: I have a web method in C# with a parameter of type decimal and a javascript wich calls the web method. The web method runs on a web server wich has character comma (',') as decimal separator (and I cannot change it...). The javascript function makes some flo
    • PropertyGrid
    • Hi all Could some onne point me to the right direction please? I am trying to create a new PropertyGrid derived class and add a new property tab on it. Put it on a form and use it as a customised property display of any selected object. I have found no suitable method to add a PropertyTab in the
    • Defining property getters & settings in cpp file
    • Hi, does anyone know if it is possible to define the function body of agetter and setter in the .cpp file?I have tried this, but it doesn't work (Error 1 error C2039:'get_VolumeDataList' : is not a member of 'VolumeInfo'd:\\VolumeInfo.cpp 7)VolumeInfo.hproperty List<VolumeData ^>^ Vol
    • Best way to pass data to a WebService
    • What is the best way to pass data to a web service.The client(to send data) has .net environment and also the server on whichthe web service is hosted also has the .net environment.Should I send dataset or an xml which will be created at the client andparsed at the server, in the web service.Whi
    • Casting List<> of classes to interfaces
    • Hi All,I'm having problems implementing a readonly interface to a set of classes.Heres a simplification of the code:interface IreadonlyBase{ // Does gets only on base class}class baseclass : IreadonlyBase{ // Does gets and sets as usual}interface IreadonlyDerived : Ireadonlybase{ // Does gets o
    • help needed
    • I have a web.app with an subfolder called "admin" which I would like to make password protected using Form based security.Where should I put the web.config file? In the app.root folder or in the admin folder?How should it look?Where should I put my login.aspx file? In the app.root folder?When tr
    • How to get a WS to create a cookie?
    • I need to design a WS that will after authenicating the user, create a cookieon the users PC that made the request. All the code I keep finding is how toget a WS to read a cookie, I need it to create one. The below code doesnt addthe cookie to my cache. However if I place this in an non asmx pag
    • Asp.net 2.0 documentation - pdf download link
    • Hi,Today, Nov 7, 2005 - sql 2005 and vs.net 2005 is released.pls. could anyone provide the link to downloadAsp.net 2.0 documentation (pdf format) so that I can download and readoffline. (official documentation or any book)Thanks,Sreedhar Vankayala
    • Encoded WebService SOAP Header?
    • I have a public web server that runs behind a firewall at a hostingfacility. We own and control the server. I need to make occasional updatesand changes to data stored in SQL and am unable to establish any type of VNPor SSL connection to the server due to hardware restrictions at this time.I wou
    • Impersonating to ASPNET or SYSTEM Identities
    • Hi all,I am trying to write a secure application and some of you have been veryhelpful on that subject.the only question remaining open after implementing certain methodologies isthis:from a hacker point of view, is it possible to impersonate to SYSTEM orASPNET windows identities on a local mach
    • webservice, datasets & windows forms
    • Hi,Is there a link showing how to use the new typed datasets, windows forms & webservice together for asp.net2?
    • When any person enters any shop and buy some items...
    • When any person enters any shop and buy some items then goes to where hepays the prices of his items, the person there make scanning to each item toknow what's the price?I am asking how this is done? what's program Language used to create thisprogram scanning ?and what's the name of this thin
    • Client File Access
    • Hey All.I am deploying a web based intranet site to manage some large media files, that are stored on a separate server to the web server. These files are accessible (i.e. using windows explorer) by the client user.I am looking to provide the web client with a way to open these files without hav
    • [2005] Check if explorer.exe is on
    • How to check if the task explorer.exe is on?
    • obfuscatorS & decompilers
    • My concern on about decompilers. I am newly educated about obfuscation but Iam curious how common place .Net decompilers are.Given that one product I looked as was both I would assume fairly common.Just trying to secure my dll files without spending a ton of money.Thanks
    • Mutually exclusive checkboxes
    • Hi all,I have 2 checkboxes in one of the columns of a datagrid. User should be able to select none or either one of them. How do I make them mutually exclusive?TIA
    • Validation for just a few controls on a page
    • Hey all,I have a global search textbox and button to execute a query on every page of my site, and then a local search within one of the pages, which requires the use of validators.. only problem is, when i go to the page with the local search in it, the validators fire when i try to do a global
    • Code Formatting
    • ok, I know I'm a little off topic but does anyone know of a good codeformatter/beautifier for classic ASP? I have to deal with some really messycode and need one ASAP ... and I'm not getting any answers from theASP/VBScript worldThanks in advanceBW
    • Add Existing Project Problem
    • I have a Solution with 4 Projects, one of which is not loading. I get the error message: Microsoft Development Environment Unable to read the project file 'CouncilAgenda.vbproj'. The project file '' has been renamed or is no longer in the solution. I removed the project from
    • Image in Datagrid column more (need help)
    • Hi, I have a datatable that returns a field with value from 0 to 3. I need to update my datagrid using this field but instead of "displaying" the value, I need to display a bitmap. I suppose I have to use a imagelist for the bitmap, but I don't know how to configure my datagridstyle ? Btw,
    • Datagrid - Random order
    • Hi,I've created a datagrid which works fine accept the id field (the primarykey field) comes out in a random order. How do I get the fields to displaysequencially?Thanks for your timePaul Evans
    • How to Send a Socket Close Event in .NET Sockets
    • How do I send a Socket Close Event in .NET Sockets? Thanks, Phil
    • Refresh BindingSource .net 2005
    • I have a Windows app I am developing in VS .NET 2005 that is required toperiodically look at the data in a table in an MS SQL 2000 database.The data is being changed from an external stored procedure. All I wantthe app to do is refresh the data bound controls on a timer tick.I am using the new T
    • Possible to call methods 2 levels up the inheritence tree possible(not just 'MyBase.X()'
    • Hello,I have a 3-level class hirarchy:1=Grandparent2=Parent3=ChildThe Grandparent has a method called OnPaint which I want to overridefrom the Child class. I can do this, but how can I call theGrandfather's OnPaint() method inside this newly overrided one in thechild class.I can't use: M