title: pass data from code behind to jquery dialog
body: <p>I am using below code to show jquery dialog, its working perfectly, </p>
  
  <pre><code>Sub OpenDialog(ByVal dialogId As String)
      ScriptManager.RegisterStartupScript(Me, [GetType](), "openDialog", "$('#newPerson').dialog('open');", True)
  End Sub
  </code></pre>
  
  <p>problem is that i wanted to pass some data from codebehind, i am using repeater control and binding repeater before opening dialog. it doesnt show any data on first click, when i click twice it show data in repeater control. any suggestion would be appreciated.</p>
  
  <p>Regards</p>