Oct 13, 2015, 2:09 PM
[CLOSED] Problem in the view of the tablet portrait
Hello to all!
I have a very strange problem in my code.
In my start page i apply at the Page_Load method this code:
I noticed , however, that when I am in the tablet mode , with it placed in portrait , my page is not sized properly , and the result is a page unusable . If my tablet is in position Landscape I have no problem . Why? you know help me ?
thank you to everyone!!
I have a very strange problem in my code.
In my start page i apply at the Page_Load method this code:
protected void Page_Load(object sender, EventArgs e)
{
try
{
if (!X.IsAjaxRequest)
{
if (RequestManager.IsDesktop)
{
ResourceManager.GetInstance().Theme = Ext.Net.Theme.Crisp;
}
else
{
ResourceManager.GetInstance().Theme = Ext.Net.Theme.CrispTouch;
}
}
}
catch (Exception err)
{
Log.WriteLog(err);
BNCatchErrorService.Catch(err, true);
}
}
that way I can change my theme based on the device I use. and this is ok.I noticed , however, that when I am in the tablet mode , with it placed in portrait , my page is not sized properly , and the result is a page unusable . If my tablet is in position Landscape I have no problem . Why? you know help me ?
thank you to everyone!!
Last edited by Daniil; Oct 27, 2015 at 2:42 PM.
Reason: [CLOSED]