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: Riley-jack Johnson   on Nov 30

No. Web User Controls should do the job just ok. Maybe you are accessing those
properties at wrong time. Try saving those prop values inside ViewState like:


public string userName
{
get { return (string)ViewState["accessUserName"]; }
set { ViewState["accessUserName"] = value; }
}

But you probably access those values in the same postback, so you must ensure
that properties  are set before they are accessed. Try debuging and see what
exactly is going on.

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: