Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Localization Links in Admin
Message
From
05/08/2004 11:34:02
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00929391
Message ID:
00931050
Views:
27
Hello Kevin,

Sorry if I made things confusing. I refer to that statement as the first "if". These are the two if statements I refer to.
// *** See if we clicked on the dynamic Localization Admin button
if (Request.Form["__EVENTTARGET"] == "btnmmLocalizeAdministration") 
	this.LocalizeSetupForm();

// *** Need to display the Language Admin button. Can't add it here, 
// *** but we can add the PostBackHander by faking a control being added
if (HttpContext.Current.Session["mmLocalizeAdministration"] != null)
{
	this.IsLanguageAdmin = true;

	// *** Fake control postbackhandler - so we get Postback script handler into page
	TextBox tb = new TextBox();
	tb.ID="___txtLanguageAdmin";
	this.GetPostBackEventReference(tb);
}
>Gordon,
>
>>2. After pressing the "Translation Setup" link
>> The if statement returns true. The next if statement returns true.
>
>But what about the third if statement:
>
>
// *** See if we clicked on the dynamic Localization Admin button
>	if (Request.Form["__EVENTTARGET"] == "btnmmLocalizeAdministration")
>		this.LocalizeSetupForm();
>
>This is what launches the Localization setup form.
>
>Regards,
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform