Last post Jan 05, 2010 06:25 PM by karlywarly
Jan 04, 2010 07:23 AM|karlywarly|LINK
I have created an asp.net website that allows a valid user to add blogs to an sql database and then the blog can be viewed anonymously using the gridview tool. I have also created a a asp.net mobile webpage that allows anonymous users to view the blog but
the problem i seem to be having is that when i view the mobile web page, the blog which has been created with using the gridview tool aswell its always the same size as the web browser and would like it to be of a fixed size so that it doesnt expand or shrink
depending on how big the web browser is.
Is this possible in any way?
thanks for any help recieved
Jan 05, 2010 04:47 PM|hugonne|LINK
Well, in Visual Studio in the Mobile Toolbox (you'll have to have a Mobile Web Form open to see it, under the "Device Data" category), you'll find a DataGrid control, which works in a similar way to a GridView. To keep it a fixed size, just set its Size
(Heigth and Width) properties.
Jan 05, 2010 06:25 PM|karlywarly|LINK
I have a mobile.aspx web form open and i cant seem to see a device data category in the toolbox menu and also no DataGrid control but i have managed to get a normal GridView working in the mobile web form and im using visual studio 2005 so maybe thats the
Also i was wanting to style the GridView somehow to make it look more attractive when viewed on a mobile phone and i have been trying to research on the internet about the mobile stylesheet but cant seem to find many examples and not much info so would
i be able to use this to style the GridView or is there a better alternative to do this?
Thanks for your help