Click here to Skip to main content
15,902,636 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to create time sheet application using asp.net with c# Pin
Not Active22-Feb-10 5:01
mentorNot Active22-Feb-10 5:01 
GeneralRe: how to create time sheet application using asp.net with c# Pin
enjoycrack22-Feb-10 17:28
enjoycrack22-Feb-10 17:28 
Questionrender aspx to string. Pin
Subin Mavunkal22-Feb-10 4:27
Subin Mavunkal22-Feb-10 4:27 
AnswerRe: render aspx to string. Pin
Not Active22-Feb-10 4:59
mentorNot Active22-Feb-10 4:59 
AnswerRe: render aspx to string. Pin
doudoufly22-Feb-10 16:52
doudoufly22-Feb-10 16:52 
QuestionCan i use try - catch blocks when i set a custom error handling page. Pin
Satish - Developer22-Feb-10 3:27
Satish - Developer22-Feb-10 3:27 
AnswerRe: Can i use try - catch blocks when i set a custom error handling page. Pin
Not Active22-Feb-10 3:39
mentorNot Active22-Feb-10 3:39 
Questionhow can i remove rules="all" from autogenerate table of GridView [modified] Pin
kamran pervaiz22-Feb-10 3:19
kamran pervaiz22-Feb-10 3:19 
hi guys i want to show no borders in IE, FF and chrome. As my knowledge FF only shows inner borders black by default and chrome shows border for inner and outer as well but IE does not show....

<asp:GridView GridLines="None" Width="100%" ID="InBoxGrid" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" OnRowDataBound="InBoxGrid_RowDataBound" ShowHeader="false" DataKeyNames = "IMessageID" >
<Columns>
<asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
<ItemTemplate >
<div id="CheckboxBorder"> <asp:checkbox id="chkChild" CssClass="checkbox" runat="server" /></div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="4%" ItemStyle-HorizontalAlign="Center">
<ItemTemplate >
<asp:Image runat="server" ID="imgEnvelops" imageurl="../../Images/VisualImages/envelop/envelopeHeader.gif" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="21%">
<ItemTemplate >
&nbsp;<asp:Label ID="lblFromType" Text='<%#Bind("VFromName")%>' runat = "server" ></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="56%">
<ItemTemplate >
&nbsp;<asp:LinkButton ToolTip='<%#Bind("VSubject")%>' CommandName='<%# Bind("IMessageID")%>' Text='<%# Bind("VSubject")%>' class="styleMaster8" Font-Underline="true" CommandArgument='<%# Bind("IMessageID")%>' runat="server" OnCommand="lnkButtonReport_Command" ID="lnkButtonReport_Command"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="24%">
<ItemTemplate >
&nbsp;<asp:Label ID="lblDDate" Text='' runat = "server"></asp:Label>
<asp:Image runat="server" ID="imgAttachments" Visible="false" imageurl="../../Images/ActionButtons/attach.gif" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="4%" ItemStyle-HorizontalAlign="Center" Visible="false">
<ItemTemplate >
<!-- Image Control moved up -->
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>


and my skin class is as follows

<asp:GridView runat="server" SkinID="EHRInboxSentGridView"
AllowPaging="False"
AllowSorting="False"
CellPadding="3"
GridLines="Both"
CellSpacing="1"
Font-Names="Arial"
Font-Size="Small"
Width="100%"
BorderStyle="Solid"
BorderWidth="0px"
BackColor="#E7E7E7"
style="font-family:Verdana;font-size:10pt;"
EmptyDataText="No Record Available"
EmptyDataRowStyle-HorizontalAlign ="Center">
<HeaderStyle BackColor="#C9D8EF" Font-Bold="True" ForeColor="#000000" VerticalAlign="Middle" HorizontalAlign="Left" />
<RowStyle BackColor="#EDF2FA" ForeColor="#000000" />
<FooterStyle BackColor="#ffffff" ForeColor="Black" />
<PagerStyle HorizontalAlign="Right" BackColor="#EDF2FA" ForeColor="SteelBlue" Font-Bold="true"/>
</asp:GridView>

As border width is 0px it should not show any border for 3 browsers. but IE is showing properly and different behavior on other browsers. i tried some thing......i copy all the view source from FF and chrome and remove rules="all" and it showed same result as IE.
i have also tried gridLines="None".

I m new developer kindly help me i m stuck in it. thank u

kami


-- Modified Tuesday, February 23, 2010 12:11 AM
AnswerRe: how can i remove rules="all" from autogenerate table of GridView Pin
Not Active22-Feb-10 3:34
mentorNot Active22-Feb-10 3:34 
AnswerRe: how can i remove rules="all" from autogenerate table of GridView Pin
kamran pervaiz22-Feb-10 7:17
kamran pervaiz22-Feb-10 7:17 
GeneralRe: how can i remove rules="all" from autogenerate table of GridView Pin
Not Active22-Feb-10 7:21
mentorNot Active22-Feb-10 7:21 
GeneralRe: how can i remove rules="all" from autogenerate table of GridView Pin
kamran pervaiz22-Feb-10 18:27
kamran pervaiz22-Feb-10 18:27 
GeneralRe: how can i remove rules="all" from autogenerate table of GridView Pin
Not Active23-Feb-10 0:31
mentorNot Active23-Feb-10 0:31 
GeneralRe: how can i remove rules="all" from autogenerate table of GridView Pin
neil.x.duncan2-Mar-10 3:21
neil.x.duncan2-Mar-10 3:21 
GeneralRe: how can i remove rules="all" from autogenerate table of GridView Pin
Not Active2-Mar-10 4:01
mentorNot Active2-Mar-10 4:01 
GeneralRe: how can i remove rules="all" from autogenerate table of GridView Pin
ShanPlourde29-Oct-10 10:47
ShanPlourde29-Oct-10 10:47 
GeneralRe: how can i remove rules="all" from autogenerate table of GridView Pin
Member 408435024-Mar-11 10:39
Member 408435024-Mar-11 10:39 
QuestionNull Exception Pin
praveenkumar_vittaboina22-Feb-10 2:48
praveenkumar_vittaboina22-Feb-10 2:48 
AnswerRe: Null Exception Pin
R. Giskard Reventlov22-Feb-10 2:54
R. Giskard Reventlov22-Feb-10 2:54 
AnswerRe: Null Exception Pin
Not Active22-Feb-10 3:20
mentorNot Active22-Feb-10 3:20 
AnswerRe: Null Exception Pin
Paulo Zemek22-Feb-10 7:27
Paulo Zemek22-Feb-10 7:27 
AnswerRe: Null Exception Pin
Jason Vetter25-Feb-10 11:56
Jason Vetter25-Feb-10 11:56 
QuestionHow to use chart in RDLC? Pin
swaroop0922-Feb-10 0:01
swaroop0922-Feb-10 0:01 
AnswerRe: How to use chart in RDLC? Pin
Not Active22-Feb-10 0:29
mentorNot Active22-Feb-10 0:29 
AnswerRe: How to use chart in RDLC? Pin
Abhishek Sur22-Feb-10 1:23
professionalAbhishek Sur22-Feb-10 1:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.