Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Bootstrap CSS in ASP.NET web forms
Message
 
 
To
13/06/2013 11:11:13
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:
01576260
Views:
42
Or he could go with a totally non-.NET solution of HTML/CSS/JavaScript/jQuery. But Dmitry has been drinking water from a fire hose already lately and probably isn't interested in taking on another bunch of tools ;-)

>I'm saying you could probably implement them in either platform, but MVC would probably be easier because you have more granular control of the HTML. You probably could implement in WebForms also, but since you use server controls that generate the HTML in WebForms you might have a tough time. You might be able to use Controller Adapters in WebForms to override how it renders the HTML, but I still think you would be better off using MVC.
>
>>Are you saying that when using MVC applying bootstrap CSS could be implemented? Or you saying that you like MVC technology as compared to WebForms?
>>
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform