User Profile

Collapse

Profile Sidebar

Collapse
pankajprakash
pankajprakash
Last Activity: Aug 12 '10, 01:08 PM
Joined: Feb 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Got the solution

    Code:
    if(value===1)
    {
    document.getElementById("div2").style.display = '';
    document.getElementById("div1").style.display = 'none';
    document.getElementById("div2").style.visibility = 'visible';
    
    }
    else
    {
    document.getElementById("div1").style.display='';
    document.getElementById("div1").style.visibility = 'visible';
    ...
    See more | Go to post
    Last edited by Dormilich; Aug 12 '10, 07:32 AM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • Change the position of div through the javascript

    I have a two div controls. In a condition I show the first div and hide the second div. When I hide the first div and show the second div, the second div does not change the location. How can I change the second div position to first div.

    Code:
    if(value===1)
    {
    document.getElementById("div1").style.visibility = 'hidden';
    document.getElementById("div2").style.visibility = 'visible';
    }
    else
    ...
    See more | Go to post
    Last edited by Dormilich; Aug 12 '10, 07:32 AM. Reason: Please use [code] tags when posting code

  • Got the solution

    string.Format(" {0:#.0#E-00}", 1000000);
    See more | Go to post

    Leave a comment:


  • pankajprakash
    started a topic Convert decimal value to exponential value

    Convert decimal value to exponential value

    Hi, I have a decimal number. I need to convert this decimal value to exponential value. I have a vb.net code to convert from decimal to exponential value is Format(100000, #.0#E-##) . When I run this code in vb.net it returns 1.0E5

    I need the same expression for the c#.
    I am using the following code String.Format(" {0:E}", 100000) and its returns 1.000000E+005, but I need 1.0E5. The same for the another value String.Format(" {0:E}",...
    See more | Go to post

  • pankajprakash
    replied to Ungroup shape in word file in c#
    in .NET
    Got the solution

    I have used following code before ungrouping the shape

    System.Threadin g.Thread.Sleep( 1000);


    Actually when c# code run its ungroup the shape first, then render the file, that's why shape is showing in the header of the page, not in the proper position. Now using the sleep method it renders the shape in proper place.
    See more | Go to post

    Leave a comment:


  • pankajprakash
    started a topic Ungroup shape in word file in c#
    in .NET

    Ungroup shape in word file in c#

    Hi, I have a word file which contains numbers of shapes. Each shape contain some textboxes. I am copying that file to another location and assigning some values to those textboxes of those shapes. Now I have to assign the values to those textboxes then I have to ungroup those shape first then only I can assign values those text boxes. Now the problem is that when I ungroup those shapes, they change their locations in the document. I do not understand...
    See more | Go to post
    Last edited by Frinavale; Nov 23 '09, 04:39 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • pankajprakash
    started a topic Dynamics column in SSRS 2005

    Dynamics column in SSRS 2005

    I have to create a report, where I have to show the columns dynamically according to the parameters. i.e. I have a date selection criteria may 2008 to june 2008 or june 2009. Now the report will be shown by the month of different locations. Here numbers of month are changing according to the selected date. I have used matrix, could not change the column dynamically. Is there any method to achieve this ?
    See more | Go to post

  • Show dropdown in the Report in Report Viewer

    Hi, I have created a report in SSRS where I used a dropdown for category and when I select a category then it show all the products of that category. When I run this through the http://localhost/reports/myreport then work properly and also show the dropdown to selecte the category. However, when I use this report in my asp.net application through the ReportViewer then it does show the category dropdown. Would any one let me know how can i get this...
    See more | Go to post

  • pankajprakash
    started a topic Regular expression in asp.net

    Regular expression in asp.net

    Hi I need an regular expression which does not contains the following characters \ / : * ? " < > |
    See more | Go to post

  • Use sub reports in the header of a report in SSRS

    hi..
    I have created a sub report and want to put that sub report in the header of a report in the SQL Server Reporting Services.

    How can i achieve this?
    See more | Go to post

  • I have used impersonation for that and the code is executing but not able to see the console in windows server.
    See more | Go to post

    Leave a comment:


  • Not showing console application through the asp.net web service in windows 2003

    Hi All,
    I have a asp.net web service and I am running an .exe file though this web service. The web serivce is calling that .exe file (console application) and running the code of that console application successfully. I have written console.readlin e in the console application. The problem is that when I run this web service in the windows XP is show that console application, however when I run in the Windows 2003 this also call that console...
    See more | Go to post

  • pankajprakash
    replied to Impersonation problem
    Thanks for your replay. I have created an independent user account TestUser and allow him to loggin to that another machine (suppose MachineA). He can create/delete/access that particular file/folder on that machine. Now I had a web service on another machine (suppose MachineB). I had used impersonation with that TestUser credential. When I go to the impersonation function it return true, however when that web service create a file on MachineA it...
    See more | Go to post

    Leave a comment:


  • pankajprakash
    started a topic Impersonation problem

    Impersonation problem

    Hi All,

    I have created a User 'TestUser' and allow them to read/write permission on a file system in a machine. Whenever I logged in with the credential with TestUser then I can create/delete/access that file system. I have another machine where I have hosted a web service and used .net impersonation and passed the credential of TestUser to that web service. When I tried to create a file on that machine then it shows the error Access...
    See more | Go to post

  • sorry it was my mistake.. i didn't use
    [code=aspnet]
    protected void dgridAlarms_Pag eIndexChanging( object sender, GridViewPageEve ntArgs e)
    {
    dgridAlarms.Pag eIndex = e.NewPageIndex ;

    FillAlarms("ALL ");
    }
    [/code]
    See more | Go to post

    Leave a comment:


  • System.Web.HttpException during binding gridview

    Hi I have an asp.net gridview control. I have used pagging but when I click on grid for pagging it shows the following error
    Error: A Runtime Error has occurred.Do you wish to Debug?
    Line: 4723
    Error: Sys.WebForms.Pa geRequestManage rServerErrorExc eption: The GridView 'dgridAlarms' fired event PageIndexChangi ng which wasn't handled.


    Here is code
    [code=c#]
    protected void Page_Load(objec t sender,...
    See more | Go to post

  • pass file credential in Application Loggin Enterprise library

    Hi, I have used Application Loggin Enterprise Library in a web application to write the event information in a file. The file is exist in the other location, and the web application does have have any writes to write in the file. Would you please let me know how I can pass the credential with the Application Logging Enterprise Library.
    See more | Go to post

  • Object doesn't support this property or method

    Hi,

    I have an asp.net application and I have used Ajax. I have implemented the function in code behind and calling in the javascript function during the form load time then it shows the "Object doesn't support this property or method " error. I have checked type of the function, it is correct and the same thing is working in the other page....I don't know the reason..


    here is the function I implemented...
    See more | Go to post
    Last edited by gits; Apr 18 '08, 09:03 AM. Reason: added code tags

  • pankajprakash
    replied to find the max value throw the dlink
    in .NET
    i got the answer

    id = obIncidentDataC ontext.Incident _PersonsInvolve ds.Where(x => x.departmentid == departmentid && x.sectionid ==sectionid).Se lect(x => x.ID).Max();...
    See more | Go to post

    Leave a comment:


  • pankajprakash
    started a topic find the max value throw the dlink
    in .NET

    find the max value throw the dlink

    Hi

    I have a table which contain the filed

    id, departmentid, sectionid, name




    now i have to find the max id of the same department and section. How can get the max id through the dlink
    See more | Go to post
No activity results to display
Show More
Working...