Validation in Masterpage Hi, I got one masterpage and one

March 11, 2010 – 7:00 am

Validation in Masterpage
Hi, I got one masterpage and one content / child page having gridview control I want to do client side validations using javascript, can anyone suggest me where i have to do this. i.e.., either in masterpage or in content page (I know that only at the tags we can include javascript…

Dynamic UL/LI ASP.NET + colapse Javascript I am creating controls

March 11, 2010 – 12:00 am

Dynamic UL/LI ASP.NET + colapse Javascript
I am creating controls which are added to the page at run time. As these controls are added I separate them into a UL/LI list by injecting literals assigned as (

    ,

,

  • ,
  • ). The page in question uses a master page template. The ul/li function is called in the page_load event of the…

    header / footer in aspx hi, i’ve got a problem

    March 10, 2010 – 5:00 pm

    header / footer in aspx
    hi, i’ve got a problem in asp.net i am using a master page with standard headers and footers in all the child pages. i’ve given the links of the header image in a cssstyle sheet and linke the style sheet in aspx master page, but how to include the header image and footer image in master…

    ie7 history hash
    When you access a url that has several anchor tags on it. You know what I mean, links at the top that navigate to a specific point in that page by adding a “#name” at the end of the url. In every other browser, if you click on a few of them and then start clicking the back button the browser will…

    salted hashing
    can any1 tell me how to do salted hashing in php

    News Story Windows users can choose browsers The ‘So what…’

    March 10, 2010 – 12:00 pm

    News Story Windows users can choose browsers
    The ‘So what…’ award of the year has to go to Microsoft which has announced that as of this year they’ll be able to choose which browser they use. According to reports on the BBC (http://news.bbc.co.uk/1/hi/technology/8524019.stm), they’ll be able to download and upgrade/crossgrade to Firefox,…

    News Story YouTube Criticized for Hosting ‘Abortionist’ Murderer
    YouTube is coming under criticism for continuing to keep online a ten-minute interview with Scott Roeder, who was convicted after a 37-minute deliberation of first-degree murder for killing Dr. George Tiller, whose Kansas clinic performed late-term abortions. The interview…

    Moq.me 3.0 RTM

    Congratulations Kzu on the release of Moq 3.0 RTM!

    You can get it here http://moq.me/ (I love the domain name).

    There s a fascinating back and forth between Ayende and Daniel (kzu) where they discuss different ways to use mock frameworks. Ayende (who developed Rhino Mocks) is more in favor of interaction testing than Daniel who is a state/classic TDDer.

    Recently I ve been trying to separate my tests into unit tests, interaction tests and integration tests. For interaction testing I ve been using Typemock Isolator, which allows me to break a few runes in order to exercise some hard to test code. Moq is looking very interesting as a mock framework to use with my traditional unit tests.

    News Story Is this kid the ultimate Microsoft ubergeek?
    I have written before (http://www.daniweb.com/news/story220053.html) about child geeks, such as M. Lavinashree from Pakistan who passed her Microsoft Certified Professional exam at the age nine. At the time of writing she was busy studying for the Microsoft Certified Systems Engineer exams….

    ppt in .aspx page can i embed a ppt in

    March 10, 2010 – 5:00 am

    ppt in .aspx page
    can i embed a ppt in an aspx page ,,,withoud allowing it to be downloaded,saved,,,,it should only be viewd

    Code Snippet Convert string to date time
    i have a calender control on my page which is generated using javascript. As shown below how it looks in my aspx page.

    salted hashing
    can any1 tell me how to do salted hashing in php

    Copying database from local system to a remote system Hello

    March 9, 2010 – 11:00 pm

    Copying database from local system to a remote system
    Hello All, I have been trying to copy a database from a local system to remote system using the mysqldump command.However, I am not able to do so.I just wanted to know syntactically where am I going wrong? Here are the commands I have tried: mysqldump database-name | ssh…

    News Story Stupid iPhone Tricks: Turn your iPhone 3G into

    March 9, 2010 – 4:00 pm

    News Story Stupid iPhone Tricks: Turn your iPhone 3G into a video camera
    A couple of weeks ago, I had the great pleasure of seeing Steve Garfield (http://stevegarfield.com) speak at Pod Camp Western Mass (http://podcamp.pbworks.com/PodCampWesternMass). Garfield is the author of Get Seen (http://offonatangent.blogspot.com/2010/01/where-to-buy-get-seen.html), a practical…

    Password Recovery in asp.net + c# hi i am in

    March 9, 2010 – 10:00 am

    Password Recovery in asp.net + c#
    hi i am in need of password recovery in asp.net with c# as code pls any one knows raply me

    TestDriven.Net 2.24: XCopy Deployable Test Runners

    There is a new feature in TestDriven.Net 2.24 (and 3.0 Alpha) that should greatly simplify the deployment and versioning of test runner plug-ins. In previous versions it was important that a compatible test runner plug-in was installed for each test framework you use.

    This was manageable if all of your projects used the same version of a test framework however it could quickly get out of hand if a project referenced a different framework version. Because it isn t always feasible to upgrade all test projects at the same time, teams could end up trapped using an old version of a test framework or with unit test projects that are difficult to run.

    As of TesDriven.Net 2.24, it is now possible to include the test runner alongside its test framework assembly. The advantage of doing this, is your tests can be executed without any installer dependencies! For example, you could use any version of xUnit, MbUnit or NUnit and your teammates would be able to execute the tests without needing to worry about which version of xUnit or Gallio to install!

    This feature is enabled using a file with a .tdnet extension, which lives in the same directory as your referenced test framework assembly (e.g. mbunit.dll , xunit.dll , nunit.framework.dll etc.). If you re using Gallio 3.1 or xUnit.net 1.5, you will find the required MbUnit.dll.tdnet or xunit.dll.tdnet file already exists. For earlier versions of Gallio, xUnit or MbUnit this feature can be enabled by crating a simple XML file.

    For example, say you have a test project that uses MbUnit 2. This test framework was released long before .tdnet files existed. To make the MbUnit test runner xcopy deployable, you would need to create a MbUnit.Framework.dll.tdnet file and copy the contents of \Program Files\MbUnit\bin into version control.

    The MbUnit.Framework.dll.tdnet looks like this:

    <TestRunner>
           <FriendlyName>MbUnit {0}.{1}.{2}</FriendlyName>
           <AssemblyPath>MbUnit.AddIn.dll</AssemblyPath>
           <TypeName>MbUnit.AddIn.MbUnitTestRunner</TypeName>
    </TestRunner>

    The MbUnit.Framework.dll.tdnet file should be placed alongside MbUnit.Framework.dll , MbUnit.AddIn.dll and the rest of MbUnit 2. Once you have referenced the MbUnit.Framework.dll assembly in this directory, you can uninstall MbUnit 2 and still use TestDriven.Net to execute your tests!

    If you re using a version of xUnit.net prior to 1.5, the xunit.dll.tdnet file would look like this:

    <TestRunner>
      <FriendlyName>xUnit.net {0}.{1} build {3}</FriendlyName>
      <AssemblyPath>xunit.runner.tdnet.dll</AssemblyPath>
      <TypeName>Xunit.Runner.TdNet.TdNetRunner</TypeName>
    </TestRunner>

    If you need help making this work with any other test framework, please let me know and I d be happy to post the details here.

    I hope you enjoy the simplified deployment and versioning of whatever test runner you use!

    You can download TestDriven.Net 2.24 & 3.0 Alpha from here.

    Delay in Loading ASP.NET pages HI I use Reporting Service

    March 9, 2010 – 4:02 am

    Delay in Loading ASP.NET pages
    HI I use Reporting Service to generate the report and it generate report in aspx extention.I think its an ASP.Net page. Anyway Problem is once I log into those reports from server which I host these pages,Its works fine,but onceI log into those reports from another computer then its takes long…

    Convert html file into image format
    Hi All, I am having html content in text format and want that to convert as image to send to user instead of Html content to prevent the modification.

    News Story Google executives convicted in YouTube bullying case Three

    March 8, 2010 – 8:00 pm

    News Story Google executives convicted in YouTube bullying case
    Three Google executives have been found guilty and given six month suspended sentences in a case revolving around the posting of a video to YouTube which shows a teenager with Down’s Syndrome being bullied. According to the BBC (http://news.bbc.co.uk/1/hi/technology/8533695.stm) Google itself…

    PLm in streaming using Asp .net
    hi friends i have downloaded a MPEG video and converted into flv format by articulate free movie encoder 09 and save it in C:…when i tried to use that link for uploading using asp .net web application in localhost the video gets streamed but not displayed….can anyone help me to solve this…

    avoid double click event
    hi any one try to tell me,, i created a button control ,, by double clicking only the process was going on,,when iam single click the button nothing is to be happenend,,so i want to change into single click insted of double click…….. here my coding is given below…….

    Byte array in session variable
    I have an asp FileUpload and an asp Button on a page. When i click the button, i want the bytes of the file which was supposedly uploaded to be stored in a session variable. Only problem is that they aren’t stored. How should i do this? There’s also a text box with some text in it, need that…

    News Story Microsoft Windows Phone 7 Series: nice, but too late to matter?
    The long awaited unveiling of the latest Microsoft mobile phone OS is happening as I type in Barcelona at the Mobile World Congress. Twitter is all excited, as you might imagine, with tech journalists and gadget watchers alike swooning over the flashy new additions which would seem to suggest that…