User Profile

Collapse

Profile Sidebar

Collapse
hemantbasva
hemantbasva
Last Activity: Dec 3 '11, 11:17 PM
Joined: Oct 20 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Creating stream with filename having spaces....

    Hi team,

    I am facing issue with creating stream for filename having spaces or %20


    Code:
    using (Stream stream = webclient.OpenRead("http://tryanderror/Lists/Uploaded%20Audio%20Files/Attachments/32/[Songs.PK] Band Baaja Baaraat - 01 - Ainvayi Ainvayi.mp3"))
                    {
    }
    See more | Go to post
    Last edited by hemantbasva; Oct 14 '11, 05:35 AM. Reason: code put in code tag

  • @Megaroutex :run all timerJob using powershell script.....

    Code:
    Start-SPAdminJob [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]
    Have a look at
    http://technet.microsoft.com/en-us/l.../ff607833.aspx...
    See more | Go to post
    Last edited by Niheel; Oct 5 '11, 10:24 AM.

    Leave a comment:


  • Why custom Sharepoint 2010 timer Job doesn't run?

    I have created a custom timer job using Visual Studio 2010 ultimate and have deployed the same in Sharepoint 2010 environment.

    The timer job is deployed successfully but the problem is it not running. the The last run time it is showing is NA.

    Since its a sample timer job it logs event into event viewer..

    The article i used to create this timer job is as follows

    http://dotnetfinder.wo rdpress.com/2010/07/24/creatingcustomS harePointtimerj ob2010/...
    See more | Go to post

  • How to migrate contacts data from Lotus notes to Sharepoint 2010?

    As per my knowledge, contacts data are available in names.nsf. There are two names.nsf
    1) server based for global contact
    2) local based for personal contact

    I have assigned to migrate the data to Sharepoint 2010 without using any tool and have been asked to write C# code for the same.

    Please let me know the approach. I will be obliged if a sample code is available for reference.

    Regards...
    See more | Go to post

  • hemantbasva
    replied to Load Tab Panel is Undefined
    on line no 1126 of 1st code...
    See more | Go to post

    Leave a comment:


  • hemantbasva
    replied to Load Tab Panel is Undefined
    on line no 1126 of 1st code
    See more | Go to post

    Leave a comment:


  • hemantbasva
    started a topic Load Tab Panel is Undefined

    Load Tab Panel is Undefined

    We have designed an aspx page having five ajax tab in it. the data of first four are designed on page whereas for the fifth tab it renders a user control named MYDOMAIN. in the tab container's even onactivetabinde xchanged we have called a method loadtabpanel() which is defined in javascript in same page.the problem is it sometime give the message load tab panel undefined. this error does not come regularly. it comes in usercontrol rendering . i am...
    See more | Go to post

  • hemantbasva
    replied to Export to excel mutiple sheet
    in .NET
    My question was i have to create a scheduler to delete the files created by this code . is there any other way to optimize the code.
    See more | Go to post

    Leave a comment:


  • hemantbasva
    started a topic Export to excel mutiple sheet
    in .NET

    Export to excel mutiple sheet

    Note We need to have a template on server for generating report in multiple sheet
    as we do not had msoffice on server
    moreover this require a batch job to delete excel file created by the method....
    it creates 6 sheets


    Code:
    # region Namespaces
    
    using System;
    using System.Data;
    using System.Configuration;
    using System.Collections;
    using System.Web;
    using
    ...
    See more | Go to post

  • hemantbasva
    started a topic load tab panel is undefined

    load tab panel is undefined

    i have used ajax 1.0 in my asp.net project. sometimes i am getting error load tab panel is undefined and pageis almost coming blank. i have used ajax tab panel in the page.
    See more | Go to post

  • yes the problem is with the procedure description only.either due to length or due to special character. i will trace it out
    Thanks everyone for help
    See more | Go to post

    Leave a comment:


  • hemantbasva
    started a topic Unterminated string constant-javascript

    Unterminated string constant-javascript

    i have written a the following javascript code to copy data onto clipboard but i am getting error
    Unterminated string constant

    code in cs file

    Code:
    if (lblProcedureID != null)
                        {
                            lnkHold.Attributes.Add("onclick", "javascript:copyText('Procedure Id-" + lblProcedureID.Text + " Proceudre Title-" + ProcedureTitle.Text + " Procedure
    ...
    See more | Go to post
    Last edited by gits; Oct 20 '08, 12:37 PM. Reason: added code tags
No activity results to display
Show More
Working...