using MS Visual Studio 2005 vb.net as page language
and "System.Web.UI.MobileControls"
and i have two pages login.aspx and chat.aspx
i need to get data transfered from one page to another
ok i done it
-------------------------------------------------------------
really i get the value of the IdNum in the chat.aspx pageCode:dim IdNum as integer Context.Items.Add("first", IdNum) Server.Transfer("chat.aspx")
but the problem is when i call the sub ColorMyName Which have the operations on the IdNum field it always called 2 times
and i dont know why?
in the first time i get the data that i need
the second time the sub called automaticaly makes this data lost
any one have an idea
in the chat.aspx
Code:IdNum = Context.Items("first")Code:<mobile:Label id="lblUserName" Runat="server" onclick="ColorMyName ">




Reply With Quote