Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

jojoba2011

@jojoba2011
About
Posts
308
Topics
130
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to have
    J jojoba2011

    But how to create such this

    C# adobe csharp com design tutorial

  • how to have
    J jojoba2011

    How to have windows app c# in adobe flash player? Like this link [^]

    C# adobe csharp com design tutorial

  • error in sql server 2008
    J jojoba2011

    One of my Stored Procedures was using ۀ in its name and when i am getting script it was giving error!

    Database database sql-server sysadmin tools help

  • SELECT * INTO OPENDATASOURCE
    J jojoba2011

    <pre lang="sql">SELECT *
    INTO OPENDATASOURCE('SQLNCLI',
    'Data Source=.\sqlexpress;User ID=sa;Password=sa')
    .[fuzzyTest].dbo.tblGroup
    FROM [CMS].[Common].[File];</pre>

    This is not working and giving error !

    I dont wanna to use

    <pre lang="sql">INSERT INTO [CMS].[Common].[File]
    (Name,IdParent,[Desc])
    SELECT [Name],[IdOstan]+30,''
    FROM OPENDATASOURCE(
    'SQLOLEDB',
    'Data Source=.\sqlexpress;User ID=sa;Password=sa'
    ).[fuzzyTest].dbo.tblGroup</pre>

    Database database help

  • error in sql server 2008
    J jojoba2011

    when i wanna to get script from my DB in sql server management 2008 i get this error : There is already an open DataReader associated with this Command which must be closed first.....what is meann of this error note : 1.even i stop start the instance. 2.copy the DB to other system also but same error ! thanks in advnaced !

    Database database sql-server sysadmin tools help

  • Janus GridEx + asp.net
    J jojoba2011

    check this site : almaselectric.tinagroup.ir when scrolling the grid,It goes out of box????/ when running on local it doesnt work correctly ?

    ASP.NET csharp asp-net sysadmin windows-admin question

  • Janus GridEx + asp.net
    J jojoba2011

    I am using GridEx in VS2008 (windows 8 - x64). when i publish the app and run in IIS the janus GridEx doesnt work? my janus version is : Janus ASP.NET Server Controls 3.0.0.56 Thanks in advnaced!

    ASP.NET csharp asp-net sysadmin windows-admin question

  • How to execute c# statment in a string?(Compiling and Running code at runtime)
    J jojoba2011

    thanks in advanced! My question is this : Is it possible to excute code without creating any class ....?

    string sources = @"
    using System;
    public static class ExampleClass
    {
    public static void ExampleMethod()
    {
    Console.WriteLine(""Hello World!"");
    }
    }";

    and one more : How to use the textBox1.Text and other controls values?

    C# tutorial csharp help question

  • How to execute c# statment in a string?(Compiling and Running code at runtime)
    J jojoba2011

    thanks but i get error. Can u give me a small example!

    C# tutorial csharp help question

  • How to execute c# statment in a string?(Compiling and Running code at runtime)
    J jojoba2011

    I'm trying to find the way how to execute a string contain c# code.

    Example

    string st = "if (textBox1.Text == "Jon" && chkText.Checked)
    MessageBox.Show("Yes!");
    else
    MessageBox.Show(textBox1.Text);";

    I want to execute st then i want to see the result in a message box.

    Please kindly help me. Thank in advance!

    C# tutorial csharp help question

  • how to customize datatable.Select
    J jojoba2011

    thanks in advnaced! But i wanna to return all cells of my datatable ! (Not filter some !!! [No where])

    C# csharp tutorial question

  • how to customize datatable.Select
    J jojoba2011

    I am writing a windows desktop application in C# 2008 and i wanna to have select for datatable :

    IEnumerable<string> idsInA = dtd.AsEnumerable().Select(row => (string)row["ID"]);

    it filters only on one row (ex.ID) but the thing i wanna is for three rows (ex:ID , Title , Path) Ho i can do that ?

    C# csharp tutorial question

  • javascript __dopostback System.NullReferenceException
    J jojoba2011

    Quote:

    **_This doesn't seem like it should be that hard, so if someone could just give me a kick in the right direction, that'd be awesome._**

    ASP.NET help javascript css tools

  • javascript __dopostback System.NullReferenceException
    J jojoba2011

    not used! Cause :

    var grid = document.getElementById('<%=gvWorkReportList.ClientID%>');

    is not null . but this code :

    gvWorkReportList.FooterRow

    is null. Thnaks in advanced!

    ASP.NET help javascript css tools

  • javascript __dopostback System.NullReferenceException
    J jojoba2011

    thanks for solution. But i dont need to get access when it is invisible. How i can control it if gridview in invisible the the code

    __doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');

    doesnt run. Thanks in advanced!

    ASP.NET help javascript css tools

  • javascript __dopostback System.NullReferenceException
    J jojoba2011

    Here's the problem : When the gvWorkReportList is invisble and gvWorkReportList.FooterRow =null in page loading i get the bellow error :

    Quote:

    System.NullReferenceException: Object reference not set to an instance of an object. the error is on this part of code : __doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');

    Quote:

    this is the piece of my code!

    <script type="text/javascript">

        function KeyDownHandler() {
    
            // process only the Enter key
            if (event.keyCode == 13) {
                 
                    \_\_doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');
    
                
            }
        }
    
    </script>
    

    This doesn't seem like it should be that hard, so if someone could just give me a kick in the right direction, that'd be awesome. I have used these solution but it dosen't work :

    var grid = document.getElementById('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>');
    if (grid != null) {
    __doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');

                }
    

    var grid = document.getElementById("ctl00_ContentPlaceHolderContent_gvWorkReportList");
    if (grid != null) {
    __doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');

                }
    

    var gridFooter = gvWorkReportList.FooterRow;
    if (gridFooter != null) {
    __doPostBack('<%=gvWorkReportList.FooterRow.FindControl("lnkAdd").UniqueID%>', '');

                }
    
    ASP.NET help javascript css tools

  • three div side by side
    J jojoba2011

    thanks for solution but i wanna to have something like this and increase center div width automatically

    Quote:

    this is image when i have three divs : http://i49.tinypic.com/35l85jc.jpg and when the left div is empty i wanna have like : http://i49.tinypic.com/24zfwug.jpg

    ASP.NET css xml architecture

  • three div side by side
    J jojoba2011

    thnaks in advanced but i wanna do without Ajax or ... Just with CSS only! Thanks in advanced !

    ASP.NET css xml architecture

  • three div side by side
    J jojoba2011

    thanks in advanced but its not working! In other word :

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
    #left
    {
    width: 270px;
    float: left;
    border: solid 1px red;
    }
    #center
    {
    margin-left: 10px;
    width: 740px;
    border: solid 1px green;
    float: left;
    margin-right: 10px;
    }
    #right
    {
    width: 255px;
    float: right;
    border: solid 1px red;
    }
    </style>
    </head>
    <body>
    <form id="form1" runat="server">
    <br />
    <div id="left">
    Test Left</div>
    <div id="center">
    Test center</div>
    <div id="right">
    Test Right</div>
    <br />
    <br />
    </form>
    </body>
    </html>

    this is image when i have three divs : http://i49.tinypic.com/35l85jc.jpg and when the left div is empty i wanna have like : http://i49.tinypic.com/24zfwug.jpg

    ASP.NET css xml architecture

  • three div side by side
    J jojoba2011

    This doesn't seem like it should be that hard, so if someone could just give me a kick in the right direction, that'd be awesome. I have googled for two div bellow code : $(function() { var right = $("#center"); $("#toggle").click(function() { $("#left").animate({ "width": "toggle" }, { duration: 250, step: function() { right.css("margin-left", $(this).width()); } }, function() { right.css("margin-left", $("#left").width()); }); }); }); #left { width: 270px; float: left; border: solid 1px red; } #center { margin-left: 270px; border: solid 1px green; } <pre lang="xml"><div id="left"> Test</div> <div id="center"> Test Right</div></pre> now guess that i have three div, i wanna to have same as above. ------------------------------- |left div|center div|right div | ------------------------------- the right and left div are always 170 px (for ex.) and i wanna do that when my left div is empty my center div become bigger (same as below code) and all three div should be side by side .and when my left div is empty the center div become bigger and right div be side of center div. Thanks in advanced !</x-turndown>

    ASP.NET css xml architecture
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups