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
Z

zeemalik

@zeemalik
About
Posts
14
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to call client-side Javascript function after an UpdatePanel asychronous (Ajax) request is over
    Z zeemalik

    If you are using AJAX then the only way i have found yet to give an alert to a user on return to the Asynchronous post back is to add an "end request" handler to the PageRequestManager. In this way you can tell the request manager to run a javascript function on returning from a Asynchronous post back event of AJAX. Code for doing this is : function load() { Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); } where "EndRequestHandler" will be the name of your javascript function you want to call. Call the above function in Onload event of tag: function EndRequestHandler() { alert("You record has been saved successfully"); } Now If you want to give a different message based on your logic in server side code (code behind) then you can use a server side Hidden Field: Set its value in server side code on Asychronous Post Back: Protected Sub btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCreateSample.Click If condition Then hdnValue.value = "do this" Else hdnValue.value = "do that" End If End Sub Now you can check the value of this Hidden Field in your Client Side EndRequestHandler function and give a different alert to user based on its value: function EndRequestHandler() { if (document.getElementById('<%= hdnValue.ClientID %>').value == "do this") { alert("You record has been saved successfully"); } else { alert("There is an error"); } } http://zeemalik.wordpress.com/

    To do what can be done is a Intelligent Job and to do what should be done is a Genious Job done is a Genious Job

    ASP.NET javascript php com sysadmin help

  • How can i know which stored procedure is executed when and by which program? [modified]
    Z zeemalik

    I want to know which stored procedures are executed in the last 24 hour in my database and i wish if i could also know about the program who called the stored procedure? OR I can know about a specific stored procedure that when it was executed last time and by which program? Please help...its urgent? Regards, Zeeshan Malik -- modified at 12:21 Monday 26th November, 2007

    To do what can be done is a Intelligent Job and to do what should be done is a Genious Job done is a Genious Job

    Database database question help career

  • /GS compile option
    Z zeemalik

    make sure that you have updated Windows Plateform SDK if not you can download and install it from "http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en" because the library which contains the "strsafe.h" functions won't be availaible to you without installing SDK. Once u have installed SDK go to Start->Programs->Microsoft Plateform SDK for Windows Server 2003 SPI->Visual Studio Registration->Registerd PSDK Directories with Visual Studio. Once you have done with it you have to include the "strsafe.lib" in your program from Projects->Settings->Link. Now include the "strsafe.h" in your program and and enjoy using strsafe functions. VV IMPORTANT : Include "strsafe.h" at the end of all other include directives. Thanks and Regards, Love Zeeshan Malik

    Prepare yourseld for the life after death.God bless you.

    C / C++ / MFC help

  • GDI Text Input Control Required Urgently..
    Z zeemalik

    I am very much stuck in an urgent assignment and in need of help as i have committed a Excel like Grid to a client. My requirement is to have a Grid just like Excel and to take input from user using only Win API and GDI etc (No MFC allowed). I have already created the Grid but the problem is how to show the cursor in the rectangular boxes in grid and to take input form user? One option is to use 'Text Box' control already provided in WinAPI but the problem is that its width would be fixed and only a part of text written in it is viewable to user depending on its width. What i want is the input functionality just like MS Excel in which the input text is automatically extended to next cell when it exceeds the limit of a cell. I would really appreciate if any one can provide me with the source code of such a control or could help me out in this difficult task? Thanks and Regards, Zeeshan Malik zeemalik78@yahoo.com

    To do what can be done is Intelligence and To do what should be done is Genious

    C / C++ / MFC help c++ css com graphics

  • execCommand Issue ?
    Z zeemalik

    i am having a problem in execComand.When i run this command to insert a insertInputButton in a SPAN the caret moves to the start of the span area after inserting the input button.I want the caret to be at end of the line right after the inserted input button.Please come up with a good solution?

    Web Development help question

  • Chat Channel Sample
    Z zeemalik

    I want to implement an online chat in my web site in ASP.net.It will be a support channel type chat where clients will log in and request support from the server agents.Can some one provide me with a sample.i would really appreciate. waiting for reply .... Prepare yourseld for the life after death.God bless you.

    .NET (Core and Framework) csharp asp-net sysadmin lounge

  • Problem in &quot;LookupAccountName&quot; function
    Z zeemalik

    I am having problem in assigning rights to a windows user.Acctually my program abnormally terminates when it executes the API function " LookupAccountName " .So if any one can show me an example to use this function and what could be the cause? Prepare yourseld for the life after death.God bless you.

    Visual Basic json help tutorial question

  • ITS URGENT !
    Z zeemalik

    HI Acctually i am using win2000 server and I have a FTP Folder in which a remote computer places some word files.So I want to copy those files from that ftp folder to some other folder in the same drive.But the "select all" comand is not working and i have to copy/past all files one by one.Please mail me the soluution.Its urgent. BYE Prepare yourseld for the life after death.God bless you.

    System Admin sysadmin

  • Urgent Please!
    Z zeemalik

    Hi every one I am haveing a problem in MS Word that is when i try to save my work through key board (ctrl + S) it is not working.I don't know what is the reason behind this.It only save the work when i go through File menu or click save icon.Please help me in this regard. waiting for your reply zeeshan Prepare yourself for the life after death.God bless you. Prepare yourseld for the life after death.God bless you.

    IT & Infrastructure help question

  • Can any genuis help me?
    Z zeemalik

    Hi every one! I got another problem for u people that is When i try to select all files in a folder by "Select All" command and try to copy/past them, it does not simply works.But when i select and copy one by one the files from that folder it works and i can past them any where.Please help me in this regard.How can i select all the files and copy and past ? Waiting for your reply Prepare yourseld for the life after death.God bless you.

    IT & Infrastructure help question

  • MS Word Save problem ?
    Z zeemalik

    Hi every one I am haveing a problem in MS Word that is when i try to save my work through key board (ctrl + S) it is not working.I don't know what is the reason behind this.It only save the work when i go through File menu or click save icon.Please help me in this regard. waiting for your reply zeeshan Prepare yourself for the life after death.God bless you. Prepare yourseld for the life after death.God bless you.

    System Admin help question

  • Select All Problem?
    Z zeemalik

    Hi every one! I got another problem for u people that is When i try to select all files in a folder by "Select All" command and try to copy/past them, it does not simply works.But when i select and copy one by one the files from that folder it works and i can past them any where.Please help me in this regard.How can i select all the files and copy and past ? Waiting for your reply Prepare yourself for the life after death.God bless you.

    System Admin help question

  • Windows Select All Problem ?
    Z zeemalik

    Hi every one! I got another problem for u people that is When i try to select all files in a folder by "Select All" command and try to copy/past them, it does not simply works.But when i select and copy one by one the files from that folder it works and i can past them any where.Please help me in this regard.How can i select all the files and copy and past ? Waiting for your reply Prepare yourseld for the life after death.God bless you.

    Work Issues help question

  • MS Word Save problem
    Z zeemalik

    Hi every one I am haveing a problem in MS Word that is when i try to save my work through key board (ctrl + S) it is not working.I don't know what is the reason behind this.It only save the work when i go through File menu or click save icon.Please help me in this regard. waiting for your reply zeeshan Prepare yourself for the life after death.God bless you.

    Work Issues help question
  • Login

  • Don't have an account? Register

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