User Profile

Collapse

Profile Sidebar

Collapse
NareshN
NareshN
Last Activity: May 3 '11, 02:35 PM
Joined: Aug 30 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi Vijay,

    CSS is working but it is changing the entire look of page,font style and size.Can u tell me alternative option for gridfreeze.
    See more | Go to post

    Leave a comment:


  • Freezing Grdiview Header and first column of each row

    Can u please tell me how to freeze gridview header other than CSS option.I tried this option but its changing the entire look of the page.Font CSS is not workly properly.

    Can u tell me other option.
    See more | Go to post
    Last edited by Niheel; Apr 8 '11, 10:57 AM.

  • Microsoft JScript runtime error: 'Sys' is undefined

    Hi All,

    i am trying to upload excel data into datbase i am getting jscript error but data is uploading sucessfully.I am using ajax extension.

    Same code i am using for uploading text file data but i am not getting any error.
    See more | Go to post

  • NareshN
    started a topic Problem in Doctype version

    Problem in Doctype version

    Hi All,

    I am using this doc type version for gridview freezing its working for me but css is not working exactly which is working in another pages with different doc type version.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html xmlns="http://www.w3.org/1999/xhtml">
    If i use below doctype my css is working fine but gridview freezing is not working
    Code:
    <%--<!DOCTYPE
    ...
    See more | Go to post

  • Hi Frinavale,

    I have only 1 script manager but still i am getting error.I am using scriptmanager in another aspx page there i am not getting any error.

    Earlier it was working fine from the past 3 days i am getting this error.
    See more | Go to post

    Leave a comment:


  • Microsoft JScript runtime error sys is undefined Error

    Hi All,


    I am getting JScript runtime error.

    Code:
     <asp:ScriptManager ID="ScriptManager2" runat="server">
                        </asp:ScriptManager>
                        <asp:UpdatePanel ID="upnl1" runat="server">
                            <ContentTemplate>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    ...
    See more | Go to post
    Last edited by Frinavale; Feb 23 '11, 02:54 PM. Reason: Added code tags.

  • NareshN
    replied to How to freeze gridview in IE8
    Hi,

    Sorry this is the problem

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">


    Earlier it was
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
    See more | Go to post

    Leave a comment:


  • NareshN
    replied to How to freeze gridview in IE8
    Hi All,

    Thanks,

    Its working now.

    This is the problem <html xmlns="http://www.w3.org/1999/xhtml">
    See more | Go to post

    Leave a comment:


  • NareshN
    started a topic How to freeze gridview in IE8

    How to freeze gridview in IE8

    Hi All,

    Can u tell me how to freeze gridview header and first column of each row in IE 8.

    I am below code but it is not working for me.The same code is working fine in Sample which i am running in Same browser IE8.
    Code:
     <style type="text/css">
            /* Div container to wrap the datagrid */div#div-datagrid
            {
                width: 420px;
                height: 200px;
    ...
    See more | Go to post
    Last edited by Frinavale; Feb 18 '11, 04:14 PM. Reason: Please post code in code tags!

  • NareshN
    replied to How to freeze gridview columns
    Hi CroCrew,

    The same is working in sample but it is not working in my app.I am using same browser(IE 8).It is working in sample but not in my app.

    Code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <link href="Includes/Styles1.css" rel="stylesheet" type="text/css" />
        <title>Untitled
    ...
    See more | Go to post
    Last edited by Frinavale; Feb 17 '11, 02:09 PM. Reason: Please post code in code tags. Added code tags.

    Leave a comment:


  • NareshN
    started a topic How to freeze gridview columns

    How to freeze gridview columns

    Hi,


    Please find the attachment.

    I am trying to freez the gridview column but its not working.I implemented the same concept like server.aspx which is attached but its not working....
    See more | Go to post

  • How to freeze first column of each row in gridview?

    Hi All,


    I am trying freez first column of each row in gridview using Css but it is not working.


    Code:
    <link href="Includes/Styles1.css" rel="stylesheet" type="text/css" />
    
        <title>Untitled Page</title>
        <style type="text/css">
            div#div-datagrid
            {
                width: 220px;
    ...
    See more | Go to post
    Last edited by Markus; Feb 2 '11, 10:59 AM. Reason: Added [code] tags

  • NareshN
    started a topic Doubt in Encapsulation

    Doubt in Encapsulation

    Hi,

    If i change the m_name of type string to m_EmpId of type int what will happen to called class.where the Encapsulation comes in picture.Why i dont need to change the called class if i use Encapsultion.
    Code:
    using System;
    
    class BankAccountPrivate
    {
    private string m_name;
    
    public string CustomerName
    {
    get { return m_name; }
    set { m_name = value; }
    }
    }
    See more | Go to post
    Last edited by Niheel; Jan 18 '11, 05:08 AM. Reason: use code tags and next time please create a better title "doubt about encapsulation" doesn't tell us what' your problem is

  • Getting while uploading datatable data to database using sqlbulk copy

    Hi All,


    I am getting error while trying to upload DataTable data into Database table using sqlbulk copy.

    Format of the initialization string does not conform to specification starting at index 0.



    Code:
      using (var copy = new SqlBulkCopy(conn.ToString(), SqlBulkCopyOptions.KeepIdentity & SqlBulkCopyOptions.KeepNulls))
            {
                copy.ColumnMappings.Add(new SqlBulkCopyColumnMapping("atnDate",
    ...
    See more | Go to post
    Last edited by Niheel; Dec 21 '10, 06:10 PM.

  • what datatype i should use to store StartTime and EndTime

    Hi All,


    Can anyone tell me what datatype i should use for STartTime and EndTime.

    StartTime value will consist values like Off,Vacation etc apart time.
    See more | Go to post

  • NareshN
    started a topic How to find TimeDifference

    How to find TimeDifference

    Hi All,

    How to find TimeDifference between TimeIn and TimeOut. I should get 10:30.
    Code:
    string frmtimestring = 7:30
        string toTimeString = 18:00
      decimal frmTime = Convert.ToDecimal(frmtimestring.Replace(":", "."));
     
     decimal totime = Convert.ToDecimal(toTimeString.Replace(":", "."));
               if (frmTime > totime)
               {
    ...
    See more | Go to post
    Last edited by Frinavale; Dec 6 '10, 02:58 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • NareshN
    started a topic How to read textfile from particular line in c#?

    How to read textfile from particular line in c#?

    Hi All,


    Can u tell me how to read textfile from 15line or from particular line that means i have to ignore first 15 lines of textfile and i should start from 16th line.
    See more | Go to post

  • NareshN
    started a topic Encapsulation doubt in my code

    Encapsulation doubt in my code

    Hi All,


    I am using code like this in Business Logic.Can u explain the below whether i am using Encapsulation concept in the below code.Also tell me why i should use private for declaring variable _Region and public for the property Region

    Code:
    private string _Region;
    
    public string Region
    {
      get{return _Region;}
      set{_Region=value;}
    }
    See more | Go to post
    Last edited by Frinavale; Nov 26 '10, 02:18 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • How to handle null values in stored procedure with pivot

    Hi,

    This is my table.When u run the stored procedure we will get first row as AgentsScheduled as per schdule as first row and Forecasted HC as per hiring plan row in 2nd row but i want Forecasted HC as first row.
    Code:
    CREATE TABLE SAR_HeadCount( 
      HeadCount int, 
      CampaignID int, 
      WeekStartDate datetime, 
    )
    
    Insert into SAR_HeadCount(HeadCount,CampaignID,WeekStartDate)
    select '46','1','8/1/2010'
    ...
    See more | Go to post
    Last edited by Frinavale; Nov 8 '10, 02:39 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • How to handle null values in stored procedure with pivot

    Hi,

    I am using this stored procedure with pivot.If i dont have data i am getting null with this stored procedure.Can u tell me how to handle null.below query is pivot.

    I am using like this but getting erro
    max(isnull(Head ,0))
    Code:
    PIVOT
    (
    max(Head)
    FOR StartDate IN (' + '[' + CONVERT(VARCHAR,@date1,101) + '], [' + CONVERT(VARCHAR,@date2,101)+ '], [' + CONVERT(VARCHAR,@date3,101) +
    ...
    See more | Go to post
    Last edited by Frinavale; Nov 1 '10, 01:29 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.
No activity results to display
Show More
Working...