localization in a web form


Author
Message
Eric Leissler
Eric Leissler
StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)
Group: StrataFrame Users
Posts: 0, Visits: 527
Hi,

Well, i have a web form and on this web from i have two  imagebutton

one with french flac on the second with UK flag

i have this code  on click event

Protected Sub ImageButton2_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton2.Click

If MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1036 Then

MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1033

End If

End Sub

Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click

If MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1033 Then

MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1036

End If

End Sub

when i running this web site, i have to click   first, and i have to click a second time on the same immagebutton. After the second click,  the localization is made.

Look its not a double click but on click and after on click.

If i juste made on click, the localization does'nt running

What's the mater.??

What il forgget ?? 

Thanks 

Best regard

Eric

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search