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
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to call DataBindmethod as well as validate textbox values using ajax(Anthem)

how to call DataBindmethod as well as validate textbox values using ajax(Anthem)

Scheduled Pinned Locked Moved ASP.NET
javascriptdatabasetutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    miniThomas
    wrote on last edited by
    #1

    Hi, I am using ajax(anthem,also am new to this).I am using a ajax button control on click event of this i am validating the text entered and at the same time calling a method in cs file to check whether data exists in DB.However this method is not called and only the validations r performed. Is it that if i use ajax button control i cannot call a method from cs file and only use javascript? Herez my code: private void btn_Login_Click(object sender, System.EventArgs e) { Anthem.Manager.AddScriptForClientSideEval("EnterText()") ; this.Panel1.Visible = ! this.Panel1.Visible; this.Panel1.UpdateAfterCallBack = true; BindDataSource();//method written to chk whether username exists } is there any alternative way of calling the method Thanks, Mini

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

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