Hi.......
I am doing a work in ajax and use raise property. How can we define in ajax application?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AartiPosted Dec 26, 2011, 4:12 AM
Raise Property are called by calling events .
here showing an example of RADBUTTON Propery.
ON AJAX PAGE:
Font-Names="Microsoft Sans Serif" Skin="Black">
Code in .CS file:
protected void UserName_TextChanged(object sender, EventArgs e)
{
string obtainUsername = Request.QueryString["Username"];
string obtainPassword = Request.QueryString["Password"];
var userNameTextBox = LoginUser.FindControl("UserName") as TextBox;
var passwordTextBox = LoginUser.FindControl("Password") as TextBox;
userNameTextBox.Text = obtainUsername;
passwordTextBox.Text = obtainPassword;
var submitButton = LoginUser.FindControl("rbLogin") as RadButton;
((IPostBackEventHandler)submitButton).RaisePostBackEvent(null);