Click here to Skip to main content
15,908,673 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Help with a Logic Pin
Vimalsoft(Pty) Ltd12-Mar-09 22:36
professionalVimalsoft(Pty) Ltd12-Mar-09 22:36 
GeneralRe: Help with a Logic Pin
Christian Graus12-Mar-09 22:43
protectorChristian Graus12-Mar-09 22:43 
GeneralRe: Help with a Logic Pin
Vimalsoft(Pty) Ltd15-Mar-09 20:50
professionalVimalsoft(Pty) Ltd15-Mar-09 20:50 
QuestionWeb Service 400 Error Pin
Expert Coming12-Mar-09 20:30
Expert Coming12-Mar-09 20:30 
AnswerRe: Web Service 400 Error Pin
Abhijit Jana12-Mar-09 20:43
professionalAbhijit Jana12-Mar-09 20:43 
GeneralRe: Web Service 400 Error Pin
Expert Coming13-Mar-09 14:15
Expert Coming13-Mar-09 14:15 
GeneralRe: Web Service 400 Error Pin
Expert Coming13-Mar-09 14:31
Expert Coming13-Mar-09 14:31 
QuestionDatagrid problem Pin
rakeshs31212-Mar-09 19:23
rakeshs31212-Mar-09 19:23 
Hi,

