Hi.......
I am doing a work in ajax and use raise property. How can we define in ajax application?
Raise Property
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
AartiRank #2,383 · 594 reputationPosted Dec 25, 2011, 11:12 PM EST
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);