Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Grant Young   on Nov 30 In Asp.net Category.

  
Question Answered By: Kawthar Malik   on Nov 30

it's still make me problems.
here is the header.ascx.cs:


private void Page_Load(object sender, System.EventArgs e)
userObj.generateUser()
bla...

public string name
{
get
{
return userObj.name;
}
}

now in the index.aspx.cs im referencing to the control:

protected netTools.header adminTop;

and then trying to print the name property
Response.Write(adminTop.name);

and the result is empty string...

if im changing the name property return value to some hard code
return "bla"
it's working  well...

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Getting data from the header control Or get search suggestion and latest updates.


Tagged: