Click here to Skip to main content
15,916,842 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Unable to bind datagrid item to vb variable Pin
_HawkeyeD6-Feb-09 20:17
_HawkeyeD6-Feb-09 20:17 
QuestionShowing Error Using Java Script Pin
ais076-Feb-09 19:40
ais076-Feb-09 19:40 
AnswerRe: Showing Error Using Java Script Pin
Perspx6-Feb-09 21:01
Perspx6-Feb-09 21:01 
AnswerRe: Showing Error Using Java Script Pin
Ranjit Viswakumar8-Feb-09 5:48
Ranjit Viswakumar8-Feb-09 5:48 
QuestionLoad Report failed Pin
priyagee6-Feb-09 19:33
priyagee6-Feb-09 19:33 
AnswerRe: Load Report failed Pin
varma suresh6-Feb-09 19:50
varma suresh6-Feb-09 19:50 
GeneralRe: Load Report failed Pin
priyagee7-Feb-09 0:40
priyagee7-Feb-09 0:40 
Questionplz help me, i am new to web designing with asp.net and C# Pin
be_humble6-Feb-09 18:07
be_humble6-Feb-09 18:07 
AnswerRe: plz help me, i am new to web designing with asp.net and C# Pin
Christian Graus6-Feb-09 18:10
protectorChristian Graus6-Feb-09 18:10 
AnswerRe: plz help me, i am new to web designing with asp.net and C# Pin
MacSpudster9-Feb-09 9:27
professionalMacSpudster9-Feb-09 9:27 
QuestionAsp.net Gridview header [modified] Pin
SreejithKumar M6-Feb-09 18:04
SreejithKumar M6-Feb-09 18:04 
AnswerRe: Asp.net Gridview header Pin
Christian Graus6-Feb-09 18:15
protectorChristian Graus6-Feb-09 18:15 
GeneralRe: Asp.net Gridview header Pin
SreejithKumar M6-Feb-09 18:22
SreejithKumar M6-Feb-09 18:22 
GeneralRe: Asp.net Gridview header Pin
Christian Graus6-Feb-09 18:37
protectorChristian Graus6-Feb-09 18:37 
GeneralRe: Asp.net Gridview header Pin
SreejithKumar M6-Feb-09 18:51
SreejithKumar M6-Feb-09 18:51 
GeneralRe: Asp.net Gridview header Pin
SreejithKumar M6-Feb-09 19:39
SreejithKumar M6-Feb-09 19:39 
Hi,
I got answer for this solution

I changed
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

to

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
in design page
Then i used follwing css

/* Div container to wrap the datagrid */
div#div-datagrid {
width: 420px;
height: 200px;
overflow: auto;
scrollbar-base-color:#ffeaff;
}

/* Locks the left column */
td.locked, th.locked {
font-size: 14px;
font-weight: bold;
text-align: center;
background-color: navy;
color: white;
border-right: 1px solid silver;
position:relative;
cursor: default;
left: expression(document.getElementById("div-datagrid").scrollLeft-2); /*IE5+ only*/
}

/* Locks table header */
th {
font-size: 14px;
font-weight: bold;
text-align: center;
background-color: navy;
color: white;
border-right: 1px solid silver;
position:relative;
cursor: default;
top: expression(document.getElementById("div-datagrid").scrollTop-2); /*IE5+ only*/
z-index: 10;
}

/* Keeps the header as the top most item. Important for top left item*/
th.locked {z-index: 99;}

/* DataGrid Item and AlternatingItem Style*/
.GridRow {font-size: 10pt; color: black; font-family: Arial; background-color:#ffffff; height:35px;}
.GridAltRow {font-size: 10pt; color: black; font-family: Arial; background-color:#eeeeee; height:35px;}


my aspx page is

<div id="div-datagrid">
<asp:GridView ID="gv5" Width="100%" runat="server" BorderStyle="Solid"
BorderColor="Navy" meta:resourcekey="gv5Resource1" UseAccessibleHeader="True">
<HeaderStyle BorderColor="Black" ForeColor="Black" BackColor="LightSkyBlue"
/>

<AlternatingRowStyle BackColor="Transparent" />


</asp:GridView>
</div>
like this
AnswerRe: Asp.net Gridview header Pin
varma suresh6-Feb-09 19:46
varma suresh6-Feb-09 19:46 
Question'Response.Headers' threw an exception of type 'System.PlatformNotSupportedException' Pin
Anita_Kamat_inds6-Feb-09 14:33
Anita_Kamat_inds6-Feb-09 14:33 
AnswerRe: 'Response.Headers' threw an exception of type 'System.PlatformNotSupportedException' Pin
Christian Graus6-Feb-09 15:34
protectorChristian Graus6-Feb-09 15:34 
GeneralRe: 'Response.Headers' threw an exception of type 'System.PlatformNotSupportedException' Pin
Anita_Kamat_inds6-Feb-09 16:45
Anita_Kamat_inds6-Feb-09 16:45 
GeneralRe: 'Response.Headers' threw an exception of type 'System.PlatformNotSupportedException' Pin
Christian Graus6-Feb-09 16:57
protectorChristian Graus6-Feb-09 16:57 
QuestionAJAX Timer not firing Pin
dptalt6-Feb-09 9:07
dptalt6-Feb-09 9:07 
AnswerRe: AJAX Timer not firing Pin
Christian Graus6-Feb-09 9:46
protectorChristian Graus6-Feb-09 9:46 
GeneralRe: AJAX Timer not firing Pin
dptalt6-Feb-09 9:50
dptalt6-Feb-09 9:50 
GeneralRe: AJAX Timer not firing Pin
Christian Graus6-Feb-09 9:52
protectorChristian Graus6-Feb-09 9:52 

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.