Click here to Skip to main content
15,884,237 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwhat is the difference between atlas:scriptmanager and asp:scriptmanager Pin
Tridip Bhattacharjee15-Apr-08 1:32
professionalTridip Bhattacharjee15-Apr-08 1:32 
AnswerRe: what is the difference between atlas:scriptmanager and asp:scriptmanager Pin
Christian Graus15-Apr-08 1:33
protectorChristian Graus15-Apr-08 1:33 
GeneralRe: what is the difference between atlas:scriptmanager and asp:scriptmanager Pin
Broken Bokken15-Apr-08 2:48
Broken Bokken15-Apr-08 2:48 
GeneralRe: what is the difference between atlas:scriptmanager and asp:scriptmanager Pin
Tridip Bhattacharjee16-Apr-08 19:56
professionalTridip Bhattacharjee16-Apr-08 19:56 
GeneralDisplaying Image Problem in FireFox Pin
sjs4u15-Apr-08 0:40
sjs4u15-Apr-08 0:40 
GeneralRe: Displaying Image Problem in FireFox [modified] Pin
Ashish Sehajpal15-Apr-08 1:06
Ashish Sehajpal15-Apr-08 1:06 
GeneralDynamic User control load get a parameter Pin
simsen14-Apr-08 23:51
simsen14-Apr-08 23:51 
GeneralRe: Dynamic User control load get a parameter Pin
Christian Graus15-Apr-08 0:27
protectorChristian Graus15-Apr-08 0:27 
simsen wrote:
private string _ProjectId = ""; public string ProjectId { get { return _ProjectId; } set { _ProjectId = value; } } protected void Page_Load(object sender, EventArgs e) { lblEditProjectNameHeadline.Text = ProjectId; }


Replace all of this with:

public string ProjectId
{
get { return _lblNewProjectEditProjectId.Text; }
set { _lblNewProjectEditProjectId.Text = value; }
}

your issue right now is that page load occurs before any events, and you will have trouble setting the property so it gets used. Even if you move it to prerender, just setting it directly seems more sensible to me.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Dynamic User control load get a parameter Pin
simsen15-Apr-08 0:44
simsen15-Apr-08 0:44 
GeneralRe: Dynamic User control load get a parameter Pin
Christian Graus15-Apr-08 0:49
protectorChristian Graus15-Apr-08 0:49 
GeneralRe: Dynamic User control load get a parameter Pin
simsen15-Apr-08 1:05
simsen15-Apr-08 1:05 
GeneralRe: Dynamic User control load get a parameter Pin
Ashish Sehajpal15-Apr-08 1:16
Ashish Sehajpal15-Apr-08 1:16 
GeneralRe: Dynamic User control load get a parameter Pin
Christian Graus15-Apr-08 1:24
protectorChristian Graus15-Apr-08 1:24 
GeneralRe: Dynamic User control load get a parameter Pin
simsen15-Apr-08 1:31
simsen15-Apr-08 1:31 
GeneralRe: Dynamic User control load get a parameter Pin
Christian Graus15-Apr-08 1:35
protectorChristian Graus15-Apr-08 1:35 
GeneralRe: Dynamic User control load get a parameter Pin
simsen15-Apr-08 1:41
simsen15-Apr-08 1:41 
GeneralRe: Dynamic User control load get a parameter Pin
Christian Graus15-Apr-08 1:54
protectorChristian Graus15-Apr-08 1:54 
GeneralRe: Dynamic User control load get a parameter Pin
simsen15-Apr-08 1:58
simsen15-Apr-08 1:58 
GeneralRe: Dynamic User control load get a parameter Pin
Christian Graus15-Apr-08 2:00
protectorChristian Graus15-Apr-08 2:00 
GeneralRe: Dynamic User control load get a parameter Pin
simsen15-Apr-08 2:23
simsen15-Apr-08 2:23 
GeneralRe: Dynamic User control load get a parameter Pin
Christian Graus15-Apr-08 11:03
protectorChristian Graus15-Apr-08 11:03 
GeneralRe: Dynamic User control load get a parameter Pin
Broken Bokken15-Apr-08 2:58
Broken Bokken15-Apr-08 2:58 
GeneralRe: Dynamic User control load get a parameter Pin
simsen15-Apr-08 3:55
simsen15-Apr-08 3:55 
Questionroot node problme in sitemap file Pin
Sonia Gupta14-Apr-08 23:50
Sonia Gupta14-Apr-08 23:50 
GeneralRe: root node problme in sitemap file Pin
N a v a n e e t h15-Apr-08 0:19
N a v a n e e t h15-Apr-08 0:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.