I have a datagrid and i given that inside a
.It is now scrollable.But i want the headers static.Where should i give the header.
Code is below
<div style="BORDER-RIGHT: navy 2px solid; PADDING-RIGHT: 1px; BORDER-TOP:
																				navy 2px solid; PADDING-LEFT: 1px; LEFT: 0px; PADDING-BOTTOM: 1px; OVERFLOW:
																				auto; BORDER-LEFT: navy 2px solid; WIDTH: 850px; PADDING-TOP: 1px;
																				BORDER-BOTTOM: navy 2px solid; POSITION: relative; TOP: 10px; HEIGHT: 230px">

																				<ASP:DATAGRID id="DGInbox" runat="server" Width="100%" BackColor="White" BorderColor="#DEDFDE"
																					Font-Name="arial" Font-Size="Small" HeaderStyle-BackColor="#ffcc99" DataKeyField="UserName"
																					OnEditCommand="DGInbox_Edit" OnCancelCommand="DGInbox_Cancel" OnUpdateCommand="DGInbox_Update"
																					AutoGenerateColumns="False" AllowPaging="True" AllowCustomPaging="False" PageSize="15" GridLines="Both"
																					PagerStyle-Mode="NumericPages" PagerStyle-HorizontalAlign="Center" PagerStyle-NextPageText="Next"
																					PagerStyle-PrevPageText="Prev" OnPageIndexChanged="DGInbox_Page" Font-Names="verdana" OnItemDataBound="DGInbox_OnItemDataBound"
																					AllowSorting="True" OnSortCommand="DGInbox_Sort" BorderWidth="1px" BorderStyle="none" EnableViewState="True"
																					CellPadding="2" CellSpacing="0">
																					<FooterStyle BackColor="#CCCC99"></FooterStyle>
																					<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#CE5D5A"></SelectedItemStyle>
																					<AlternatingItemStyle BackColor="White"></AlternatingItemStyle>
																					<ItemStyle BorderColor="White" BackColor="#F0F8FF"></ItemStyle>
																					<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#6699cc"></HeaderStyle>
																					<Columns>
																						<asp:TemplateColumn HeaderText="Result">
																							<ItemStyle Wrap="False"></ItemStyle>
																							<ItemTemplate>
																								<!--<asp:HyperLink id="testresult" Text='<%# DataBinder.Eval(Container.DataItem, "DB_CANDT_RESULT")%>' NavigateUrl='<%# "TestResult.aspx?id=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"UserName").ToString()) + "&QStrTestId=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"TestId").ToString()) + "&QStrResult=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"DB_CANDT_RESULT").ToString()) + "&QStrCandidate=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"CandidateName").ToString())%>' runat="server" Target="_blank" />-->
																								<a href="#" onclick="oEditorWindow = window.open('<%# "TestResult.aspx?id=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"UserName").ToString()) + "&QStrTestId=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"TestId").ToString()) + "&QStrResult=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"DB_CANDT_RESULT").ToString()) + "&QStrCandidate=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"CandidateName").ToString()) + "&QStrCandidateBatch=" + HttpUtility.UrlEncode(DataBinder.Eval(Container.DataItem,"BatchName").ToString())%>','a','scrollbars=1,resizable=1,width=800,height=400,left=100,top=150,screenX=0,screenY=100');" id="A1"><%# DataBinder.Eval(Container.DataItem, "DB_CANDT_RESULT")%></a>
																							</ItemTemplate>
																						</asp:TemplateColumn>
																						<asp:TemplateColumn HeaderText="Name" SortExpression="CandidateName">
																							<HeaderStyle Font-Bold="True" ></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																							<ItemTemplate>
																								<a href="javascript:void(window.open('CandidatePersonalDetails.aspx?CID=<%# DataBinder.Eval(Container.DataItem, "DB_CANDT_ID")%>&Type=<%# DataBinder.Eval(Container.DataItem, "CandidateType")%>&regType=<%# DataBinder.Eval(Container.DataItem, "RegistrationType")%>',null,'width=700,height=250,left=150,right=150,top=180,resizable=yes,scrollbars=1'));"><%# DataBinder.Eval(Container.DataItem, "CandidateName")%></a>
																							</ItemTemplate>
																						</asp:TemplateColumn>
																						<asp:BoundColumn DataField="RegistrationDate" HeaderText="Reg Date" SortExpression="RegistrationDate" DataFormatString="{0:yyyy-MMM-dd}">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="City" HeaderText="Location" >
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="CandidateType" HeaderText="Type">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="DB_CANDT_SCREENINGSTATUS" HeaderText="OnlineScreening">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="Email" HeaderText="e-Mail" SortExpression="Email">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="Experience" HeaderText="Exp">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="CurrOrg" HeaderText="CurrOrg">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="AOA" HeaderText="AOA">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="ACT" HeaderText="ACT">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="PhoneNumber" HeaderText="Phone">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="MobileNumber" HeaderText="Mobile">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="DB_CANDT_ADRS" HeaderText="Address">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="DB_CANDT_TSTATUS" HeaderText="Status">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="DB_CANDT_TS_TIME" HeaderText="Start Time">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="DB_CANDT_TE_TIME" HeaderText="End Time">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:BoundColumn DataField="DB_CANDT_TTAKEN" HeaderText="Time Taken">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																						</asp:BoundColumn>
																						<asp:TemplateColumn HeaderText="Re-Schedule">
																							<HeaderStyle Font-Bold="True" Wrap="False"></HeaderStyle>
																							<ItemStyle Wrap="False"></ItemStyle>
																							<ItemTemplate>
																								<a href="Schedule.aspx?id=<%# DataBinder.Eval(Container.DataItem, "DB_CANDTEST_ID")%>&QStringCandtName=<%# DataBinder.Eval(Container.DataItem, "CandidateName")%>&type=<%# DataBinder.Eval(Container.DataItem, "RegistrationType")%>&email=<%# DataBinder.Eval(Container.DataItem, "Email")%>&BNAME=<%# DataBinder.Eval(Container.DataItem, "BatchName")%>&Qlocation=<%=m_LocationSelected%>&Uid=<%# DataBinder.Eval(Container.DataItem, "UserName")%>&pwd=<%# DataBinder.Eval(Container.DataItem, "Password")%>" id="lnkreschedule">Re-Schedule</a>
																							</ItemTemplate>
																						</asp:TemplateColumn>
																						<asp:TemplateColumn HeaderText="Comments">
																							<HeaderStyle ></HeaderStyle>
																							<ItemTemplate>
																								<a href="javascript:void(window.showModalDialog('HRComments.aspx?CID=<%# DataBinder.Eval(Container.DataItem, "DB_CANDT_ID")%>&QStringCandtName=<%# DataBinder.Eval(Container.DataItem, "CandidateName")%>',null,'dialogHeight:12em;dialogWidth:15em;status:no;scrolling:no'));">Comments</a>
																								<!--<a href="#"  onclick="ShowDetails();GetCandId('<%# DataBinder.Eval(Container.DataItem, "DB_CANDT_ID")%>','<%# DataBinder.Eval(Container.DataItem, "CandidateName")%>',popHRComments)">Comments</a>-->
																							</ItemTemplate>
																						</asp:TemplateColumn>
																						<asp:TemplateColumn>
																							<HeaderStyle BorderStyle="None" BackColor="White"></HeaderStyle>
																							<ItemTemplate>
																								<!--<a href="DeleteUser.aspx?id=" id="lnkDelete" onclick="return ConfirmDeletion();">Delete</a>-->
																								<a href="DeleteUser.aspx?id=<%# DataBinder.Eval(Container.DataItem, "DB_CANDT_ID")%>&STATUS=<%=m_StatusSelected%>&QStrLocation=<%=m_LocationSelected%>&QStrCurrPageIndex=<%=CurrPageIndex%>" id="lnkDelete" onclick="return ConfirmDeletion();">Delete</a>
																							</ItemTemplate>
																						</asp:TemplateColumn>
																					</Columns>
																					<PagerStyle NextPageText="Next" PrevPageText="Prev" HorizontalAlign="Right" ForeColor="Black"
																						BackColor="#6699cc" Mode="NumericPages"></PagerStyle>
																				</ASP:DATAGRID>
																				</div>

AnswerRe: Datagrid problem Pin
Abhijit Jana12-Mar-09 19:33
professionalAbhijit Jana12-Mar-09 19:33 
GeneralRe: Datagrid problem Pin
rakeshs31212-Mar-09 21:35
rakeshs31212-Mar-09 21:35 
AnswerRe: Datagrid problem Pin
kumar_k50812-Mar-09 19:42
kumar_k50812-Mar-09 19:42 
GeneralRe: Datagrid problem Pin
rakeshs31212-Mar-09 21:34
rakeshs31212-Mar-09 21:34 
Questioncan i use a class created by xsd. Pin
prasadbuddhika12-Mar-09 19:20
prasadbuddhika12-Mar-09 19:20 
AnswerRe: can i use a class created by xsd. Pin
Christian Graus12-Mar-09 22:32
protectorChristian Graus12-Mar-09 22:32 
GeneralRe: can i use a class created by xsd. Pin
prasadbuddhika13-Mar-09 0:19
prasadbuddhika13-Mar-09 0:19 
GeneralRe: can i use a class created by xsd. Pin
prasadbuddhika13-Mar-09 1:09
prasadbuddhika13-Mar-09 1:09 
GeneralRe: can i use a class created by xsd. Pin
Ashfield13-Mar-09 2:25
Ashfield13-Mar-09 2:25 
QuestionHow to apply stylesheet class in EMail HTML format Pin
Deepml12-Mar-09 19:17
Deepml12-Mar-09 19:17 
AnswerRe: How to apply stylesheet class in EMail HTML format Pin
Abhijit Jana12-Mar-09 19:32
professionalAbhijit Jana12-Mar-09 19:32 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Deepml12-Mar-09 19:45
Deepml12-Mar-09 19:45 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Abhijit Jana12-Mar-09 20:24
professionalAbhijit Jana12-Mar-09 20:24 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Deepml12-Mar-09 20:37
Deepml12-Mar-09 20:37 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Abhijit Jana12-Mar-09 20:39
professionalAbhijit Jana12-Mar-09 20:39 
QuestionDataGrid to Excel Pin
rakeshs31212-Mar-09 18:34
rakeshs31212-Mar-09 18:34 
AnswerRe: DataGrid to Excel Pin
kumar_k50812-Mar-09 20:15
kumar_k50812-Mar-09 20:15 

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.