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
S

saini arun

@saini arun
About
Posts
142
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How To Break Bing! [modified]
    S saini arun

    I get the error on my machine but it works fine on other machines... :doh:

    The Lounge com help tutorial question

  • Spammer Alert
    S saini arun

    here Checkout all the answers he has posted.

    Site Bugs / Suggestions com tools question

  • I want one
    S saini arun

    I hope you have a sport pilot license.

    The Lounge com

  • Updateprogress bar
    S saini arun

    http://ajax.net-tutorials.com/controls/updateprogress-control/[^] Found above page as first result on google.

    ASP.NET question

  • insert dropdownliste
    S saini arun

    Ignoring the number of seconds, we both replied exactly on the same time :)

    ASP.NET database help

  • insert dropdownliste
    S saini arun

    if(!IsPostBack)
    {
    foreach (short vKey in city.Keys)
    {
    dropdownlist1.Items.Add(city[vKey].cityName);
    dropdownlist1.DataTextField = city[vKey].cityName;
    dropdownlist1.DataValueField = (city[vKey].id_city).ToString();

                }
    

    }

    ASP.NET database help

  • jquery in asp.net+server side execution
    S saini arun

    Calling server side code does not have anything to do with jQuery. It can be achieve easily using javascript. http://www.dev102.com/2008/04/30/call-aspnet-webmethod-from-jquery/[^] http://www.xdevsoftware.com/blog/post/Call-WebMethod-from-Javascript-in-ASPNET.aspx[^]

    ASP.NET csharp javascript asp-net sysadmin tutorial

  • jquery in asp.net+server side execution
    S saini arun

    In that case you can go for page methods.

    ASP.NET csharp javascript asp-net sysadmin tutorial

  • rootSearch = New DirectorySearcher(root)
    S saini arun

    '.PropertiesToLoad.Add("Voted to remove message")

    .NET (Core and Framework)

  • jquery in asp.net+server side execution
    S saini arun

    trilokharry wrote:

    like some login form is opened by using jquery as model popup and how will be executed submit button click event.

    The jQuery model popup displays the content of the DIV itself. I you use asp buttons inside your div to complete the login process you should have no problem accessing their _OnClick method in code behind.

    ASP.NET csharp javascript asp-net sysadmin tutorial

  • jquery in asp.net+server side execution
    S saini arun

    trilokharry wrote:

    execute server side code in asp.net while using jquery

    The most common method I use for this purpose is WebMethod. 1. Create a webmethod in your code behind.

    [System.Web.Services.WebMethod(EnableSession = true)]
    public static string DemoMethodInCodeBehind(string msg)
    {
    return "OK_" + msg;
    }

    2. Write a javascript function to call this web method.

    function demo()
    {
    PageMethods.DemoMethodInCodeBehind('hello',OnGetMessageSuccess, OnGetMessageFailure);
    }

    3. Implement success & failure methods in java script.

    function OnGetMessageSuccess(result, userContext, methodName)
    {
    alert("Success " + result);
    }

    function OnGetMessageFailure(error, userContext, methodName)
    {
    alert("Failed");
    }

    4. Now call Demo on button click.

    ASP.NET csharp javascript asp-net sysadmin tutorial

  • HtmlTabHTleRow
    S saini arun

    Use ColSpan property of HtmlTableCell.

    ASP.NET csharp question

  • web application problem
    S saini arun

    After saving the information in database simply redirect to the current page. For instance, if your page name is insert.aspx then after saving the record write : Response.Redirect("insert.aspx"); This will prevent the page from raising postback on refresh.

    Web Development csharp database visual-studio sysadmin help

  • Handle Browser close event by pressing [X]
    S saini arun

    koolprasad2003 wrote:

    t but for that i need to repeate same code on each page

    If you are using master pages in your application, you wont have to write same code on each page. On other thought, you can create a base page and write code to inject javascript function using ScriptManager. And then make all pages to inherit the base class.

    ASP.NET question

  • can't see the background-image of a master page
    S saini arun

    Try to specify the background image path using ResolveURL on master page like this src="<%=ResolveUrl("~/images/test.png")%>"

    ASP.NET question

  • DateFormat Problem in ASP.NET
    S saini arun

    As far as I know there should not be any case for not working the same code from virtual directory if it works from visual studio. Are you sure you set the correct path while configuring the virtual directory?

    ASP.NET csharp help asp-net database sql-server

  • Code for page ranking
    S saini arun

    rummer wrote:

    Please provide code for page ranking

    Sure sir, it will be our pleasure to write code on your behalf.

    rummer wrote:

    as soon as possible.

    But as you must have read in terms & conditions while signing up for an account on code project that we do not work on week ends. Unfortunately, today is Saturday & we have some plan with our family. Is it OK with you if we can start writing code from Monday? Till then you can use google to find any helpful URL.

    ASP.NET

  • Avoiding Button Double Click - AJAX
    S saini arun

    Try this: private void checkButtonDoubleClick(Button button) { System.Text.StringBuilder sbValid = new System.Text.StringBuilder(); sbValid.Append("if (typeof(Page_ClientValidate) == 'function') { "); sbValid.Append("if (Page_ClientValidate() == false) { return false; }} "); sbValid.Append("this.value = 'Please wait...';"); sbValid.Append("this.disabled = true;"); sbValid.Append(this.Page.ClientScript.GetPostBackEventReference(button, "")); sbValid.Append(";"); button.Attributes.Add("onclick", sbValid.ToString()); } Copied from here http://forums.asp.net/t/1362149.aspx[^]

    ASP.NET csharp asp-net sysadmin help

  • Integrate Google calender with ASP.Net
    S saini arun

    What about this one: http://code.google.com/apis/calendar/data/2.0/developers_guide_dotnet.html[^]

    ASP.NET csharp asp-net json help tutorial

  • User Login through http post
    S saini arun

    Do not ever ask for the code on CodeProject. You will be treated like this ^

    ASP.NET csharp asp-net
  • Login

  • Don't have an account? Register

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