Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Bootstrap CSS in ASP.NET web forms
Message
From
13/06/2013 10:28:40
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01576247
Message ID:
01576251
Views:
48
I'm not an expert on the subject, but I think it would be extremely tough to implement a bootstrap site using WebForms. You really need strict control of the HTML. I'm sure there are ways to do it in WebForms but this might be a good opportunity to switch to MVC.

>Hi,
>
>I consider redesigning a page of an ASP.NET application incorporating the Bootstrap CSS (after watching Pluralsight training video). But I am not sure how to apply the Bootstrap CSS (conceptually). Here is brief description of how this page works:
>
>The entire ASPX page is full of asp:Table??? Controls (asp:Table, asp:TableCell). Within each cell there is asp:label with ID.
>In the code side of the page (.CS) a call is made to DB, a DataSet is retrieved. And then values for each asp:label is set from the
>dataset. E.g:
>
>lblId.text = MyDataSet.Tables[0].Rows[0][“field_name”].ToString();
>
>
>My understanding is that I can replace all the asp:Table controls with div using Bootstrap classes. But I suppose I can’t change the asp:label controls so I would have to leave them as is. Is this correct?
>
>Any other suggestions?
>
>TIA
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform