Click here to Skip to main content
16,011,647 members
Home / Discussions / Web Development
   

Web Development

 
QuestionTo disable the back button on the ie Pin
anishyanic28-Sep-05 1:37
anishyanic28-Sep-05 1:37 
AnswerRe: To disable the back button on the ie Pin
Brian Van Beek28-Sep-05 11:23
Brian Van Beek28-Sep-05 11:23 
AnswerRe: To disable the back button on the ie Pin
minhpc_bk28-Sep-05 16:09
minhpc_bk28-Sep-05 16:09 
Questionconvert php to asp.net Pin
ali bagheri28-Sep-05 1:27
ali bagheri28-Sep-05 1:27 
AnswerRe: convert php to asp.net Pin
ali bagheri28-Sep-05 2:09
ali bagheri28-Sep-05 2:09 
Questionchanging culture Pin
wpcolleen27-Sep-05 23:49
wpcolleen27-Sep-05 23:49 
AnswerRe: changing culture Pin
minhpc_bk28-Sep-05 16:05
minhpc_bk28-Sep-05 16:05 
GeneralRe: changing culture Pin
wpcolleen28-Sep-05 21:28
wpcolleen28-Sep-05 21:28 
I can't say I really understand what you mean, but I tried this and this didn't work either

<%@ Page Language="C#" uiculture="auto" %>
<%@ Import Namespace="System.Threading" %>
<%@ Import Namespace="System.Globalization" %>

protected override void InitializeCulture()
{

if (Request.Form["ListBox1"] != null)
InitCult(Request.Form["ListBox1"]);

base.InitializeCulture();
}
private void InitCult(string culture)
{
string selectedLanguage;
selectedLanguage = culture;

UICulture = selectedLanguage;
Culture = selectedLanguage;

Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture(selectedLanguage);
Thread.CurrentThread.CurrentUICulture = new
CultureInfo(selectedLanguage);
}


protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
//ListBox1.Text = "en-GB";
//InitializeCulture();
InitCult("en-GB");
base.InitializeCulture();
}

protected void ImageButton2_Click(object sender, ImageClickEventArgs e)
{
//ListBox1.Text = "es-MX";
//InitializeCulture();
InitCult("es-MX");
base.InitializeCulture();
}





 <asp:listbox id="ListBox1" runat="server" meta:resourcekey="ListBox1Resource1">
<asp:listitem value="en-GB"
="" selected="True" meta:resourcekey="ListItemResource1">English
<asp:listitem value="es-MX" meta:resourcekey="ListItemResource2">Español
<asp:listitem value="de-DE" meta:resourcekey="ListItemResource3">Deutsch


<asp:button id="Button1" runat="server"
="" text="Set Language" meta:resourcekey="Button1">
<asp:imagebutton id="ImageButton1" runat="server" imageurl="~/unionjack.gif" height="50px" onclick="ImageButton1_Click" width="100px">
<asp:imagebutton id="ImageButton2" runat="server" height="50px" imageurl="~/spanish_flag.jpg" width="100px" onclick="ImageButton2_Click">

<asp:label id="Label1" runat="server"
="" meta:resourcekey="Label1">





 




GeneralRe: changing culture Pin
minhpc_bk29-Sep-05 0:27
minhpc_bk29-Sep-05 0:27 
QuestionConnect to an Access file outside my local network Pin
kokain27-Sep-05 23:28
kokain27-Sep-05 23:28 
AnswerRe: Connect to an Access file outside my local network Pin
enjoycrack27-Sep-05 23:49
enjoycrack27-Sep-05 23:49 
GeneralRe: Connect to an Access file outside my local network Pin
kokain28-Sep-05 1:35
kokain28-Sep-05 1:35 
GeneralRe: Connect to an Access file outside my local network Pin
enjoycrack28-Sep-05 19:56
enjoycrack28-Sep-05 19:56 
GeneralRe: Connect to an Access file outside my local network Pin
kokain28-Sep-05 20:44
kokain28-Sep-05 20:44 
QuestionJob opportunity in the Chicago Area XML/Jscript Pin
KyleGagliardi27-Sep-05 12:27
KyleGagliardi27-Sep-05 12:27 
Questionweb based css editor Pin
savage_27-Sep-05 12:04
savage_27-Sep-05 12:04 
AnswerRe: web based css editor Pin
enjoycrack28-Sep-05 0:45
enjoycrack28-Sep-05 0:45 
QuestionFirefox getting IFrame's innerHTML in a javascript function Pin
mc_Ankara27-Sep-05 5:28
sussmc_Ankara27-Sep-05 5:28 
AnswerRe: Firefox getting IFrame's innerHTML in a javascript function Pin
Guffa27-Sep-05 7:07
Guffa27-Sep-05 7:07 
QuestionRe: Firefox getting IFrame's innerHTML in a javascript function Pin
mc_Ankara27-Sep-05 20:28
sussmc_Ankara27-Sep-05 20:28 
AnswerRe: Firefox getting IFrame's innerHTML in a javascript function Pin
Guffa27-Sep-05 23:41
Guffa27-Sep-05 23:41 
GeneralRe: Firefox getting IFrame's innerHTML in a javascript function Pin
mc_Ankara28-Sep-05 0:41
sussmc_Ankara28-Sep-05 0:41 
GeneralRe: Firefox getting IFrame's innerHTML in a javascript function Pin
Guffa28-Sep-05 2:03
Guffa28-Sep-05 2:03 
JokeRe: Firefox getting IFrame's innerHTML in a javascript function Pin
mc_Ankara28-Sep-05 4:43
sussmc_Ankara28-Sep-05 4:43 
QuestionJavascript Pin
Gktony27-Sep-05 0:38
Gktony27-Sep-05 0:38 

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.