Search

You searched for the word(s): userid:710729

Matching Posts

  • Stored pORc to find dis btw two latt and long

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif";
  • Re: Question: aspx:Textbox (change text)

    Use following two javascript function like this <asp:TextBox runat="server" ID="txtWebSiteSearch" onblur="setValue2();" onfocus="doClear2();" Text="SEARCH MAGAZINES"></asp:TextBox> <script type="text/javascript" language="javascript"> function doClear2() { var textbox =document.getElementById("ctl00_txtWebSiteSearch"); if(textbox.value == "SEARCH MAGAZINES") { textbox.value = "";
    Posted to Client Side Web Development (Forum) by anildbest83 on 2/11/2009
  • Java script not working in safari browser

    Hi, I m using the following javascript function to call server side function to update records in database without any post back function AmountAcceptClr(e) { var allrecord = document.getElementById('ctl00_main_content_hdnallreocrd'); for(i=0;i< allrecord.value ;i++) { var lblamunt = document.getElementById('ctl00_main_content_gvCheck_cell' + parseInt(i) + '_7_lbtnAccount'); var lblchk = document.getElementById('ctl00_main_content_gvCheck_cell' + parseInt(i) + '_8_lbtnChk'
    Posted to Client Side Web Development (Forum) by anildbest83 on 2/11/2009
  • Re: Javascript to add controls dynamically

    Here is the solution var maindiv = document.getElementById( 'ctl00_Notes1_Newul' ); var table = document.createElement( 'li' ); table.border= '1' ; var div1 =document.createElement( 'div' ); div1.setAttribute( 'id' , 'name' ) var lblName =document.createElement( 'span' ); lblName.innerHTML = lblName1.innerHTML; div1.appendChild(lblName); table.appendChild(div1); var div2 = document.createElement( 'div' ); div2.setAttribute( 'id'
  • Calculate Age in SQl

    ALTER function [dbo].[fn_GetAge] ( @in_DOB AS datetime , @now as datetime ) returns int as begin DECLARE @age int IF cast ( datepart ( m , @now ) as int ) > cast ( datepart ( m , @in_DOB ) as int ) SET @age = cast ( datediff ( yyyy , @in_DOB , @now ) as int ) else IF cast ( datepart ( m , @now ) as int ) = cast ( datepart ( m , @in_DOB ) as int ) IF datepart ( d , @now ) >= datepart ( d , @in_DOB ) SET @age = cast ( datediff ( yyyy , @in_DOB , @now ) as int ) ELSE SET @age = cast ( datediff
    Posted to Tips & Tricks (Forum) by anildbest83 on 2/3/2009
  • Re: Call server side function from javascript without any post back

    Hello, My above function working fine, i need to do some changes in that. I want to refresh page 2nd time not first time. See what i mean. I mean first time record will save witout any post back but 2nd time it will do a post back after save record. here is my code which works fine in Fire Fox but not in safari function SaveNote() { var txtNote = document.getElementById( 'ctl00_Notes1_txtNote' ) var Newul = document.getElementById( 'ctl00_Notes1_Newul' ) PageMethods.SaveNote(txtNote
    Posted to Client Side Web Development (Forum) by anildbest83 on 1/29/2009
  • Re: How to clear output cache

    Hello all, My problem is, I m updating values in database using a javscript function which doesn't post back The javascript function is function SaveCaseInfo() { PageMethods.SaveCaseInfo(ID, txtFirstName.value, OnGetMessageSuccess,OnGetMessageFailure); return false; } and Server side function is <System.Web.Services.WebMethod()> _ Public Shared Function SaveWorker1( ByVal WorkerID As String, ByVal WorkerName As String) As String Using connection As New SqlConnection(ConfigurationManager
    Posted to Web Forms (Forum) by anildbest83 on 1/6/2009
  • How to clear output cache

    Hello All, I m using output to cache to cache my whole page. <% @ OutputCache Duration ="30" Location ="Server" VaryByParam ="None" %> But i want to clear cache when some data is updated and need to re-bind the page with saved data again. i want to clear cache when click on save button Please help me on this thanks for your immediate reply.
    Posted to Web Forms (Forum) by anildbest83 on 1/5/2009
    Filed under: cache
  • Re: Call server side function from javascript without any post back

    hello All, thanks for all your help finally i found solution to my problem i just passed the argument to the web method which i required for updation query from javascript like this //Server Side [System.Web.Services. WebMethod ] public static string Message( string fieldVal1, string fieldVal2, string fieldVal3, string fieldVal4) { // Process parameters return ""; } //Client Side function GetMessage() { var a=document.getElementById("1").value; var b=document.getElementById("2"
    Posted to Client Side Web Development (Forum) by anildbest83 on 12/4/2008
  • Re: Call server side function from javascript without any post back

    Hello All, thanks all of you for all your help.... I have solved my problem i just passsed the arrgument through the web method which i want to used in update query like this //Client Side function GetMessage() { var a=document.getElementById("1").value; var b=document.getElementById("2").value; var c=document.getElementById("3").value; var b=document.getElementById("4").value; PageMethods.Message(a,b,c,d,OnGetMessageSuccess, OnGetMessageFailure); [System.Web
    Posted to Client Side Web Development (Forum) by anildbest83 on 12/4/2008
Page 1 of 6 (57 items) 1 2 3 4 5 Next > ... Last »