Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

style an asp.net webform like mscrm 2011

$
0
0

Hi,

I have created an Iframe which contains an Asp.net web form (hosted in its own separate site).

The web form has a data grid which shows a list of documents. Each row has the document name and a button to select it. 

I would like to make this grid look like an Mscrm 2011 list:

so: 

1. same font

2. same colour

3. a header row that is the same etc

Maybe an icon as well.

(see below) 

Currently my asp code is:

<div id="gridDiv"><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" CssClass="table table-striped table-bordered table-condensed"><Columns><asp:BoundField DataField="id" HeaderText="id" SortExpression="id" Visible="True" /><asp:BoundField DataField="DocName" HeaderText="name" SortExpression="name" /><asp:TemplateField><ItemTemplate><div id="buttonDiv"><input type="button" id="SubmitButton" value='Select document' /></div></ItemTemplate></asp:TemplateField></Columns></asp:GridView></div>

How can I do this? Is there a style sheet - that will style the rows and the headers? 

Thanks for your help.



Viewing all articles
Browse latest Browse all 1000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>